From 70fdfd4fa136db573a473fcb30a6e2d8e58e5c72 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 22 Nov 1996 19:58:28 +0000 Subject: [PATCH] GNU tar 1.12 --- tests/incremen.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 tests/incremen.sh diff --git a/tests/incremen.sh b/tests/incremen.sh new file mode 100755 index 0000000..c723e9c --- /dev/null +++ b/tests/incremen.sh @@ -0,0 +1,25 @@ +#! /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 -- 2.45.2