Files
tar/tests/incremen.sh
Paul Eggert 70fdfd4fa1 GNU tar 1.12
1996-11-22 19:58:28 +00:00

26 lines
454 B
Bash
Executable File

#! /bin/sh
# A directory older than the listed entry was skipped completely.
. ./preset
. $srcdir/before
set -e
mkdir structure
touch structure/file
# FIXME: The sleep is necessary for the second tar to work. Exactly why?
sleep 1
tar cf archive --listed=list structure
tar cfv archive --listed=list structure
echo -----
touch structure/file
tar cfv archive --listed=list structure
out="\
structure/
-----
structure/
structure/file
"
. $srcdir/after