ftmemsim-valgrind/none/tests/empty-exe.vgtest
Nicholas Nethercote 07a1251a20 Make the Linux launcher more like the Darwin one in how it reads the
executable headers.  This means it no longer crashes on an empty executable.
Fixes bug 156065.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10384
2009-06-29 06:57:30 +00:00

10 lines
403 B
Plaintext

# Bug 162020: running an empty executable used to crash Valgrind. Note that
# the (old) crash message gets filtered out, so it's the presence of the
# blank two lines in the .stderr.exp file that are important -- they
# indicate it ran to completion. If the crash occurs, the .stderr.out file
# is empty.
prereq: touch empty-exe && chmod u+x empty-exe
prog: empty-exe
vgopts:
cleanup: rm -f empty-exe