aboutsummaryrefslogtreecommitdiff
path: root/tests/inout.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inout.at')
-rw-r--r--tests/inout.at19
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/inout.at b/tests/inout.at
index 86c7d02..fd7baea 100644
--- a/tests/inout.at
+++ b/tests/inout.at
@@ -35,7 +35,22 @@ while read NAME LENGTH
do
genfile --length $LENGTH > $NAME
echo $NAME
-done < filelist |
- cpio --quiet -o > archive])
+done < filelist > filelist_raw
+
+for format in bin odc newc crc tar ustar hpbin hpodc
+do
+ cpio --format=$format --quiet -o < filelist_raw > archive.$format
+ rm -rf output
+ mkdir output && cd output
+ cpio -i --quiet < ../archive.$format
+
+ while read file
+ do
+ test -f $file || echo "$file not found"
+ done < ../filelist_raw
+
+ cd ..
+done
+])
AT_CLEANUP

Return to:

Send suggestions and report system problems to the System administrator.