hush testsuite: add many tests from ash testsuite
[oweals/busybox.git] / shell / hush_test / hush-standalone / nofork_trashes_getopt.tests
1 # In this test, rm is NOFORK and it modifies getopt internal state
2 rm -f non_existent_file
3 # Subsequent hexdump is run as NOEXEC, and thus still uses this state
4 hexdump </dev/null
5 # Did hexdump segfault etc?
6 echo $?