summaryrefslogtreecommitdiff
path: root/regress/tools/files/tar-test.sh
blob: 02573d625095ba1d21cd95a6fc5a4ba0f24b14fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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