mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
7 lines
216 B
Plaintext
7 lines
216 B
Plaintext
|
# In this test, rm is NOFORK and it modifies getopt internal state
|
||
|
rm -f non_existent_file
|
||
|
# Subsequent hexdump is run as NOEXEC, and thus still uses this state
|
||
|
hexdump </dev/null
|
||
|
# Did hexdump segfault etc?
|
||
|
echo $?
|