empty-exe.vgtest revision b32f58018498ea2225959b0ba11c18f0c433deef
1b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanov# Bug 162020: running an empty executable used to crash Valgrind. Note that 2b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanov# the (old) crash message gets filtered out, so it's the presence of the 3b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanov# blank two lines in the .stderr.exp file that are important -- they 4b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanov# indicate it ran to completion. If the crash occurs, the .stderr.out file 5b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanov# is empty. 6b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanovprereq: touch empty-exe && chmod u+x empty-exe 7b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanovprog: empty-exe 8b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanovvgopts: 9b32f58018498ea2225959b0ba11c18f0c433deefEvgeniy Stepanovcleanup: rm -f empty-exe 10