diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-10-26 18:12:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-10-26 18:13:03 -0700 |
commit | 7dd57ebdfa9ac0d2af4622449f45b5025f6c184f (patch) | |
tree | ddb55dcc955a142e68bb29559b08dfa5caf0df36 | |
parent | e23d123b9326881803da64b1eb1e35fc0362e993 (diff) | |
download | tar-7dd57ebdfa9ac0d2af4622449f45b5025f6c184f.tar.gz |
tests: port to Solaris diff
* tests/extrac13.at: Don't assume that "diff -c" outputs nothing
when there are no differences. This is not true on Solaris,
where it outputs "No differences encounted".
-rw-r--r-- | tests/extrac13.at | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/extrac13.at b/tests/extrac13.at index 2abed72f..7c03e02a 100644 --- a/tests/extrac13.at +++ b/tests/extrac13.at @@ -33,20 +33,20 @@ echo target1 >target1 tar -cf archive.tar -C src . && tar -xf archive.tar -C dst1 --warning=no-timestamp && -diff -c src/file1 dst1/file1 && -diff -c target1 dst1/target1 +diff src/file1 dst1/file1 && +diff target1 dst1/target1 ln -s target1 dst2/file1 echo target1 >dst2/target1 tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp && -diff -c src/file1 dst2/file1 && -diff -c target1 dst2/target1 +diff src/file1 dst2/file1 && +diff target1 dst2/target1 ln -s target1 dst3/file1 echo target1 >dst3/target1 tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp && -diff -c src/file1 dst3/file1 && -diff -c src/file1 dst3/target1 +diff src/file1 dst3/file1 && +diff src/file1 dst3/target1 ], [0],[],[],[],[],[gnu]) |