]> Dogcows Code - chaz/tar/blob - tests/delete02.sh
Updated
[chaz/tar] / tests / delete02.sh
1 #! /bin/sh
2 # Deleting a member with the archive from stdin was not working correctly.
3
4 . ./preset
5 . $srcdir/before
6
7 set -e
8 genfile -l 3073 -p zeros > 1
9 cp 1 2
10 cp 2 3
11 tar cf archive 1 2 3
12 tar tf archive
13 cat archive | tar f - --delete 2 > archive2
14 echo -----
15 tar tf archive
16
17 out="\
18 1
19 2
20 3
21 -----
22 1
23 3
24 "
25
26 . $srcdir/after
This page took 0.034827 seconds and 4 git commands to generate.