]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/set-x.tests
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / set-x.tests
CommitLineData
b80f6443
JA
1#!../bash
2# $Id: set-x.tests,v 1.1 2002/12/09 13:12:37 rockyb Exp $
3#
4# Test that "set -x" shows what we think it should.
5#
6set -x
7for ((i=0; i<=5; i++ )) ; do
8 x=0
9done
10for i in 0 1 2 ; do
11 x=i
12done
13case x in
14 0) x=i ;;
15 *) x=i ;;
16esac
0001803f 17set +x
b80f6443 18
0001803f
CR
19# test BASH_XTRACEFD
20${THIS_SH} ./set-x1.sub