mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-25 19:10:46 +00:00
Port new tests to Solaris 10 strerror
* tests/extrac31.at: Adjust to Solaris 10 diagnostics.
This commit is contained in:
@@ -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
|
||||
],
|
||||
[],
|
||||
|
||||
Reference in New Issue
Block a user