]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/run-set-x
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / run-set-x
1 #!../bash
2 #$Id: run-set-x,v 1.1 2002/12/09 13:12:37 rockyb Exp $
3
4 TEST_NAME='set-x'
5 TEST_FILE="/tmp/${TEST_NAME}.check"
6 ${THIS_SH} ./${TEST_NAME}.tests > $TEST_FILE 2>&1 < /dev/null
7 set -f
8 diff $TEST_FILE ${TEST_NAME}.right && rm -f $TEST_FILE
9
10 # Return code tells testing mechanism whether passed or not.
11 exit $?