323b772dbd26afb98a387c4549c417d27754f4b2
[platform/upstream/bash.git] / tests / set-x.tests
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 #
6 set -x
7 for ((i=0; i<=5; i++ )) ; do
8   x=0
9 done
10 for i in 0 1 2 ; do
11   x=i
12 done
13 case x in 
14  0) x=i ;;
15  *) x=i ;;
16 esac
17
18 #;;; Local Variables: ***
19 #;;; mode:shell-script ***
20 #;;; eval: (sh-set-shell "bash") ***
21 #;;; End: ***