34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
|
From 1e13a1944f725ccc24bce1a2fa6f9009ba8a2270 Mon Sep 17 00:00:00 2001
|
||
|
From: Andreas Stieger <Andreas.Stieger@gmx.de>
|
||
|
Date: Sun, 4 Sep 2022 22:24:41 +0200
|
||
|
Subject: [PATCH] tests/link-order.at: avoid warning and test failure with GNU
|
||
|
grep 3.8
|
||
|
|
||
|
https://bugzilla.opensuse.org/show_bug.cgi?id=1203097
|
||
|
https://savannah.gnu.org/patch/index.php?10275
|
||
|
|
||
|
---
|
||
|
tests/link-order.at | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/tests/link-order.at b/tests/link-order.at
|
||
|
index 3f01a00d..a145347f 100644
|
||
|
--- a/tests/link-order.at
|
||
|
+++ b/tests/link-order.at
|
||
|
@@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems have different path syntax
|
||
|
case $hardcode_direct$hardcode_direct_absolute in
|
||
|
yesno)
|
||
|
AT_CHECK([if $EGREP relinking stderr; then
|
||
|
- $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
|
||
|
+ $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout
|
||
|
else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
||
|
;;
|
||
|
*)
|
||
|
AT_CHECK([if $EGREP relinking stderr; then
|
||
|
- $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout
|
||
|
+ $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout
|
||
|
else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
||
|
;;
|
||
|
esac
|
||
|
--
|
||
|
2.37.2
|