X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gold%2Ftestsuite%2Fundef_symbol.sh;h=5613a8b19851b20d21f1deee41e1647354add858;hb=a2c5833233df078288c791c348a265c96c6182da;hp=03c15768d81f0d4c68435c675b25c9fca76f5c7f;hpb=ebdbb4583d9b05504b1ca7e4f6c370f5d355e9bd;p=thirdparty%2Fbinutils-gdb.git diff --git a/gold/testsuite/undef_symbol.sh b/gold/testsuite/undef_symbol.sh index 03c15768d81..5613a8b1985 100755 --- a/gold/testsuite/undef_symbol.sh +++ b/gold/testsuite/undef_symbol.sh @@ -2,7 +2,7 @@ # undef_symbol.sh -- a test case for undefined symbols in shared libraries -# Copyright 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2007-2022 Free Software Foundation, Inc. # Written by Ian Lance Taylor . # This file is part of gold. @@ -40,6 +40,6 @@ check() fi } -check "undef_symbol.so: undefined reference to 'a'" +check "undef_symbol.so: error: undefined reference to 'a'" exit 0