X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pipe-filter-ii1.sh;h=e3ea165b66ae5cb0b20411487546b00123f6b64b;hb=b0f648cf3ba46b06c44bf84ec74480a42f8666ba;hp=55f4b1e443ee71597af79722d2106d9be84282e2;hpb=a3ae6e8ac4e122d3492ea9739e7cd0242fca9a31;p=gnulib.git diff --git a/tests/test-pipe-filter-ii1.sh b/tests/test-pipe-filter-ii1.sh index 55f4b1e44..e3ea165b6 100755 --- a/tests/test-pipe-filter-ii1.sh +++ b/tests/test-pipe-filter-ii1.sh @@ -2,10 +2,14 @@ # Find a 'tr' program that supports character ranges in the POSIX syntax. # Solaris /usr/bin/tr does not. -if test -f /usr/xpg4/bin/tr; then - TR=/usr/xpg4/bin/tr +if test -f /usr/xpg6/bin/tr; then + TR=/usr/xpg6/bin/tr else - TR=tr + if test -f /usr/xpg4/bin/tr; then + TR=/usr/xpg4/bin/tr + else + TR=tr + fi fi # A small file.