diff options
Diffstat (limited to 'regress/tools/files/tar-test.sh')
-rw-r--r-- | regress/tools/files/tar-test.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/tools/files/tar-test.sh b/regress/tools/files/tar-test.sh new file mode 100644 index 00000000000..02573d62509 --- /dev/null +++ b/regress/tools/files/tar-test.sh @@ -0,0 +1,24 @@ +#! /bin/sh +# $NetBSD: tar-test.sh,v 1.1 2007/09/09 08:01:45 rillig Exp $ +# + +set -e + +mydir=`dirname "$0"` +. "${mydir}/tests.subr" + +# +# Functions specific for the tar testsuite. +# + +# none. + +# +# The actual test. +# + +# tar must support the -z option. +# +testcase_start "-z" +echo "data" > file +tar cfz archive.tar.gz file |