summary refs log tree commit diff
path: root/elf/tst-execstack.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-02-12 20:52:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-02-12 20:52:19 +0000
commit8756f74004e73ce9276b9ab698f5043f6e7ffcd7 (patch)
tree3c3ed67146ff67922a04de255377cc2bb1120b87 /elf/tst-execstack.c
parent1b6dd3f1297882f2450942a55189fefaae31071f (diff)
downloadglibc-8756f74004e73ce9276b9ab698f5043f6e7ffcd7.tar.gz
glibc-8756f74004e73ce9276b9ab698f5043f6e7ffcd7.tar.xz
glibc-8756f74004e73ce9276b9ab698f5043f6e7ffcd7.zip
Stop io/ftwtest deleting its own output.
If you rerun "make check" in a tree where some tests have already been
run, it will rerun io/ftwtest-sh because that test uses ftwtest.out,
the same name to which output is redirected, as its internal temporary
file, and then removes it on exit.

Clearly tests should not be removing the files to which their output
is redirected like that.  This patch changes the script to use a
different file as its internal temporary file, so the actual output
referenced in the makefile isn't removed.

Tested x86_64.

	* io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
Diffstat (limited to 'elf/tst-execstack.c')
0 files changed, 0 insertions, 0 deletions