Sign in
coral
/
busybox
/
c2058ec98cf3f6722be4436cae07a386e3c7b48d
/
.
/
shell
/
hush_test
/
hush-standalone
/
nofork_trashes_getopt.tests
blob: f42c5073003145b1ba0b3dea49c3638ce5f12725 [
file
] [
log
] [
blame
]
# 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 $
?