summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGlenn L McGrath2003-12-26 14:01:37 +0000
committerGlenn L McGrath2003-12-26 14:01:37 +0000
commitce91c8ac2bb343f0b3303c608c5a8b5a2252204d (patch)
treefb1edb12638407a859d3fefcfc89d5c8c7c20964 /testsuite
parentab8215431f43d132cbb0986dec6fbd542350f9d9 (diff)
downloadbusybox-ce91c8ac2bb343f0b3303c608c5a8b5a2252204d.zip
busybox-ce91c8ac2bb343f0b3303c608c5a8b5a2252204d.tar.gz
Isolate code better for unused options, config option to enable long
options, add some conditions to the tar tests in testsuite.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tar/tar-handles-cz-options2
-rw-r--r--testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list3
-rw-r--r--testsuite/tar/tar-handles-exclude-and-extract-lists3
-rw-r--r--testsuite/tar/tar-handles-multiple-X-options2
-rw-r--r--testsuite/tar/tar-handles-nested-exclude3
5 files changed, 10 insertions, 3 deletions
diff --git a/testsuite/tar/tar-handles-cz-options b/testsuite/tar/tar-handles-cz-options
index 1049c6d..5b55e46 100644
--- a/testsuite/tar/tar-handles-cz-options
+++ b/testsuite/tar/tar-handles-cz-options
@@ -1,3 +1,5 @@
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
+# FEATURE: CONFIG_FEATURE_TAR_GZIP
touch foo
busybox tar czf foo.tar.gz foo
gzip -d foo.tar.gz
diff --git a/testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list b/testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list
index b76f023..5033642 100644
--- a/testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list
+++ b/testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list
@@ -1,4 +1,5 @@
-# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_FROM
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
touch foo
tar cf foo.tar foo
echo foo >foo.exclude
diff --git a/testsuite/tar/tar-handles-exclude-and-extract-lists b/testsuite/tar/tar-handles-exclude-and-extract-lists
index e715a47..2de0f0e 100644
--- a/testsuite/tar/tar-handles-exclude-and-extract-lists
+++ b/testsuite/tar/tar-handles-exclude-and-extract-lists
@@ -1,4 +1,5 @@
-# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_FROM
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
touch foo bar baz
tar cf foo.tar foo bar baz
echo foo >foo.exclude
diff --git a/testsuite/tar/tar-handles-multiple-X-options b/testsuite/tar/tar-handles-multiple-X-options
index 8321af8..155b27e 100644
--- a/testsuite/tar/tar-handles-multiple-X-options
+++ b/testsuite/tar/tar-handles-multiple-X-options
@@ -1,3 +1,5 @@
+# FEATURE: CONFIG_FEATURE_TAR_FROM
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
touch foo
touch bar
tar cf foo.tar foo bar
diff --git a/testsuite/tar/tar-handles-nested-exclude b/testsuite/tar/tar-handles-nested-exclude
index ad39506..39013a1 100644
--- a/testsuite/tar/tar-handles-nested-exclude
+++ b/testsuite/tar/tar-handles-nested-exclude
@@ -1,4 +1,5 @@
-# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
+# FEATURE: CONFIG_FEATURE_TAR_FROM
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
mkdir foo
touch foo/bar
tar cf foo.tar foo