summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/exclude08.at3
-rw-r--r--tests/exclude09.at5
-rw-r--r--tests/exclude10.at7
-rw-r--r--tests/exclude11.at3
-rw-r--r--tests/exclude12.at3
-rw-r--r--tests/exclude13.at7
-rw-r--r--tests/exclude14.at3
-rw-r--r--tests/exclude15.at3
-rw-r--r--tests/exclude16.at7
9 files changed, 25 insertions, 16 deletions
diff --git a/tests/exclude08.at b/tests/exclude08.at
index ccd26c9d..aa352706 100644
--- a/tests/exclude08.at
+++ b/tests/exclude08.at
@@ -37,8 +37,9 @@ AT_SETUP([--exclude-tag option])
AT_KEYWORDS([exclude exclude-tag exclude08])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag=excludeme -v etest
+tar -c -f etest.tar --exclude-tag=excludeme -v etest | sort
],
[0],
[etest/
diff --git a/tests/exclude09.at b/tests/exclude09.at
index 6ccfb185..d60bcfe1 100644
--- a/tests/exclude09.at
+++ b/tests/exclude09.at
@@ -38,14 +38,15 @@ AT_SETUP([--exclude-tag option and --listed-incremental])
AT_KEYWORDS([exclude exclude-tag listed incremental exclude09])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
etest/subdir/
-etest/top-level-file
etest/subdir/excludeme
+etest/top-level-file
],
[tar: etest: Directory is new
tar: etest/subdir: Directory is new
diff --git a/tests/exclude10.at b/tests/exclude10.at
index c95cb535..fadd020e 100644
--- a/tests/exclude10.at
+++ b/tests/exclude10.at
@@ -39,23 +39,24 @@ AT_SETUP([--exclude-tag option in incremental pass])
AT_KEYWORDS([exclude exclude-tag listed incremental exclude10])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
etest/subdir/
diff --git a/tests/exclude11.at b/tests/exclude11.at
index 6b5ef517..ae787433 100644
--- a/tests/exclude11.at
+++ b/tests/exclude11.at
@@ -37,8 +37,9 @@ AT_SETUP([--exclude-tag-under option])
AT_KEYWORDS([exclude exclude-tag exclude-tag-under exclude11])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-under=excludeme -v etest
+tar -c -f etest.tar --exclude-tag-under=excludeme -v etest | sort
],
[0],
[etest/
diff --git a/tests/exclude12.at b/tests/exclude12.at
index 7121f077..b5b7824a 100644
--- a/tests/exclude12.at
+++ b/tests/exclude12.at
@@ -38,8 +38,9 @@ AT_SETUP([--exclude-tag-under and --listed-incremental])
AT_KEYWORDS([exclude exclude-tag exclude-tag-under listed incremental exclude12])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-under=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag-under=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
diff --git a/tests/exclude13.at b/tests/exclude13.at
index 4a360769..34353f43 100644
--- a/tests/exclude13.at
+++ b/tests/exclude13.at
@@ -40,23 +40,24 @@ AT_SETUP([--exclude-tag-under option in incremental pass])
AT_KEYWORDS([exclude exclude-tag exclude-tag-under listed incremental exclude13])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag-under=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag-under=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag-under=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag-under=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
etest/subdir/
diff --git a/tests/exclude14.at b/tests/exclude14.at
index 90323667..22aac862 100644
--- a/tests/exclude14.at
+++ b/tests/exclude14.at
@@ -37,8 +37,9 @@ AT_SETUP([--exclude-tag-all option])
AT_KEYWORDS([exclude exclude-tag exclude-tag-all exclude14])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-all=excludeme -v etest
+tar -c -f etest.tar --exclude-tag-all=excludeme -v etest | sort
],
[0],
[etest/
diff --git a/tests/exclude15.at b/tests/exclude15.at
index 2c98c353..7c1f6c74 100644
--- a/tests/exclude15.at
+++ b/tests/exclude15.at
@@ -37,8 +37,9 @@ AT_SETUP([--exclude-tag-all and --listed-incremental])
AT_KEYWORDS([exclude exclude-tag exclude-tag-all listed incremental exclude15])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-all=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag-all=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
diff --git a/tests/exclude16.at b/tests/exclude16.at
index 5254ef8c..6f7c8944 100644
--- a/tests/exclude16.at
+++ b/tests/exclude16.at
@@ -39,23 +39,24 @@ AT_SETUP([--exclude-tag-all option in incremental pass])
AT_KEYWORDS([exclude exclude-tag exclude-tag-all listed incremental exclude16])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag-all=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag-all=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag-all=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag-all=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
],