blob: f42c5073003145b1ba0b3dea49c3638ce5f12725
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 $? |
7 |