]> Dogcows Code - chaz/tar/blob - tests/same-order01.sh
Remove addext.c, malloc.c, realloc.c.
[chaz/tar] / tests / same-order01.sh
1 #! /bin/sh
2
3 # -C dir did not work with --same-order
4 # Bug reported by Karl-Michael Schneider <schneide@phil.uni-passau.de>
5
6 # This file is part of GNU tar testsuite.
7 # Copyright (C) 2004 Free Software Foundation, Inc.
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 # 02111-1307, USA.
23
24 . ./preset
25 . $srcdir/before
26
27 set -e
28 genfile -l 1024 > file1
29 genfile -l 1024 > file2
30 tar cf archive file1 file2
31
32 mkdir directory
33 tar -xf archive --same-order -C directory
34
35 ls directory
36
37 out="\
38 file1
39 file2
40 "
41
42 . $srcdir/after
This page took 0.040731 seconds and 4 git commands to generate.