common.sh (d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf) | common.sh (a6889c1d5c75a77a840e1d7036bd595c01eb8c0f) |
---|---|
1# 2# Common code used run regression tests for usr.bin/make. 3 4# 5# Output a message and exit with an error. 6# 7fatal() 8{ --- 42 unchanged lines hidden (view full) --- 51 done 52 53 if [ ! -z "${FAIL}" ] ; then 54 exit 1 55 fi 56} 57 58# | 1# 2# Common code used run regression tests for usr.bin/make. 3 4# 5# Output a message and exit with an error. 6# 7fatal() 8{ --- 42 unchanged lines hidden (view full) --- 51 done 52 53 if [ ! -z "${FAIL}" ] ; then 54 exit 1 55 fi 56} 57 58# |
59# Output usage messsage. | 59# Output usage message. |
60# 61print_usage() 62{ 63 echo "Usage: sh -v -m <path> -w <dir> $0 command(s)" 64 echo " setup - setup working directory" 65 echo " run - run the tests" 66 echo " show - show test results" 67 echo " compare - compare actual and expected results" --- 465 unchanged lines hidden --- | 60# 61print_usage() 62{ 63 echo "Usage: sh -v -m <path> -w <dir> $0 command(s)" 64 echo " setup - setup working directory" 65 echo " run - run the tests" 66 echo " show - show test results" 67 echo " compare - compare actual and expected results" --- 465 unchanged lines hidden --- |