10# Note that currently the uuencode(1) program provides no facility to 11# include the file mode explicitly based on an argument passed to it, 12# so the regress.in file must be mode 644, or the test will say that, 13# incorrectly, regression has occurred based on the header. 14 15for test in traditional base64; do 16 echo "Running test $test" 17 case "$test" in 18 traditional) 19 uuencode regress.in regress.in | diff -u regress.$test.out - 20 ;; 21 base64) 22 uuencode -m regress.in regress.in | diff -u regress.$test.out - 23 ;; 24 esac 25 if [ $? -eq 0 ]; then 26 echo "Test $test detected no regression, output matches." 27 else
| 12# Note that currently the uuencode(1) program provides no facility to 13# include the file mode explicitly based on an argument passed to it, 14# so the regress.in file must be mode 644, or the test will say that, 15# incorrectly, regression has occurred based on the header. 16 17for test in traditional base64; do 18 echo "Running test $test" 19 case "$test" in 20 traditional) 21 uuencode regress.in regress.in | diff -u regress.$test.out - 22 ;; 23 base64) 24 uuencode -m regress.in regress.in | diff -u regress.$test.out - 25 ;; 26 esac 27 if [ $? -eq 0 ]; then 28 echo "Test $test detected no regression, output matches." 29 else
|