From: Paul Eggert Date: Sat, 15 Nov 2025 07:55:24 +0000 (-0800) Subject: Port new tests to Solaris 10 strerror X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e548d150cf4d8c8eb55d2aca9d466450dcaf4ba;p=thirdparty%2Ftar.git Port new tests to Solaris 10 strerror * tests/extrac31.at: Adjust to Solaris 10 diagnostics. --- diff --git a/tests/extrac31.at b/tests/extrac31.at index 5cc68a47..bc1f926f 100644 --- a/tests/extrac31.at +++ b/tests/extrac31.at @@ -40,8 +40,12 @@ tar -cf a.tar -C dira sub sym tar -cf b.tar -C dirb sym/file1 sub/sym/file2 tar -xf a.tar -C ext echo status1=$? -tar -xf b.tar -C ext +tar -xf b.tar -C ext 2>b.err echo status2=$? + +# Solaris 10 says just "Cross-device link". +sed 's/: Cross-device link/: Invalid cross-device link/' b.err >&2 + diff victimdir victimexp ], [],