source: MondoRescue/branches/2.2.9/mindi-busybox/shell/ash_test/ash-standalone/nofork_trashes_getopt.tests

Last change on this file was 3320, checked in by Bruno Cornec, 10 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 216 bytes
RevLine 
[3320]1# In this test, rm is NOFORK and it modifies getopt internal state
2rm -f non_existent_file
3# Subsequent hexdump is run as NOEXEC, and thus still uses this state
4hexdump </dev/null
5# Did hexdump segfault etc?
6echo $?
Note: See TracBrowser for help on using the repository browser.