summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-10-04 07:16:39 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-10-04 07:16:39 +0000
commit9b22262fc6c559451d68617aeded10a3da51ffe8 (patch)
tree60328e01158949502acd43eb82043dbb07826f0b
parent2de140fa9535e86297abb743fd81a420b638005d (diff)
downloadtar-9b22262fc6c559451d68617aeded10a3da51ffe8.tar.gz
Use AT_DATA for sample output.
-rw-r--r--tests/T-null.at10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/T-null.at b/tests/T-null.at
index 4889fc62..c45dab60 100644
--- a/tests/T-null.at
+++ b/tests/T-null.at
@@ -19,7 +19,11 @@
# 02110-1301, USA.
AT_SETUP([files-from: 0-separated file without -0])
-AT_KEYWORDS([files-from null])
+AT_KEYWORDS([files-from null T-null])
+
+AT_DATA([expout],[jeden\ndwa
+trzy
+])
AT_TAR_CHECK([
AT_SORT_PREREQ
@@ -37,9 +41,7 @@ genfile -f trzy
tar cfTv archive file-list | sort
],
[0],
-[jeden\ndwa
-trzy
-],
+[expout],
[tar: file-list: file name read contains nul character
],[],[],[ustar]) # Testing one format is enough