repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Tomato 1.25
[tomato.git]
/
release
/
src
/
router
/
busybox
/
shell
/
ash_test
/
ash-standalone
/
nofork_trashes_getopt.tests
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 $?