diff -u a/tests/foreign.at b/tests/foreign.at --- a/tests/foreign.at +++ b/tests/foreign.at @@ -57,7 +57,7 @@ # Make sure at-path contains something valid, and let the test suite # display it when verbose. And fail, skipping would too easily hide # problems. -AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) +AT_CHECK([sed -n ["s,^[^']*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout]) AT_CHECK([test -f "`sed -n 1p stdout`"]) # Older libtoolize installed everything but install-sh...