pkgsrc/regress/tools-platform/tar.test

24 lines
312 B
Bash

#! /bin/sh
# $NetBSD: tar.test,v 1.1 2020/05/02 07:24:32 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