source:
vendor/bash/3.1/tests/set-x.tests@
3232
| Last change on this file since 3232 was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 345 bytes | |
| Rev | Line | |
|---|---|---|
| [3228] | 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: *** |
Note:
See TracBrowser
for help on using the repository browser.
