Port new tests to Solaris 10 strerror

* tests/extrac31.at: Adjust to Solaris 10 diagnostics.
This commit is contained in:
Paul Eggert
2025-11-14 23:55:24 -08:00
parent 50b559c3d7
commit 4e548d150c

View File

@@ -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
],
[],