* testsuite/retain_symbols_file_test.sh (check_present): Change

output file name to retain_symbols_file_test.stdout.
	(check_absent): Likewise.
This commit is contained in:
Ian Lance Taylor 2009-09-22 19:54:46 +00:00
parent 46bc35a936
commit 6a8f49fe0a
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2009-09-22 Mikolaj Zalewski <mikolajz@google.com>
* testsuite/retain_symbols_file_test.sh (check_present): Change
output file name to retain_symbols_file_test.stdout.
(check_absent): Likewise.
2009-09-18 Craig Silverstein <csilvers@google.com> 2009-09-18 Craig Silverstein <csilvers@google.com>
* object.cc (Sized_relobj::do_count): Test should_retain_symbol map. * object.cc (Sized_relobj::do_count): Test should_retain_symbol map.

View File

@ -27,18 +27,18 @@
check_present() check_present()
{ {
if ! grep -q "$1" retain_symbols_file_test.out if ! grep -q "$1" retain_symbols_file_test.stdout
then then
echo "Did not find expected symbol $1 in retain_symbols_file_test.out" echo "Did not find expected symbol $1 in retain_symbols_file_test.stdout"
exit 1 exit 1
fi fi
} }
check_absent() check_absent()
{ {
if grep -q "$1" retain_symbols_file_test.out if grep -q "$1" retain_symbols_file_test.stdout
then then
echo "Found unexpected symbol $1 in retain_symbols_file_test.out" echo "Found unexpected symbol $1 in retain_symbols_file_test.stdout"
exit 1 exit 1
fi fi
} }