]> Dogcows Code - chaz/tar/blob - tests/incremen.sh
Initial revision
[chaz/tar] / tests / incremen.sh
1 #! /bin/sh
2 # A directory older than the listed entry was skipped completely.
3
4 . ./preset
5 . $srcdir/before
6
7 set -e
8 mkdir structure
9 touch structure/file
10 # FIXME: The sleep is necessary for the second tar to work. Exactly why?
11 sleep 1
12 tar cf archive --listed=list structure
13 tar cfv archive --listed=list structure
14 echo -----
15 touch structure/file
16 tar cfv archive --listed=list structure
17
18 out="\
19 structure/
20 -----
21 structure/
22 structure/file
23 "
24
25 . $srcdir/after
This page took 0.035595 seconds and 4 git commands to generate.