| 1 | Don't escape forward slashes to prevent a warning from grep 3.8.
|
| 2 |
|
| 3 | diff --git a/tests/link-order.at b/tests/link-order.at
|
| 4 | |
| 5 | |
| 6 | @@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems have different path syntax
|
| 7 | case $hardcode_direct$hardcode_direct_absolute in
|
| 8 | yesno)
|
| 9 | AT_CHECK([if $EGREP relinking stderr; then
|
| 10 | - $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
|
| 11 | + $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout
|
| 12 | else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
| 13 | ;;
|
| 14 | *)
|
| 15 | AT_CHECK([if $EGREP relinking stderr; then
|
| 16 | - $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout
|
| 17 | + $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout
|
| 18 | else :; fi], [0], [ignore], [], [echo "wrong link order"])
|
| 19 | ;;
|
| 20 | esac
|
| 21 | diff --git a/tests/testsuite b/tests/testsuite
|
| 22 | |
| 23 | |
| 24 | @@ -20611,11 +20611,11 @@ aix* | interix*) ;; # These systems have different path syntax
|
| 25 | yesno)
|
| 26 | { set +x
|
| 27 | $as_echo "$at_srcdir/link-order.at:101: if \$EGREP relinking stderr; then
|
| 28 | - \$EGREP \" .*\\/new\\/lib/libb\$shared_ext .*\\/old\\/lib/libcee\$shared_ext\" stdout
|
| 29 | + \$EGREP \" .*/new/lib/libb\$shared_ext .*/old/lib/libcee\$shared_ext\" stdout
|
| 30 | else :; fi"
|
| 31 | at_fn_check_prepare_notrace 'an embedded newline' "link-order.at:101"
|
| 32 | ( $at_check_trace; if $EGREP relinking stderr; then
|
| 33 | - $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
|
| 34 | + $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout
|
| 35 | else :; fi
|
| 36 | ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
|
| 37 | at_status=$? at_failed=false
|
| 38 | @@ -20633,11 +20633,11 @@ $at_traceon; }
|
| 39 | *)
|
| 40 | { set +x
|
| 41 | $as_echo "$at_srcdir/link-order.at:106: if \$EGREP relinking stderr; then
|
| 42 | - \$EGREP \" -L.*\\/new\\/lib -lb -L.*\\/old\\/lib -lcee\" stdout
|
| 43 | + \$EGREP \" -L.*/new\\/lib -lb -L.*/old/lib -lcee\" stdout
|
| 44 | else :; fi"
|
| 45 | at_fn_check_prepare_notrace 'an embedded newline' "link-order.at:106"
|
| 46 | ( $at_check_trace; if $EGREP relinking stderr; then
|
| 47 | - $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout
|
| 48 | + $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout
|
| 49 | else :; fi
|
| 50 | ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
|
| 51 | at_status=$? at_failed=false
|