2 # Generated from testsuite.at by GNU Autoconf 2.63.
4 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5 # Free Software Foundation, Inc.
6 # This test suite is free software; the Free Software Foundation gives
7 # unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be more Bourne compatible
13 DUALCASE
=1; export DUALCASE
# for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in
23 *posix
*) set -o posix
;;
32 # Avoid depending upon Character Ranges.
33 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits
='0123456789'
37 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
52 as_echo_n='/usr
/ucb
/echo -n'
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
65 as_echo_n='sh
-c $as_echo_n_body as_echo
'
68 as_echo='sh
-c $as_echo_body as_echo
'
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
74 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 # Support unset when possible.
81 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89 # We need space, tab and new line, in precisely that order. Quoting is
90 # there to prevent editors from complaining about space-tab.
91 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
92 # splitting by setting IFS to empty value.)
95 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x
; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 { (exit 1); exit 1; }
119 # Work around bugs in pre-3.0 UWIN ksh.
120 for as_var
in ENV MAIL MAILPATH
121 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
133 # Required to use basename.
134 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
135 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
141 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
148 # Name of the executable.
149 as_me
=`$as_basename -- "$0" ||
150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151 X"$0" : 'X\(//\)$' \| \
152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 sed '/^.*\/\([^/][^/]*\)\/*$/{
172 if test "x$CONFIG_SHELL" = x
; then
173 if (eval ":") 2>/dev
/null
; then
179 if test $as_have_required = yes && (eval ":
189 as_func_ret_success () {
192 as_func_ret_failure () {
197 if as_func_success; then
201 echo as_func_success failed.
204 if as_func_failure; then
206 echo as_func_failure succeeded.
209 if as_func_ret_success; then
213 echo as_func_ret_success failed.
216 if as_func_ret_failure; then
218 echo as_func_ret_failure succeeded.
221 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 echo positional parameters were not saved.
228 test \$exitcode = 0) || { (exit 1); exit 1; }
233 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
234 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
235 ") 2> /dev
/null
; then
239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
240 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
243 test -z "$as_dir" && as_dir
=.
246 for as_base
in sh bash ksh sh5
; do
247 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
254 for as_shell
in $as_candidate_shells $SHELL; do
255 # Try only shells that exist, to save several forks.
256 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
257 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
258 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
261 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
262 # is contrary to our usage. Disable this feature.
263 alias -g '${1+"$@"}'='"$@"'
266 case `(set -o) 2>/dev/null` in
267 *posix
*) set -o posix
;;
276 CONFIG_SHELL
=$as_shell
278 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
279 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
282 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
283 # is contrary to our usage. Disable this feature.
284 alias -g '${1+"$@"}'='"$@"'
287 case `(set -o) 2>/dev/null` in
288 *posix
*) set -o posix
;;
304 as_func_ret_success
() {
307 as_func_ret_failure
() {
312 if as_func_success
; then
316 echo as_func_success failed.
319 if as_func_failure
; then
321 echo as_func_failure succeeded.
324 if as_func_ret_success
; then
328 echo as_func_ret_success failed.
331 if as_func_ret_failure
; then
333 echo as_func_ret_failure succeeded.
336 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
340 echo positional parameters were not saved.
343 test $exitcode = 0) ||
{ (exit 1); exit 1; }
348 test "x$as_lineno_1" != "x$as_lineno_2" &&
349 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
360 if test "x$CONFIG_SHELL" != x
; then
361 for as_var
in BASH_ENV ENV
362 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
365 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 if test $as_have_required = no
; then
370 echo This
script requires a shell
more modern than all the
371 echo shells that I found on your system. Please
install a
372 echo modern shell
, or manually run the
script under such a
373 echo shell
if you
do have one.
374 { (exit 1); exit 1; }
384 (eval "as_func_return () {
393 as_func_ret_success () {
396 as_func_ret_failure () {
401 if as_func_success; then
405 echo as_func_success failed.
408 if as_func_failure; then
410 echo as_func_failure succeeded.
413 if as_func_ret_success; then
417 echo as_func_ret_success failed.
420 if as_func_ret_failure; then
422 echo as_func_ret_failure succeeded.
425 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 echo positional parameters were not saved.
432 test \$exitcode = 0") ||
{
433 echo No shell found that supports shell functions.
434 echo Please tell bug-autoconf@gnu.org about your system
,
435 echo including any error possibly output before this message.
436 echo This can
help us improve future autoconf versions.
437 echo Configuration will now proceed without shell functions.
444 test "x$as_lineno_1" != "x$as_lineno_2" &&
445 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
447 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
448 # uniformly replaced by the line number. The first 'sed' inserts a
449 # line-number line after each line using $LINENO; the second 'sed'
450 # does the real work. The second script uses 'N' to pair each
451 # line-number line with the line containing $LINENO, and appends
452 # trailing '-' during substitution so that $LINENO is not a special
454 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
455 # scripts with optimization help from Paolo Bonzini. Blame Lee
456 # E. McMahon (1931-1989) for sed's syntax. :-)
468 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 chmod +x
"$as_me.lineno" ||
473 { { $as_echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
474 $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Not all shells have the 'times' builtin; the subshell is needed to make
583 # sure we discard the 'times: not found' message from the shell.
585 (times) >/dev
/null
2>&1 && at_times_p
=:
587 # CLI Arguments to pass to the debugging scripts.
591 # Shall we be verbose? ':' means no, empty means yes.
595 # Shall we keep the debug scripts? Must be `:' when the suite is
596 # run by a debug script, so that the script doesn't remove itself.
598 # Display help message?
600 # Display the version message?
608 # Whether a write failure occurred
611 # The directory we run the suite in. Default to . if no -C option.
613 # An absolute reference to this testsuite script.
615 [\\/]* | ?
:[\\/]* ) at_myself
=$as_myself ;;
616 * ) at_myself
=$at_dir/$as_myself ;;
618 # Whether -C is in effect.
621 # List of the tested programs.
623 # List of the all the test groups.
624 at_groups_all
=' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121'
625 # As many question marks as there are digits in the last test group number.
626 # Used to normalize the test group numbers so that `ls' lists them in
629 # Description of all the test groups.
630 at_help_all
="1;version.at:19;tar version;;
631 2;pipe.at:30;decompressing from stdin;pipe;
632 3;options.at:24;mixing options;options options00;
633 4;options02.at:26;interspersed options;options options02;
634 5;T-empty.at:26;files-from: empty entries;files-from empty;
635 6;T-null.at:21;files-from: 0-separated file without -0;files-from null t-null;
636 7;indexfile.at:26;tar --index-file=FILE --file=-;stdout indexfile;
637 8;verbose.at:26;tar cvf -;stdout verbose;
638 9;append.at:21;append;append append00;
639 10;append01.at:29;appending files with long names;append append01;
640 11;append02.at:54;append vs. create;append append02 append-gnu;
641 12;append03.at:19;append with name transformation;append append03;
642 13;xform-h.at:30;transforming hard links on create;transform xform xform-h;
643 14;xform01.at:26;transformations and GNU volume labels;transform xform xform01 volume;
644 15;exclude.at:23;exclude;exclude;
645 16;exclude01.at:17;exclude wildcards;exclude exclude01;
646 17;exclude02.at:17;exclude: anchoring;exclude exclude02;
647 18;exclude03.at:17;exclude: wildcards match slash;exclude exclude03;
648 19;exclude04.at:17;exclude: case insensitive;exclude exclude04;
649 20;exclude05.at:19;exclude: lots of excludes;exclude exclude05;
650 21;exclude06.at:24;exclude: long files in pax archives;exclude exclude06;
651 22;delete01.at:23;deleting a member after a big one;delete delete01;
652 23;delete02.at:23;deleting a member from stdin archive;delete delete02;
653 24;delete03.at:21;deleting members with long names;delete delete03;
654 25;delete04.at:23;deleting a large last member;delete delete04;
655 26;delete05.at:27;deleting non-existing member;delete delete05;
656 27;extrac01.at:23;extract over an existing directory;extract extract01;
657 28;extrac02.at:23;extracting symlinks over an existing file;extract extract02 symlink;
658 29;extrac03.at:23;extraction loops;extract extract03;
659 30;extrac04.at:23;extract + fnmatch;extract extract04 fnmatch;
660 31;extrac05.at:30;extracting selected members from pax;extract extract05;
661 32;extrac06.at:33;mode of extracted directories;extract extract06 directory mode;
662 33;extrac07.at:27;extracting symlinks to a read-only dir;extract extract07 read-only symlink;
663 34;extrac08.at:33;restoring mode on existing directory;extract extrac08;
664 35;extrac09.at:22;no need to save dir with unreadable . and ..;extract extrac09;
665 36;extrac10.at:27;-C and delayed setting of metadata;extract extrac10;
666 37;extrac11.at:23;scarce file descriptors;extract extrac11;
667 38;extrac12.at:23;extract dot permissions;extract extrac12;
668 39;extrac13.at:24;extract over symlinks;extract extrac13;
669 40;extrac14.at:23;extract -C symlink;extract extrac14;
670 41;extrac15.at:23;extract parent mkdir failure;extract extrac15;
671 42;extrac16.at:24;extract empty directory with -C;extract extrac16;
672 43;extrac17.at:19;name matching/transformation ordering;extract extrac17;
673 44;label01.at:19;single-volume label;label label01;
674 45;label02.at:19;multi-volume label;label label02 multi-label multivolume multiv;
675 46;label03.at:25;test-label option;label label03 test-label;
676 47;label04.at:25;label with non-create option;label label04;
677 48;label05.at:22;label with non-create option;label label05;
678 49;backup01.at:33;extracting existing dir with --backup;extract backup backup01;
679 50;gzip.at:23;gzip;gzip;
680 51;incremental.at:23;incremental;incremental incr00;
681 52;incr01.at:27;restore broken symlinks from incremental;incremental incr01;
682 53;incr02.at:32;restoring timestamps from incremental;incremental timestamp restore incr02;
683 54;listed01.at:26;--listed for individual files;listed incremental listed01;
684 55;listed02.at:28;working --listed;listed incremental listed02;
685 56;listed03.at:22;incremental dump when the parent directory is unreadable;listed incremental listed03;
686 57;listed04.at:24;--listed-incremental and --one-file-system;listed incremental listed04;
687 58;incr03.at:28;renamed files in incrementals;incremental incr03 rename;
688 59;incr04.at:29;proper icontents initialization;incremental incr04 icontents;
689 60;incr05.at:19;incremental dumps with -C;incremental incr05;
690 61;incr06.at:19;incremental dumps of nested directories;incremental incr06;
691 62;filerem01.at:34;file removed as we read it (ca. 22 seconds);create incremental filechange filerem filerem01;
692 63;filerem02.at:24;toplevel file removed (ca. 24 seconds);create incremental filechange filerem filerem02;
693 64;rename01.at:24;renamed dirs in incrementals;incremental rename rename01;
694 65;rename02.at:24;move between hierarchies;incremental rename rename02;
695 66;rename03.at:23;cyclic renames;incremental rename rename03 cyclic-rename;
696 67;rename04.at:27;renamed directory containing subdirectories;incremental rename04 rename;
697 68;rename05.at:24;renamed subdirectories;incremental rename05 rename;
698 69;chtype.at:27;changed file types in incrementals;incremental chtype;
699 70;ignfail.at:23;ignfail;ignfail;
700 71;link01.at:33;link count gt 2;hardlinks link01;
701 72;link02.at:32;preserve hard links with --remove-files;hardlinks link02;
702 73;link03.at:24;working -l with --remove-files;hardlinks link03;
703 74;link04.at:29;link count is 1 but multiple occurrences;hardlinks link04;
704 75;longv7.at:24;long names in V7 archives;longname longv7;
705 76;long01.at:28;long file names divisible by block size;longname long512;
706 77;lustar01.at:21;ustar: unsplittable file name;longname ustar lustar01;
707 78;lustar02.at:21;ustar: unsplittable path name;longname ustar lustar02;
708 79;lustar03.at:21;ustar: splitting long names;longname ustar lustar03;
709 80;multiv01.at:23;multivolume dumps from pipes;multivolume multiv multiv01;
710 81;multiv02.at:28;skipping a straddling member;multivolume multiv multiv02;
711 82;multiv03.at:30;MV archive & long filenames;multivolume multiv multiv03;
712 83;multiv04.at:36;split directory members in a MV archive;multivolume multiv incremental multiv04;
713 84;multiv05.at:26;Restoring after an out of sync volume;multivolume multiv multiv05 sync;
714 85;multiv06.at:27;Multivolumes with L=record_size;multivolume multiv multiv06;
715 86;multiv07.at:26;volumes split at an extended header;multivolume multiv multiv07 xsplit;
716 87;multiv08.at:23;multivolume header creation;multivolume multiv multiv08;
717 88;old.at:23;old archives;old;
718 89;recurse.at:21;recurse;recurse;
719 90;same-order01.at:26;working -C with --same-order;same-order same-order01;
720 91;same-order02.at:25;multiple -C options;same-order same-order02;
721 92;shortrec.at:25;short records;shortrec;
722 93;sparse01.at:21;sparse files;sparse sparse01;
723 94;sparse02.at:21;extracting sparse file over a pipe;sparse sparse02;
724 95;sparse03.at:21;storing sparse files > 8G;sparse sparse03;
725 96;sparse04.at:21;storing long sparse file names;sparse sparse04;
726 97;sparsemv.at:21;sparse files in MV archives;sparse multiv sparsemv;
727 98;spmvp00.at:21;sparse files in PAX MV archives, v.0.0;sparse multivolume multiv sparsemvp sparsemvp00;
728 99;spmvp01.at:21;sparse files in PAX MV archives, v.0.1;sparse multiv sparsemvp sparsemvp01;
729 100;spmvp10.at:21;sparse files in PAX MV archives, v.1.0;sparse multivolume multiv sparsemvp sparsemvp10;
730 101;update.at:28;update unchanged directories;update update00;
731 102;update01.at:29;update directories;update update01;
732 103;update02.at:26;update changed files;update update02;
733 104;verify.at:25;verify;verify;
734 105;volume.at:23;volume;volume volcheck;
735 106;volsize.at:29;volume header size;volume volsize;
736 107;comprec.at:21;compressed format recognition;comprec;
737 108;shortfile.at:26;short input files;shortfile shortfile0;
738 109;shortupd.at:29;updating short archives;shortfile shortfile1 shortupd;
739 110;truncate.at:29;truncate;truncate filechange;
740 111;grow.at:24;grow;grow filechange;
741 112;remfiles01.at:28;remove-files with compression;create remove-files remfiles01 gzip;
742 113;remfiles02.at:28;remove-files with compression: grand-child;create remove-files remfiles02 gzip;
743 114;remfiles03.at:28;remove-files with symbolic links;create remove-files remfiles03;
744 115;sigpipe.at:19;sigpipe handling;sigpipe;
745 116;gtarfail.at:21;gtarfail;star gtarfail;
746 117;gtarfail2.at:21;gtarfail2;star gtarfail2;
747 118;multi-fail.at:21;multi-fail;star multivolume multiv multi-fail;
748 119;ustar-big-2g.at:21;ustar-big-2g;star ustar-big-2g;
749 120;ustar-big-8g.at:21;ustar-big-8g;star ustar-big-8g;
750 121;pax-big-10g.at:21;pax-big-10g;star pax-big-10g;
753 # at_func_validate_ranges [NAME...]
754 # ---------------------------------
755 # Validate and normalize the test group number contained in each
756 # variable NAME. Leading zeroes are treated as decimal.
757 at_func_validate_ranges
()
761 eval at_value
=\$
$at_grp
762 if test $at_value -lt 1 ||
test $at_value -gt 121; then
763 $as_echo "invalid test group: $at_value" >&2
767 0*) # We want to treat leading 0 as decimal, like expr and test, but
768 # at_func_arith treats it as octal if it uses $(( )).
769 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
770 # expr fork, but it is not worth the effort to determine if the
771 # shell supports XSI when the user can just avoid leading 0.
772 eval $at_grp='`expr $at_value + 0`' ;;
780 # If the previous option needs an argument, assign it.
781 if test -n "$at_prev"; then
782 at_option
=$at_prev=$at_option
787 *=*) at_optarg
=`expr "x$at_option" : 'x[^=]*=\(.*\)'` ;;
791 # Accept the important Cygnus configure options, so we can diagnose typos.
820 at_verbose
=; at_quiet
=:
824 at_traceon
='set -x'; at_traceoff
='set +x'
827 [0-9] |
[0-9][0-9] |
[0-9][0-9][0-9] |
[0-9][0-9][0-9][0-9])
828 at_func_validate_ranges at_option
829 at_groups
="$at_groups$at_option "
833 [0-9]- |
[0-9][0-9]- |
[0-9][0-9][0-9]- |
[0-9][0-9][0-9][0-9]-)
834 at_range_start
=`echo $at_option |tr -d X-`
835 at_func_validate_ranges at_range_start
836 at_range
=`$as_echo " $at_groups_all " | \
837 sed -e 's/^.* \('$at_range_start' \)/\1/'`
838 at_groups
="$at_groups$at_range "
841 -[0-9] |
-[0-9][0-9] |
-[0-9][0-9][0-9] |
-[0-9][0-9][0-9][0-9])
842 at_range_end
=`echo $at_option |tr -d X-`
843 at_func_validate_ranges at_range_end
844 at_range
=`$as_echo " $at_groups_all " | \
845 sed -e 's/\( '$at_range_end'\) .*$/\1/'`
846 at_groups
="$at_groups$at_range "
849 [0-9]-[0-9] |
[0-9]-[0-9][0-9] |
[0-9]-[0-9][0-9][0-9] | \
850 [0-9]-[0-9][0-9][0-9][0-9] |
[0-9][0-9]-[0-9][0-9] | \
851 [0-9][0-9]-[0-9][0-9][0-9] |
[0-9][0-9]-[0-9][0-9][0-9][0-9] | \
852 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
853 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
854 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
855 at_range_start
=`expr $at_option : '\(.*\)-'`
856 at_range_end
=`expr $at_option : '.*-\(.*\)'`
857 if test $at_range_start -gt $at_range_end; then
859 at_range_end
=$at_range_start
860 at_range_start
=$at_tmp
862 at_func_validate_ranges at_range_start at_range_end
863 at_range
=`$as_echo " $at_groups_all " | \
864 sed -e 's/^.*\( '$at_range_start' \)/\1/' \
865 -e 's/\( '$at_range_end'\) .*$/\1/'`
866 at_groups
="$at_groups$at_range "
869 # Directory selection.
883 at_groups_selected
=$at_help_all
895 at_keyword
=`expr "X$at_keyword" : 'X!\(.*\)'`
898 # It is on purpose that we match the test group titles too.
899 at_groups_selected
=`$as_echo "$at_groups_selected" |
900 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
902 # Smash the newlines.
903 at_groups_selected
=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
906 at_groups
="$at_groups$at_groups_selected "
910 at_envvar
=`expr "x$at_option" : 'x\([^=]*\)='`
911 # Reject names that are not valid shell variable names.
913 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
914 { { $as_echo "$as_me:$LINENO: error: invalid variable name: $at_envvar" >&5
915 $as_echo "$as_me: error: invalid variable name: $at_envvar" >&2;}
916 { (exit 1); exit 1; }; } ;;
918 at_value
=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
919 # Export now, but save eval for later and for debug scripts.
921 at_debug_args
="$at_debug_args $at_envvar='$at_value'"
924 *) $as_echo "$as_me: invalid option: $at_option" >&2
925 $as_echo "Try \`$0 --help' for more information." >&2
931 # Verify our last option didn't require an argument
932 if test -n "$at_prev"; then
933 { { $as_echo "$as_me:$LINENO: error: \`$at_prev' requires an argument." >&5
934 $as_echo "$as_me: error: \`$at_prev' requires an argument." >&2;}
935 { (exit 1); exit 1; }; }
939 # Selected test groups.
940 if test -z "$at_groups"; then
941 at_groups
=$at_groups_all
943 # Sort the tests, removing duplicates.
944 at_groups
=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
949 cat <<_ATEOF || at_write_fail=1
950 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
952 Run all the tests, or the selected TESTS, given by numeric ranges, and
953 save a detailed log file. Upon failure, create debugging scripts.
955 You should not change environment variables unless explicitly passed
956 as command line arguments. Set \`AUTOTEST_PATH' to select the executables
957 to exercise. Each relative directory is expanded as build and source
958 directories relatively to the top level of this distribution. E.g.,
960 $ $0 AUTOTEST_PATH=bin
962 possibly amounts into
964 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
966 cat <<_ATEOF || at_write_fail=1
969 -h, --help print the help message, then exit
970 -V, --version print version number, then exit
971 -c, --clean remove all the files this test suite might create and exit
972 -l, --list describes all the tests, or the selected TESTS
974 cat <<_ATEOF || at_write_fail=1
978 change to directory DIR before starting
979 -k, --keywords=KEYWORDS
980 select the tests matching all the comma-separated KEYWORDS
981 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
982 -e, --errexit abort as soon as a test fails; implies --debug
983 -v, --verbose force more detailed output
984 default for debugging scripts
985 -d, --debug inhibit clean up and top-level logging
986 default for debugging scripts
987 -x, --trace enable tests shell tracing
989 cat <<_ATEOF || at_write_fail=1
991 Report bugs to <bug-tar@gnu.org>.
998 cat <<_ATEOF || at_write_fail=1
999 GNU tar 1.26 test suite test groups:
1001 NUM: FILE-NAME:LINE TEST-GROUP-NAME
1005 # Passing at_groups is tricky. We cannot use it to form a literal string
1006 # or regexp because of the limitation of AIX awk. And Solaris' awk
1007 # doesn't grok more than 99 fields in a record, so we have to use `split'.
1008 # at_groups needs to be space-separated for this script to work.
1011 at_groups
=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
1013 $as_echo "$at_groups$as_nl$at_help_all" |
1014 awk 'BEGIN { FS = ";" }
1016 for (n = split($ 0, a, " "); n; n--) selected[a[n]] = 1
1020 if (selected[$ 1]) {
1021 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
1022 if ($ 4) printf " %s\n", $ 4
1024 }' || at_write_fail
=1
1027 if $at_version_p; then
1028 $as_echo "$as_me (GNU tar 1.26)" &&
1029 cat <<\_ACEOF || at_write_fail
=1
1031 Copyright
(C
) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1032 Free Software Foundation
, Inc.
1033 This
test suite is free software
; the Free Software Foundation gives
1034 unlimited permission to copy
, distribute and modify it.
1039 # Should we print banners? at_groups is space-separated for entire test,
1040 # newline-separated if only a subset of the testsuite is run.
1042 *' '*' '* |
*"$as_nl"*"$as_nl"* )
1043 at_print_banners
=: ;;
1044 * ) at_print_banners
=false
;;
1046 # Text for banner N, set to empty once printed.
1048 # Take any -C into account.
1049 if $at_change_dir ; then
1050 if test x-
= "x$at_dir" ; then
1053 test x
!= "x$at_dir" && cd "$at_dir" \
1054 ||
{ { $as_echo "$as_me:$LINENO: error: unable to change directory" >&5
1055 $as_echo "$as_me: error: unable to change directory" >&2;}
1056 { (exit 1); exit 1; }; }
1060 # Load the config files for any default variable assignments.
1061 for at_file
in atconfig atlocal
1063 test -r $at_file ||
continue
1064 . .
/$at_file ||
{ { $as_echo "$as_me:$LINENO: error: invalid content: $at_file" >&5
1065 $as_echo "$as_me: error: invalid content: $at_file" >&2;}
1066 { (exit 1); exit 1; }; }
1069 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
1070 : ${at_top_build_prefix=$at_top_builddir}
1072 # Perform any assignments requested during argument parsing.
1073 eval "$at_debug_args"
1075 # atconfig delivers names relative to the directory the test suite is
1076 # in, but the groups themselves are run in testsuite-dir/group-dir.
1077 if test -n "$at_top_srcdir"; then
1079 for at_dir_var
in srcdir top_srcdir top_build_prefix
1081 at_val
=`eval 'as_val=${'at_$at_dir_var'}
1082 $as_echo "$as_val"'`
1084 [\\/$
]* | ?
:[\\/]* ) at_prefix
= ;;
1085 *) at_prefix
=..
/..
/ ;;
1087 eval "$at_dir_var=\$at_prefix\$at_val"
1091 ## ------------------- ##
1092 ## Directory structure ##
1093 ## ------------------- ##
1095 # This is the set of directories and files used by this script
1096 # (non-literals are capitalized):
1098 # TESTSUITE - the testsuite
1099 # TESTSUITE.log - summarizes the complete testsuite run
1100 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
1101 # + at-groups/ - during a run: status of all groups in run
1102 # | + NNN/ - during a run: meta-data about test group NNN
1103 # | | + check-line - location (source file and line) of current AT_CHECK
1104 # | | + status - exit status of current AT_CHECK
1105 # | | + stdout - stdout of current AT_CHECK
1106 # | | + stder1 - stderr, including trace
1107 # | | + stderr - stderr, with trace filtered out
1108 # | | + test-source - portion of testsuite that defines group
1109 # | | + times - timestamps for computing duration
1110 # | | + pass - created if group passed
1111 # | | + xpass - created if group xpassed
1112 # | | + fail - created if group failed
1113 # | | + xfail - created if group xfailed
1114 # | | + skip - created if group skipped
1115 # + at-stop - during a run: end the run if this file exists
1116 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
1117 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
1118 # | + TESTSUITE.log - summarizes the group results
1119 # | + ... - files created during the group
1121 # The directory the whole suite works in.
1122 # Should be absolute to let the user `cd' at will.
1123 at_suite_dir
=$at_dir/$as_me.dir
1124 # The file containing the suite.
1125 at_suite_log
=$at_dir/$as_me.log
1126 # The directory containing helper files per test group.
1127 at_helper_dir
=$at_suite_dir/at-groups
1128 # Stop file: if it exists, do not start new jobs.
1129 at_stop_file
=$at_suite_dir/at-stop
1132 test -d "$at_suite_dir" &&
1133 find "$at_suite_dir" -type d
! -perm -700 -exec chmod u
+rwx \
{\
} \
;
1134 rm -f -r "$at_suite_dir" "$at_suite_log"
1138 # Don't take risks: use only absolute directories in PATH.
1140 # For stand-alone test suites (ie. atconfig was not found),
1141 # AUTOTEST_PATH is relative to `.'.
1143 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1144 # of the package. Then expand it into build/src parts, since users
1145 # may create executables in both places.
1146 AUTOTEST_PATH
=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1149 for as_dir
in $AUTOTEST_PATH $PATH
1152 test -z "$as_dir" && as_dir
=.
1153 test -n "$at_path" && at_path
=$at_path$PATH_SEPARATOR
1156 at_path
=$at_path$as_dir
1159 if test -z "$at_top_build_prefix"; then
1160 # Stand-alone test suite.
1161 at_path
=$at_path$as_dir
1163 # Embedded test suite.
1164 at_path
=$at_path$at_top_build_prefix$as_dir$PATH_SEPARATOR
1165 at_path
=$at_path$at_top_srcdir/$as_dir
1173 # Now build and simplify PATH.
1175 # There might be directories that don't exist, but don't redirect
1176 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1179 for as_dir
in $at_path
1182 test -z "$as_dir" && as_dir
=.
1183 test -d "$as_dir" ||
continue
1185 [\\/]* | ?
:[\\/]* ) ;;
1186 * ) as_dir
=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1188 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1189 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1190 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path
=$as_dir ;;
1191 *) at_new_path
=$at_new_path$PATH_SEPARATOR$as_dir ;;
1199 # Setting up the FDs.
1200 # 5 is the log file. Not to be overwritten if `-d'.
1201 if $at_debug_p; then
1202 at_suite_log
=/dev
/null
1206 exec 5>>"$at_suite_log"
1210 ## ------------------------ ##
1211 ## GNU tar 1.26 test suite. ##
1212 ## ------------------------ ##
1216 ## ------------------------ ##
1217 ## GNU tar 1.26 test suite. ##
1218 ## ------------------------ ##
1222 $as_echo "$as_me: command line was:"
1223 $as_echo " \$ $0 $at_cli_args"
1226 # Try to find a few ChangeLogs in case it might help determining the
1227 # exact version. Use the relative dir: if the top dir is a symlink,
1228 # find will not follow it (and options to follow the links are not
1229 # portable), which would result in no output here. Prune directories
1230 # matching the package tarname, since they tend to be leftovers from
1231 # `make dist' or `make distcheck' and contain redundant or stale logs.
1232 if test -n "$at_top_srcdir"; then
1239 for at_file
in `find "$at_top_srcdir" -name "tar-*" -prune -o -name ChangeLog -print`
1241 $as_echo "$as_me: $at_file:"
1242 sed 's/^/| /;10q' $at_file
1254 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1255 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1256 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1257 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1258 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1260 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1261 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1263 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1264 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1265 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1266 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1267 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1268 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1269 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1277 test -z "$as_dir" && as_dir
=.
1278 $as_echo "PATH: $as_dir"
1285 # Contents of the config files.
1286 for at_file
in atconfig atlocal
1288 test -r $at_file ||
continue
1289 $as_echo "$as_me: $at_file:"
1290 sed 's/^/| /' $at_file
1296 ## --------------- ##
1297 ## Shell functions ##
1298 ## --------------- ##
1300 # at_func_banner NUMBER
1301 # ---------------------
1302 # Output banner NUMBER, provided the testsuite is running multiple groups
1303 # and this particular banner has not yet been printed.
1306 $at_print_banners ||
return 0
1307 eval at_banner_text
=\
$at_banner_text_$1
1308 test "x$at_banner_text" = x
&& return 0
1309 eval at_banner_text_
$1=
1310 $as_echo "$as_nl$at_banner_text$as_nl"
1313 # at_func_check_newline COMMAND
1314 # -----------------------------
1315 # Test if COMMAND includes a newline and, if so, print a message and return
1317 at_func_check_newline
()
1321 '*) echo 'Not enabling shell tracing (command contains an embedded newline)'
1327 # at_func_filter_trace EXIT-CODE
1328 # ------------------------------
1329 # Split the contents of file "$at_stder1" into the "set -x" trace (on stderr)
1330 # and the other lines (on file "$at_stderr"). Return the exit code EXIT-CODE.
1331 at_func_filter_trace
()
1333 grep '^ *+' "$at_stder1" >&2
1334 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1338 # at_func_log_failure FILE-LIST
1339 # -----------------------------
1340 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1341 # with a failure exit code.
1342 at_func_log_failure
()
1345 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1346 echo 1 > "$at_status_file"
1350 # at_func_check_skip EXIT-CODE
1351 # ----------------------------
1352 # Check whether EXIT-CODE is the special exit code 77, and if so exit the shell
1353 # with that same exit code.
1354 at_func_check_skip
()
1357 77) echo 77 > "$at_status_file"; exit 77;;
1361 # at_func_check_status EXPECTED EXIT-CODE LINE
1362 # --------------------------------------------
1363 # Check whether EXIT-CODE is the expected exit code, and if so do nothing.
1364 # Otherwise, if it is 77 exit the shell with that same exit code; if it is
1365 # anything else print an error message and fail the test.
1366 at_func_check_status
()
1370 77) echo 77 > "$at_status_file"; exit 77;;
1371 *) $as_echo "$3: exit code was $2, expected $1"
1376 # at_func_diff_devnull FILE
1377 # -------------------------
1378 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless
1380 at_func_diff_devnull
()
1382 test -s "$1" ||
return 0
1383 $at_diff "$at_devnull" "$1"
1386 # at_func_test NUMBER
1387 # -------------------
1388 # Parse out test NUMBER from the tail of this file.
1391 eval at_sed
=\
$at_sed$1
1392 sed "$at_sed" "$at_myself" > "$at_test_source"
1395 # at_func_create_debugging_script
1396 # -------------------------------
1397 # Create the debugging script $at_group_dir/run which will reproduce the
1398 # current test group.
1399 at_func_create_debugging_script
()
1402 echo "#! /bin/sh" &&
1403 echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1404 $as_echo "cd '$at_dir'" &&
1405 $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1407 } >"$at_group_dir/run" &&
1408 chmod +x
"$at_group_dir/run"
1413 # Arithmetic evaluation, avoids expr if the shell is sane. The
1414 # interpretation of leading zeroes is unspecified.
1416 # subshell and eval are needed to keep Solaris sh from bailing out:
1417 if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev
/null
; then
1418 # With "$@", bash does not split positional parameters:
1419 eval 'at_func_arith ()
1421 at_func_arith_result=$(( $* ))
1426 at_func_arith_result
=`expr "$@"`
1430 ## ---------------------- ##
1431 ## End of shell functions ##
1432 ## ---------------------- ##
1435 ## ---------------- ##
1436 ## Tested programs. ##
1437 ## ---------------- ##
1442 # Report what programs are being tested.
1443 for at_program
in : $at_tested
1445 test "$at_program" = : && continue
1446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir
=.
1451 test -f "$as_dir/$at_program" && break
1455 if test -f "$as_dir/$at_program"; then
1457 $as_echo "$at_srcdir/testsuite.at:112: $as_dir/$at_program --version"
1458 "$as_dir/$at_program" --version </dev
/null
1462 { { $as_echo "$as_me:$LINENO: error: cannot find $at_program" >&5
1463 $as_echo "$as_me: error: cannot find $at_program" >&2;}
1464 { (exit 1); exit 1; }; }
1470 ## ------------------ ##
1471 ## Running the tests. ##
1472 ## ------------------ ##
1476 at_start_date
=`date`
1477 at_start_time
=`date +%s 2>/dev/null`
1478 $as_echo "$as_me: starting at: $at_start_date" >&5
1480 # Create the master directory if it doesn't already exist.
1481 test -d "$at_suite_dir" ||
1482 mkdir
"$at_suite_dir" ||
1483 { { $as_echo "$as_me:$LINENO: error: cannot create '$at_suite_dir'" >&5
1484 $as_echo "$as_me: error: cannot create '$at_suite_dir'" >&2;}
1485 { (exit 1); exit 1; }; }
1487 # Can we diff with `/dev/null'? DU 5.0 refuses.
1488 if diff /dev
/null
/dev
/null
>/dev
/null
2>&1; then
1489 at_devnull
=/dev
/null
1491 at_devnull
=$at_suite_dir/devnull
1495 # Use `diff -u' when possible.
1496 if at_diff
=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1503 # Get the last needed group.
1504 for at_group
in : $at_groups; do :; done
1506 # Extract the start and end lines of each test group at the tail
1514 test = substr ($ 0, 10)
1515 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1516 if (test == "'"$at_group"'") exit
1517 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1518 .
"$at_suite_dir/at-source-lines" ||
1519 { { $as_echo "$as_me:$LINENO: error: cannot create test line number cache" >&5
1520 $as_echo "$as_me: error: cannot create test line number cache" >&2;}
1521 { (exit 1); exit 1; }; }
1522 rm -f "$at_suite_dir/at-source-lines"
1524 # Set up helper dirs.
1525 rm -rf "$at_helper_dir" &&
1526 mkdir
"$at_helper_dir" &&
1527 cd "$at_helper_dir" &&
1528 { test -z "$at_groups" || mkdir
$at_groups; } ||
1529 { { $as_echo "$as_me:$LINENO: error: testsuite directory setup failed" >&5
1530 $as_echo "$as_me: error: testsuite directory setup failed" >&2;}
1531 { (exit 1); exit 1; }; }
1533 # Functions for running a test group. We leave the actual
1534 # test group execution outside of a shell function in order
1535 # to avoid hitting zsh 4.x exit status bugs.
1537 # at_func_group_prepare
1538 # ---------------------
1539 # Prepare running a test group
1540 at_func_group_prepare
()
1542 # The directory for additional per-group helper files.
1543 at_job_dir
=$at_helper_dir/$at_group
1544 # The file containing the location of the last AT_CHECK.
1545 at_check_line_file
=$at_job_dir/check-line
1546 # The file containing the exit status of the last command.
1547 at_status_file
=$at_job_dir/status
1548 # The files containing the output of the tested commands.
1549 at_stdout
=$at_job_dir/stdout
1550 at_stder1
=$at_job_dir/stder1
1551 at_stderr
=$at_job_dir/stderr
1552 # The file containing the code for a test group.
1553 at_test_source
=$at_job_dir/test-source
1554 # The file containing dates.
1555 at_times_file
=$at_job_dir/times
1557 # Be sure to come back to the top test directory.
1560 # Clearly separate the test groups when verbose.
1561 $at_first ||
$at_verbose echo
1563 at_group_normalized
=$at_group
1566 case $at_group_normalized in #(
1567 '"$at_format"'*) break;;
1569 at_group_normalized=0$at_group_normalized
1573 # Create a fresh directory for the next test group, and enter.
1574 at_group_dir
=$at_suite_dir/$at_group_normalized
1575 at_group_log
=$at_group_dir/$as_me.log
1576 if test -d "$at_group_dir"; then
1577 find "$at_group_dir" -type d
! -perm -700 -exec chmod u
+rwx \
{\
} \
;
1578 rm -fr "$at_group_dir" ||
1579 { $as_echo "$as_me:$LINENO: WARNING: test directory for $at_group_normalized could not be cleaned." >&5
1580 $as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned." >&2;}
1582 # Be tolerant if the above `rm' was not able to remove the directory.
1583 { as_dir
="$at_group_dir"
1585 -*) as_dir
=.
/$as_dir;;
1587 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
1591 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1592 *) as_qdir
=$as_dir;;
1594 as_dirs
="'$as_qdir' $as_dirs"
1595 as_dir
=`$as_dirname -- "$as_dir" ||
1596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1597 X"$as_dir" : 'X\(//\)[^/]' \| \
1598 X"$as_dir" : 'X\(//\)$' \| \
1599 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1600 $as_echo X"$as_dir" |
1601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1618 test -d "$as_dir" && break
1620 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
1621 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1622 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1623 { (exit 1); exit 1; }; }; }
1625 echo 0 > "$at_status_file"
1627 # In verbose mode, append to the log file *and* show on
1628 # the standard output; in quiet mode only write to the log.
1629 if test -z "$at_verbose"; then
1630 at_tee_pipe
='tee -a "$at_group_log"'
1632 at_tee_pipe
='cat >> "$at_group_log"'
1636 # at_func_group_postprocess
1637 # -------------------------
1638 at_func_group_postprocess
()
1640 # Be sure to come back to the suite directory, in particular
1641 # since below we might `rm' the group directory we are in currently.
1644 if test ! -f "$at_check_line_file"; then
1645 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1646 A failure happened in a test group before any test could be
1647 run. This means that test suite is improperly designed. Please
1648 report this failure to <bug-tar@gnu.org>.
1650 $as_echo "$at_setup_line" >"$at_check_line_file"
1652 $at_verbose $as_echo_n "$at_group. $at_setup_line: "
1653 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
1654 case $at_xfail:$at_status in
1656 at_msg
="UNEXPECTED PASS"
1658 at_errexit
=$at_errexit_p
1666 at_msg
='skipped ('`cat "$at_check_line_file"`')'
1671 at_msg
='expected failure ('`cat "$at_check_line_file"`')'
1676 at_msg
='FAILED ('`cat "$at_check_line_file"`')'
1678 at_errexit
=$at_errexit_p
1681 echo "$at_res" > "$at_job_dir/$at_res"
1682 # Make sure there is a separator even with long titles.
1684 at_log_msg
="$at_group. $at_desc ($at_setup_line): $at_msg"
1687 # $at_times_file is only available if the group succeeded.
1688 # We're not including the group log, so the success message
1689 # is written in the global log separately. But we also
1690 # write to the group log in case they're using -d.
1691 if test -f "$at_times_file"; then
1692 at_log_msg
="$at_log_msg ("`sed 1d "$at_times_file"`')'
1693 rm -f "$at_times_file"
1695 $as_echo "$at_log_msg" >> "$at_group_log"
1696 $as_echo "$at_log_msg" >&5
1698 # Cleanup the group directory, unless the user wants the files.
1699 if $at_debug_p; then
1700 at_func_create_debugging_script
1702 if test -d "$at_group_dir"; then
1703 find "$at_group_dir" -type d
! -perm -700 -exec chmod u
+rwx \
{\
} \
;
1704 rm -fr "$at_group_dir"
1706 rm -f "$at_test_source"
1710 # Upon failure, include the log into the testsuite's global
1711 # log. The failure message is written in the group log. It
1712 # is later included in the global log.
1713 $as_echo "$at_log_msg" >> "$at_group_log"
1715 # Upon failure, keep the group directory for autopsy, and create
1716 # the debugging script. With -e, do not start any further tests.
1717 at_func_create_debugging_script
1718 if $at_errexit; then
1719 echo stop
> "$at_stop_file"
1730 rm -f "$at_stop_file"
1733 for at_group
in $at_groups; do
1734 at_func_group_prepare
1735 if cd "$at_group_dir" &&
1736 at_func_test
$at_group &&
1737 .
"$at_test_source"; then :; else
1738 { $as_echo "$as_me:$LINENO: WARNING: unable to parse test group: $at_group" >&5
1739 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1742 at_func_group_postprocess
1743 test -f "$at_stop_file" && break
1747 # Wrap up the test suite with summary statistics.
1750 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1751 at_pass_list
=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1752 at_skip_list
=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1753 at_xfail_list
=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1754 at_xpass_list
=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1755 echo $f; done | sed '/?/d; s,/xpass,,'`
1756 at_fail_list
=`for f in ?/fail ??/fail ???/fail ????/fail; do
1757 echo $f; done | sed '/?/d; s,/fail,,'`
1759 set X
$at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1760 shift; at_group_count
=$#
1761 set X
$at_xpass_list; shift; at_xpass_count
=$#; at_xpass_list
=$
*
1762 set X
$at_xfail_list; shift; at_xfail_count
=$#
1763 set X
$at_fail_list; shift; at_fail_count
=$#; at_fail_list
=$
*
1764 set X
$at_skip_list; shift; at_skip_count
=$#
1766 at_func_arith
$at_group_count - $at_skip_count
1767 at_run_count
=$at_func_arith_result
1768 at_func_arith
$at_xpass_count + $at_fail_count
1769 at_unexpected_count
=$at_func_arith_result
1770 at_func_arith
$at_xfail_count + $at_fail_count
1771 at_total_fail_count
=$at_func_arith_result
1773 # Back to the top directory.
1775 rm -rf "$at_helper_dir"
1777 # Compute the duration of the suite.
1779 at_stop_time
=`date +%s 2>/dev/null`
1780 $as_echo "$as_me: ending at: $at_stop_date" >&5
1781 case $at_start_time,$at_stop_time in
1783 at_func_arith
$at_stop_time - $at_start_time
1784 at_duration_s
=$at_func_arith_result
1785 at_func_arith
$at_duration_s / 60
1786 at_duration_m
=$at_func_arith_result
1787 at_func_arith
$at_duration_m / 60
1788 at_duration_h
=$at_func_arith_result
1789 at_func_arith
$at_duration_s % 60
1790 at_duration_s
=$at_func_arith_result
1791 at_func_arith
$at_duration_m % 60
1792 at_duration_m
=$at_func_arith_result
1793 at_duration
="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1794 $as_echo "$as_me: test suite duration: $at_duration" >&5
1815 if test $at_run_count = 1; then
1819 at_result
="$at_run_count tests"
1822 if $at_errexit_p && test $at_unexpected_count != 0; then
1823 if test $at_xpass_count = 1; then
1824 at_result
="$at_result $at_were run, one passed"
1826 at_result
="$at_result $at_were run, one failed"
1828 at_result
="$at_result unexpectedly and inhibited subsequent tests."
1830 # Don't you just love exponential explosion of the number of cases?
1831 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1833 0:0:0) at_result
="$at_result $at_were successful." ;;
1834 0:0:*) at_result
="$at_result behaved as expected." ;;
1836 # Some unexpected failures
1837 0:*:0) at_result
="$at_result $at_were run,
1838 $at_fail_count failed unexpectedly." ;;
1840 # Some failures, both expected and unexpected
1841 0:*:1) at_result
="$at_result $at_were run,
1842 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1843 0:*:*) at_result
="$at_result $at_were run,
1844 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1846 # No unexpected failures, but some xpasses
1847 *:0:*) at_result
="$at_result $at_were run,
1848 $at_xpass_count passed unexpectedly." ;;
1850 # No expected failures, but failures and xpasses
1851 *:1:0) at_result
="$at_result $at_were run,
1852 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1853 *:*:0) at_result
="$at_result $at_were run,
1854 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1857 *:*:1) at_result
="$at_result $at_were run,
1858 $at_xpass_count passed unexpectedly,
1859 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1860 *:*:*) at_result
="$at_result $at_were run,
1861 $at_xpass_count passed unexpectedly,
1862 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1865 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1866 at_result
="All $at_result"
1870 # Now put skips in the mix.
1871 case $at_skip_count in
1873 1) at_result
="$at_result
1874 1 test was skipped." ;;
1875 *) at_result
="$at_result
1876 $at_skip_count tests were skipped." ;;
1879 if test $at_unexpected_count = 0; then
1881 echo "$at_result" >&5
1883 echo "ERROR: $at_result" >&2
1884 echo "ERROR: $at_result" >&5
1888 ## ------------------------ ##
1889 ## Summary of the failures. ##
1890 ## ------------------------ ##
1893 # Summary of failed and skipped tests.
1894 if test $at_fail_count != 0; then
1895 echo "Failed tests:"
1896 $SHELL "$at_myself" $at_fail_list --list
1899 if test $at_skip_count != 0; then
1900 echo "Skipped tests:"
1901 $SHELL "$at_myself" $at_skip_list --list
1904 if test $at_xpass_count != 0; then
1905 echo "Unexpected passes:"
1906 $SHELL "$at_myself" $at_xpass_list --list
1909 if test $at_fail_count != 0; then
1911 ## ---------------------- ##
1912 ## Detailed failed tests. ##
1913 ## ---------------------- ##
1916 for at_group
in $at_fail_list
1918 at_group_normalized
=$at_group
1921 case $at_group_normalized in #(
1922 '"$at_format"'*) break;;
1924 at_group_normalized=0$at_group_normalized
1927 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1932 if test -n "$at_top_srcdir"; then
1933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1934 ## ${at_top_build_prefix}config.log ##
1936 sed 's/^/| /' ${at_top_build_prefix}config.log
1941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1942 ## $as_me.log was created. ##
1946 $as_echo "Please send \`${at_testdir+${at_testdir}/}$as_me.log' and all information you think might help:
1948 To: <bug-tar@gnu.org>
1949 Subject: [GNU tar 1.26] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
1951 if test $at_debug_p = false
; then
1953 echo 'You may investigate any problem if you feel able to do so, in which'
1954 echo 'case the test suite provides a good starting point. Its output may'
1955 $as_echo "be found below \`${at_testdir+${at_testdir}/}$as_me.dir'."
1967 # 1. version.at:19: tar version
1968 at_setup_line
='version.at:19'
1969 at_desc
="tar version"
1970 $at_quiet $as_echo_n " 1: $at_desc "
1972 echo "# -*- compilation -*-" >> "$at_group_log"
1974 $as_echo "1. version.at:19: testing ..."
1979 $as_echo "$at_srcdir/version.at:21: tar --version | sed 1q"
1980 echo version.
at:21 >"$at_check_line_file"
1982 if test -n "$at_traceon"; then
1983 ( $at_traceon; tar --version |
sed 1q
) >"$at_stdout" 2>"$at_stder1"
1984 at_func_filter_trace $?
1986 ( :; tar --version |
sed 1q
) >"$at_stdout" 2>"$at_stderr"
1990 at_func_diff_devnull
"$at_stderr" || at_failed
=:
1991 echo >>"$at_stdout"; $as_echo "tar (GNU tar) 1.26
1993 $at_diff - "$at_stdout" || at_failed
=:
1994 at_func_check_status
0 $at_status "$at_srcdir/version.at:21"
1996 cat >$XFAILFILE <<'_EOT'
1998 ==============================================================
1999 WARNING: Not using the proper version, *all* checks dubious...
2000 ==============================================================
2007 $at_failed && at_func_log_failure
2012 $at_times_p && times >"$at_times_file"
2013 ) 5>&1 2>&1 |
eval $at_tee_pipe
2014 at_status
=`cat "$at_status_file"`
2017 # 2. pipe.at:30: decompressing from stdin
2018 at_setup_line
='pipe.at:30'
2019 at_desc
="decompressing from stdin"
2020 $at_quiet $as_echo_n " 2: $at_desc "
2022 test -f $XFAILFILE && at_xfail
=yes
2023 echo "# -*- compilation -*-" >> "$at_group_log"
2025 $as_echo "2. pipe.at:30: testing ..."
2034 $as_echo "$at_srcdir/pipe.at:34:
2038 export TEST_TAR_FORMAT
2039 TAR_OPTIONS=\"-H v7\"
2044 test -z "`sort < /dev/null 2>&1`" || exit 77
2048 genfile --length 10240 --pattern zeros --file directory/file1
2049 genfile --length 13 --file directory/file2
2050 tar cf archive directory
2052 cat archive | tar xfv - --warning=no-timestamp | sort
2054 cmp orig/file1 directory/file1
2056 cmp orig/file2 directory/file2)"
2057 echo pipe.
at:34 >"$at_check_line_file"
2059 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2065 export TEST_TAR_FORMAT
2071 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2075 genfile
--length 10240 --pattern zeros
--file directory
/file1
2076 genfile
--length 13 --file directory
/file2
2077 tar cf archive directory
2079 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2081 cmp orig
/file1 directory
/file1
2083 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stder1"
2084 at_func_filter_trace $?
2090 export TEST_TAR_FORMAT
2096 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2100 genfile
--length 10240 --pattern zeros
--file directory
/file1
2101 genfile
--length 13 --file directory
/file2
2102 tar cf archive directory
2104 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2106 cmp orig
/file1 directory
/file1
2108 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stderr"
2112 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2113 echo >>"$at_stdout"; $as_echo "directory/
2119 $at_diff - "$at_stdout" || at_failed
=:
2120 at_func_check_status
0 $at_status "$at_srcdir/pipe.at:34"
2122 $at_failed && at_func_log_failure
2126 $as_echo "$at_srcdir/pipe.at:34:
2129 TEST_TAR_FORMAT=oldgnu
2130 export TEST_TAR_FORMAT
2131 TAR_OPTIONS=\"-H oldgnu\"
2136 test -z "`sort < /dev/null 2>&1`" || exit 77
2140 genfile --length 10240 --pattern zeros --file directory/file1
2141 genfile --length 13 --file directory/file2
2142 tar cf archive directory
2144 cat archive | tar xfv - --warning=no-timestamp | sort
2146 cmp orig/file1 directory/file1
2148 cmp orig/file2 directory/file2)"
2149 echo pipe.
at:34 >"$at_check_line_file"
2151 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2156 TEST_TAR_FORMAT
=oldgnu
2157 export TEST_TAR_FORMAT
2158 TAR_OPTIONS
="-H oldgnu"
2163 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2167 genfile
--length 10240 --pattern zeros
--file directory
/file1
2168 genfile
--length 13 --file directory
/file2
2169 tar cf archive directory
2171 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2173 cmp orig
/file1 directory
/file1
2175 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stder1"
2176 at_func_filter_trace $?
2181 TEST_TAR_FORMAT
=oldgnu
2182 export TEST_TAR_FORMAT
2183 TAR_OPTIONS
="-H oldgnu"
2188 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2192 genfile
--length 10240 --pattern zeros
--file directory
/file1
2193 genfile
--length 13 --file directory
/file2
2194 tar cf archive directory
2196 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2198 cmp orig
/file1 directory
/file1
2200 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stderr"
2204 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2205 echo >>"$at_stdout"; $as_echo "directory/
2211 $at_diff - "$at_stdout" || at_failed
=:
2212 at_func_check_status
0 $at_status "$at_srcdir/pipe.at:34"
2214 $at_failed && at_func_log_failure
2218 $as_echo "$at_srcdir/pipe.at:34:
2221 TEST_TAR_FORMAT=ustar
2222 export TEST_TAR_FORMAT
2223 TAR_OPTIONS=\"-H ustar\"
2228 test -z "`sort < /dev/null 2>&1`" || exit 77
2232 genfile --length 10240 --pattern zeros --file directory/file1
2233 genfile --length 13 --file directory/file2
2234 tar cf archive directory
2236 cat archive | tar xfv - --warning=no-timestamp | sort
2238 cmp orig/file1 directory/file1
2240 cmp orig/file2 directory/file2)"
2241 echo pipe.
at:34 >"$at_check_line_file"
2243 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2248 TEST_TAR_FORMAT
=ustar
2249 export TEST_TAR_FORMAT
2250 TAR_OPTIONS
="-H ustar"
2255 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2259 genfile
--length 10240 --pattern zeros
--file directory
/file1
2260 genfile
--length 13 --file directory
/file2
2261 tar cf archive directory
2263 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2265 cmp orig
/file1 directory
/file1
2267 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stder1"
2268 at_func_filter_trace $?
2273 TEST_TAR_FORMAT
=ustar
2274 export TEST_TAR_FORMAT
2275 TAR_OPTIONS
="-H ustar"
2280 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2284 genfile
--length 10240 --pattern zeros
--file directory
/file1
2285 genfile
--length 13 --file directory
/file2
2286 tar cf archive directory
2288 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2290 cmp orig
/file1 directory
/file1
2292 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stderr"
2296 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2297 echo >>"$at_stdout"; $as_echo "directory/
2303 $at_diff - "$at_stdout" || at_failed
=:
2304 at_func_check_status
0 $at_status "$at_srcdir/pipe.at:34"
2306 $at_failed && at_func_log_failure
2310 $as_echo "$at_srcdir/pipe.at:34:
2313 TEST_TAR_FORMAT=posix
2314 export TEST_TAR_FORMAT
2315 TAR_OPTIONS=\"-H posix\"
2320 test -z "`sort < /dev/null 2>&1`" || exit 77
2324 genfile --length 10240 --pattern zeros --file directory/file1
2325 genfile --length 13 --file directory/file2
2326 tar cf archive directory
2328 cat archive | tar xfv - --warning=no-timestamp | sort
2330 cmp orig/file1 directory/file1
2332 cmp orig/file2 directory/file2)"
2333 echo pipe.
at:34 >"$at_check_line_file"
2335 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2340 TEST_TAR_FORMAT
=posix
2341 export TEST_TAR_FORMAT
2342 TAR_OPTIONS
="-H posix"
2347 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2351 genfile
--length 10240 --pattern zeros
--file directory
/file1
2352 genfile
--length 13 --file directory
/file2
2353 tar cf archive directory
2355 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2357 cmp orig
/file1 directory
/file1
2359 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stder1"
2360 at_func_filter_trace $?
2365 TEST_TAR_FORMAT
=posix
2366 export TEST_TAR_FORMAT
2367 TAR_OPTIONS
="-H posix"
2372 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2376 genfile
--length 10240 --pattern zeros
--file directory
/file1
2377 genfile
--length 13 --file directory
/file2
2378 tar cf archive directory
2380 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2382 cmp orig
/file1 directory
/file1
2384 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stderr"
2388 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2389 echo >>"$at_stdout"; $as_echo "directory/
2395 $at_diff - "$at_stdout" || at_failed
=:
2396 at_func_check_status
0 $at_status "$at_srcdir/pipe.at:34"
2398 $at_failed && at_func_log_failure
2402 $as_echo "$at_srcdir/pipe.at:34:
2406 export TEST_TAR_FORMAT
2407 TAR_OPTIONS=\"-H gnu\"
2412 test -z "`sort < /dev/null 2>&1`" || exit 77
2416 genfile --length 10240 --pattern zeros --file directory/file1
2417 genfile --length 13 --file directory/file2
2418 tar cf archive directory
2420 cat archive | tar xfv - --warning=no-timestamp | sort
2422 cmp orig/file1 directory/file1
2424 cmp orig/file2 directory/file2)"
2425 echo pipe.
at:34 >"$at_check_line_file"
2427 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2433 export TEST_TAR_FORMAT
2434 TAR_OPTIONS
="-H gnu"
2439 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2443 genfile
--length 10240 --pattern zeros
--file directory
/file1
2444 genfile
--length 13 --file directory
/file2
2445 tar cf archive directory
2447 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2449 cmp orig
/file1 directory
/file1
2451 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stder1"
2452 at_func_filter_trace $?
2458 export TEST_TAR_FORMAT
2459 TAR_OPTIONS
="-H gnu"
2464 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2468 genfile
--length 10240 --pattern zeros
--file directory
/file1
2469 genfile
--length 13 --file directory
/file2
2470 tar cf archive directory
2472 cat archive |
tar xfv
- --warning=no-timestamp |
sort
2474 cmp orig
/file1 directory
/file1
2476 cmp orig
/file2 directory
/file2
) ) >"$at_stdout" 2>"$at_stderr"
2480 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2481 echo >>"$at_stdout"; $as_echo "directory/
2487 $at_diff - "$at_stdout" || at_failed
=:
2488 at_func_check_status
0 $at_status "$at_srcdir/pipe.at:34"
2490 $at_failed && at_func_log_failure
2497 $at_times_p && times >"$at_times_file"
2498 ) 5>&1 2>&1 |
eval $at_tee_pipe
2499 at_status
=`cat "$at_status_file"`
2502 # 3. options.at:24: mixing options
2503 at_setup_line
='options.at:24'
2504 at_desc
="mixing options"
2505 $at_quiet $as_echo_n " 3: $at_desc "
2507 echo "# -*- compilation -*-" >> "$at_group_log"
2509 $as_echo "3. options.at:24: testing ..."
2515 $as_echo "$at_srcdir/options.at:27:
2517 TAR_OPTIONS=--numeric-owner tar chof archive file1
2520 echo options.
at:27 >"$at_check_line_file"
2522 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2526 TAR_OPTIONS
=--numeric-owner tar chof archive file1
2528 ) >"$at_stdout" 2>"$at_stder1"
2529 at_func_filter_trace $?
2533 TAR_OPTIONS
=--numeric-owner tar chof archive file1
2535 ) >"$at_stdout" 2>"$at_stderr"
2539 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2540 echo >>"$at_stdout"; $as_echo "file1
2542 $at_diff - "$at_stdout" || at_failed
=:
2543 at_func_check_status
0 $at_status "$at_srcdir/options.at:27"
2545 $at_failed && at_func_log_failure
2550 $at_times_p && times >"$at_times_file"
2551 ) 5>&1 2>&1 |
eval $at_tee_pipe
2552 at_status
=`cat "$at_status_file"`
2555 # 4. options02.at:26: interspersed options
2556 at_setup_line
='options02.at:26'
2557 at_desc
="interspersed options"
2558 $at_quiet $as_echo_n " 4: $at_desc "
2560 echo "# -*- compilation -*-" >> "$at_group_log"
2562 $as_echo "4. options02.at:26: testing ..."
2568 $as_echo "$at_srcdir/options02.at:29:
2570 tar c file1 -f archive
2573 echo options02.
at:29 >"$at_check_line_file"
2575 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2579 tar c file1
-f archive
2581 ) >"$at_stdout" 2>"$at_stder1"
2582 at_func_filter_trace $?
2586 tar c file1
-f archive
2588 ) >"$at_stdout" 2>"$at_stderr"
2592 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2593 echo >>"$at_stdout"; $as_echo "file1
2595 $at_diff - "$at_stdout" || at_failed
=:
2596 at_func_check_status
0 $at_status "$at_srcdir/options02.at:29"
2598 $at_failed && at_func_log_failure
2603 $at_times_p && times >"$at_times_file"
2604 ) 5>&1 2>&1 |
eval $at_tee_pipe
2605 at_status
=`cat "$at_status_file"`
2608 # 5. T-empty.at:26: files-from: empty entries
2609 at_setup_line
='T-empty.at:26'
2610 at_desc
="files-from: empty entries"
2611 $at_quiet $as_echo_n " 5: $at_desc "
2613 test -f $XFAILFILE && at_xfail
=yes
2614 echo "# -*- compilation -*-" >> "$at_group_log"
2616 $as_echo "5. T-empty.at:26: testing ..."
2621 cat >file-list
<<'_ATEOF'
2632 $as_echo "$at_srcdir/T-empty.at:36:
2635 TEST_TAR_FORMAT=ustar
2636 export TEST_TAR_FORMAT
2637 TAR_OPTIONS=\"-H ustar\"
2642 test -z "`sort < /dev/null 2>&1`" || exit 77
2645 genfile --file jeden
2649 tar cfvT archive ../file-list | sort
2651 echo T-empty.
at:36 >"$at_check_line_file"
2653 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2658 TEST_TAR_FORMAT
=ustar
2659 export TEST_TAR_FORMAT
2660 TAR_OPTIONS
="-H ustar"
2665 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2668 genfile
--file jeden
2672 tar cfvT archive ..
/file-list |
sort
2673 ) ) >"$at_stdout" 2>"$at_stder1"
2674 at_func_filter_trace $?
2679 TEST_TAR_FORMAT
=ustar
2680 export TEST_TAR_FORMAT
2681 TAR_OPTIONS
="-H ustar"
2686 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2689 genfile
--file jeden
2693 tar cfvT archive ..
/file-list |
sort
2694 ) ) >"$at_stdout" 2>"$at_stderr"
2698 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2699 echo >>"$at_stdout"; $as_echo "dwa
2703 $at_diff - "$at_stdout" || at_failed
=:
2704 at_func_check_status
0 $at_status "$at_srcdir/T-empty.at:36"
2706 $at_failed && at_func_log_failure
2710 # Testing one format is enough
2713 $at_times_p && times >"$at_times_file"
2714 ) 5>&1 2>&1 |
eval $at_tee_pipe
2715 at_status
=`cat "$at_status_file"`
2718 # 6. T-null.at:21: files-from: 0-separated file without -0
2719 at_setup_line
='T-null.at:21'
2720 at_desc
="files-from: 0-separated file without -0"
2721 $at_quiet $as_echo_n " 6: $at_desc "
2723 test -f $XFAILFILE && at_xfail
=yes
2724 echo "# -*- compilation -*-" >> "$at_group_log"
2726 $as_echo "6. T-null.at:21: testing ..."
2731 cat >expout
<<'_ATEOF'
2740 $as_echo "$at_srcdir/T-null.at:28:
2743 TEST_TAR_FORMAT=ustar
2744 export TEST_TAR_FORMAT
2745 TAR_OPTIONS=\"-H ustar\"
2750 test -z "`sort < /dev/null 2>&1`" || exit 77
2755 cat temp | tr '\\n' '\\0' > temp1
2756 echo jeden > file-list
2757 cat temp1 >> file-list
2763 tar cfTv archive file-list | sort
2765 echo T-null.
at:28 >"$at_check_line_file"
2767 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2772 TEST_TAR_FORMAT
=ustar
2773 export TEST_TAR_FORMAT
2774 TAR_OPTIONS
="-H ustar"
2779 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2784 cat temp |
tr '\n' '\0' > temp1
2785 echo jeden
> file-list
2786 cat temp1
>> file-list
2792 tar cfTv archive file-list |
sort
2793 ) ) >"$at_stdout" 2>"$at_stder1"
2794 at_func_filter_trace $?
2799 TEST_TAR_FORMAT
=ustar
2800 export TEST_TAR_FORMAT
2801 TAR_OPTIONS
="-H ustar"
2806 test -z "`sort < /dev/null 2>&1`" ||
exit 77
2811 cat temp |
tr '\n' '\0' > temp1
2812 echo jeden
> file-list
2813 cat temp1
>> file-list
2819 tar cfTv archive file-list |
sort
2820 ) ) >"$at_stdout" 2>"$at_stderr"
2824 echo >>"$at_stderr"; $as_echo "tar: file-list: file name read contains nul character
2826 $at_diff - "$at_stderr" || at_failed
=:
2827 $at_diff expout
"$at_stdout" || at_failed
=:
2828 at_func_check_status
0 $at_status "$at_srcdir/T-null.at:28"
2830 $at_failed && at_func_log_failure
2834 # Testing one format is enough
2837 $at_times_p && times >"$at_times_file"
2838 ) 5>&1 2>&1 |
eval $at_tee_pipe
2839 at_status
=`cat "$at_status_file"`
2842 # 7. indexfile.at:26: tar --index-file=FILE --file=-
2843 at_setup_line
='indexfile.at:26'
2844 at_desc
="tar --index-file=FILE --file=-"
2845 $at_quiet $as_echo_n " 7: $at_desc "
2847 test -f $XFAILFILE && at_xfail
=yes
2848 echo "# -*- compilation -*-" >> "$at_group_log"
2850 $as_echo "7. indexfile.at:26: testing ..."
2858 $as_echo "$at_srcdir/indexfile.at:29:
2862 export TEST_TAR_FORMAT
2863 TAR_OPTIONS=\"-H v7\"
2869 genfile --file=directory/a --length=1035
2871 echo \"Creating the archive\"
2872 tar -c -v -f - --index-file=idx directory > archive
2874 echo \"Testing the archive\"
2877 echo indexfile.
at:29 >"$at_check_line_file"
2879 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2885 export TEST_TAR_FORMAT
2892 genfile
--file=directory
/a
--length=1035
2894 echo "Creating the archive"
2895 tar -c -v -f - --index-file=idx directory
> archive
2897 echo "Testing the archive"
2899 ) ) >"$at_stdout" 2>"$at_stder1"
2900 at_func_filter_trace $?
2906 export TEST_TAR_FORMAT
2913 genfile
--file=directory
/a
--length=1035
2915 echo "Creating the archive"
2916 tar -c -v -f - --index-file=idx directory
> archive
2918 echo "Testing the archive"
2920 ) ) >"$at_stdout" 2>"$at_stderr"
2924 at_func_diff_devnull
"$at_stderr" || at_failed
=:
2925 echo >>"$at_stdout"; $as_echo "Creating the archive
2930 $at_diff - "$at_stdout" || at_failed
=:
2931 at_func_check_status
0 $at_status "$at_srcdir/indexfile.at:29"
2933 $at_failed && at_func_log_failure
2937 $as_echo "$at_srcdir/indexfile.at:29:
2940 TEST_TAR_FORMAT=oldgnu
2941 export TEST_TAR_FORMAT
2942 TAR_OPTIONS=\"-H oldgnu\"
2948 genfile --file=directory/a --length=1035
2950 echo \"Creating the archive\"
2951 tar -c -v -f - --index-file=idx directory > archive
2953 echo \"Testing the archive\"
2956 echo indexfile.
at:29 >"$at_check_line_file"
2958 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2963 TEST_TAR_FORMAT
=oldgnu
2964 export TEST_TAR_FORMAT
2965 TAR_OPTIONS
="-H oldgnu"
2971 genfile
--file=directory
/a
--length=1035
2973 echo "Creating the archive"
2974 tar -c -v -f - --index-file=idx directory
> archive
2976 echo "Testing the archive"
2978 ) ) >"$at_stdout" 2>"$at_stder1"
2979 at_func_filter_trace $?
2984 TEST_TAR_FORMAT
=oldgnu
2985 export TEST_TAR_FORMAT
2986 TAR_OPTIONS
="-H oldgnu"
2992 genfile
--file=directory
/a
--length=1035
2994 echo "Creating the archive"
2995 tar -c -v -f - --index-file=idx directory
> archive
2997 echo "Testing the archive"
2999 ) ) >"$at_stdout" 2>"$at_stderr"
3003 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3004 echo >>"$at_stdout"; $as_echo "Creating the archive
3009 $at_diff - "$at_stdout" || at_failed
=:
3010 at_func_check_status
0 $at_status "$at_srcdir/indexfile.at:29"
3012 $at_failed && at_func_log_failure
3016 $as_echo "$at_srcdir/indexfile.at:29:
3019 TEST_TAR_FORMAT=ustar
3020 export TEST_TAR_FORMAT
3021 TAR_OPTIONS=\"-H ustar\"
3027 genfile --file=directory/a --length=1035
3029 echo \"Creating the archive\"
3030 tar -c -v -f - --index-file=idx directory > archive
3032 echo \"Testing the archive\"
3035 echo indexfile.
at:29 >"$at_check_line_file"
3037 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3042 TEST_TAR_FORMAT
=ustar
3043 export TEST_TAR_FORMAT
3044 TAR_OPTIONS
="-H ustar"
3050 genfile
--file=directory
/a
--length=1035
3052 echo "Creating the archive"
3053 tar -c -v -f - --index-file=idx directory
> archive
3055 echo "Testing the archive"
3057 ) ) >"$at_stdout" 2>"$at_stder1"
3058 at_func_filter_trace $?
3063 TEST_TAR_FORMAT
=ustar
3064 export TEST_TAR_FORMAT
3065 TAR_OPTIONS
="-H ustar"
3071 genfile
--file=directory
/a
--length=1035
3073 echo "Creating the archive"
3074 tar -c -v -f - --index-file=idx directory
> archive
3076 echo "Testing the archive"
3078 ) ) >"$at_stdout" 2>"$at_stderr"
3082 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3083 echo >>"$at_stdout"; $as_echo "Creating the archive
3088 $at_diff - "$at_stdout" || at_failed
=:
3089 at_func_check_status
0 $at_status "$at_srcdir/indexfile.at:29"
3091 $at_failed && at_func_log_failure
3095 $as_echo "$at_srcdir/indexfile.at:29:
3098 TEST_TAR_FORMAT=posix
3099 export TEST_TAR_FORMAT
3100 TAR_OPTIONS=\"-H posix\"
3106 genfile --file=directory/a --length=1035
3108 echo \"Creating the archive\"
3109 tar -c -v -f - --index-file=idx directory > archive
3111 echo \"Testing the archive\"
3114 echo indexfile.
at:29 >"$at_check_line_file"
3116 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3121 TEST_TAR_FORMAT
=posix
3122 export TEST_TAR_FORMAT
3123 TAR_OPTIONS
="-H posix"
3129 genfile
--file=directory
/a
--length=1035
3131 echo "Creating the archive"
3132 tar -c -v -f - --index-file=idx directory
> archive
3134 echo "Testing the archive"
3136 ) ) >"$at_stdout" 2>"$at_stder1"
3137 at_func_filter_trace $?
3142 TEST_TAR_FORMAT
=posix
3143 export TEST_TAR_FORMAT
3144 TAR_OPTIONS
="-H posix"
3150 genfile
--file=directory
/a
--length=1035
3152 echo "Creating the archive"
3153 tar -c -v -f - --index-file=idx directory
> archive
3155 echo "Testing the archive"
3157 ) ) >"$at_stdout" 2>"$at_stderr"
3161 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3162 echo >>"$at_stdout"; $as_echo "Creating the archive
3167 $at_diff - "$at_stdout" || at_failed
=:
3168 at_func_check_status
0 $at_status "$at_srcdir/indexfile.at:29"
3170 $at_failed && at_func_log_failure
3174 $as_echo "$at_srcdir/indexfile.at:29:
3178 export TEST_TAR_FORMAT
3179 TAR_OPTIONS=\"-H gnu\"
3185 genfile --file=directory/a --length=1035
3187 echo \"Creating the archive\"
3188 tar -c -v -f - --index-file=idx directory > archive
3190 echo \"Testing the archive\"
3193 echo indexfile.
at:29 >"$at_check_line_file"
3195 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3201 export TEST_TAR_FORMAT
3202 TAR_OPTIONS
="-H gnu"
3208 genfile
--file=directory
/a
--length=1035
3210 echo "Creating the archive"
3211 tar -c -v -f - --index-file=idx directory
> archive
3213 echo "Testing the archive"
3215 ) ) >"$at_stdout" 2>"$at_stder1"
3216 at_func_filter_trace $?
3222 export TEST_TAR_FORMAT
3223 TAR_OPTIONS
="-H gnu"
3229 genfile
--file=directory
/a
--length=1035
3231 echo "Creating the archive"
3232 tar -c -v -f - --index-file=idx directory
> archive
3234 echo "Testing the archive"
3236 ) ) >"$at_stdout" 2>"$at_stderr"
3240 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3241 echo >>"$at_stdout"; $as_echo "Creating the archive
3246 $at_diff - "$at_stdout" || at_failed
=:
3247 at_func_check_status
0 $at_status "$at_srcdir/indexfile.at:29"
3249 $at_failed && at_func_log_failure
3256 $at_times_p && times >"$at_times_file"
3257 ) 5>&1 2>&1 |
eval $at_tee_pipe
3258 at_status
=`cat "$at_status_file"`
3261 # 8. verbose.at:26: tar cvf -
3262 at_setup_line
='verbose.at:26'
3264 $at_quiet $as_echo_n " 8: $at_desc "
3266 test -f $XFAILFILE && at_xfail
=yes
3267 echo "# -*- compilation -*-" >> "$at_group_log"
3269 $as_echo "8. verbose.at:26: testing ..."
3277 $as_echo "$at_srcdir/verbose.at:29:
3281 export TEST_TAR_FORMAT
3282 TAR_OPTIONS=\"-H v7\"
3286 genfile --file file --length 10240
3287 echo Creating the archive
3288 tar cvf - file > archive
3289 echo Testing the archive
3292 echo verbose.
at:29 >"$at_check_line_file"
3294 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3300 export TEST_TAR_FORMAT
3305 genfile
--file file --length 10240
3306 echo Creating the archive
3307 tar cvf
- file > archive
3308 echo Testing the archive
3310 ) ) >"$at_stdout" 2>"$at_stder1"
3311 at_func_filter_trace $?
3317 export TEST_TAR_FORMAT
3322 genfile
--file file --length 10240
3323 echo Creating the archive
3324 tar cvf
- file > archive
3325 echo Testing the archive
3327 ) ) >"$at_stdout" 2>"$at_stderr"
3331 echo >>"$at_stderr"; $as_echo "file
3333 $at_diff - "$at_stderr" || at_failed
=:
3334 echo >>"$at_stdout"; $as_echo "Creating the archive
3338 $at_diff - "$at_stdout" || at_failed
=:
3339 at_func_check_status
0 $at_status "$at_srcdir/verbose.at:29"
3341 $at_failed && at_func_log_failure
3345 $as_echo "$at_srcdir/verbose.at:29:
3348 TEST_TAR_FORMAT=oldgnu
3349 export TEST_TAR_FORMAT
3350 TAR_OPTIONS=\"-H oldgnu\"
3354 genfile --file file --length 10240
3355 echo Creating the archive
3356 tar cvf - file > archive
3357 echo Testing the archive
3360 echo verbose.
at:29 >"$at_check_line_file"
3362 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3367 TEST_TAR_FORMAT
=oldgnu
3368 export TEST_TAR_FORMAT
3369 TAR_OPTIONS
="-H oldgnu"
3373 genfile
--file file --length 10240
3374 echo Creating the archive
3375 tar cvf
- file > archive
3376 echo Testing the archive
3378 ) ) >"$at_stdout" 2>"$at_stder1"
3379 at_func_filter_trace $?
3384 TEST_TAR_FORMAT
=oldgnu
3385 export TEST_TAR_FORMAT
3386 TAR_OPTIONS
="-H oldgnu"
3390 genfile
--file file --length 10240
3391 echo Creating the archive
3392 tar cvf
- file > archive
3393 echo Testing the archive
3395 ) ) >"$at_stdout" 2>"$at_stderr"
3399 echo >>"$at_stderr"; $as_echo "file
3401 $at_diff - "$at_stderr" || at_failed
=:
3402 echo >>"$at_stdout"; $as_echo "Creating the archive
3406 $at_diff - "$at_stdout" || at_failed
=:
3407 at_func_check_status
0 $at_status "$at_srcdir/verbose.at:29"
3409 $at_failed && at_func_log_failure
3413 $as_echo "$at_srcdir/verbose.at:29:
3416 TEST_TAR_FORMAT=ustar
3417 export TEST_TAR_FORMAT
3418 TAR_OPTIONS=\"-H ustar\"
3422 genfile --file file --length 10240
3423 echo Creating the archive
3424 tar cvf - file > archive
3425 echo Testing the archive
3428 echo verbose.
at:29 >"$at_check_line_file"
3430 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3435 TEST_TAR_FORMAT
=ustar
3436 export TEST_TAR_FORMAT
3437 TAR_OPTIONS
="-H ustar"
3441 genfile
--file file --length 10240
3442 echo Creating the archive
3443 tar cvf
- file > archive
3444 echo Testing the archive
3446 ) ) >"$at_stdout" 2>"$at_stder1"
3447 at_func_filter_trace $?
3452 TEST_TAR_FORMAT
=ustar
3453 export TEST_TAR_FORMAT
3454 TAR_OPTIONS
="-H ustar"
3458 genfile
--file file --length 10240
3459 echo Creating the archive
3460 tar cvf
- file > archive
3461 echo Testing the archive
3463 ) ) >"$at_stdout" 2>"$at_stderr"
3467 echo >>"$at_stderr"; $as_echo "file
3469 $at_diff - "$at_stderr" || at_failed
=:
3470 echo >>"$at_stdout"; $as_echo "Creating the archive
3474 $at_diff - "$at_stdout" || at_failed
=:
3475 at_func_check_status
0 $at_status "$at_srcdir/verbose.at:29"
3477 $at_failed && at_func_log_failure
3481 $as_echo "$at_srcdir/verbose.at:29:
3484 TEST_TAR_FORMAT=posix
3485 export TEST_TAR_FORMAT
3486 TAR_OPTIONS=\"-H posix\"
3490 genfile --file file --length 10240
3491 echo Creating the archive
3492 tar cvf - file > archive
3493 echo Testing the archive
3496 echo verbose.
at:29 >"$at_check_line_file"
3498 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3503 TEST_TAR_FORMAT
=posix
3504 export TEST_TAR_FORMAT
3505 TAR_OPTIONS
="-H posix"
3509 genfile
--file file --length 10240
3510 echo Creating the archive
3511 tar cvf
- file > archive
3512 echo Testing the archive
3514 ) ) >"$at_stdout" 2>"$at_stder1"
3515 at_func_filter_trace $?
3520 TEST_TAR_FORMAT
=posix
3521 export TEST_TAR_FORMAT
3522 TAR_OPTIONS
="-H posix"
3526 genfile
--file file --length 10240
3527 echo Creating the archive
3528 tar cvf
- file > archive
3529 echo Testing the archive
3531 ) ) >"$at_stdout" 2>"$at_stderr"
3535 echo >>"$at_stderr"; $as_echo "file
3537 $at_diff - "$at_stderr" || at_failed
=:
3538 echo >>"$at_stdout"; $as_echo "Creating the archive
3542 $at_diff - "$at_stdout" || at_failed
=:
3543 at_func_check_status
0 $at_status "$at_srcdir/verbose.at:29"
3545 $at_failed && at_func_log_failure
3549 $as_echo "$at_srcdir/verbose.at:29:
3553 export TEST_TAR_FORMAT
3554 TAR_OPTIONS=\"-H gnu\"
3558 genfile --file file --length 10240
3559 echo Creating the archive
3560 tar cvf - file > archive
3561 echo Testing the archive
3564 echo verbose.
at:29 >"$at_check_line_file"
3566 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3572 export TEST_TAR_FORMAT
3573 TAR_OPTIONS
="-H gnu"
3577 genfile
--file file --length 10240
3578 echo Creating the archive
3579 tar cvf
- file > archive
3580 echo Testing the archive
3582 ) ) >"$at_stdout" 2>"$at_stder1"
3583 at_func_filter_trace $?
3589 export TEST_TAR_FORMAT
3590 TAR_OPTIONS
="-H gnu"
3594 genfile
--file file --length 10240
3595 echo Creating the archive
3596 tar cvf
- file > archive
3597 echo Testing the archive
3599 ) ) >"$at_stdout" 2>"$at_stderr"
3603 echo >>"$at_stderr"; $as_echo "file
3605 $at_diff - "$at_stderr" || at_failed
=:
3606 echo >>"$at_stdout"; $as_echo "Creating the archive
3610 $at_diff - "$at_stdout" || at_failed
=:
3611 at_func_check_status
0 $at_status "$at_srcdir/verbose.at:29"
3613 $at_failed && at_func_log_failure
3620 $at_times_p && times >"$at_times_file"
3621 ) 5>&1 2>&1 |
eval $at_tee_pipe
3622 at_status
=`cat "$at_status_file"`
3625 # 9. append.at:21: append
3626 at_setup_line
='append.at:21'
3628 $at_quiet $as_echo_n " 9: $at_desc "
3630 test -f $XFAILFILE && at_xfail
=yes
3631 echo "# -*- compilation -*-" >> "$at_group_log"
3633 $as_echo "9. append.at:21: testing ..."
3641 $as_echo "$at_srcdir/append.at:24:
3645 export TEST_TAR_FORMAT
3646 TAR_OPTIONS=\"-H v7\"
3651 tar cf archive file1
3652 tar rf archive file2
3654 echo append.
at:24 >"$at_check_line_file"
3656 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3662 export TEST_TAR_FORMAT
3668 tar cf archive file1
3669 tar rf archive file2
3670 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
3671 at_func_filter_trace $?
3677 export TEST_TAR_FORMAT
3683 tar cf archive file1
3684 tar rf archive file2
3685 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
3689 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3690 echo >>"$at_stdout"; $as_echo "file1
3693 $at_diff - "$at_stdout" || at_failed
=:
3694 at_func_check_status
0 $at_status "$at_srcdir/append.at:24"
3696 $at_failed && at_func_log_failure
3700 $as_echo "$at_srcdir/append.at:24:
3703 TEST_TAR_FORMAT=oldgnu
3704 export TEST_TAR_FORMAT
3705 TAR_OPTIONS=\"-H oldgnu\"
3710 tar cf archive file1
3711 tar rf archive file2
3713 echo append.
at:24 >"$at_check_line_file"
3715 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3720 TEST_TAR_FORMAT
=oldgnu
3721 export TEST_TAR_FORMAT
3722 TAR_OPTIONS
="-H oldgnu"
3727 tar cf archive file1
3728 tar rf archive file2
3729 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
3730 at_func_filter_trace $?
3735 TEST_TAR_FORMAT
=oldgnu
3736 export TEST_TAR_FORMAT
3737 TAR_OPTIONS
="-H oldgnu"
3742 tar cf archive file1
3743 tar rf archive file2
3744 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
3748 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3749 echo >>"$at_stdout"; $as_echo "file1
3752 $at_diff - "$at_stdout" || at_failed
=:
3753 at_func_check_status
0 $at_status "$at_srcdir/append.at:24"
3755 $at_failed && at_func_log_failure
3759 $as_echo "$at_srcdir/append.at:24:
3762 TEST_TAR_FORMAT=ustar
3763 export TEST_TAR_FORMAT
3764 TAR_OPTIONS=\"-H ustar\"
3769 tar cf archive file1
3770 tar rf archive file2
3772 echo append.
at:24 >"$at_check_line_file"
3774 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3779 TEST_TAR_FORMAT
=ustar
3780 export TEST_TAR_FORMAT
3781 TAR_OPTIONS
="-H ustar"
3786 tar cf archive file1
3787 tar rf archive file2
3788 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
3789 at_func_filter_trace $?
3794 TEST_TAR_FORMAT
=ustar
3795 export TEST_TAR_FORMAT
3796 TAR_OPTIONS
="-H ustar"
3801 tar cf archive file1
3802 tar rf archive file2
3803 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
3807 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3808 echo >>"$at_stdout"; $as_echo "file1
3811 $at_diff - "$at_stdout" || at_failed
=:
3812 at_func_check_status
0 $at_status "$at_srcdir/append.at:24"
3814 $at_failed && at_func_log_failure
3818 $as_echo "$at_srcdir/append.at:24:
3821 TEST_TAR_FORMAT=posix
3822 export TEST_TAR_FORMAT
3823 TAR_OPTIONS=\"-H posix\"
3828 tar cf archive file1
3829 tar rf archive file2
3831 echo append.
at:24 >"$at_check_line_file"
3833 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3838 TEST_TAR_FORMAT
=posix
3839 export TEST_TAR_FORMAT
3840 TAR_OPTIONS
="-H posix"
3845 tar cf archive file1
3846 tar rf archive file2
3847 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
3848 at_func_filter_trace $?
3853 TEST_TAR_FORMAT
=posix
3854 export TEST_TAR_FORMAT
3855 TAR_OPTIONS
="-H posix"
3860 tar cf archive file1
3861 tar rf archive file2
3862 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
3866 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3867 echo >>"$at_stdout"; $as_echo "file1
3870 $at_diff - "$at_stdout" || at_failed
=:
3871 at_func_check_status
0 $at_status "$at_srcdir/append.at:24"
3873 $at_failed && at_func_log_failure
3877 $as_echo "$at_srcdir/append.at:24:
3881 export TEST_TAR_FORMAT
3882 TAR_OPTIONS=\"-H gnu\"
3887 tar cf archive file1
3888 tar rf archive file2
3890 echo append.
at:24 >"$at_check_line_file"
3892 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3898 export TEST_TAR_FORMAT
3899 TAR_OPTIONS
="-H gnu"
3904 tar cf archive file1
3905 tar rf archive file2
3906 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
3907 at_func_filter_trace $?
3913 export TEST_TAR_FORMAT
3914 TAR_OPTIONS
="-H gnu"
3919 tar cf archive file1
3920 tar rf archive file2
3921 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
3925 at_func_diff_devnull
"$at_stderr" || at_failed
=:
3926 echo >>"$at_stdout"; $as_echo "file1
3929 $at_diff - "$at_stdout" || at_failed
=:
3930 at_func_check_status
0 $at_status "$at_srcdir/append.at:24"
3932 $at_failed && at_func_log_failure
3939 $at_times_p && times >"$at_times_file"
3940 ) 5>&1 2>&1 |
eval $at_tee_pipe
3941 at_status
=`cat "$at_status_file"`
3944 # 10. append01.at:29: appending files with long names
3945 at_setup_line
='append01.at:29'
3946 at_desc
="appending files with long names"
3947 $at_quiet $as_echo_n " 10: $at_desc "
3949 test -f $XFAILFILE && at_xfail
=yes
3950 echo "# -*- compilation -*-" >> "$at_group_log"
3952 $as_echo "10. append01.at:29: testing ..."
3962 $as_echo "$at_srcdir/append01.at:34:
3965 TEST_TAR_FORMAT=oldgnu
3966 export TEST_TAR_FORMAT
3967 TAR_OPTIONS=\"-H oldgnu\"
3971 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
3972 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
3973 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
3974 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
3977 echo append01.
at:34 >"$at_check_line_file"
3979 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3984 TEST_TAR_FORMAT
=oldgnu
3985 export TEST_TAR_FORMAT
3986 TAR_OPTIONS
="-H oldgnu"
3990 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
3991 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
3992 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
3993 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
3995 ) ) >"$at_stdout" 2>"$at_stder1"
3996 at_func_filter_trace $?
4001 TEST_TAR_FORMAT
=oldgnu
4002 export TEST_TAR_FORMAT
4003 TAR_OPTIONS
="-H oldgnu"
4007 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4008 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4009 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4010 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4012 ) ) >"$at_stdout" 2>"$at_stderr"
4016 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4017 echo >>"$at_stdout"; $as_echo "This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4018 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4020 $at_diff - "$at_stdout" || at_failed
=:
4021 at_func_check_status
0 $at_status "$at_srcdir/append01.at:34"
4023 $at_failed && at_func_log_failure
4027 $as_echo "$at_srcdir/append01.at:34:
4030 TEST_TAR_FORMAT=ustar
4031 export TEST_TAR_FORMAT
4032 TAR_OPTIONS=\"-H ustar\"
4036 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4037 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4038 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4039 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4042 echo append01.
at:34 >"$at_check_line_file"
4044 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4049 TEST_TAR_FORMAT
=ustar
4050 export TEST_TAR_FORMAT
4051 TAR_OPTIONS
="-H ustar"
4055 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4056 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4057 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4058 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4060 ) ) >"$at_stdout" 2>"$at_stder1"
4061 at_func_filter_trace $?
4066 TEST_TAR_FORMAT
=ustar
4067 export TEST_TAR_FORMAT
4068 TAR_OPTIONS
="-H ustar"
4072 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4073 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4074 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4075 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4077 ) ) >"$at_stdout" 2>"$at_stderr"
4081 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4082 echo >>"$at_stdout"; $as_echo "This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4083 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4085 $at_diff - "$at_stdout" || at_failed
=:
4086 at_func_check_status
0 $at_status "$at_srcdir/append01.at:34"
4088 $at_failed && at_func_log_failure
4092 $as_echo "$at_srcdir/append01.at:34:
4095 TEST_TAR_FORMAT=posix
4096 export TEST_TAR_FORMAT
4097 TAR_OPTIONS=\"-H posix\"
4101 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4102 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4103 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4104 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4107 echo append01.
at:34 >"$at_check_line_file"
4109 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4114 TEST_TAR_FORMAT
=posix
4115 export TEST_TAR_FORMAT
4116 TAR_OPTIONS
="-H posix"
4120 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4121 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4122 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4123 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4125 ) ) >"$at_stdout" 2>"$at_stder1"
4126 at_func_filter_trace $?
4131 TEST_TAR_FORMAT
=posix
4132 export TEST_TAR_FORMAT
4133 TAR_OPTIONS
="-H posix"
4137 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4138 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4139 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4140 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4142 ) ) >"$at_stdout" 2>"$at_stderr"
4146 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4147 echo >>"$at_stdout"; $as_echo "This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4148 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4150 $at_diff - "$at_stdout" || at_failed
=:
4151 at_func_check_status
0 $at_status "$at_srcdir/append01.at:34"
4153 $at_failed && at_func_log_failure
4157 $as_echo "$at_srcdir/append01.at:34:
4161 export TEST_TAR_FORMAT
4162 TAR_OPTIONS=\"-H gnu\"
4166 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4167 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4168 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4169 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4172 echo append01.
at:34 >"$at_check_line_file"
4174 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4180 export TEST_TAR_FORMAT
4181 TAR_OPTIONS
="-H gnu"
4185 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4186 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4187 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4188 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4190 ) ) >"$at_stdout" 2>"$at_stder1"
4191 at_func_filter_trace $?
4197 export TEST_TAR_FORMAT
4198 TAR_OPTIONS
="-H gnu"
4202 mkdir This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
4203 touch This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4204 tar cf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file1
4205 tar rf archive This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX
/file2
4207 ) ) >"$at_stdout" 2>"$at_stderr"
4211 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4212 echo >>"$at_stdout"; $as_echo "This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file1
4213 This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_appending_long_file_names_that_run_into_a_limit_of_the_ustar_tarX/file2
4215 $at_diff - "$at_stdout" || at_failed
=:
4216 at_func_check_status
0 $at_status "$at_srcdir/append01.at:34"
4218 $at_failed && at_func_log_failure
4225 $at_times_p && times >"$at_times_file"
4226 ) 5>&1 2>&1 |
eval $at_tee_pipe
4227 at_status
=`cat "$at_status_file"`
4230 # 11. append02.at:54: append vs. create
4231 at_setup_line
='append02.at:54'
4232 at_desc
="append vs. create"
4233 $at_quiet $as_echo_n " 11: $at_desc "
4235 test -f $XFAILFILE && at_xfail
=yes
4236 echo "# -*- compilation -*-" >> "$at_group_log"
4238 $as_echo "11. append02.at:54: testing ..."
4246 $as_echo "$at_srcdir/append02.at:57:
4250 export TEST_TAR_FORMAT
4251 TAR_OPTIONS=\"-H v7\"
4255 genfile --file file1
4256 genfile --file file2
4258 # Make sure file timestamps in the archive will not differ
4259 MTIME=\"--mtime=@0\"
4261 # For PAX archives, we need to make sure extended header names are
4262 # reproducible and that their contents won't change with time
4263 if test \$TEST_TAR_FORMAT = posix; then
4264 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4267 echo Creating archive.1
4268 tar \$MTIME -cf archive.1 file1 file2
4270 echo Creating archive.2
4271 tar \$MTIME -cf archive.2 -T /dev/null
4272 tar \$MTIME -rf archive.2 file1
4273 tar \$MTIME -rf archive.2 file2
4275 echo Comparing archives
4276 cmp archive.1 archive.2
4278 echo append02.
at:57 >"$at_check_line_file"
4280 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4286 export TEST_TAR_FORMAT
4291 genfile
--file file1
4292 genfile
--file file2
4294 # Make sure file timestamps in the archive will not differ
4297 # For PAX archives, we need to make sure extended header names are
4298 # reproducible and that their contents won't change with time
4299 if test $TEST_TAR_FORMAT = posix
; then
4300 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4303 echo Creating archive
.1
4304 tar $MTIME -cf archive
.1 file1 file2
4306 echo Creating archive
.2
4307 tar $MTIME -cf archive
.2 -T /dev
/null
4308 tar $MTIME -rf archive
.2 file1
4309 tar $MTIME -rf archive
.2 file2
4311 echo Comparing archives
4312 cmp archive
.1 archive
.2
4313 ) ) >"$at_stdout" 2>"$at_stder1"
4314 at_func_filter_trace $?
4320 export TEST_TAR_FORMAT
4325 genfile
--file file1
4326 genfile
--file file2
4328 # Make sure file timestamps in the archive will not differ
4331 # For PAX archives, we need to make sure extended header names are
4332 # reproducible and that their contents won't change with time
4333 if test $TEST_TAR_FORMAT = posix
; then
4334 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4337 echo Creating archive
.1
4338 tar $MTIME -cf archive
.1 file1 file2
4340 echo Creating archive
.2
4341 tar $MTIME -cf archive
.2 -T /dev
/null
4342 tar $MTIME -rf archive
.2 file1
4343 tar $MTIME -rf archive
.2 file2
4345 echo Comparing archives
4346 cmp archive
.1 archive
.2
4347 ) ) >"$at_stdout" 2>"$at_stderr"
4351 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4352 echo >>"$at_stdout"; $as_echo "Creating archive.1
4356 $at_diff - "$at_stdout" || at_failed
=:
4357 at_func_check_status
0 $at_status "$at_srcdir/append02.at:57"
4359 $at_failed && at_func_log_failure
4363 $as_echo "$at_srcdir/append02.at:57:
4366 TEST_TAR_FORMAT=oldgnu
4367 export TEST_TAR_FORMAT
4368 TAR_OPTIONS=\"-H oldgnu\"
4372 genfile --file file1
4373 genfile --file file2
4375 # Make sure file timestamps in the archive will not differ
4376 MTIME=\"--mtime=@0\"
4378 # For PAX archives, we need to make sure extended header names are
4379 # reproducible and that their contents won't change with time
4380 if test \$TEST_TAR_FORMAT = posix; then
4381 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4384 echo Creating archive.1
4385 tar \$MTIME -cf archive.1 file1 file2
4387 echo Creating archive.2
4388 tar \$MTIME -cf archive.2 -T /dev/null
4389 tar \$MTIME -rf archive.2 file1
4390 tar \$MTIME -rf archive.2 file2
4392 echo Comparing archives
4393 cmp archive.1 archive.2
4395 echo append02.
at:57 >"$at_check_line_file"
4397 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4402 TEST_TAR_FORMAT
=oldgnu
4403 export TEST_TAR_FORMAT
4404 TAR_OPTIONS
="-H oldgnu"
4408 genfile
--file file1
4409 genfile
--file file2
4411 # Make sure file timestamps in the archive will not differ
4414 # For PAX archives, we need to make sure extended header names are
4415 # reproducible and that their contents won't change with time
4416 if test $TEST_TAR_FORMAT = posix
; then
4417 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4420 echo Creating archive
.1
4421 tar $MTIME -cf archive
.1 file1 file2
4423 echo Creating archive
.2
4424 tar $MTIME -cf archive
.2 -T /dev
/null
4425 tar $MTIME -rf archive
.2 file1
4426 tar $MTIME -rf archive
.2 file2
4428 echo Comparing archives
4429 cmp archive
.1 archive
.2
4430 ) ) >"$at_stdout" 2>"$at_stder1"
4431 at_func_filter_trace $?
4436 TEST_TAR_FORMAT
=oldgnu
4437 export TEST_TAR_FORMAT
4438 TAR_OPTIONS
="-H oldgnu"
4442 genfile
--file file1
4443 genfile
--file file2
4445 # Make sure file timestamps in the archive will not differ
4448 # For PAX archives, we need to make sure extended header names are
4449 # reproducible and that their contents won't change with time
4450 if test $TEST_TAR_FORMAT = posix
; then
4451 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4454 echo Creating archive
.1
4455 tar $MTIME -cf archive
.1 file1 file2
4457 echo Creating archive
.2
4458 tar $MTIME -cf archive
.2 -T /dev
/null
4459 tar $MTIME -rf archive
.2 file1
4460 tar $MTIME -rf archive
.2 file2
4462 echo Comparing archives
4463 cmp archive
.1 archive
.2
4464 ) ) >"$at_stdout" 2>"$at_stderr"
4468 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4469 echo >>"$at_stdout"; $as_echo "Creating archive.1
4473 $at_diff - "$at_stdout" || at_failed
=:
4474 at_func_check_status
0 $at_status "$at_srcdir/append02.at:57"
4476 $at_failed && at_func_log_failure
4480 $as_echo "$at_srcdir/append02.at:57:
4483 TEST_TAR_FORMAT=ustar
4484 export TEST_TAR_FORMAT
4485 TAR_OPTIONS=\"-H ustar\"
4489 genfile --file file1
4490 genfile --file file2
4492 # Make sure file timestamps in the archive will not differ
4493 MTIME=\"--mtime=@0\"
4495 # For PAX archives, we need to make sure extended header names are
4496 # reproducible and that their contents won't change with time
4497 if test \$TEST_TAR_FORMAT = posix; then
4498 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4501 echo Creating archive.1
4502 tar \$MTIME -cf archive.1 file1 file2
4504 echo Creating archive.2
4505 tar \$MTIME -cf archive.2 -T /dev/null
4506 tar \$MTIME -rf archive.2 file1
4507 tar \$MTIME -rf archive.2 file2
4509 echo Comparing archives
4510 cmp archive.1 archive.2
4512 echo append02.
at:57 >"$at_check_line_file"
4514 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4519 TEST_TAR_FORMAT
=ustar
4520 export TEST_TAR_FORMAT
4521 TAR_OPTIONS
="-H ustar"
4525 genfile
--file file1
4526 genfile
--file file2
4528 # Make sure file timestamps in the archive will not differ
4531 # For PAX archives, we need to make sure extended header names are
4532 # reproducible and that their contents won't change with time
4533 if test $TEST_TAR_FORMAT = posix
; then
4534 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4537 echo Creating archive
.1
4538 tar $MTIME -cf archive
.1 file1 file2
4540 echo Creating archive
.2
4541 tar $MTIME -cf archive
.2 -T /dev
/null
4542 tar $MTIME -rf archive
.2 file1
4543 tar $MTIME -rf archive
.2 file2
4545 echo Comparing archives
4546 cmp archive
.1 archive
.2
4547 ) ) >"$at_stdout" 2>"$at_stder1"
4548 at_func_filter_trace $?
4553 TEST_TAR_FORMAT
=ustar
4554 export TEST_TAR_FORMAT
4555 TAR_OPTIONS
="-H ustar"
4559 genfile
--file file1
4560 genfile
--file file2
4562 # Make sure file timestamps in the archive will not differ
4565 # For PAX archives, we need to make sure extended header names are
4566 # reproducible and that their contents won't change with time
4567 if test $TEST_TAR_FORMAT = posix
; then
4568 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4571 echo Creating archive
.1
4572 tar $MTIME -cf archive
.1 file1 file2
4574 echo Creating archive
.2
4575 tar $MTIME -cf archive
.2 -T /dev
/null
4576 tar $MTIME -rf archive
.2 file1
4577 tar $MTIME -rf archive
.2 file2
4579 echo Comparing archives
4580 cmp archive
.1 archive
.2
4581 ) ) >"$at_stdout" 2>"$at_stderr"
4585 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4586 echo >>"$at_stdout"; $as_echo "Creating archive.1
4590 $at_diff - "$at_stdout" || at_failed
=:
4591 at_func_check_status
0 $at_status "$at_srcdir/append02.at:57"
4593 $at_failed && at_func_log_failure
4597 $as_echo "$at_srcdir/append02.at:57:
4600 TEST_TAR_FORMAT=posix
4601 export TEST_TAR_FORMAT
4602 TAR_OPTIONS=\"-H posix\"
4606 genfile --file file1
4607 genfile --file file2
4609 # Make sure file timestamps in the archive will not differ
4610 MTIME=\"--mtime=@0\"
4612 # For PAX archives, we need to make sure extended header names are
4613 # reproducible and that their contents won't change with time
4614 if test \$TEST_TAR_FORMAT = posix; then
4615 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4618 echo Creating archive.1
4619 tar \$MTIME -cf archive.1 file1 file2
4621 echo Creating archive.2
4622 tar \$MTIME -cf archive.2 -T /dev/null
4623 tar \$MTIME -rf archive.2 file1
4624 tar \$MTIME -rf archive.2 file2
4626 echo Comparing archives
4627 cmp archive.1 archive.2
4629 echo append02.
at:57 >"$at_check_line_file"
4631 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4636 TEST_TAR_FORMAT
=posix
4637 export TEST_TAR_FORMAT
4638 TAR_OPTIONS
="-H posix"
4642 genfile
--file file1
4643 genfile
--file file2
4645 # Make sure file timestamps in the archive will not differ
4648 # For PAX archives, we need to make sure extended header names are
4649 # reproducible and that their contents won't change with time
4650 if test $TEST_TAR_FORMAT = posix
; then
4651 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4654 echo Creating archive
.1
4655 tar $MTIME -cf archive
.1 file1 file2
4657 echo Creating archive
.2
4658 tar $MTIME -cf archive
.2 -T /dev
/null
4659 tar $MTIME -rf archive
.2 file1
4660 tar $MTIME -rf archive
.2 file2
4662 echo Comparing archives
4663 cmp archive
.1 archive
.2
4664 ) ) >"$at_stdout" 2>"$at_stder1"
4665 at_func_filter_trace $?
4670 TEST_TAR_FORMAT
=posix
4671 export TEST_TAR_FORMAT
4672 TAR_OPTIONS
="-H posix"
4676 genfile
--file file1
4677 genfile
--file file2
4679 # Make sure file timestamps in the archive will not differ
4682 # For PAX archives, we need to make sure extended header names are
4683 # reproducible and that their contents won't change with time
4684 if test $TEST_TAR_FORMAT = posix
; then
4685 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4688 echo Creating archive
.1
4689 tar $MTIME -cf archive
.1 file1 file2
4691 echo Creating archive
.2
4692 tar $MTIME -cf archive
.2 -T /dev
/null
4693 tar $MTIME -rf archive
.2 file1
4694 tar $MTIME -rf archive
.2 file2
4696 echo Comparing archives
4697 cmp archive
.1 archive
.2
4698 ) ) >"$at_stdout" 2>"$at_stderr"
4702 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4703 echo >>"$at_stdout"; $as_echo "Creating archive.1
4707 $at_diff - "$at_stdout" || at_failed
=:
4708 at_func_check_status
0 $at_status "$at_srcdir/append02.at:57"
4710 $at_failed && at_func_log_failure
4714 $as_echo "$at_srcdir/append02.at:57:
4718 export TEST_TAR_FORMAT
4719 TAR_OPTIONS=\"-H gnu\"
4723 genfile --file file1
4724 genfile --file file2
4726 # Make sure file timestamps in the archive will not differ
4727 MTIME=\"--mtime=@0\"
4729 # For PAX archives, we need to make sure extended header names are
4730 # reproducible and that their contents won't change with time
4731 if test \$TEST_TAR_FORMAT = posix; then
4732 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4735 echo Creating archive.1
4736 tar \$MTIME -cf archive.1 file1 file2
4738 echo Creating archive.2
4739 tar \$MTIME -cf archive.2 -T /dev/null
4740 tar \$MTIME -rf archive.2 file1
4741 tar \$MTIME -rf archive.2 file2
4743 echo Comparing archives
4744 cmp archive.1 archive.2
4746 echo append02.
at:57 >"$at_check_line_file"
4748 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4754 export TEST_TAR_FORMAT
4755 TAR_OPTIONS
="-H gnu"
4759 genfile
--file file1
4760 genfile
--file file2
4762 # Make sure file timestamps in the archive will not differ
4765 # For PAX archives, we need to make sure extended header names are
4766 # reproducible and that their contents won't change with time
4767 if test $TEST_TAR_FORMAT = posix
; then
4768 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4771 echo Creating archive
.1
4772 tar $MTIME -cf archive
.1 file1 file2
4774 echo Creating archive
.2
4775 tar $MTIME -cf archive
.2 -T /dev
/null
4776 tar $MTIME -rf archive
.2 file1
4777 tar $MTIME -rf archive
.2 file2
4779 echo Comparing archives
4780 cmp archive
.1 archive
.2
4781 ) ) >"$at_stdout" 2>"$at_stder1"
4782 at_func_filter_trace $?
4788 export TEST_TAR_FORMAT
4789 TAR_OPTIONS
="-H gnu"
4793 genfile
--file file1
4794 genfile
--file file2
4796 # Make sure file timestamps in the archive will not differ
4799 # For PAX archives, we need to make sure extended header names are
4800 # reproducible and that their contents won't change with time
4801 if test $TEST_TAR_FORMAT = posix
; then
4802 TAR_OPTIONS
="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4805 echo Creating archive
.1
4806 tar $MTIME -cf archive
.1 file1 file2
4808 echo Creating archive
.2
4809 tar $MTIME -cf archive
.2 -T /dev
/null
4810 tar $MTIME -rf archive
.2 file1
4811 tar $MTIME -rf archive
.2 file2
4813 echo Comparing archives
4814 cmp archive
.1 archive
.2
4815 ) ) >"$at_stdout" 2>"$at_stderr"
4819 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4820 echo >>"$at_stdout"; $as_echo "Creating archive.1
4824 $at_diff - "$at_stdout" || at_failed
=:
4825 at_func_check_status
0 $at_status "$at_srcdir/append02.at:57"
4827 $at_failed && at_func_log_failure
4834 $at_times_p && times >"$at_times_file"
4835 ) 5>&1 2>&1 |
eval $at_tee_pipe
4836 at_status
=`cat "$at_status_file"`
4839 # 12. append03.at:19: append with name transformation
4840 at_setup_line
='append03.at:19'
4841 at_desc
="append with name transformation"
4842 $at_quiet $as_echo_n " 12: $at_desc "
4844 test -f $XFAILFILE && at_xfail
=yes
4845 echo "# -*- compilation -*-" >> "$at_group_log"
4847 $as_echo "12. append03.at:19: testing ..."
4852 # Description: Make sure filenames are transformed during append.
4857 $as_echo "$at_srcdir/append03.at:24:
4861 export TEST_TAR_FORMAT
4862 TAR_OPTIONS=\"-H v7\"
4866 genfile --file file.1
4867 genfile --file file.2
4869 tar -c -f archive --transform 's/file/plik/' file.*
4871 tar -r -f archive --transform 's/file/plik/' -v --show-transformed-names file.1
4875 echo append03.
at:24 >"$at_check_line_file"
4877 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4883 export TEST_TAR_FORMAT
4888 genfile
--file file.1
4889 genfile
--file file.2
4891 tar -c -f archive
--transform 's/file/plik/' file.
*
4893 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
4896 ) ) >"$at_stdout" 2>"$at_stder1"
4897 at_func_filter_trace $?
4903 export TEST_TAR_FORMAT
4908 genfile
--file file.1
4909 genfile
--file file.2
4911 tar -c -f archive
--transform 's/file/plik/' file.
*
4913 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
4916 ) ) >"$at_stdout" 2>"$at_stderr"
4920 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4921 echo >>"$at_stdout"; $as_echo "Appending
4928 $at_diff - "$at_stdout" || at_failed
=:
4929 at_func_check_status
0 $at_status "$at_srcdir/append03.at:24"
4931 $at_failed && at_func_log_failure
4935 $as_echo "$at_srcdir/append03.at:24:
4938 TEST_TAR_FORMAT=oldgnu
4939 export TEST_TAR_FORMAT
4940 TAR_OPTIONS=\"-H oldgnu\"
4944 genfile --file file.1
4945 genfile --file file.2
4947 tar -c -f archive --transform 's/file/plik/' file.*
4949 tar -r -f archive --transform 's/file/plik/' -v --show-transformed-names file.1
4953 echo append03.
at:24 >"$at_check_line_file"
4955 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4960 TEST_TAR_FORMAT
=oldgnu
4961 export TEST_TAR_FORMAT
4962 TAR_OPTIONS
="-H oldgnu"
4966 genfile
--file file.1
4967 genfile
--file file.2
4969 tar -c -f archive
--transform 's/file/plik/' file.
*
4971 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
4974 ) ) >"$at_stdout" 2>"$at_stder1"
4975 at_func_filter_trace $?
4980 TEST_TAR_FORMAT
=oldgnu
4981 export TEST_TAR_FORMAT
4982 TAR_OPTIONS
="-H oldgnu"
4986 genfile
--file file.1
4987 genfile
--file file.2
4989 tar -c -f archive
--transform 's/file/plik/' file.
*
4991 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
4994 ) ) >"$at_stdout" 2>"$at_stderr"
4998 at_func_diff_devnull
"$at_stderr" || at_failed
=:
4999 echo >>"$at_stdout"; $as_echo "Appending
5006 $at_diff - "$at_stdout" || at_failed
=:
5007 at_func_check_status
0 $at_status "$at_srcdir/append03.at:24"
5009 $at_failed && at_func_log_failure
5013 $as_echo "$at_srcdir/append03.at:24:
5016 TEST_TAR_FORMAT=ustar
5017 export TEST_TAR_FORMAT
5018 TAR_OPTIONS=\"-H ustar\"
5022 genfile --file file.1
5023 genfile --file file.2
5025 tar -c -f archive --transform 's/file/plik/' file.*
5027 tar -r -f archive --transform 's/file/plik/' -v --show-transformed-names file.1
5031 echo append03.
at:24 >"$at_check_line_file"
5033 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5038 TEST_TAR_FORMAT
=ustar
5039 export TEST_TAR_FORMAT
5040 TAR_OPTIONS
="-H ustar"
5044 genfile
--file file.1
5045 genfile
--file file.2
5047 tar -c -f archive
--transform 's/file/plik/' file.
*
5049 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5052 ) ) >"$at_stdout" 2>"$at_stder1"
5053 at_func_filter_trace $?
5058 TEST_TAR_FORMAT
=ustar
5059 export TEST_TAR_FORMAT
5060 TAR_OPTIONS
="-H ustar"
5064 genfile
--file file.1
5065 genfile
--file file.2
5067 tar -c -f archive
--transform 's/file/plik/' file.
*
5069 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5072 ) ) >"$at_stdout" 2>"$at_stderr"
5076 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5077 echo >>"$at_stdout"; $as_echo "Appending
5084 $at_diff - "$at_stdout" || at_failed
=:
5085 at_func_check_status
0 $at_status "$at_srcdir/append03.at:24"
5087 $at_failed && at_func_log_failure
5091 $as_echo "$at_srcdir/append03.at:24:
5094 TEST_TAR_FORMAT=posix
5095 export TEST_TAR_FORMAT
5096 TAR_OPTIONS=\"-H posix\"
5100 genfile --file file.1
5101 genfile --file file.2
5103 tar -c -f archive --transform 's/file/plik/' file.*
5105 tar -r -f archive --transform 's/file/plik/' -v --show-transformed-names file.1
5109 echo append03.
at:24 >"$at_check_line_file"
5111 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5116 TEST_TAR_FORMAT
=posix
5117 export TEST_TAR_FORMAT
5118 TAR_OPTIONS
="-H posix"
5122 genfile
--file file.1
5123 genfile
--file file.2
5125 tar -c -f archive
--transform 's/file/plik/' file.
*
5127 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5130 ) ) >"$at_stdout" 2>"$at_stder1"
5131 at_func_filter_trace $?
5136 TEST_TAR_FORMAT
=posix
5137 export TEST_TAR_FORMAT
5138 TAR_OPTIONS
="-H posix"
5142 genfile
--file file.1
5143 genfile
--file file.2
5145 tar -c -f archive
--transform 's/file/plik/' file.
*
5147 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5150 ) ) >"$at_stdout" 2>"$at_stderr"
5154 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5155 echo >>"$at_stdout"; $as_echo "Appending
5162 $at_diff - "$at_stdout" || at_failed
=:
5163 at_func_check_status
0 $at_status "$at_srcdir/append03.at:24"
5165 $at_failed && at_func_log_failure
5169 $as_echo "$at_srcdir/append03.at:24:
5173 export TEST_TAR_FORMAT
5174 TAR_OPTIONS=\"-H gnu\"
5178 genfile --file file.1
5179 genfile --file file.2
5181 tar -c -f archive --transform 's/file/plik/' file.*
5183 tar -r -f archive --transform 's/file/plik/' -v --show-transformed-names file.1
5187 echo append03.
at:24 >"$at_check_line_file"
5189 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5195 export TEST_TAR_FORMAT
5196 TAR_OPTIONS
="-H gnu"
5200 genfile
--file file.1
5201 genfile
--file file.2
5203 tar -c -f archive
--transform 's/file/plik/' file.
*
5205 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5208 ) ) >"$at_stdout" 2>"$at_stder1"
5209 at_func_filter_trace $?
5215 export TEST_TAR_FORMAT
5216 TAR_OPTIONS
="-H gnu"
5220 genfile
--file file.1
5221 genfile
--file file.2
5223 tar -c -f archive
--transform 's/file/plik/' file.
*
5225 tar -r -f archive
--transform 's/file/plik/' -v --show-transformed-names file.1
5228 ) ) >"$at_stdout" 2>"$at_stderr"
5232 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5233 echo >>"$at_stdout"; $as_echo "Appending
5240 $at_diff - "$at_stdout" || at_failed
=:
5241 at_func_check_status
0 $at_status "$at_srcdir/append03.at:24"
5243 $at_failed && at_func_log_failure
5250 $at_times_p && times >"$at_times_file"
5251 ) 5>&1 2>&1 |
eval $at_tee_pipe
5252 at_status
=`cat "$at_status_file"`
5255 # 13. xform-h.at:30: transforming hard links on create
5256 at_setup_line
='xform-h.at:30'
5257 at_desc
="transforming hard links on create"
5258 $at_quiet $as_echo_n " 13: $at_desc "
5260 test -f $XFAILFILE && at_xfail
=yes
5261 echo "# -*- compilation -*-" >> "$at_group_log"
5263 $as_echo "13. xform-h.at:30: testing ..."
5273 $as_echo "$at_srcdir/xform-h.at:39:
5277 export TEST_TAR_FORMAT
5278 TAR_OPTIONS=\"-H v7\"
5283 echo \"hello\" > basedir/test
5284 ln basedir/test basedir/test_link
5287 echo "Default transform scope
"
5288 tar cf archive --transform="s
,^basedir
/,," basedir/test basedir/test_link
5289 tar tvf archive | sed -n 's/.*test_link link to //p'
5292 echo "Transforming hard links
"
5293 tar cf archive --transform="s
,^basedir
/,,h
" basedir/test basedir/test_link
5294 tar tvf archive | sed -n 's/.*test_link link to //p'
5297 echo "Not transforming hard links
"
5298 tar cf archive --transform="s
,^basedir
/,,H
" basedir/test basedir/test_link
5299 tar tvf archive | sed -n 's/.*test_link link to //p'
5302 echo xform-h.
at:39 >"$at_check_line_file"
5304 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5310 export TEST_TAR_FORMAT
5316 echo "hello" > basedir
/test
5317 ln basedir
/test basedir
/test_link
5320 echo "Default transform scope"
5321 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5322 tar tvf archive |
sed -n 's/.*test_link link to //p'
5325 echo "Transforming hard links"
5326 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5327 tar tvf archive |
sed -n 's/.*test_link link to //p'
5330 echo "Not transforming hard links"
5331 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5332 tar tvf archive |
sed -n 's/.*test_link link to //p'
5334 ) ) >"$at_stdout" 2>"$at_stder1"
5335 at_func_filter_trace $?
5341 export TEST_TAR_FORMAT
5347 echo "hello" > basedir
/test
5348 ln basedir
/test basedir
/test_link
5351 echo "Default transform scope"
5352 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5353 tar tvf archive |
sed -n 's/.*test_link link to //p'
5356 echo "Transforming hard links"
5357 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5358 tar tvf archive |
sed -n 's/.*test_link link to //p'
5361 echo "Not transforming hard links"
5362 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5363 tar tvf archive |
sed -n 's/.*test_link link to //p'
5365 ) ) >"$at_stdout" 2>"$at_stderr"
5369 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5370 echo >>"$at_stdout"; $as_echo "Default transform scope
5372 Transforming hard links
5374 Not transforming hard links
5377 $at_diff - "$at_stdout" || at_failed
=:
5378 at_func_check_status
0 $at_status "$at_srcdir/xform-h.at:39"
5380 $at_failed && at_func_log_failure
5384 $as_echo "$at_srcdir/xform-h.at:39:
5387 TEST_TAR_FORMAT=oldgnu
5388 export TEST_TAR_FORMAT
5389 TAR_OPTIONS=\"-H oldgnu\"
5394 echo \"hello\" > basedir/test
5395 ln basedir/test basedir/test_link
5398 echo "Default transform scope
"
5399 tar cf archive --transform="s
,^basedir
/,," basedir/test basedir/test_link
5400 tar tvf archive | sed -n 's/.*test_link link to //p'
5403 echo "Transforming hard links
"
5404 tar cf archive --transform="s
,^basedir
/,,h
" basedir/test basedir/test_link
5405 tar tvf archive | sed -n 's/.*test_link link to //p'
5408 echo "Not transforming hard links
"
5409 tar cf archive --transform="s
,^basedir
/,,H
" basedir/test basedir/test_link
5410 tar tvf archive | sed -n 's/.*test_link link to //p'
5413 echo xform-h.
at:39 >"$at_check_line_file"
5415 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5420 TEST_TAR_FORMAT
=oldgnu
5421 export TEST_TAR_FORMAT
5422 TAR_OPTIONS
="-H oldgnu"
5427 echo "hello" > basedir
/test
5428 ln basedir
/test basedir
/test_link
5431 echo "Default transform scope"
5432 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5433 tar tvf archive |
sed -n 's/.*test_link link to //p'
5436 echo "Transforming hard links"
5437 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5438 tar tvf archive |
sed -n 's/.*test_link link to //p'
5441 echo "Not transforming hard links"
5442 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5443 tar tvf archive |
sed -n 's/.*test_link link to //p'
5445 ) ) >"$at_stdout" 2>"$at_stder1"
5446 at_func_filter_trace $?
5451 TEST_TAR_FORMAT
=oldgnu
5452 export TEST_TAR_FORMAT
5453 TAR_OPTIONS
="-H oldgnu"
5458 echo "hello" > basedir
/test
5459 ln basedir
/test basedir
/test_link
5462 echo "Default transform scope"
5463 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5464 tar tvf archive |
sed -n 's/.*test_link link to //p'
5467 echo "Transforming hard links"
5468 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5469 tar tvf archive |
sed -n 's/.*test_link link to //p'
5472 echo "Not transforming hard links"
5473 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5474 tar tvf archive |
sed -n 's/.*test_link link to //p'
5476 ) ) >"$at_stdout" 2>"$at_stderr"
5480 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5481 echo >>"$at_stdout"; $as_echo "Default transform scope
5483 Transforming hard links
5485 Not transforming hard links
5488 $at_diff - "$at_stdout" || at_failed
=:
5489 at_func_check_status
0 $at_status "$at_srcdir/xform-h.at:39"
5491 $at_failed && at_func_log_failure
5495 $as_echo "$at_srcdir/xform-h.at:39:
5498 TEST_TAR_FORMAT=ustar
5499 export TEST_TAR_FORMAT
5500 TAR_OPTIONS=\"-H ustar\"
5505 echo \"hello\" > basedir/test
5506 ln basedir/test basedir/test_link
5509 echo "Default transform scope
"
5510 tar cf archive --transform="s
,^basedir
/,," basedir/test basedir/test_link
5511 tar tvf archive | sed -n 's/.*test_link link to //p'
5514 echo "Transforming hard links
"
5515 tar cf archive --transform="s
,^basedir
/,,h
" basedir/test basedir/test_link
5516 tar tvf archive | sed -n 's/.*test_link link to //p'
5519 echo "Not transforming hard links
"
5520 tar cf archive --transform="s
,^basedir
/,,H
" basedir/test basedir/test_link
5521 tar tvf archive | sed -n 's/.*test_link link to //p'
5524 echo xform-h.
at:39 >"$at_check_line_file"
5526 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5531 TEST_TAR_FORMAT
=ustar
5532 export TEST_TAR_FORMAT
5533 TAR_OPTIONS
="-H ustar"
5538 echo "hello" > basedir
/test
5539 ln basedir
/test basedir
/test_link
5542 echo "Default transform scope"
5543 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5544 tar tvf archive |
sed -n 's/.*test_link link to //p'
5547 echo "Transforming hard links"
5548 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5549 tar tvf archive |
sed -n 's/.*test_link link to //p'
5552 echo "Not transforming hard links"
5553 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5554 tar tvf archive |
sed -n 's/.*test_link link to //p'
5556 ) ) >"$at_stdout" 2>"$at_stder1"
5557 at_func_filter_trace $?
5562 TEST_TAR_FORMAT
=ustar
5563 export TEST_TAR_FORMAT
5564 TAR_OPTIONS
="-H ustar"
5569 echo "hello" > basedir
/test
5570 ln basedir
/test basedir
/test_link
5573 echo "Default transform scope"
5574 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5575 tar tvf archive |
sed -n 's/.*test_link link to //p'
5578 echo "Transforming hard links"
5579 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5580 tar tvf archive |
sed -n 's/.*test_link link to //p'
5583 echo "Not transforming hard links"
5584 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5585 tar tvf archive |
sed -n 's/.*test_link link to //p'
5587 ) ) >"$at_stdout" 2>"$at_stderr"
5591 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5592 echo >>"$at_stdout"; $as_echo "Default transform scope
5594 Transforming hard links
5596 Not transforming hard links
5599 $at_diff - "$at_stdout" || at_failed
=:
5600 at_func_check_status
0 $at_status "$at_srcdir/xform-h.at:39"
5602 $at_failed && at_func_log_failure
5606 $as_echo "$at_srcdir/xform-h.at:39:
5609 TEST_TAR_FORMAT=posix
5610 export TEST_TAR_FORMAT
5611 TAR_OPTIONS=\"-H posix\"
5616 echo \"hello\" > basedir/test
5617 ln basedir/test basedir/test_link
5620 echo "Default transform scope
"
5621 tar cf archive --transform="s
,^basedir
/,," basedir/test basedir/test_link
5622 tar tvf archive | sed -n 's/.*test_link link to //p'
5625 echo "Transforming hard links
"
5626 tar cf archive --transform="s
,^basedir
/,,h
" basedir/test basedir/test_link
5627 tar tvf archive | sed -n 's/.*test_link link to //p'
5630 echo "Not transforming hard links
"
5631 tar cf archive --transform="s
,^basedir
/,,H
" basedir/test basedir/test_link
5632 tar tvf archive | sed -n 's/.*test_link link to //p'
5635 echo xform-h.
at:39 >"$at_check_line_file"
5637 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5642 TEST_TAR_FORMAT
=posix
5643 export TEST_TAR_FORMAT
5644 TAR_OPTIONS
="-H posix"
5649 echo "hello" > basedir
/test
5650 ln basedir
/test basedir
/test_link
5653 echo "Default transform scope"
5654 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5655 tar tvf archive |
sed -n 's/.*test_link link to //p'
5658 echo "Transforming hard links"
5659 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5660 tar tvf archive |
sed -n 's/.*test_link link to //p'
5663 echo "Not transforming hard links"
5664 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5665 tar tvf archive |
sed -n 's/.*test_link link to //p'
5667 ) ) >"$at_stdout" 2>"$at_stder1"
5668 at_func_filter_trace $?
5673 TEST_TAR_FORMAT
=posix
5674 export TEST_TAR_FORMAT
5675 TAR_OPTIONS
="-H posix"
5680 echo "hello" > basedir
/test
5681 ln basedir
/test basedir
/test_link
5684 echo "Default transform scope"
5685 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5686 tar tvf archive |
sed -n 's/.*test_link link to //p'
5689 echo "Transforming hard links"
5690 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5691 tar tvf archive |
sed -n 's/.*test_link link to //p'
5694 echo "Not transforming hard links"
5695 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5696 tar tvf archive |
sed -n 's/.*test_link link to //p'
5698 ) ) >"$at_stdout" 2>"$at_stderr"
5702 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5703 echo >>"$at_stdout"; $as_echo "Default transform scope
5705 Transforming hard links
5707 Not transforming hard links
5710 $at_diff - "$at_stdout" || at_failed
=:
5711 at_func_check_status
0 $at_status "$at_srcdir/xform-h.at:39"
5713 $at_failed && at_func_log_failure
5717 $as_echo "$at_srcdir/xform-h.at:39:
5721 export TEST_TAR_FORMAT
5722 TAR_OPTIONS=\"-H gnu\"
5727 echo \"hello\" > basedir/test
5728 ln basedir/test basedir/test_link
5731 echo "Default transform scope
"
5732 tar cf archive --transform="s
,^basedir
/,," basedir/test basedir/test_link
5733 tar tvf archive | sed -n 's/.*test_link link to //p'
5736 echo "Transforming hard links
"
5737 tar cf archive --transform="s
,^basedir
/,,h
" basedir/test basedir/test_link
5738 tar tvf archive | sed -n 's/.*test_link link to //p'
5741 echo "Not transforming hard links
"
5742 tar cf archive --transform="s
,^basedir
/,,H
" basedir/test basedir/test_link
5743 tar tvf archive | sed -n 's/.*test_link link to //p'
5746 echo xform-h.
at:39 >"$at_check_line_file"
5748 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5754 export TEST_TAR_FORMAT
5755 TAR_OPTIONS
="-H gnu"
5760 echo "hello" > basedir
/test
5761 ln basedir
/test basedir
/test_link
5764 echo "Default transform scope"
5765 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5766 tar tvf archive |
sed -n 's/.*test_link link to //p'
5769 echo "Transforming hard links"
5770 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5771 tar tvf archive |
sed -n 's/.*test_link link to //p'
5774 echo "Not transforming hard links"
5775 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5776 tar tvf archive |
sed -n 's/.*test_link link to //p'
5778 ) ) >"$at_stdout" 2>"$at_stder1"
5779 at_func_filter_trace $?
5785 export TEST_TAR_FORMAT
5786 TAR_OPTIONS
="-H gnu"
5791 echo "hello" > basedir
/test
5792 ln basedir
/test basedir
/test_link
5795 echo "Default transform scope"
5796 tar cf archive
--transform="s,^basedir/,," basedir
/test basedir
/test_link
5797 tar tvf archive |
sed -n 's/.*test_link link to //p'
5800 echo "Transforming hard links"
5801 tar cf archive
--transform="s,^basedir/,,h" basedir
/test basedir
/test_link
5802 tar tvf archive |
sed -n 's/.*test_link link to //p'
5805 echo "Not transforming hard links"
5806 tar cf archive
--transform="s,^basedir/,,H" basedir
/test basedir
/test_link
5807 tar tvf archive |
sed -n 's/.*test_link link to //p'
5809 ) ) >"$at_stdout" 2>"$at_stderr"
5813 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5814 echo >>"$at_stdout"; $as_echo "Default transform scope
5816 Transforming hard links
5818 Not transforming hard links
5821 $at_diff - "$at_stdout" || at_failed
=:
5822 at_func_check_status
0 $at_status "$at_srcdir/xform-h.at:39"
5824 $at_failed && at_func_log_failure
5833 $at_times_p && times >"$at_times_file"
5834 ) 5>&1 2>&1 |
eval $at_tee_pipe
5835 at_status
=`cat "$at_status_file"`
5838 # 14. xform01.at:26: transformations and GNU volume labels
5839 at_setup_line
='xform01.at:26'
5840 at_desc
="transformations and GNU volume labels"
5841 $at_quiet $as_echo_n " 14: $at_desc "
5843 test -f $XFAILFILE && at_xfail
=yes
5844 echo "# -*- compilation -*-" >> "$at_group_log"
5846 $as_echo "14. xform01.at:26: testing ..."
5854 $as_echo "$at_srcdir/xform01.at:29:
5858 export TEST_TAR_FORMAT
5859 TAR_OPTIONS=\"-H gnu\"
5864 tar -cf archive.tar -V /label/ file
5867 echo xform01.
at:29 >"$at_check_line_file"
5869 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5875 export TEST_TAR_FORMAT
5876 TAR_OPTIONS
="-H gnu"
5881 tar -cf archive.
tar -V /label
/ file
5883 ) ) >"$at_stdout" 2>"$at_stder1"
5884 at_func_filter_trace $?
5890 export TEST_TAR_FORMAT
5891 TAR_OPTIONS
="-H gnu"
5896 tar -cf archive.
tar -V /label
/ file
5898 ) ) >"$at_stdout" 2>"$at_stderr"
5902 at_func_diff_devnull
"$at_stderr" || at_failed
=:
5903 echo >>"$at_stdout"; $as_echo "/label/
5906 $at_diff - "$at_stdout" || at_failed
=:
5907 at_func_check_status
0 $at_status "$at_srcdir/xform01.at:29"
5909 $at_failed && at_func_log_failure
5916 $at_times_p && times >"$at_times_file"
5917 ) 5>&1 2>&1 |
eval $at_tee_pipe
5918 at_status
=`cat "$at_status_file"`
5921 # 15. exclude.at:23: exclude
5922 at_setup_line
='exclude.at:23'
5924 $at_quiet $as_echo_n " 15: $at_desc "
5926 test -f $XFAILFILE && at_xfail
=yes
5927 echo "# -*- compilation -*-" >> "$at_group_log"
5929 $as_echo "15. exclude.at:23: testing ..."
5937 $as_echo "$at_srcdir/exclude.at:26:
5940 TEST_TAR_FORMAT=ustar
5941 export TEST_TAR_FORMAT
5942 TAR_OPTIONS=\"-H ustar\"
5947 test -z "`sort < /dev/null 2>&1`" || exit 77
5951 echo blues > dir/blues
5952 echo jazz > dir/jazz
5954 echo tagfile > dir/folk/tagfile
5955 echo sanjuan > dir/folk/sanjuan
5957 echo \"Signature: 8a477f597d28d172789f06886806bc55\" > dir/rock/CACHEDIR.TAG
5958 echo \"test\" > dir/rock/file
5960 for option in exclude-caches exclude-caches-under exclude-caches-all
5962 echo OPTION \$option
5963 tar -cf archive.tar --\$option -v dir 2>err | sort
5966 tar tf archive.tar | sort
5969 for option in exclude-tag exclude-tag-under exclude-tag-all
5971 echo OPTION \$option
5972 tar -cf archive.tar --\${option}=tagfile -v dir 2>err | sort
5975 tar tf archive.tar | sort
5978 echo exclude.
at:26 >"$at_check_line_file"
5980 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
5985 TEST_TAR_FORMAT
=ustar
5986 export TEST_TAR_FORMAT
5987 TAR_OPTIONS
="-H ustar"
5992 test -z "`sort < /dev/null 2>&1`" ||
exit 77
5996 echo blues
> dir
/blues
5997 echo jazz
> dir
/jazz
5999 echo tagfile
> dir
/folk
/tagfile
6000 echo sanjuan
> dir
/folk
/sanjuan
6002 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir
/rock
/CACHEDIR.TAG
6003 echo "test" > dir
/rock
/file
6005 for option
in exclude-caches exclude-caches-under exclude-caches-all
6008 tar -cf archive.
tar --$option -v dir
2>err |
sort
6011 tar tf archive.
tar |
sort
6014 for option
in exclude-tag exclude-tag-under exclude-tag-all
6017 tar -cf archive.
tar --${option}=tagfile
-v dir
2>err |
sort
6020 tar tf archive.
tar |
sort
6022 ) ) >"$at_stdout" 2>"$at_stder1"
6023 at_func_filter_trace $?
6028 TEST_TAR_FORMAT
=ustar
6029 export TEST_TAR_FORMAT
6030 TAR_OPTIONS
="-H ustar"
6035 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6039 echo blues
> dir
/blues
6040 echo jazz
> dir
/jazz
6042 echo tagfile
> dir
/folk
/tagfile
6043 echo sanjuan
> dir
/folk
/sanjuan
6045 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir
/rock
/CACHEDIR.TAG
6046 echo "test" > dir
/rock
/file
6048 for option
in exclude-caches exclude-caches-under exclude-caches-all
6051 tar -cf archive.
tar --$option -v dir
2>err |
sort
6054 tar tf archive.
tar |
sort
6057 for option
in exclude-tag exclude-tag-under exclude-tag-all
6060 tar -cf archive.
tar --${option}=tagfile
-v dir
2>err |
sort
6063 tar tf archive.
tar |
sort
6065 ) ) >"$at_stdout" 2>"$at_stderr"
6069 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6070 echo >>"$at_stdout"; $as_echo "OPTION exclude-caches
6078 dir/rock/CACHEDIR.TAG
6079 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
6088 dir/rock/CACHEDIR.TAG
6089 OPTION exclude-caches-under
6097 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
6106 OPTION exclude-caches-all
6113 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; directory not dumped
6128 dir/rock/CACHEDIR.TAG
6130 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
6138 dir/rock/CACHEDIR.TAG
6140 OPTION exclude-tag-under
6146 dir/rock/CACHEDIR.TAG
6148 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
6155 dir/rock/CACHEDIR.TAG
6157 OPTION exclude-tag-all
6162 dir/rock/CACHEDIR.TAG
6164 tar: dir/folk/: contains a cache directory tag tagfile; directory not dumped
6170 dir/rock/CACHEDIR.TAG
6173 $at_diff - "$at_stdout" || at_failed
=:
6174 at_func_check_status
0 $at_status "$at_srcdir/exclude.at:26"
6176 $at_failed && at_func_log_failure
6183 $at_times_p && times >"$at_times_file"
6184 ) 5>&1 2>&1 |
eval $at_tee_pipe
6185 at_status
=`cat "$at_status_file"`
6188 # 16. exclude01.at:17: exclude wildcards
6189 at_setup_line
='exclude01.at:17'
6190 at_desc
="exclude wildcards"
6191 $at_quiet $as_echo_n " 16: $at_desc "
6193 test -f $XFAILFILE && at_xfail
=yes
6194 echo "# -*- compilation -*-" >> "$at_group_log"
6196 $as_echo "16. exclude01.at:17: testing ..."
6204 $as_echo "$at_srcdir/exclude01.at:20:
6208 export TEST_TAR_FORMAT
6209 TAR_OPTIONS=\"-H v7\"
6214 test -z "`sort < /dev/null 2>&1`" || exit 77
6218 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6219 touch testdir/dir1/file1
6220 touch testdir/dir1/\\*
6221 touch testdir/dir2/file2
6222 touch testdir/dir2/\\*
6223 touch testdir/dir3/file3
6224 touch testdir/dir3/\\*
6226 tar cf archive --exclude=testdir/dir1/\\* \\
6228 --exclude=testdir/dir2/\\* \\
6230 --exclude=testdir/dir3/\\* \\
6232 tar tf archive | sort
6235 tar cf archive testdir
6236 tar t \"testdir/dir1/*\" -f archive | sort
6239 tar cf archive testdir/dir1
6240 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6243 tar cf archive testdir
6244 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6248 echo exclude01.
at:20 >"$at_check_line_file"
6250 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6256 export TEST_TAR_FORMAT
6262 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6266 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6267 touch testdir
/dir
1/file1
6268 touch testdir
/dir
1/\
*
6269 touch testdir
/dir
2/file2
6270 touch testdir
/dir
2/\
*
6271 touch testdir
/dir
3/file3
6272 touch testdir
/dir
3/\
*
6274 tar cf archive
--exclude=testdir
/dir
1/\
* \
6276 --exclude=testdir
/dir
2/\
* \
6278 --exclude=testdir
/dir
3/\
* \
6280 tar tf archive |
sort
6283 tar cf archive testdir
6284 tar t
"testdir/dir1/*" -f archive |
sort
6287 tar cf archive testdir
/dir1
6288 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6291 tar cf archive testdir
6292 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6295 ) ) >"$at_stdout" 2>"$at_stder1"
6296 at_func_filter_trace $?
6302 export TEST_TAR_FORMAT
6308 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6312 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6313 touch testdir
/dir
1/file1
6314 touch testdir
/dir
1/\
*
6315 touch testdir
/dir
2/file2
6316 touch testdir
/dir
2/\
*
6317 touch testdir
/dir
3/file3
6318 touch testdir
/dir
3/\
*
6320 tar cf archive
--exclude=testdir
/dir
1/\
* \
6322 --exclude=testdir
/dir
2/\
* \
6324 --exclude=testdir
/dir
3/\
* \
6326 tar tf archive |
sort
6329 tar cf archive testdir
6330 tar t
"testdir/dir1/*" -f archive |
sort
6333 tar cf archive testdir
/dir1
6334 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6337 tar cf archive testdir
6338 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6341 ) ) >"$at_stdout" 2>"$at_stderr"
6345 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6346 echo >>"$at_stdout"; $as_echo "testdir/
6359 $at_diff - "$at_stdout" || at_failed
=:
6360 at_func_check_status
0 $at_status "$at_srcdir/exclude01.at:20"
6362 $at_failed && at_func_log_failure
6366 $as_echo "$at_srcdir/exclude01.at:20:
6369 TEST_TAR_FORMAT=oldgnu
6370 export TEST_TAR_FORMAT
6371 TAR_OPTIONS=\"-H oldgnu\"
6376 test -z "`sort < /dev/null 2>&1`" || exit 77
6380 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6381 touch testdir/dir1/file1
6382 touch testdir/dir1/\\*
6383 touch testdir/dir2/file2
6384 touch testdir/dir2/\\*
6385 touch testdir/dir3/file3
6386 touch testdir/dir3/\\*
6388 tar cf archive --exclude=testdir/dir1/\\* \\
6390 --exclude=testdir/dir2/\\* \\
6392 --exclude=testdir/dir3/\\* \\
6394 tar tf archive | sort
6397 tar cf archive testdir
6398 tar t \"testdir/dir1/*\" -f archive | sort
6401 tar cf archive testdir/dir1
6402 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6405 tar cf archive testdir
6406 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6410 echo exclude01.
at:20 >"$at_check_line_file"
6412 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6417 TEST_TAR_FORMAT
=oldgnu
6418 export TEST_TAR_FORMAT
6419 TAR_OPTIONS
="-H oldgnu"
6424 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6428 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6429 touch testdir
/dir
1/file1
6430 touch testdir
/dir
1/\
*
6431 touch testdir
/dir
2/file2
6432 touch testdir
/dir
2/\
*
6433 touch testdir
/dir
3/file3
6434 touch testdir
/dir
3/\
*
6436 tar cf archive
--exclude=testdir
/dir
1/\
* \
6438 --exclude=testdir
/dir
2/\
* \
6440 --exclude=testdir
/dir
3/\
* \
6442 tar tf archive |
sort
6445 tar cf archive testdir
6446 tar t
"testdir/dir1/*" -f archive |
sort
6449 tar cf archive testdir
/dir1
6450 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6453 tar cf archive testdir
6454 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6457 ) ) >"$at_stdout" 2>"$at_stder1"
6458 at_func_filter_trace $?
6463 TEST_TAR_FORMAT
=oldgnu
6464 export TEST_TAR_FORMAT
6465 TAR_OPTIONS
="-H oldgnu"
6470 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6474 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6475 touch testdir
/dir
1/file1
6476 touch testdir
/dir
1/\
*
6477 touch testdir
/dir
2/file2
6478 touch testdir
/dir
2/\
*
6479 touch testdir
/dir
3/file3
6480 touch testdir
/dir
3/\
*
6482 tar cf archive
--exclude=testdir
/dir
1/\
* \
6484 --exclude=testdir
/dir
2/\
* \
6486 --exclude=testdir
/dir
3/\
* \
6488 tar tf archive |
sort
6491 tar cf archive testdir
6492 tar t
"testdir/dir1/*" -f archive |
sort
6495 tar cf archive testdir
/dir1
6496 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6499 tar cf archive testdir
6500 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6503 ) ) >"$at_stdout" 2>"$at_stderr"
6507 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6508 echo >>"$at_stdout"; $as_echo "testdir/
6521 $at_diff - "$at_stdout" || at_failed
=:
6522 at_func_check_status
0 $at_status "$at_srcdir/exclude01.at:20"
6524 $at_failed && at_func_log_failure
6528 $as_echo "$at_srcdir/exclude01.at:20:
6531 TEST_TAR_FORMAT=ustar
6532 export TEST_TAR_FORMAT
6533 TAR_OPTIONS=\"-H ustar\"
6538 test -z "`sort < /dev/null 2>&1`" || exit 77
6542 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6543 touch testdir/dir1/file1
6544 touch testdir/dir1/\\*
6545 touch testdir/dir2/file2
6546 touch testdir/dir2/\\*
6547 touch testdir/dir3/file3
6548 touch testdir/dir3/\\*
6550 tar cf archive --exclude=testdir/dir1/\\* \\
6552 --exclude=testdir/dir2/\\* \\
6554 --exclude=testdir/dir3/\\* \\
6556 tar tf archive | sort
6559 tar cf archive testdir
6560 tar t \"testdir/dir1/*\" -f archive | sort
6563 tar cf archive testdir/dir1
6564 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6567 tar cf archive testdir
6568 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6572 echo exclude01.
at:20 >"$at_check_line_file"
6574 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6579 TEST_TAR_FORMAT
=ustar
6580 export TEST_TAR_FORMAT
6581 TAR_OPTIONS
="-H ustar"
6586 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6590 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6591 touch testdir
/dir
1/file1
6592 touch testdir
/dir
1/\
*
6593 touch testdir
/dir
2/file2
6594 touch testdir
/dir
2/\
*
6595 touch testdir
/dir
3/file3
6596 touch testdir
/dir
3/\
*
6598 tar cf archive
--exclude=testdir
/dir
1/\
* \
6600 --exclude=testdir
/dir
2/\
* \
6602 --exclude=testdir
/dir
3/\
* \
6604 tar tf archive |
sort
6607 tar cf archive testdir
6608 tar t
"testdir/dir1/*" -f archive |
sort
6611 tar cf archive testdir
/dir1
6612 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6615 tar cf archive testdir
6616 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6619 ) ) >"$at_stdout" 2>"$at_stder1"
6620 at_func_filter_trace $?
6625 TEST_TAR_FORMAT
=ustar
6626 export TEST_TAR_FORMAT
6627 TAR_OPTIONS
="-H ustar"
6632 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6636 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6637 touch testdir
/dir
1/file1
6638 touch testdir
/dir
1/\
*
6639 touch testdir
/dir
2/file2
6640 touch testdir
/dir
2/\
*
6641 touch testdir
/dir
3/file3
6642 touch testdir
/dir
3/\
*
6644 tar cf archive
--exclude=testdir
/dir
1/\
* \
6646 --exclude=testdir
/dir
2/\
* \
6648 --exclude=testdir
/dir
3/\
* \
6650 tar tf archive |
sort
6653 tar cf archive testdir
6654 tar t
"testdir/dir1/*" -f archive |
sort
6657 tar cf archive testdir
/dir1
6658 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6661 tar cf archive testdir
6662 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6665 ) ) >"$at_stdout" 2>"$at_stderr"
6669 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6670 echo >>"$at_stdout"; $as_echo "testdir/
6683 $at_diff - "$at_stdout" || at_failed
=:
6684 at_func_check_status
0 $at_status "$at_srcdir/exclude01.at:20"
6686 $at_failed && at_func_log_failure
6690 $as_echo "$at_srcdir/exclude01.at:20:
6693 TEST_TAR_FORMAT=posix
6694 export TEST_TAR_FORMAT
6695 TAR_OPTIONS=\"-H posix\"
6700 test -z "`sort < /dev/null 2>&1`" || exit 77
6704 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6705 touch testdir/dir1/file1
6706 touch testdir/dir1/\\*
6707 touch testdir/dir2/file2
6708 touch testdir/dir2/\\*
6709 touch testdir/dir3/file3
6710 touch testdir/dir3/\\*
6712 tar cf archive --exclude=testdir/dir1/\\* \\
6714 --exclude=testdir/dir2/\\* \\
6716 --exclude=testdir/dir3/\\* \\
6718 tar tf archive | sort
6721 tar cf archive testdir
6722 tar t \"testdir/dir1/*\" -f archive | sort
6725 tar cf archive testdir/dir1
6726 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6729 tar cf archive testdir
6730 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6734 echo exclude01.
at:20 >"$at_check_line_file"
6736 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6741 TEST_TAR_FORMAT
=posix
6742 export TEST_TAR_FORMAT
6743 TAR_OPTIONS
="-H posix"
6748 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6752 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6753 touch testdir
/dir
1/file1
6754 touch testdir
/dir
1/\
*
6755 touch testdir
/dir
2/file2
6756 touch testdir
/dir
2/\
*
6757 touch testdir
/dir
3/file3
6758 touch testdir
/dir
3/\
*
6760 tar cf archive
--exclude=testdir
/dir
1/\
* \
6762 --exclude=testdir
/dir
2/\
* \
6764 --exclude=testdir
/dir
3/\
* \
6766 tar tf archive |
sort
6769 tar cf archive testdir
6770 tar t
"testdir/dir1/*" -f archive |
sort
6773 tar cf archive testdir
/dir1
6774 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6777 tar cf archive testdir
6778 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6781 ) ) >"$at_stdout" 2>"$at_stder1"
6782 at_func_filter_trace $?
6787 TEST_TAR_FORMAT
=posix
6788 export TEST_TAR_FORMAT
6789 TAR_OPTIONS
="-H posix"
6794 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6798 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6799 touch testdir
/dir
1/file1
6800 touch testdir
/dir
1/\
*
6801 touch testdir
/dir
2/file2
6802 touch testdir
/dir
2/\
*
6803 touch testdir
/dir
3/file3
6804 touch testdir
/dir
3/\
*
6806 tar cf archive
--exclude=testdir
/dir
1/\
* \
6808 --exclude=testdir
/dir
2/\
* \
6810 --exclude=testdir
/dir
3/\
* \
6812 tar tf archive |
sort
6815 tar cf archive testdir
6816 tar t
"testdir/dir1/*" -f archive |
sort
6819 tar cf archive testdir
/dir1
6820 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6823 tar cf archive testdir
6824 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6827 ) ) >"$at_stdout" 2>"$at_stderr"
6831 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6832 echo >>"$at_stdout"; $as_echo "testdir/
6845 $at_diff - "$at_stdout" || at_failed
=:
6846 at_func_check_status
0 $at_status "$at_srcdir/exclude01.at:20"
6848 $at_failed && at_func_log_failure
6852 $as_echo "$at_srcdir/exclude01.at:20:
6856 export TEST_TAR_FORMAT
6857 TAR_OPTIONS=\"-H gnu\"
6862 test -z "`sort < /dev/null 2>&1`" || exit 77
6866 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6867 touch testdir/dir1/file1
6868 touch testdir/dir1/\\*
6869 touch testdir/dir2/file2
6870 touch testdir/dir2/\\*
6871 touch testdir/dir3/file3
6872 touch testdir/dir3/\\*
6874 tar cf archive --exclude=testdir/dir1/\\* \\
6876 --exclude=testdir/dir2/\\* \\
6878 --exclude=testdir/dir3/\\* \\
6880 tar tf archive | sort
6883 tar cf archive testdir
6884 tar t \"testdir/dir1/*\" -f archive | sort
6887 tar cf archive testdir/dir1
6888 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6891 tar cf archive testdir
6892 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6896 echo exclude01.
at:20 >"$at_check_line_file"
6898 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6904 export TEST_TAR_FORMAT
6905 TAR_OPTIONS
="-H gnu"
6910 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6914 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6915 touch testdir
/dir
1/file1
6916 touch testdir
/dir
1/\
*
6917 touch testdir
/dir
2/file2
6918 touch testdir
/dir
2/\
*
6919 touch testdir
/dir
3/file3
6920 touch testdir
/dir
3/\
*
6922 tar cf archive
--exclude=testdir
/dir
1/\
* \
6924 --exclude=testdir
/dir
2/\
* \
6926 --exclude=testdir
/dir
3/\
* \
6928 tar tf archive |
sort
6931 tar cf archive testdir
6932 tar t
"testdir/dir1/*" -f archive |
sort
6935 tar cf archive testdir
/dir1
6936 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6939 tar cf archive testdir
6940 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6943 ) ) >"$at_stdout" 2>"$at_stder1"
6944 at_func_filter_trace $?
6950 export TEST_TAR_FORMAT
6951 TAR_OPTIONS
="-H gnu"
6956 test -z "`sort < /dev/null 2>&1`" ||
exit 77
6960 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
6961 touch testdir
/dir
1/file1
6962 touch testdir
/dir
1/\
*
6963 touch testdir
/dir
2/file2
6964 touch testdir
/dir
2/\
*
6965 touch testdir
/dir
3/file3
6966 touch testdir
/dir
3/\
*
6968 tar cf archive
--exclude=testdir
/dir
1/\
* \
6970 --exclude=testdir
/dir
2/\
* \
6972 --exclude=testdir
/dir
3/\
* \
6974 tar tf archive |
sort
6977 tar cf archive testdir
6978 tar t
"testdir/dir1/*" -f archive |
sort
6981 tar cf archive testdir
/dir1
6982 tar t
--no-wildcards "testdir/dir1/*" -f archive |
sort
6985 tar cf archive testdir
6986 tar t
--wildcards "testdir/dir1/*" -f archive |
sort
6989 ) ) >"$at_stdout" 2>"$at_stderr"
6993 at_func_diff_devnull
"$at_stderr" || at_failed
=:
6994 echo >>"$at_stdout"; $as_echo "testdir/
7007 $at_diff - "$at_stdout" || at_failed
=:
7008 at_func_check_status
0 $at_status "$at_srcdir/exclude01.at:20"
7010 $at_failed && at_func_log_failure
7017 $at_times_p && times >"$at_times_file"
7018 ) 5>&1 2>&1 |
eval $at_tee_pipe
7019 at_status
=`cat "$at_status_file"`
7022 # 17. exclude02.at:17: exclude: anchoring
7023 at_setup_line
='exclude02.at:17'
7024 at_desc
="exclude: anchoring"
7025 $at_quiet $as_echo_n " 17: $at_desc "
7027 test -f $XFAILFILE && at_xfail
=yes
7028 echo "# -*- compilation -*-" >> "$at_group_log"
7030 $as_echo "17. exclude02.at:17: testing ..."
7038 $as_echo "$at_srcdir/exclude02.at:20:
7042 export TEST_TAR_FORMAT
7043 TAR_OPTIONS=\"-H v7\"
7048 test -z "`sort < /dev/null 2>&1`" || exit 77
7054 touch testdir/file1.txt
7057 tar cf archive --exclude=\"file1.txt\" \\
7059 tar tf archive | sort
7062 tar cf archive --no-anchored \\
7063 --exclude=\"file1.txt\" \\
7065 tar tf archive | sort
7068 tar cf archive --anchored \\
7069 --exclude=\"file1.txt\" \\
7071 tar tf archive | sort
7074 tar cf archive testdir file1.txt
7075 tar t \"file1.txt\" -f archive | sort
7078 tar t --no-anchored \"file1.txt\" -f archive | sort
7081 tar t --anchored \"file1.txt\" -f archive | sort
7083 rm -rf testdir file1.txt
7086 echo exclude02.
at:20 >"$at_check_line_file"
7088 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7094 export TEST_TAR_FORMAT
7100 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7106 touch testdir
/file1.txt
7109 tar cf archive
--exclude="file1.txt" \
7111 tar tf archive |
sort
7114 tar cf archive
--no-anchored \
7115 --exclude="file1.txt" \
7117 tar tf archive |
sort
7120 tar cf archive
--anchored \
7121 --exclude="file1.txt" \
7123 tar tf archive |
sort
7126 tar cf archive testdir file1.txt
7127 tar t
"file1.txt" -f archive |
sort
7130 tar t
--no-anchored "file1.txt" -f archive |
sort
7133 tar t
--anchored "file1.txt" -f archive |
sort
7135 rm -rf testdir file1.txt
7137 ) ) >"$at_stdout" 2>"$at_stder1"
7138 at_func_filter_trace $?
7144 export TEST_TAR_FORMAT
7150 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7156 touch testdir
/file1.txt
7159 tar cf archive
--exclude="file1.txt" \
7161 tar tf archive |
sort
7164 tar cf archive
--no-anchored \
7165 --exclude="file1.txt" \
7167 tar tf archive |
sort
7170 tar cf archive
--anchored \
7171 --exclude="file1.txt" \
7173 tar tf archive |
sort
7176 tar cf archive testdir file1.txt
7177 tar t
"file1.txt" -f archive |
sort
7180 tar t
--no-anchored "file1.txt" -f archive |
sort
7183 tar t
--anchored "file1.txt" -f archive |
sort
7185 rm -rf testdir file1.txt
7187 ) ) >"$at_stdout" 2>"$at_stderr"
7191 at_func_diff_devnull
"$at_stderr" || at_failed
=:
7192 echo >>"$at_stdout"; $as_echo "testdir/
7209 $at_diff - "$at_stdout" || at_failed
=:
7210 at_func_check_status
0 $at_status "$at_srcdir/exclude02.at:20"
7212 $at_failed && at_func_log_failure
7216 $as_echo "$at_srcdir/exclude02.at:20:
7219 TEST_TAR_FORMAT=oldgnu
7220 export TEST_TAR_FORMAT
7221 TAR_OPTIONS=\"-H oldgnu\"
7226 test -z "`sort < /dev/null 2>&1`" || exit 77
7232 touch testdir/file1.txt
7235 tar cf archive --exclude=\"file1.txt\" \\
7237 tar tf archive | sort
7240 tar cf archive --no-anchored \\
7241 --exclude=\"file1.txt\" \\
7243 tar tf archive | sort
7246 tar cf archive --anchored \\
7247 --exclude=\"file1.txt\" \\
7249 tar tf archive | sort
7252 tar cf archive testdir file1.txt
7253 tar t \"file1.txt\" -f archive | sort
7256 tar t --no-anchored \"file1.txt\" -f archive | sort
7259 tar t --anchored \"file1.txt\" -f archive | sort
7261 rm -rf testdir file1.txt
7264 echo exclude02.
at:20 >"$at_check_line_file"
7266 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7271 TEST_TAR_FORMAT
=oldgnu
7272 export TEST_TAR_FORMAT
7273 TAR_OPTIONS
="-H oldgnu"
7278 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7284 touch testdir
/file1.txt
7287 tar cf archive
--exclude="file1.txt" \
7289 tar tf archive |
sort
7292 tar cf archive
--no-anchored \
7293 --exclude="file1.txt" \
7295 tar tf archive |
sort
7298 tar cf archive
--anchored \
7299 --exclude="file1.txt" \
7301 tar tf archive |
sort
7304 tar cf archive testdir file1.txt
7305 tar t
"file1.txt" -f archive |
sort
7308 tar t
--no-anchored "file1.txt" -f archive |
sort
7311 tar t
--anchored "file1.txt" -f archive |
sort
7313 rm -rf testdir file1.txt
7315 ) ) >"$at_stdout" 2>"$at_stder1"
7316 at_func_filter_trace $?
7321 TEST_TAR_FORMAT
=oldgnu
7322 export TEST_TAR_FORMAT
7323 TAR_OPTIONS
="-H oldgnu"
7328 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7334 touch testdir
/file1.txt
7337 tar cf archive
--exclude="file1.txt" \
7339 tar tf archive |
sort
7342 tar cf archive
--no-anchored \
7343 --exclude="file1.txt" \
7345 tar tf archive |
sort
7348 tar cf archive
--anchored \
7349 --exclude="file1.txt" \
7351 tar tf archive |
sort
7354 tar cf archive testdir file1.txt
7355 tar t
"file1.txt" -f archive |
sort
7358 tar t
--no-anchored "file1.txt" -f archive |
sort
7361 tar t
--anchored "file1.txt" -f archive |
sort
7363 rm -rf testdir file1.txt
7365 ) ) >"$at_stdout" 2>"$at_stderr"
7369 at_func_diff_devnull
"$at_stderr" || at_failed
=:
7370 echo >>"$at_stdout"; $as_echo "testdir/
7387 $at_diff - "$at_stdout" || at_failed
=:
7388 at_func_check_status
0 $at_status "$at_srcdir/exclude02.at:20"
7390 $at_failed && at_func_log_failure
7394 $as_echo "$at_srcdir/exclude02.at:20:
7397 TEST_TAR_FORMAT=ustar
7398 export TEST_TAR_FORMAT
7399 TAR_OPTIONS=\"-H ustar\"
7404 test -z "`sort < /dev/null 2>&1`" || exit 77
7410 touch testdir/file1.txt
7413 tar cf archive --exclude=\"file1.txt\" \\
7415 tar tf archive | sort
7418 tar cf archive --no-anchored \\
7419 --exclude=\"file1.txt\" \\
7421 tar tf archive | sort
7424 tar cf archive --anchored \\
7425 --exclude=\"file1.txt\" \\
7427 tar tf archive | sort
7430 tar cf archive testdir file1.txt
7431 tar t \"file1.txt\" -f archive | sort
7434 tar t --no-anchored \"file1.txt\" -f archive | sort
7437 tar t --anchored \"file1.txt\" -f archive | sort
7439 rm -rf testdir file1.txt
7442 echo exclude02.
at:20 >"$at_check_line_file"
7444 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7449 TEST_TAR_FORMAT
=ustar
7450 export TEST_TAR_FORMAT
7451 TAR_OPTIONS
="-H ustar"
7456 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7462 touch testdir
/file1.txt
7465 tar cf archive
--exclude="file1.txt" \
7467 tar tf archive |
sort
7470 tar cf archive
--no-anchored \
7471 --exclude="file1.txt" \
7473 tar tf archive |
sort
7476 tar cf archive
--anchored \
7477 --exclude="file1.txt" \
7479 tar tf archive |
sort
7482 tar cf archive testdir file1.txt
7483 tar t
"file1.txt" -f archive |
sort
7486 tar t
--no-anchored "file1.txt" -f archive |
sort
7489 tar t
--anchored "file1.txt" -f archive |
sort
7491 rm -rf testdir file1.txt
7493 ) ) >"$at_stdout" 2>"$at_stder1"
7494 at_func_filter_trace $?
7499 TEST_TAR_FORMAT
=ustar
7500 export TEST_TAR_FORMAT
7501 TAR_OPTIONS
="-H ustar"
7506 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7512 touch testdir
/file1.txt
7515 tar cf archive
--exclude="file1.txt" \
7517 tar tf archive |
sort
7520 tar cf archive
--no-anchored \
7521 --exclude="file1.txt" \
7523 tar tf archive |
sort
7526 tar cf archive
--anchored \
7527 --exclude="file1.txt" \
7529 tar tf archive |
sort
7532 tar cf archive testdir file1.txt
7533 tar t
"file1.txt" -f archive |
sort
7536 tar t
--no-anchored "file1.txt" -f archive |
sort
7539 tar t
--anchored "file1.txt" -f archive |
sort
7541 rm -rf testdir file1.txt
7543 ) ) >"$at_stdout" 2>"$at_stderr"
7547 at_func_diff_devnull
"$at_stderr" || at_failed
=:
7548 echo >>"$at_stdout"; $as_echo "testdir/
7565 $at_diff - "$at_stdout" || at_failed
=:
7566 at_func_check_status
0 $at_status "$at_srcdir/exclude02.at:20"
7568 $at_failed && at_func_log_failure
7572 $as_echo "$at_srcdir/exclude02.at:20:
7575 TEST_TAR_FORMAT=posix
7576 export TEST_TAR_FORMAT
7577 TAR_OPTIONS=\"-H posix\"
7582 test -z "`sort < /dev/null 2>&1`" || exit 77
7588 touch testdir/file1.txt
7591 tar cf archive --exclude=\"file1.txt\" \\
7593 tar tf archive | sort
7596 tar cf archive --no-anchored \\
7597 --exclude=\"file1.txt\" \\
7599 tar tf archive | sort
7602 tar cf archive --anchored \\
7603 --exclude=\"file1.txt\" \\
7605 tar tf archive | sort
7608 tar cf archive testdir file1.txt
7609 tar t \"file1.txt\" -f archive | sort
7612 tar t --no-anchored \"file1.txt\" -f archive | sort
7615 tar t --anchored \"file1.txt\" -f archive | sort
7617 rm -rf testdir file1.txt
7620 echo exclude02.
at:20 >"$at_check_line_file"
7622 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7627 TEST_TAR_FORMAT
=posix
7628 export TEST_TAR_FORMAT
7629 TAR_OPTIONS
="-H posix"
7634 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7640 touch testdir
/file1.txt
7643 tar cf archive
--exclude="file1.txt" \
7645 tar tf archive |
sort
7648 tar cf archive
--no-anchored \
7649 --exclude="file1.txt" \
7651 tar tf archive |
sort
7654 tar cf archive
--anchored \
7655 --exclude="file1.txt" \
7657 tar tf archive |
sort
7660 tar cf archive testdir file1.txt
7661 tar t
"file1.txt" -f archive |
sort
7664 tar t
--no-anchored "file1.txt" -f archive |
sort
7667 tar t
--anchored "file1.txt" -f archive |
sort
7669 rm -rf testdir file1.txt
7671 ) ) >"$at_stdout" 2>"$at_stder1"
7672 at_func_filter_trace $?
7677 TEST_TAR_FORMAT
=posix
7678 export TEST_TAR_FORMAT
7679 TAR_OPTIONS
="-H posix"
7684 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7690 touch testdir
/file1.txt
7693 tar cf archive
--exclude="file1.txt" \
7695 tar tf archive |
sort
7698 tar cf archive
--no-anchored \
7699 --exclude="file1.txt" \
7701 tar tf archive |
sort
7704 tar cf archive
--anchored \
7705 --exclude="file1.txt" \
7707 tar tf archive |
sort
7710 tar cf archive testdir file1.txt
7711 tar t
"file1.txt" -f archive |
sort
7714 tar t
--no-anchored "file1.txt" -f archive |
sort
7717 tar t
--anchored "file1.txt" -f archive |
sort
7719 rm -rf testdir file1.txt
7721 ) ) >"$at_stdout" 2>"$at_stderr"
7725 at_func_diff_devnull
"$at_stderr" || at_failed
=:
7726 echo >>"$at_stdout"; $as_echo "testdir/
7743 $at_diff - "$at_stdout" || at_failed
=:
7744 at_func_check_status
0 $at_status "$at_srcdir/exclude02.at:20"
7746 $at_failed && at_func_log_failure
7750 $as_echo "$at_srcdir/exclude02.at:20:
7754 export TEST_TAR_FORMAT
7755 TAR_OPTIONS=\"-H gnu\"
7760 test -z "`sort < /dev/null 2>&1`" || exit 77
7766 touch testdir/file1.txt
7769 tar cf archive --exclude=\"file1.txt\" \\
7771 tar tf archive | sort
7774 tar cf archive --no-anchored \\
7775 --exclude=\"file1.txt\" \\
7777 tar tf archive | sort
7780 tar cf archive --anchored \\
7781 --exclude=\"file1.txt\" \\
7783 tar tf archive | sort
7786 tar cf archive testdir file1.txt
7787 tar t \"file1.txt\" -f archive | sort
7790 tar t --no-anchored \"file1.txt\" -f archive | sort
7793 tar t --anchored \"file1.txt\" -f archive | sort
7795 rm -rf testdir file1.txt
7798 echo exclude02.
at:20 >"$at_check_line_file"
7800 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7806 export TEST_TAR_FORMAT
7807 TAR_OPTIONS
="-H gnu"
7812 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7818 touch testdir
/file1.txt
7821 tar cf archive
--exclude="file1.txt" \
7823 tar tf archive |
sort
7826 tar cf archive
--no-anchored \
7827 --exclude="file1.txt" \
7829 tar tf archive |
sort
7832 tar cf archive
--anchored \
7833 --exclude="file1.txt" \
7835 tar tf archive |
sort
7838 tar cf archive testdir file1.txt
7839 tar t
"file1.txt" -f archive |
sort
7842 tar t
--no-anchored "file1.txt" -f archive |
sort
7845 tar t
--anchored "file1.txt" -f archive |
sort
7847 rm -rf testdir file1.txt
7849 ) ) >"$at_stdout" 2>"$at_stder1"
7850 at_func_filter_trace $?
7856 export TEST_TAR_FORMAT
7857 TAR_OPTIONS
="-H gnu"
7862 test -z "`sort < /dev/null 2>&1`" ||
exit 77
7868 touch testdir
/file1.txt
7871 tar cf archive
--exclude="file1.txt" \
7873 tar tf archive |
sort
7876 tar cf archive
--no-anchored \
7877 --exclude="file1.txt" \
7879 tar tf archive |
sort
7882 tar cf archive
--anchored \
7883 --exclude="file1.txt" \
7885 tar tf archive |
sort
7888 tar cf archive testdir file1.txt
7889 tar t
"file1.txt" -f archive |
sort
7892 tar t
--no-anchored "file1.txt" -f archive |
sort
7895 tar t
--anchored "file1.txt" -f archive |
sort
7897 rm -rf testdir file1.txt
7899 ) ) >"$at_stdout" 2>"$at_stderr"
7903 at_func_diff_devnull
"$at_stderr" || at_failed
=:
7904 echo >>"$at_stdout"; $as_echo "testdir/
7921 $at_diff - "$at_stdout" || at_failed
=:
7922 at_func_check_status
0 $at_status "$at_srcdir/exclude02.at:20"
7924 $at_failed && at_func_log_failure
7931 $at_times_p && times >"$at_times_file"
7932 ) 5>&1 2>&1 |
eval $at_tee_pipe
7933 at_status
=`cat "$at_status_file"`
7936 # 18. exclude03.at:17: exclude: wildcards match slash
7937 at_setup_line
='exclude03.at:17'
7938 at_desc
="exclude: wildcards match slash"
7939 $at_quiet $as_echo_n " 18: $at_desc "
7941 test -f $XFAILFILE && at_xfail
=yes
7942 echo "# -*- compilation -*-" >> "$at_group_log"
7944 $as_echo "18. exclude03.at:17: testing ..."
7952 $as_echo "$at_srcdir/exclude03.at:20:
7956 export TEST_TAR_FORMAT
7957 TAR_OPTIONS=\"-H v7\"
7962 test -z "`sort < /dev/null 2>&1`" || exit 77
7966 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7967 touch testdir/\\*f\\*1
7968 touch testdir/dir1/file1
7969 touch testdir/dir1/\\*
7970 touch testdir/dir2/file2
7971 touch testdir/dir2/\\*
7972 touch testdir/dir3/file3
7973 touch testdir/dir3/\\*
7975 tar cf archive --exclude='testdir*f*1' \\
7976 --no-wildcards-match-slash \\
7977 --exclude='testdir*f*2' \\
7978 --wildcards-match-slash \\
7979 --exclude='testdir*f*3' \\
7981 tar tf archive | sort
7984 tar cf archive testdir
7985 tar t --wildcards 'testdir/*f*1' -f archive | sort
7988 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7991 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7996 echo exclude03.
at:20 >"$at_check_line_file"
7998 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8004 export TEST_TAR_FORMAT
8010 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8014 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8015 touch testdir
/\
*f\
*1
8016 touch testdir
/dir
1/file1
8017 touch testdir
/dir
1/\
*
8018 touch testdir
/dir
2/file2
8019 touch testdir
/dir
2/\
*
8020 touch testdir
/dir
3/file3
8021 touch testdir
/dir
3/\
*
8023 tar cf archive
--exclude='testdir*f*1' \
8024 --no-wildcards-match-slash \
8025 --exclude='testdir*f*2' \
8026 --wildcards-match-slash \
8027 --exclude='testdir*f*3' \
8029 tar tf archive |
sort
8032 tar cf archive testdir
8033 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8036 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8039 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8043 ) ) >"$at_stdout" 2>"$at_stder1"
8044 at_func_filter_trace $?
8050 export TEST_TAR_FORMAT
8056 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8060 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8061 touch testdir
/\
*f\
*1
8062 touch testdir
/dir
1/file1
8063 touch testdir
/dir
1/\
*
8064 touch testdir
/dir
2/file2
8065 touch testdir
/dir
2/\
*
8066 touch testdir
/dir
3/file3
8067 touch testdir
/dir
3/\
*
8069 tar cf archive
--exclude='testdir*f*1' \
8070 --no-wildcards-match-slash \
8071 --exclude='testdir*f*2' \
8072 --wildcards-match-slash \
8073 --exclude='testdir*f*3' \
8075 tar tf archive |
sort
8078 tar cf archive testdir
8079 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8082 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8085 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8089 ) ) >"$at_stdout" 2>"$at_stderr"
8093 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8094 echo >>"$at_stdout"; $as_echo "testdir/
8111 $at_diff - "$at_stdout" || at_failed
=:
8112 at_func_check_status
0 $at_status "$at_srcdir/exclude03.at:20"
8114 $at_failed && at_func_log_failure
8118 $as_echo "$at_srcdir/exclude03.at:20:
8121 TEST_TAR_FORMAT=oldgnu
8122 export TEST_TAR_FORMAT
8123 TAR_OPTIONS=\"-H oldgnu\"
8128 test -z "`sort < /dev/null 2>&1`" || exit 77
8132 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8133 touch testdir/\\*f\\*1
8134 touch testdir/dir1/file1
8135 touch testdir/dir1/\\*
8136 touch testdir/dir2/file2
8137 touch testdir/dir2/\\*
8138 touch testdir/dir3/file3
8139 touch testdir/dir3/\\*
8141 tar cf archive --exclude='testdir*f*1' \\
8142 --no-wildcards-match-slash \\
8143 --exclude='testdir*f*2' \\
8144 --wildcards-match-slash \\
8145 --exclude='testdir*f*3' \\
8147 tar tf archive | sort
8150 tar cf archive testdir
8151 tar t --wildcards 'testdir/*f*1' -f archive | sort
8154 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8157 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8162 echo exclude03.
at:20 >"$at_check_line_file"
8164 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8169 TEST_TAR_FORMAT
=oldgnu
8170 export TEST_TAR_FORMAT
8171 TAR_OPTIONS
="-H oldgnu"
8176 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8180 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8181 touch testdir
/\
*f\
*1
8182 touch testdir
/dir
1/file1
8183 touch testdir
/dir
1/\
*
8184 touch testdir
/dir
2/file2
8185 touch testdir
/dir
2/\
*
8186 touch testdir
/dir
3/file3
8187 touch testdir
/dir
3/\
*
8189 tar cf archive
--exclude='testdir*f*1' \
8190 --no-wildcards-match-slash \
8191 --exclude='testdir*f*2' \
8192 --wildcards-match-slash \
8193 --exclude='testdir*f*3' \
8195 tar tf archive |
sort
8198 tar cf archive testdir
8199 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8202 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8205 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8209 ) ) >"$at_stdout" 2>"$at_stder1"
8210 at_func_filter_trace $?
8215 TEST_TAR_FORMAT
=oldgnu
8216 export TEST_TAR_FORMAT
8217 TAR_OPTIONS
="-H oldgnu"
8222 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8226 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8227 touch testdir
/\
*f\
*1
8228 touch testdir
/dir
1/file1
8229 touch testdir
/dir
1/\
*
8230 touch testdir
/dir
2/file2
8231 touch testdir
/dir
2/\
*
8232 touch testdir
/dir
3/file3
8233 touch testdir
/dir
3/\
*
8235 tar cf archive
--exclude='testdir*f*1' \
8236 --no-wildcards-match-slash \
8237 --exclude='testdir*f*2' \
8238 --wildcards-match-slash \
8239 --exclude='testdir*f*3' \
8241 tar tf archive |
sort
8244 tar cf archive testdir
8245 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8248 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8251 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8255 ) ) >"$at_stdout" 2>"$at_stderr"
8259 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8260 echo >>"$at_stdout"; $as_echo "testdir/
8277 $at_diff - "$at_stdout" || at_failed
=:
8278 at_func_check_status
0 $at_status "$at_srcdir/exclude03.at:20"
8280 $at_failed && at_func_log_failure
8284 $as_echo "$at_srcdir/exclude03.at:20:
8287 TEST_TAR_FORMAT=ustar
8288 export TEST_TAR_FORMAT
8289 TAR_OPTIONS=\"-H ustar\"
8294 test -z "`sort < /dev/null 2>&1`" || exit 77
8298 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8299 touch testdir/\\*f\\*1
8300 touch testdir/dir1/file1
8301 touch testdir/dir1/\\*
8302 touch testdir/dir2/file2
8303 touch testdir/dir2/\\*
8304 touch testdir/dir3/file3
8305 touch testdir/dir3/\\*
8307 tar cf archive --exclude='testdir*f*1' \\
8308 --no-wildcards-match-slash \\
8309 --exclude='testdir*f*2' \\
8310 --wildcards-match-slash \\
8311 --exclude='testdir*f*3' \\
8313 tar tf archive | sort
8316 tar cf archive testdir
8317 tar t --wildcards 'testdir/*f*1' -f archive | sort
8320 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8323 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8328 echo exclude03.
at:20 >"$at_check_line_file"
8330 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8335 TEST_TAR_FORMAT
=ustar
8336 export TEST_TAR_FORMAT
8337 TAR_OPTIONS
="-H ustar"
8342 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8346 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8347 touch testdir
/\
*f\
*1
8348 touch testdir
/dir
1/file1
8349 touch testdir
/dir
1/\
*
8350 touch testdir
/dir
2/file2
8351 touch testdir
/dir
2/\
*
8352 touch testdir
/dir
3/file3
8353 touch testdir
/dir
3/\
*
8355 tar cf archive
--exclude='testdir*f*1' \
8356 --no-wildcards-match-slash \
8357 --exclude='testdir*f*2' \
8358 --wildcards-match-slash \
8359 --exclude='testdir*f*3' \
8361 tar tf archive |
sort
8364 tar cf archive testdir
8365 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8368 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8371 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8375 ) ) >"$at_stdout" 2>"$at_stder1"
8376 at_func_filter_trace $?
8381 TEST_TAR_FORMAT
=ustar
8382 export TEST_TAR_FORMAT
8383 TAR_OPTIONS
="-H ustar"
8388 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8392 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8393 touch testdir
/\
*f\
*1
8394 touch testdir
/dir
1/file1
8395 touch testdir
/dir
1/\
*
8396 touch testdir
/dir
2/file2
8397 touch testdir
/dir
2/\
*
8398 touch testdir
/dir
3/file3
8399 touch testdir
/dir
3/\
*
8401 tar cf archive
--exclude='testdir*f*1' \
8402 --no-wildcards-match-slash \
8403 --exclude='testdir*f*2' \
8404 --wildcards-match-slash \
8405 --exclude='testdir*f*3' \
8407 tar tf archive |
sort
8410 tar cf archive testdir
8411 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8414 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8417 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8421 ) ) >"$at_stdout" 2>"$at_stderr"
8425 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8426 echo >>"$at_stdout"; $as_echo "testdir/
8443 $at_diff - "$at_stdout" || at_failed
=:
8444 at_func_check_status
0 $at_status "$at_srcdir/exclude03.at:20"
8446 $at_failed && at_func_log_failure
8450 $as_echo "$at_srcdir/exclude03.at:20:
8453 TEST_TAR_FORMAT=posix
8454 export TEST_TAR_FORMAT
8455 TAR_OPTIONS=\"-H posix\"
8460 test -z "`sort < /dev/null 2>&1`" || exit 77
8464 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8465 touch testdir/\\*f\\*1
8466 touch testdir/dir1/file1
8467 touch testdir/dir1/\\*
8468 touch testdir/dir2/file2
8469 touch testdir/dir2/\\*
8470 touch testdir/dir3/file3
8471 touch testdir/dir3/\\*
8473 tar cf archive --exclude='testdir*f*1' \\
8474 --no-wildcards-match-slash \\
8475 --exclude='testdir*f*2' \\
8476 --wildcards-match-slash \\
8477 --exclude='testdir*f*3' \\
8479 tar tf archive | sort
8482 tar cf archive testdir
8483 tar t --wildcards 'testdir/*f*1' -f archive | sort
8486 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8489 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8494 echo exclude03.
at:20 >"$at_check_line_file"
8496 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8501 TEST_TAR_FORMAT
=posix
8502 export TEST_TAR_FORMAT
8503 TAR_OPTIONS
="-H posix"
8508 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8512 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8513 touch testdir
/\
*f\
*1
8514 touch testdir
/dir
1/file1
8515 touch testdir
/dir
1/\
*
8516 touch testdir
/dir
2/file2
8517 touch testdir
/dir
2/\
*
8518 touch testdir
/dir
3/file3
8519 touch testdir
/dir
3/\
*
8521 tar cf archive
--exclude='testdir*f*1' \
8522 --no-wildcards-match-slash \
8523 --exclude='testdir*f*2' \
8524 --wildcards-match-slash \
8525 --exclude='testdir*f*3' \
8527 tar tf archive |
sort
8530 tar cf archive testdir
8531 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8534 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8537 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8541 ) ) >"$at_stdout" 2>"$at_stder1"
8542 at_func_filter_trace $?
8547 TEST_TAR_FORMAT
=posix
8548 export TEST_TAR_FORMAT
8549 TAR_OPTIONS
="-H posix"
8554 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8558 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8559 touch testdir
/\
*f\
*1
8560 touch testdir
/dir
1/file1
8561 touch testdir
/dir
1/\
*
8562 touch testdir
/dir
2/file2
8563 touch testdir
/dir
2/\
*
8564 touch testdir
/dir
3/file3
8565 touch testdir
/dir
3/\
*
8567 tar cf archive
--exclude='testdir*f*1' \
8568 --no-wildcards-match-slash \
8569 --exclude='testdir*f*2' \
8570 --wildcards-match-slash \
8571 --exclude='testdir*f*3' \
8573 tar tf archive |
sort
8576 tar cf archive testdir
8577 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8580 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8583 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8587 ) ) >"$at_stdout" 2>"$at_stderr"
8591 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8592 echo >>"$at_stdout"; $as_echo "testdir/
8609 $at_diff - "$at_stdout" || at_failed
=:
8610 at_func_check_status
0 $at_status "$at_srcdir/exclude03.at:20"
8612 $at_failed && at_func_log_failure
8616 $as_echo "$at_srcdir/exclude03.at:20:
8620 export TEST_TAR_FORMAT
8621 TAR_OPTIONS=\"-H gnu\"
8626 test -z "`sort < /dev/null 2>&1`" || exit 77
8630 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8631 touch testdir/\\*f\\*1
8632 touch testdir/dir1/file1
8633 touch testdir/dir1/\\*
8634 touch testdir/dir2/file2
8635 touch testdir/dir2/\\*
8636 touch testdir/dir3/file3
8637 touch testdir/dir3/\\*
8639 tar cf archive --exclude='testdir*f*1' \\
8640 --no-wildcards-match-slash \\
8641 --exclude='testdir*f*2' \\
8642 --wildcards-match-slash \\
8643 --exclude='testdir*f*3' \\
8645 tar tf archive | sort
8648 tar cf archive testdir
8649 tar t --wildcards 'testdir/*f*1' -f archive | sort
8652 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8655 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8660 echo exclude03.
at:20 >"$at_check_line_file"
8662 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8668 export TEST_TAR_FORMAT
8669 TAR_OPTIONS
="-H gnu"
8674 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8678 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8679 touch testdir
/\
*f\
*1
8680 touch testdir
/dir
1/file1
8681 touch testdir
/dir
1/\
*
8682 touch testdir
/dir
2/file2
8683 touch testdir
/dir
2/\
*
8684 touch testdir
/dir
3/file3
8685 touch testdir
/dir
3/\
*
8687 tar cf archive
--exclude='testdir*f*1' \
8688 --no-wildcards-match-slash \
8689 --exclude='testdir*f*2' \
8690 --wildcards-match-slash \
8691 --exclude='testdir*f*3' \
8693 tar tf archive |
sort
8696 tar cf archive testdir
8697 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8700 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8703 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8707 ) ) >"$at_stdout" 2>"$at_stder1"
8708 at_func_filter_trace $?
8714 export TEST_TAR_FORMAT
8715 TAR_OPTIONS
="-H gnu"
8720 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8724 mkdir
-p testdir
/dir1 testdir
/dir2 testdir
/dir3
8725 touch testdir
/\
*f\
*1
8726 touch testdir
/dir
1/file1
8727 touch testdir
/dir
1/\
*
8728 touch testdir
/dir
2/file2
8729 touch testdir
/dir
2/\
*
8730 touch testdir
/dir
3/file3
8731 touch testdir
/dir
3/\
*
8733 tar cf archive
--exclude='testdir*f*1' \
8734 --no-wildcards-match-slash \
8735 --exclude='testdir*f*2' \
8736 --wildcards-match-slash \
8737 --exclude='testdir*f*3' \
8739 tar tf archive |
sort
8742 tar cf archive testdir
8743 tar t
--wildcards 'testdir/*f*1' -f archive |
sort
8746 tar t
--wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8749 tar t
--wildcards --wildcards-match-slash 'testdir/*f*1' -f archive |
sort
8753 ) ) >"$at_stdout" 2>"$at_stderr"
8757 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8758 echo >>"$at_stdout"; $as_echo "testdir/
8775 $at_diff - "$at_stdout" || at_failed
=:
8776 at_func_check_status
0 $at_status "$at_srcdir/exclude03.at:20"
8778 $at_failed && at_func_log_failure
8785 $at_times_p && times >"$at_times_file"
8786 ) 5>&1 2>&1 |
eval $at_tee_pipe
8787 at_status
=`cat "$at_status_file"`
8790 # 19. exclude04.at:17: exclude: case insensitive
8791 at_setup_line
='exclude04.at:17'
8792 at_desc
="exclude: case insensitive"
8793 $at_quiet $as_echo_n " 19: $at_desc "
8795 test -f $XFAILFILE && at_xfail
=yes
8796 echo "# -*- compilation -*-" >> "$at_group_log"
8798 $as_echo "19. exclude04.at:17: testing ..."
8806 $as_echo "$at_srcdir/exclude04.at:20:
8810 export TEST_TAR_FORMAT
8811 TAR_OPTIONS=\"-H v7\"
8816 test -z "`sort < /dev/null 2>&1`" || exit 77
8820 mkdir -p testdir/dir
8825 touch testdir/dir/File1
8826 touch testdir/dir/File2
8827 touch testdir/dir/File3
8828 touch testdir/dir/File4
8830 tar cf archive --exclude=FILE2 \\
8838 tar tf archive | sort
8841 tar cf archive testdir
8842 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8845 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8848 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8853 echo exclude04.
at:20 >"$at_check_line_file"
8855 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8861 export TEST_TAR_FORMAT
8867 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8871 mkdir
-p testdir
/dir
8876 touch testdir
/dir
/File1
8877 touch testdir
/dir
/File2
8878 touch testdir
/dir
/File3
8879 touch testdir
/dir
/File4
8881 tar cf archive
--exclude=FILE2 \
8889 tar tf archive |
sort
8892 tar cf archive testdir
8893 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
8896 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
8899 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
8903 ) ) >"$at_stdout" 2>"$at_stder1"
8904 at_func_filter_trace $?
8910 export TEST_TAR_FORMAT
8916 test -z "`sort < /dev/null 2>&1`" ||
exit 77
8920 mkdir
-p testdir
/dir
8925 touch testdir
/dir
/File1
8926 touch testdir
/dir
/File2
8927 touch testdir
/dir
/File3
8928 touch testdir
/dir
/File4
8930 tar cf archive
--exclude=FILE2 \
8938 tar tf archive |
sort
8941 tar cf archive testdir
8942 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
8945 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
8948 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
8952 ) ) >"$at_stdout" 2>"$at_stderr"
8956 at_func_diff_devnull
"$at_stderr" || at_failed
=:
8957 echo >>"$at_stdout"; $as_echo "testdir/
8971 $at_diff - "$at_stdout" || at_failed
=:
8972 at_func_check_status
0 $at_status "$at_srcdir/exclude04.at:20"
8974 $at_failed && at_func_log_failure
8978 $as_echo "$at_srcdir/exclude04.at:20:
8981 TEST_TAR_FORMAT=oldgnu
8982 export TEST_TAR_FORMAT
8983 TAR_OPTIONS=\"-H oldgnu\"
8988 test -z "`sort < /dev/null 2>&1`" || exit 77
8992 mkdir -p testdir/dir
8997 touch testdir/dir/File1
8998 touch testdir/dir/File2
8999 touch testdir/dir/File3
9000 touch testdir/dir/File4
9002 tar cf archive --exclude=FILE2 \\
9010 tar tf archive | sort
9013 tar cf archive testdir
9014 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9017 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9020 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9025 echo exclude04.
at:20 >"$at_check_line_file"
9027 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9032 TEST_TAR_FORMAT
=oldgnu
9033 export TEST_TAR_FORMAT
9034 TAR_OPTIONS
="-H oldgnu"
9039 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9043 mkdir
-p testdir
/dir
9048 touch testdir
/dir
/File1
9049 touch testdir
/dir
/File2
9050 touch testdir
/dir
/File3
9051 touch testdir
/dir
/File4
9053 tar cf archive
--exclude=FILE2 \
9061 tar tf archive |
sort
9064 tar cf archive testdir
9065 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9068 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9071 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9075 ) ) >"$at_stdout" 2>"$at_stder1"
9076 at_func_filter_trace $?
9081 TEST_TAR_FORMAT
=oldgnu
9082 export TEST_TAR_FORMAT
9083 TAR_OPTIONS
="-H oldgnu"
9088 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9092 mkdir
-p testdir
/dir
9097 touch testdir
/dir
/File1
9098 touch testdir
/dir
/File2
9099 touch testdir
/dir
/File3
9100 touch testdir
/dir
/File4
9102 tar cf archive
--exclude=FILE2 \
9110 tar tf archive |
sort
9113 tar cf archive testdir
9114 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9117 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9120 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9124 ) ) >"$at_stdout" 2>"$at_stderr"
9128 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9129 echo >>"$at_stdout"; $as_echo "testdir/
9143 $at_diff - "$at_stdout" || at_failed
=:
9144 at_func_check_status
0 $at_status "$at_srcdir/exclude04.at:20"
9146 $at_failed && at_func_log_failure
9150 $as_echo "$at_srcdir/exclude04.at:20:
9153 TEST_TAR_FORMAT=ustar
9154 export TEST_TAR_FORMAT
9155 TAR_OPTIONS=\"-H ustar\"
9160 test -z "`sort < /dev/null 2>&1`" || exit 77
9164 mkdir -p testdir/dir
9169 touch testdir/dir/File1
9170 touch testdir/dir/File2
9171 touch testdir/dir/File3
9172 touch testdir/dir/File4
9174 tar cf archive --exclude=FILE2 \\
9182 tar tf archive | sort
9185 tar cf archive testdir
9186 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9189 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9192 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9197 echo exclude04.
at:20 >"$at_check_line_file"
9199 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9204 TEST_TAR_FORMAT
=ustar
9205 export TEST_TAR_FORMAT
9206 TAR_OPTIONS
="-H ustar"
9211 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9215 mkdir
-p testdir
/dir
9220 touch testdir
/dir
/File1
9221 touch testdir
/dir
/File2
9222 touch testdir
/dir
/File3
9223 touch testdir
/dir
/File4
9225 tar cf archive
--exclude=FILE2 \
9233 tar tf archive |
sort
9236 tar cf archive testdir
9237 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9240 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9243 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9247 ) ) >"$at_stdout" 2>"$at_stder1"
9248 at_func_filter_trace $?
9253 TEST_TAR_FORMAT
=ustar
9254 export TEST_TAR_FORMAT
9255 TAR_OPTIONS
="-H ustar"
9260 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9264 mkdir
-p testdir
/dir
9269 touch testdir
/dir
/File1
9270 touch testdir
/dir
/File2
9271 touch testdir
/dir
/File3
9272 touch testdir
/dir
/File4
9274 tar cf archive
--exclude=FILE2 \
9282 tar tf archive |
sort
9285 tar cf archive testdir
9286 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9289 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9292 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9296 ) ) >"$at_stdout" 2>"$at_stderr"
9300 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9301 echo >>"$at_stdout"; $as_echo "testdir/
9315 $at_diff - "$at_stdout" || at_failed
=:
9316 at_func_check_status
0 $at_status "$at_srcdir/exclude04.at:20"
9318 $at_failed && at_func_log_failure
9322 $as_echo "$at_srcdir/exclude04.at:20:
9325 TEST_TAR_FORMAT=posix
9326 export TEST_TAR_FORMAT
9327 TAR_OPTIONS=\"-H posix\"
9332 test -z "`sort < /dev/null 2>&1`" || exit 77
9336 mkdir -p testdir/dir
9341 touch testdir/dir/File1
9342 touch testdir/dir/File2
9343 touch testdir/dir/File3
9344 touch testdir/dir/File4
9346 tar cf archive --exclude=FILE2 \\
9354 tar tf archive | sort
9357 tar cf archive testdir
9358 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9361 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9364 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9369 echo exclude04.
at:20 >"$at_check_line_file"
9371 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9376 TEST_TAR_FORMAT
=posix
9377 export TEST_TAR_FORMAT
9378 TAR_OPTIONS
="-H posix"
9383 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9387 mkdir
-p testdir
/dir
9392 touch testdir
/dir
/File1
9393 touch testdir
/dir
/File2
9394 touch testdir
/dir
/File3
9395 touch testdir
/dir
/File4
9397 tar cf archive
--exclude=FILE2 \
9405 tar tf archive |
sort
9408 tar cf archive testdir
9409 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9412 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9415 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9419 ) ) >"$at_stdout" 2>"$at_stder1"
9420 at_func_filter_trace $?
9425 TEST_TAR_FORMAT
=posix
9426 export TEST_TAR_FORMAT
9427 TAR_OPTIONS
="-H posix"
9432 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9436 mkdir
-p testdir
/dir
9441 touch testdir
/dir
/File1
9442 touch testdir
/dir
/File2
9443 touch testdir
/dir
/File3
9444 touch testdir
/dir
/File4
9446 tar cf archive
--exclude=FILE2 \
9454 tar tf archive |
sort
9457 tar cf archive testdir
9458 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9461 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9464 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9468 ) ) >"$at_stdout" 2>"$at_stderr"
9472 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9473 echo >>"$at_stdout"; $as_echo "testdir/
9487 $at_diff - "$at_stdout" || at_failed
=:
9488 at_func_check_status
0 $at_status "$at_srcdir/exclude04.at:20"
9490 $at_failed && at_func_log_failure
9494 $as_echo "$at_srcdir/exclude04.at:20:
9498 export TEST_TAR_FORMAT
9499 TAR_OPTIONS=\"-H gnu\"
9504 test -z "`sort < /dev/null 2>&1`" || exit 77
9508 mkdir -p testdir/dir
9513 touch testdir/dir/File1
9514 touch testdir/dir/File2
9515 touch testdir/dir/File3
9516 touch testdir/dir/File4
9518 tar cf archive --exclude=FILE2 \\
9526 tar tf archive | sort
9529 tar cf archive testdir
9530 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9533 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9536 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9541 echo exclude04.
at:20 >"$at_check_line_file"
9543 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9549 export TEST_TAR_FORMAT
9550 TAR_OPTIONS
="-H gnu"
9555 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9559 mkdir
-p testdir
/dir
9564 touch testdir
/dir
/File1
9565 touch testdir
/dir
/File2
9566 touch testdir
/dir
/File3
9567 touch testdir
/dir
/File4
9569 tar cf archive
--exclude=FILE2 \
9577 tar tf archive |
sort
9580 tar cf archive testdir
9581 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9584 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9587 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9591 ) ) >"$at_stdout" 2>"$at_stder1"
9592 at_func_filter_trace $?
9598 export TEST_TAR_FORMAT
9599 TAR_OPTIONS
="-H gnu"
9604 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9608 mkdir
-p testdir
/dir
9613 touch testdir
/dir
/File1
9614 touch testdir
/dir
/File2
9615 touch testdir
/dir
/File3
9616 touch testdir
/dir
/File4
9618 tar cf archive
--exclude=FILE2 \
9626 tar tf archive |
sort
9629 tar cf archive testdir
9630 tar t
--wildcards --wildcards-match-slash '*File2' -f archive |
sort
9633 tar t
--wildcards --wildcards-match-slash --ignore-case '*File2' -f archive |
sort
9636 tar t
--wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive |
sort
9640 ) ) >"$at_stdout" 2>"$at_stderr"
9644 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9645 echo >>"$at_stdout"; $as_echo "testdir/
9659 $at_diff - "$at_stdout" || at_failed
=:
9660 at_func_check_status
0 $at_status "$at_srcdir/exclude04.at:20"
9662 $at_failed && at_func_log_failure
9669 $at_times_p && times >"$at_times_file"
9670 ) 5>&1 2>&1 |
eval $at_tee_pipe
9671 at_status
=`cat "$at_status_file"`
9674 # 20. exclude05.at:19: exclude: lots of excludes
9675 at_setup_line
='exclude05.at:19'
9676 at_desc
="exclude: lots of excludes"
9677 $at_quiet $as_echo_n " 20: $at_desc "
9679 test -f $XFAILFILE && at_xfail
=yes
9680 echo "# -*- compilation -*-" >> "$at_group_log"
9682 $as_echo "20. exclude05.at:19: testing ..."
9690 $as_echo "$at_srcdir/exclude05.at:22:
9694 export TEST_TAR_FORMAT
9695 TAR_OPTIONS=\"-H v7\"
9700 test -z "`sort < /dev/null 2>&1`" || exit 77
9703 rm -rf testdir exclfile
9705 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9708 genfile --file \$name
9711 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9713 tar cf archive --anchored --exclude-from=exclfile \\
9715 tar tf archive | sort
9718 tar cf archive --exclude-from=exclfile \\
9720 tar tf archive | sort
9722 rm -rf testdir exclfile
9725 echo exclude05.
at:22 >"$at_check_line_file"
9727 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9733 export TEST_TAR_FORMAT
9739 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9742 rm -rf testdir exclfile
9744 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
9747 genfile
--file $name
9750 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
9752 tar cf archive
--anchored --exclude-from=exclfile \
9754 tar tf archive |
sort
9757 tar cf archive
--exclude-from=exclfile \
9759 tar tf archive |
sort
9761 rm -rf testdir exclfile
9763 ) ) >"$at_stdout" 2>"$at_stder1"
9764 at_func_filter_trace $?
9770 export TEST_TAR_FORMAT
9776 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9779 rm -rf testdir exclfile
9781 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
9784 genfile
--file $name
9787 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
9789 tar cf archive
--anchored --exclude-from=exclfile \
9791 tar tf archive |
sort
9794 tar cf archive
--exclude-from=exclfile \
9796 tar tf archive |
sort
9798 rm -rf testdir exclfile
9800 ) ) >"$at_stdout" 2>"$at_stderr"
9804 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9805 echo >>"$at_stdout"; $as_echo "testdir/
9815 $at_diff - "$at_stdout" || at_failed
=:
9816 at_func_check_status
0 $at_status "$at_srcdir/exclude05.at:22"
9818 $at_failed && at_func_log_failure
9822 $as_echo "$at_srcdir/exclude05.at:22:
9825 TEST_TAR_FORMAT=oldgnu
9826 export TEST_TAR_FORMAT
9827 TAR_OPTIONS=\"-H oldgnu\"
9832 test -z "`sort < /dev/null 2>&1`" || exit 77
9835 rm -rf testdir exclfile
9837 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9840 genfile --file \$name
9843 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9845 tar cf archive --anchored --exclude-from=exclfile \\
9847 tar tf archive | sort
9850 tar cf archive --exclude-from=exclfile \\
9852 tar tf archive | sort
9854 rm -rf testdir exclfile
9857 echo exclude05.
at:22 >"$at_check_line_file"
9859 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9864 TEST_TAR_FORMAT
=oldgnu
9865 export TEST_TAR_FORMAT
9866 TAR_OPTIONS
="-H oldgnu"
9871 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9874 rm -rf testdir exclfile
9876 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
9879 genfile
--file $name
9882 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
9884 tar cf archive
--anchored --exclude-from=exclfile \
9886 tar tf archive |
sort
9889 tar cf archive
--exclude-from=exclfile \
9891 tar tf archive |
sort
9893 rm -rf testdir exclfile
9895 ) ) >"$at_stdout" 2>"$at_stder1"
9896 at_func_filter_trace $?
9901 TEST_TAR_FORMAT
=oldgnu
9902 export TEST_TAR_FORMAT
9903 TAR_OPTIONS
="-H oldgnu"
9908 test -z "`sort < /dev/null 2>&1`" ||
exit 77
9911 rm -rf testdir exclfile
9913 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
9916 genfile
--file $name
9919 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
9921 tar cf archive
--anchored --exclude-from=exclfile \
9923 tar tf archive |
sort
9926 tar cf archive
--exclude-from=exclfile \
9928 tar tf archive |
sort
9930 rm -rf testdir exclfile
9932 ) ) >"$at_stdout" 2>"$at_stderr"
9936 at_func_diff_devnull
"$at_stderr" || at_failed
=:
9937 echo >>"$at_stdout"; $as_echo "testdir/
9947 $at_diff - "$at_stdout" || at_failed
=:
9948 at_func_check_status
0 $at_status "$at_srcdir/exclude05.at:22"
9950 $at_failed && at_func_log_failure
9954 $as_echo "$at_srcdir/exclude05.at:22:
9957 TEST_TAR_FORMAT=ustar
9958 export TEST_TAR_FORMAT
9959 TAR_OPTIONS=\"-H ustar\"
9964 test -z "`sort < /dev/null 2>&1`" || exit 77
9967 rm -rf testdir exclfile
9969 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9972 genfile --file \$name
9975 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9977 tar cf archive --anchored --exclude-from=exclfile \\
9979 tar tf archive | sort
9982 tar cf archive --exclude-from=exclfile \\
9984 tar tf archive | sort
9986 rm -rf testdir exclfile
9989 echo exclude05.
at:22 >"$at_check_line_file"
9991 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9996 TEST_TAR_FORMAT
=ustar
9997 export TEST_TAR_FORMAT
9998 TAR_OPTIONS
="-H ustar"
10003 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10006 rm -rf testdir exclfile
10008 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10011 genfile
--file $name
10014 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10016 tar cf archive
--anchored --exclude-from=exclfile \
10018 tar tf archive |
sort
10021 tar cf archive
--exclude-from=exclfile \
10023 tar tf archive |
sort
10025 rm -rf testdir exclfile
10027 ) ) >"$at_stdout" 2>"$at_stder1"
10028 at_func_filter_trace $?
10033 TEST_TAR_FORMAT
=ustar
10034 export TEST_TAR_FORMAT
10035 TAR_OPTIONS
="-H ustar"
10040 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10043 rm -rf testdir exclfile
10045 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10048 genfile
--file $name
10051 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10053 tar cf archive
--anchored --exclude-from=exclfile \
10055 tar tf archive |
sort
10058 tar cf archive
--exclude-from=exclfile \
10060 tar tf archive |
sort
10062 rm -rf testdir exclfile
10064 ) ) >"$at_stdout" 2>"$at_stderr"
10068 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10069 echo >>"$at_stdout"; $as_echo "testdir/
10079 $at_diff - "$at_stdout" || at_failed
=:
10080 at_func_check_status
0 $at_status "$at_srcdir/exclude05.at:22"
10082 $at_failed && at_func_log_failure
10086 $as_echo "$at_srcdir/exclude05.at:22:
10089 TEST_TAR_FORMAT=posix
10090 export TEST_TAR_FORMAT
10091 TAR_OPTIONS=\"-H posix\"
10096 test -z "`sort < /dev/null 2>&1`" || exit 77
10099 rm -rf testdir exclfile
10101 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
10104 genfile --file \$name
10107 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
10109 tar cf archive --anchored --exclude-from=exclfile \\
10111 tar tf archive | sort
10114 tar cf archive --exclude-from=exclfile \\
10116 tar tf archive | sort
10118 rm -rf testdir exclfile
10121 echo exclude05.
at:22 >"$at_check_line_file"
10123 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10128 TEST_TAR_FORMAT
=posix
10129 export TEST_TAR_FORMAT
10130 TAR_OPTIONS
="-H posix"
10135 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10138 rm -rf testdir exclfile
10140 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10143 genfile
--file $name
10146 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10148 tar cf archive
--anchored --exclude-from=exclfile \
10150 tar tf archive |
sort
10153 tar cf archive
--exclude-from=exclfile \
10155 tar tf archive |
sort
10157 rm -rf testdir exclfile
10159 ) ) >"$at_stdout" 2>"$at_stder1"
10160 at_func_filter_trace $?
10165 TEST_TAR_FORMAT
=posix
10166 export TEST_TAR_FORMAT
10167 TAR_OPTIONS
="-H posix"
10172 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10175 rm -rf testdir exclfile
10177 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10180 genfile
--file $name
10183 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10185 tar cf archive
--anchored --exclude-from=exclfile \
10187 tar tf archive |
sort
10190 tar cf archive
--exclude-from=exclfile \
10192 tar tf archive |
sort
10194 rm -rf testdir exclfile
10196 ) ) >"$at_stdout" 2>"$at_stderr"
10200 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10201 echo >>"$at_stdout"; $as_echo "testdir/
10211 $at_diff - "$at_stdout" || at_failed
=:
10212 at_func_check_status
0 $at_status "$at_srcdir/exclude05.at:22"
10214 $at_failed && at_func_log_failure
10218 $as_echo "$at_srcdir/exclude05.at:22:
10221 TEST_TAR_FORMAT=gnu
10222 export TEST_TAR_FORMAT
10223 TAR_OPTIONS=\"-H gnu\"
10228 test -z "`sort < /dev/null 2>&1`" || exit 77
10231 rm -rf testdir exclfile
10233 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
10236 genfile --file \$name
10239 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
10241 tar cf archive --anchored --exclude-from=exclfile \\
10243 tar tf archive | sort
10246 tar cf archive --exclude-from=exclfile \\
10248 tar tf archive | sort
10250 rm -rf testdir exclfile
10253 echo exclude05.
at:22 >"$at_check_line_file"
10255 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10260 TEST_TAR_FORMAT
=gnu
10261 export TEST_TAR_FORMAT
10262 TAR_OPTIONS
="-H gnu"
10267 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10270 rm -rf testdir exclfile
10272 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10275 genfile
--file $name
10278 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10280 tar cf archive
--anchored --exclude-from=exclfile \
10282 tar tf archive |
sort
10285 tar cf archive
--exclude-from=exclfile \
10287 tar tf archive |
sort
10289 rm -rf testdir exclfile
10291 ) ) >"$at_stdout" 2>"$at_stder1"
10292 at_func_filter_trace $?
10297 TEST_TAR_FORMAT
=gnu
10298 export TEST_TAR_FORMAT
10299 TAR_OPTIONS
="-H gnu"
10304 test -z "`sort < /dev/null 2>&1`" ||
exit 77
10307 rm -rf testdir exclfile
10309 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev
/null | \
10312 genfile
--file $name
10315 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev
/null
> exclfile
10317 tar cf archive
--anchored --exclude-from=exclfile \
10319 tar tf archive |
sort
10322 tar cf archive
--exclude-from=exclfile \
10324 tar tf archive |
sort
10326 rm -rf testdir exclfile
10328 ) ) >"$at_stdout" 2>"$at_stderr"
10332 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10333 echo >>"$at_stdout"; $as_echo "testdir/
10343 $at_diff - "$at_stdout" || at_failed
=:
10344 at_func_check_status
0 $at_status "$at_srcdir/exclude05.at:22"
10346 $at_failed && at_func_log_failure
10353 $at_times_p && times >"$at_times_file"
10354 ) 5>&1 2>&1 |
eval $at_tee_pipe
10355 at_status
=`cat "$at_status_file"`
10358 # 21. exclude06.at:24: exclude: long files in pax archives
10359 at_setup_line
='exclude06.at:24'
10360 at_desc
="exclude: long files in pax archives"
10361 $at_quiet $as_echo_n " 21: $at_desc "
10363 test -f $XFAILFILE && at_xfail
=yes
10364 echo "# -*- compilation -*-" >> "$at_group_log"
10366 $as_echo "21. exclude06.at:24: testing ..."
10376 $as_echo "$at_srcdir/exclude06.at:29:
10379 TEST_TAR_FORMAT=pax
10380 export TEST_TAR_FORMAT
10381 TAR_OPTIONS=\"-H pax\"
10386 install-sh -d one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen >/dev/null || exit 77
10387 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.txt
10388 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.c
10390 tar cf archive.tar one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen
10392 tar -C out -xf archive.tar --exclude='*.txt' --warning=no-timestamp
10395 echo exclude06.
at:29 >"$at_check_line_file"
10397 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10402 TEST_TAR_FORMAT
=pax
10403 export TEST_TAR_FORMAT
10404 TAR_OPTIONS
="-H pax"
10409 install-sh
-d one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
>/dev
/null ||
exit 77
10410 genfile
--length 20 -f one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
/1.txt
10411 genfile
--length 20 -f one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
/1.c
10413 tar cf archive.
tar one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
10415 tar -C out
-xf archive.
tar --exclude='*.txt' --warning=no-timestamp
10417 ) ) >"$at_stdout" 2>"$at_stder1"
10418 at_func_filter_trace $?
10423 TEST_TAR_FORMAT
=pax
10424 export TEST_TAR_FORMAT
10425 TAR_OPTIONS
="-H pax"
10430 install-sh
-d one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
>/dev
/null ||
exit 77
10431 genfile
--length 20 -f one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
/1.txt
10432 genfile
--length 20 -f one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
/1.c
10434 tar cf archive.
tar one
/two
/three
/four
/five
/six
/seven
/eight
/nine
/ten
/eleven
/twelve
/thirteen
/fourteen
/fifteen
/sixteen
/seventeen
10436 tar -C out
-xf archive.
tar --exclude='*.txt' --warning=no-timestamp
10438 ) ) >"$at_stdout" 2>"$at_stderr"
10442 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10443 echo >>"$at_stdout"; $as_echo "out/one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.c
10445 $at_diff - "$at_stdout" || at_failed
=:
10446 at_func_check_status
0 $at_status "$at_srcdir/exclude06.at:29"
10448 $at_failed && at_func_log_failure
10455 $at_times_p && times >"$at_times_file"
10456 ) 5>&1 2>&1 |
eval $at_tee_pipe
10457 at_status
=`cat "$at_status_file"`
10460 # 22. delete01.at:23: deleting a member after a big one
10461 at_setup_line
='delete01.at:23'
10462 at_desc
="deleting a member after a big one"
10463 $at_quiet $as_echo_n " 22: $at_desc "
10465 test -f $XFAILFILE && at_xfail
=yes
10466 echo "# -*- compilation -*-" >> "$at_group_log"
10468 $as_echo "22. delete01.at:23: testing ..."
10476 $as_echo "$at_srcdir/delete01.at:26:
10480 export TEST_TAR_FORMAT
10481 TAR_OPTIONS=\"-H v7\"
10485 genfile -l 50000 --file file1
10486 genfile -l 1024 --file file2
10487 tar cf archive file1 file2
10488 tar f archive --delete file2
10490 echo delete01.
at:26 >"$at_check_line_file"
10492 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10498 export TEST_TAR_FORMAT
10499 TAR_OPTIONS
="-H v7"
10503 genfile
-l 50000 --file file1
10504 genfile
-l 1024 --file file2
10505 tar cf archive file1 file2
10506 tar f archive
--delete file2
10507 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
10508 at_func_filter_trace $?
10514 export TEST_TAR_FORMAT
10515 TAR_OPTIONS
="-H v7"
10519 genfile
-l 50000 --file file1
10520 genfile
-l 1024 --file file2
10521 tar cf archive file1 file2
10522 tar f archive
--delete file2
10523 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
10527 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10528 echo >>"$at_stdout"; $as_echo "file1
10530 $at_diff - "$at_stdout" || at_failed
=:
10531 at_func_check_status
0 $at_status "$at_srcdir/delete01.at:26"
10533 $at_failed && at_func_log_failure
10537 $as_echo "$at_srcdir/delete01.at:26:
10540 TEST_TAR_FORMAT=oldgnu
10541 export TEST_TAR_FORMAT
10542 TAR_OPTIONS=\"-H oldgnu\"
10546 genfile -l 50000 --file file1
10547 genfile -l 1024 --file file2
10548 tar cf archive file1 file2
10549 tar f archive --delete file2
10551 echo delete01.
at:26 >"$at_check_line_file"
10553 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10558 TEST_TAR_FORMAT
=oldgnu
10559 export TEST_TAR_FORMAT
10560 TAR_OPTIONS
="-H oldgnu"
10564 genfile
-l 50000 --file file1
10565 genfile
-l 1024 --file file2
10566 tar cf archive file1 file2
10567 tar f archive
--delete file2
10568 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
10569 at_func_filter_trace $?
10574 TEST_TAR_FORMAT
=oldgnu
10575 export TEST_TAR_FORMAT
10576 TAR_OPTIONS
="-H oldgnu"
10580 genfile
-l 50000 --file file1
10581 genfile
-l 1024 --file file2
10582 tar cf archive file1 file2
10583 tar f archive
--delete file2
10584 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
10588 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10589 echo >>"$at_stdout"; $as_echo "file1
10591 $at_diff - "$at_stdout" || at_failed
=:
10592 at_func_check_status
0 $at_status "$at_srcdir/delete01.at:26"
10594 $at_failed && at_func_log_failure
10598 $as_echo "$at_srcdir/delete01.at:26:
10601 TEST_TAR_FORMAT=ustar
10602 export TEST_TAR_FORMAT
10603 TAR_OPTIONS=\"-H ustar\"
10607 genfile -l 50000 --file file1
10608 genfile -l 1024 --file file2
10609 tar cf archive file1 file2
10610 tar f archive --delete file2
10612 echo delete01.
at:26 >"$at_check_line_file"
10614 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10619 TEST_TAR_FORMAT
=ustar
10620 export TEST_TAR_FORMAT
10621 TAR_OPTIONS
="-H ustar"
10625 genfile
-l 50000 --file file1
10626 genfile
-l 1024 --file file2
10627 tar cf archive file1 file2
10628 tar f archive
--delete file2
10629 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
10630 at_func_filter_trace $?
10635 TEST_TAR_FORMAT
=ustar
10636 export TEST_TAR_FORMAT
10637 TAR_OPTIONS
="-H ustar"
10641 genfile
-l 50000 --file file1
10642 genfile
-l 1024 --file file2
10643 tar cf archive file1 file2
10644 tar f archive
--delete file2
10645 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
10649 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10650 echo >>"$at_stdout"; $as_echo "file1
10652 $at_diff - "$at_stdout" || at_failed
=:
10653 at_func_check_status
0 $at_status "$at_srcdir/delete01.at:26"
10655 $at_failed && at_func_log_failure
10659 $as_echo "$at_srcdir/delete01.at:26:
10662 TEST_TAR_FORMAT=posix
10663 export TEST_TAR_FORMAT
10664 TAR_OPTIONS=\"-H posix\"
10668 genfile -l 50000 --file file1
10669 genfile -l 1024 --file file2
10670 tar cf archive file1 file2
10671 tar f archive --delete file2
10673 echo delete01.
at:26 >"$at_check_line_file"
10675 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10680 TEST_TAR_FORMAT
=posix
10681 export TEST_TAR_FORMAT
10682 TAR_OPTIONS
="-H posix"
10686 genfile
-l 50000 --file file1
10687 genfile
-l 1024 --file file2
10688 tar cf archive file1 file2
10689 tar f archive
--delete file2
10690 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
10691 at_func_filter_trace $?
10696 TEST_TAR_FORMAT
=posix
10697 export TEST_TAR_FORMAT
10698 TAR_OPTIONS
="-H posix"
10702 genfile
-l 50000 --file file1
10703 genfile
-l 1024 --file file2
10704 tar cf archive file1 file2
10705 tar f archive
--delete file2
10706 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
10710 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10711 echo >>"$at_stdout"; $as_echo "file1
10713 $at_diff - "$at_stdout" || at_failed
=:
10714 at_func_check_status
0 $at_status "$at_srcdir/delete01.at:26"
10716 $at_failed && at_func_log_failure
10720 $as_echo "$at_srcdir/delete01.at:26:
10723 TEST_TAR_FORMAT=gnu
10724 export TEST_TAR_FORMAT
10725 TAR_OPTIONS=\"-H gnu\"
10729 genfile -l 50000 --file file1
10730 genfile -l 1024 --file file2
10731 tar cf archive file1 file2
10732 tar f archive --delete file2
10734 echo delete01.
at:26 >"$at_check_line_file"
10736 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10741 TEST_TAR_FORMAT
=gnu
10742 export TEST_TAR_FORMAT
10743 TAR_OPTIONS
="-H gnu"
10747 genfile
-l 50000 --file file1
10748 genfile
-l 1024 --file file2
10749 tar cf archive file1 file2
10750 tar f archive
--delete file2
10751 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
10752 at_func_filter_trace $?
10757 TEST_TAR_FORMAT
=gnu
10758 export TEST_TAR_FORMAT
10759 TAR_OPTIONS
="-H gnu"
10763 genfile
-l 50000 --file file1
10764 genfile
-l 1024 --file file2
10765 tar cf archive file1 file2
10766 tar f archive
--delete file2
10767 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
10771 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10772 echo >>"$at_stdout"; $as_echo "file1
10774 $at_diff - "$at_stdout" || at_failed
=:
10775 at_func_check_status
0 $at_status "$at_srcdir/delete01.at:26"
10777 $at_failed && at_func_log_failure
10784 $at_times_p && times >"$at_times_file"
10785 ) 5>&1 2>&1 |
eval $at_tee_pipe
10786 at_status
=`cat "$at_status_file"`
10789 # 23. delete02.at:23: deleting a member from stdin archive
10790 at_setup_line
='delete02.at:23'
10791 at_desc
="deleting a member from stdin archive"
10792 $at_quiet $as_echo_n " 23: $at_desc "
10794 test -f $XFAILFILE && at_xfail
=yes
10795 echo "# -*- compilation -*-" >> "$at_group_log"
10797 $as_echo "23. delete02.at:23: testing ..."
10805 $as_echo "$at_srcdir/delete02.at:26:
10809 export TEST_TAR_FORMAT
10810 TAR_OPTIONS=\"-H v7\"
10814 genfile -l 3073 -p zeros --file 1
10817 tar cf archive 1 2 3
10819 cat archive | tar f - --delete 2 > archive2
10822 echo delete02.
at:26 >"$at_check_line_file"
10824 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10830 export TEST_TAR_FORMAT
10831 TAR_OPTIONS
="-H v7"
10835 genfile
-l 3073 -p zeros
--file 1
10838 tar cf archive
1 2 3
10840 cat archive |
tar f
- --delete 2 > archive2
10842 tar tf archive2
) ) >"$at_stdout" 2>"$at_stder1"
10843 at_func_filter_trace $?
10849 export TEST_TAR_FORMAT
10850 TAR_OPTIONS
="-H v7"
10854 genfile
-l 3073 -p zeros
--file 1
10857 tar cf archive
1 2 3
10859 cat archive |
tar f
- --delete 2 > archive2
10861 tar tf archive2
) ) >"$at_stdout" 2>"$at_stderr"
10865 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10866 echo >>"$at_stdout"; $as_echo "1
10873 $at_diff - "$at_stdout" || at_failed
=:
10874 at_func_check_status
0 $at_status "$at_srcdir/delete02.at:26"
10876 $at_failed && at_func_log_failure
10880 $as_echo "$at_srcdir/delete02.at:26:
10883 TEST_TAR_FORMAT=oldgnu
10884 export TEST_TAR_FORMAT
10885 TAR_OPTIONS=\"-H oldgnu\"
10889 genfile -l 3073 -p zeros --file 1
10892 tar cf archive 1 2 3
10894 cat archive | tar f - --delete 2 > archive2
10897 echo delete02.
at:26 >"$at_check_line_file"
10899 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10904 TEST_TAR_FORMAT
=oldgnu
10905 export TEST_TAR_FORMAT
10906 TAR_OPTIONS
="-H oldgnu"
10910 genfile
-l 3073 -p zeros
--file 1
10913 tar cf archive
1 2 3
10915 cat archive |
tar f
- --delete 2 > archive2
10917 tar tf archive2
) ) >"$at_stdout" 2>"$at_stder1"
10918 at_func_filter_trace $?
10923 TEST_TAR_FORMAT
=oldgnu
10924 export TEST_TAR_FORMAT
10925 TAR_OPTIONS
="-H oldgnu"
10929 genfile
-l 3073 -p zeros
--file 1
10932 tar cf archive
1 2 3
10934 cat archive |
tar f
- --delete 2 > archive2
10936 tar tf archive2
) ) >"$at_stdout" 2>"$at_stderr"
10940 at_func_diff_devnull
"$at_stderr" || at_failed
=:
10941 echo >>"$at_stdout"; $as_echo "1
10948 $at_diff - "$at_stdout" || at_failed
=:
10949 at_func_check_status
0 $at_status "$at_srcdir/delete02.at:26"
10951 $at_failed && at_func_log_failure
10955 $as_echo "$at_srcdir/delete02.at:26:
10958 TEST_TAR_FORMAT=ustar
10959 export TEST_TAR_FORMAT
10960 TAR_OPTIONS=\"-H ustar\"
10964 genfile -l 3073 -p zeros --file 1
10967 tar cf archive 1 2 3
10969 cat archive | tar f - --delete 2 > archive2
10972 echo delete02.
at:26 >"$at_check_line_file"
10974 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10979 TEST_TAR_FORMAT
=ustar
10980 export TEST_TAR_FORMAT
10981 TAR_OPTIONS
="-H ustar"
10985 genfile
-l 3073 -p zeros
--file 1
10988 tar cf archive
1 2 3
10990 cat archive |
tar f
- --delete 2 > archive2
10992 tar tf archive2
) ) >"$at_stdout" 2>"$at_stder1"
10993 at_func_filter_trace $?
10998 TEST_TAR_FORMAT
=ustar
10999 export TEST_TAR_FORMAT
11000 TAR_OPTIONS
="-H ustar"
11004 genfile
-l 3073 -p zeros
--file 1
11007 tar cf archive
1 2 3
11009 cat archive |
tar f
- --delete 2 > archive2
11011 tar tf archive2
) ) >"$at_stdout" 2>"$at_stderr"
11015 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11016 echo >>"$at_stdout"; $as_echo "1
11023 $at_diff - "$at_stdout" || at_failed
=:
11024 at_func_check_status
0 $at_status "$at_srcdir/delete02.at:26"
11026 $at_failed && at_func_log_failure
11030 $as_echo "$at_srcdir/delete02.at:26:
11033 TEST_TAR_FORMAT=posix
11034 export TEST_TAR_FORMAT
11035 TAR_OPTIONS=\"-H posix\"
11039 genfile -l 3073 -p zeros --file 1
11042 tar cf archive 1 2 3
11044 cat archive | tar f - --delete 2 > archive2
11047 echo delete02.
at:26 >"$at_check_line_file"
11049 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11054 TEST_TAR_FORMAT
=posix
11055 export TEST_TAR_FORMAT
11056 TAR_OPTIONS
="-H posix"
11060 genfile
-l 3073 -p zeros
--file 1
11063 tar cf archive
1 2 3
11065 cat archive |
tar f
- --delete 2 > archive2
11067 tar tf archive2
) ) >"$at_stdout" 2>"$at_stder1"
11068 at_func_filter_trace $?
11073 TEST_TAR_FORMAT
=posix
11074 export TEST_TAR_FORMAT
11075 TAR_OPTIONS
="-H posix"
11079 genfile
-l 3073 -p zeros
--file 1
11082 tar cf archive
1 2 3
11084 cat archive |
tar f
- --delete 2 > archive2
11086 tar tf archive2
) ) >"$at_stdout" 2>"$at_stderr"
11090 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11091 echo >>"$at_stdout"; $as_echo "1
11098 $at_diff - "$at_stdout" || at_failed
=:
11099 at_func_check_status
0 $at_status "$at_srcdir/delete02.at:26"
11101 $at_failed && at_func_log_failure
11105 $as_echo "$at_srcdir/delete02.at:26:
11108 TEST_TAR_FORMAT=gnu
11109 export TEST_TAR_FORMAT
11110 TAR_OPTIONS=\"-H gnu\"
11114 genfile -l 3073 -p zeros --file 1
11117 tar cf archive 1 2 3
11119 cat archive | tar f - --delete 2 > archive2
11122 echo delete02.
at:26 >"$at_check_line_file"
11124 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11129 TEST_TAR_FORMAT
=gnu
11130 export TEST_TAR_FORMAT
11131 TAR_OPTIONS
="-H gnu"
11135 genfile
-l 3073 -p zeros
--file 1
11138 tar cf archive
1 2 3
11140 cat archive |
tar f
- --delete 2 > archive2
11142 tar tf archive2
) ) >"$at_stdout" 2>"$at_stder1"
11143 at_func_filter_trace $?
11148 TEST_TAR_FORMAT
=gnu
11149 export TEST_TAR_FORMAT
11150 TAR_OPTIONS
="-H gnu"
11154 genfile
-l 3073 -p zeros
--file 1
11157 tar cf archive
1 2 3
11159 cat archive |
tar f
- --delete 2 > archive2
11161 tar tf archive2
) ) >"$at_stdout" 2>"$at_stderr"
11165 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11166 echo >>"$at_stdout"; $as_echo "1
11173 $at_diff - "$at_stdout" || at_failed
=:
11174 at_func_check_status
0 $at_status "$at_srcdir/delete02.at:26"
11176 $at_failed && at_func_log_failure
11183 $at_times_p && times >"$at_times_file"
11184 ) 5>&1 2>&1 |
eval $at_tee_pipe
11185 at_status
=`cat "$at_status_file"`
11188 # 24. delete03.at:21: deleting members with long names
11189 at_setup_line
='delete03.at:21'
11190 at_desc
="deleting members with long names"
11191 $at_quiet $as_echo_n " 24: $at_desc "
11193 test -f $XFAILFILE && at_xfail
=yes
11194 echo "# -*- compilation -*-" >> "$at_group_log"
11196 $as_echo "24. delete03.at:21: testing ..."
11206 $as_echo "$at_srcdir/delete03.at:26:
11209 TEST_TAR_FORMAT=gnu
11210 export TEST_TAR_FORMAT
11211 TAR_OPTIONS=\"-H gnu\"
11216 prefix=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11218 for i in 1 2 3 4 5 6 7 8 9
11219 do touch \$prefix\$i
11221 tar -cf archive ./\$prefix* &&
11222 tar --delete -f archive ./\${prefix}5 &&
11225 echo delete03.
at:26 >"$at_check_line_file"
11227 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
11232 TEST_TAR_FORMAT
=gnu
11233 export TEST_TAR_FORMAT
11234 TAR_OPTIONS
="-H gnu"
11239 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11241 for i
in 1 2 3 4 5 6 7 8 9
11244 tar -cf archive .
/$prefix* &&
11245 tar --delete -f archive .
/${prefix}5 &&
11247 ) ) >"$at_stdout" 2>"$at_stder1"
11248 at_func_filter_trace $?
11253 TEST_TAR_FORMAT
=gnu
11254 export TEST_TAR_FORMAT
11255 TAR_OPTIONS
="-H gnu"
11260 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11262 for i
in 1 2 3 4 5 6 7 8 9
11265 tar -cf archive .
/$prefix* &&
11266 tar --delete -f archive .
/${prefix}5 &&
11268 ) ) >"$at_stdout" 2>"$at_stderr"
11272 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11273 echo >>"$at_stdout"; $as_echo "./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX1
11274 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX2
11275 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX3
11276 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX4
11277 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX6
11278 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX7
11279 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX8
11280 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX9
11282 $at_diff - "$at_stdout" || at_failed
=:
11283 at_func_check_status
0 $at_status "$at_srcdir/delete03.at:26"
11285 $at_failed && at_func_log_failure
11289 $as_echo "$at_srcdir/delete03.at:26:
11292 TEST_TAR_FORMAT=oldgnu
11293 export TEST_TAR_FORMAT
11294 TAR_OPTIONS=\"-H oldgnu\"
11299 prefix=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11301 for i in 1 2 3 4 5 6 7 8 9
11302 do touch \$prefix\$i
11304 tar -cf archive ./\$prefix* &&
11305 tar --delete -f archive ./\${prefix}5 &&
11308 echo delete03.
at:26 >"$at_check_line_file"
11310 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
11315 TEST_TAR_FORMAT
=oldgnu
11316 export TEST_TAR_FORMAT
11317 TAR_OPTIONS
="-H oldgnu"
11322 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11324 for i
in 1 2 3 4 5 6 7 8 9
11327 tar -cf archive .
/$prefix* &&
11328 tar --delete -f archive .
/${prefix}5 &&
11330 ) ) >"$at_stdout" 2>"$at_stder1"
11331 at_func_filter_trace $?
11336 TEST_TAR_FORMAT
=oldgnu
11337 export TEST_TAR_FORMAT
11338 TAR_OPTIONS
="-H oldgnu"
11343 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11345 for i
in 1 2 3 4 5 6 7 8 9
11348 tar -cf archive .
/$prefix* &&
11349 tar --delete -f archive .
/${prefix}5 &&
11351 ) ) >"$at_stdout" 2>"$at_stderr"
11355 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11356 echo >>"$at_stdout"; $as_echo "./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX1
11357 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX2
11358 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX3
11359 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX4
11360 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX6
11361 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX7
11362 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX8
11363 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX9
11365 $at_diff - "$at_stdout" || at_failed
=:
11366 at_func_check_status
0 $at_status "$at_srcdir/delete03.at:26"
11368 $at_failed && at_func_log_failure
11372 $as_echo "$at_srcdir/delete03.at:26:
11375 TEST_TAR_FORMAT=posix
11376 export TEST_TAR_FORMAT
11377 TAR_OPTIONS=\"-H posix\"
11382 prefix=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11384 for i in 1 2 3 4 5 6 7 8 9
11385 do touch \$prefix\$i
11387 tar -cf archive ./\$prefix* &&
11388 tar --delete -f archive ./\${prefix}5 &&
11391 echo delete03.
at:26 >"$at_check_line_file"
11393 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
11398 TEST_TAR_FORMAT
=posix
11399 export TEST_TAR_FORMAT
11400 TAR_OPTIONS
="-H posix"
11405 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11407 for i
in 1 2 3 4 5 6 7 8 9
11410 tar -cf archive .
/$prefix* &&
11411 tar --delete -f archive .
/${prefix}5 &&
11413 ) ) >"$at_stdout" 2>"$at_stder1"
11414 at_func_filter_trace $?
11419 TEST_TAR_FORMAT
=posix
11420 export TEST_TAR_FORMAT
11421 TAR_OPTIONS
="-H posix"
11426 prefix
=This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX
11428 for i
in 1 2 3 4 5 6 7 8 9
11431 tar -cf archive .
/$prefix* &&
11432 tar --delete -f archive .
/${prefix}5 &&
11434 ) ) >"$at_stdout" 2>"$at_stderr"
11438 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11439 echo >>"$at_stdout"; $as_echo "./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX1
11440 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX2
11441 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX3
11442 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX4
11443 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX6
11444 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX7
11445 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX8
11446 ./This_is_a_very_long_file_name_prefix_that_is_designed_to_cause_problems_with_file_names_that_run_into_a_limit_of_the_posix_tar_formatXX9
11448 $at_diff - "$at_stdout" || at_failed
=:
11449 at_func_check_status
0 $at_status "$at_srcdir/delete03.at:26"
11451 $at_failed && at_func_log_failure
11458 $at_times_p && times >"$at_times_file"
11459 ) 5>&1 2>&1 |
eval $at_tee_pipe
11460 at_status
=`cat "$at_status_file"`
11463 # 25. delete04.at:23: deleting a large last member
11464 at_setup_line
='delete04.at:23'
11465 at_desc
="deleting a large last member"
11466 $at_quiet $as_echo_n " 25: $at_desc "
11468 test -f $XFAILFILE && at_xfail
=yes
11469 echo "# -*- compilation -*-" >> "$at_group_log"
11471 $as_echo "25. delete04.at:23: testing ..."
11479 $as_echo "$at_srcdir/delete04.at:26:
11483 export TEST_TAR_FORMAT
11484 TAR_OPTIONS=\"-H v7\"
11488 genfile -l 3 -f file1
11489 genfile -l 5 -f file2
11490 genfile -l 3 -f file3
11491 genfile -l 6 -f file4
11492 genfile -l 24 -f file5
11493 genfile -l 13 -f file6
11494 genfile -l 1385 -f file7
11495 genfile -l 30 -f file8
11496 genfile -l 10 -f file9
11497 genfile -l 256000 -f file10
11498 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11499 tar f archive --delete file10
11502 echo delete04.
at:26 >"$at_check_line_file"
11504 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11510 export TEST_TAR_FORMAT
11511 TAR_OPTIONS
="-H v7"
11515 genfile
-l 3 -f file1
11516 genfile
-l 5 -f file2
11517 genfile
-l 3 -f file3
11518 genfile
-l 6 -f file4
11519 genfile
-l 24 -f file5
11520 genfile
-l 13 -f file6
11521 genfile
-l 1385 -f file7
11522 genfile
-l 30 -f file8
11523 genfile
-l 10 -f file9
11524 genfile
-l 256000 -f file10
11525 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11526 tar f archive
--delete file10
11528 ) ) >"$at_stdout" 2>"$at_stder1"
11529 at_func_filter_trace $?
11535 export TEST_TAR_FORMAT
11536 TAR_OPTIONS
="-H v7"
11540 genfile
-l 3 -f file1
11541 genfile
-l 5 -f file2
11542 genfile
-l 3 -f file3
11543 genfile
-l 6 -f file4
11544 genfile
-l 24 -f file5
11545 genfile
-l 13 -f file6
11546 genfile
-l 1385 -f file7
11547 genfile
-l 30 -f file8
11548 genfile
-l 10 -f file9
11549 genfile
-l 256000 -f file10
11550 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11551 tar f archive
--delete file10
11553 ) ) >"$at_stdout" 2>"$at_stderr"
11557 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11558 echo >>"$at_stdout"; $as_echo "file1
11568 $at_diff - "$at_stdout" || at_failed
=:
11569 at_func_check_status
0 $at_status "$at_srcdir/delete04.at:26"
11571 $at_failed && at_func_log_failure
11575 $as_echo "$at_srcdir/delete04.at:26:
11578 TEST_TAR_FORMAT=oldgnu
11579 export TEST_TAR_FORMAT
11580 TAR_OPTIONS=\"-H oldgnu\"
11584 genfile -l 3 -f file1
11585 genfile -l 5 -f file2
11586 genfile -l 3 -f file3
11587 genfile -l 6 -f file4
11588 genfile -l 24 -f file5
11589 genfile -l 13 -f file6
11590 genfile -l 1385 -f file7
11591 genfile -l 30 -f file8
11592 genfile -l 10 -f file9
11593 genfile -l 256000 -f file10
11594 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11595 tar f archive --delete file10
11598 echo delete04.
at:26 >"$at_check_line_file"
11600 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11605 TEST_TAR_FORMAT
=oldgnu
11606 export TEST_TAR_FORMAT
11607 TAR_OPTIONS
="-H oldgnu"
11611 genfile
-l 3 -f file1
11612 genfile
-l 5 -f file2
11613 genfile
-l 3 -f file3
11614 genfile
-l 6 -f file4
11615 genfile
-l 24 -f file5
11616 genfile
-l 13 -f file6
11617 genfile
-l 1385 -f file7
11618 genfile
-l 30 -f file8
11619 genfile
-l 10 -f file9
11620 genfile
-l 256000 -f file10
11621 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11622 tar f archive
--delete file10
11624 ) ) >"$at_stdout" 2>"$at_stder1"
11625 at_func_filter_trace $?
11630 TEST_TAR_FORMAT
=oldgnu
11631 export TEST_TAR_FORMAT
11632 TAR_OPTIONS
="-H oldgnu"
11636 genfile
-l 3 -f file1
11637 genfile
-l 5 -f file2
11638 genfile
-l 3 -f file3
11639 genfile
-l 6 -f file4
11640 genfile
-l 24 -f file5
11641 genfile
-l 13 -f file6
11642 genfile
-l 1385 -f file7
11643 genfile
-l 30 -f file8
11644 genfile
-l 10 -f file9
11645 genfile
-l 256000 -f file10
11646 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11647 tar f archive
--delete file10
11649 ) ) >"$at_stdout" 2>"$at_stderr"
11653 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11654 echo >>"$at_stdout"; $as_echo "file1
11664 $at_diff - "$at_stdout" || at_failed
=:
11665 at_func_check_status
0 $at_status "$at_srcdir/delete04.at:26"
11667 $at_failed && at_func_log_failure
11671 $as_echo "$at_srcdir/delete04.at:26:
11674 TEST_TAR_FORMAT=ustar
11675 export TEST_TAR_FORMAT
11676 TAR_OPTIONS=\"-H ustar\"
11680 genfile -l 3 -f file1
11681 genfile -l 5 -f file2
11682 genfile -l 3 -f file3
11683 genfile -l 6 -f file4
11684 genfile -l 24 -f file5
11685 genfile -l 13 -f file6
11686 genfile -l 1385 -f file7
11687 genfile -l 30 -f file8
11688 genfile -l 10 -f file9
11689 genfile -l 256000 -f file10
11690 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11691 tar f archive --delete file10
11694 echo delete04.
at:26 >"$at_check_line_file"
11696 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11701 TEST_TAR_FORMAT
=ustar
11702 export TEST_TAR_FORMAT
11703 TAR_OPTIONS
="-H ustar"
11707 genfile
-l 3 -f file1
11708 genfile
-l 5 -f file2
11709 genfile
-l 3 -f file3
11710 genfile
-l 6 -f file4
11711 genfile
-l 24 -f file5
11712 genfile
-l 13 -f file6
11713 genfile
-l 1385 -f file7
11714 genfile
-l 30 -f file8
11715 genfile
-l 10 -f file9
11716 genfile
-l 256000 -f file10
11717 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11718 tar f archive
--delete file10
11720 ) ) >"$at_stdout" 2>"$at_stder1"
11721 at_func_filter_trace $?
11726 TEST_TAR_FORMAT
=ustar
11727 export TEST_TAR_FORMAT
11728 TAR_OPTIONS
="-H ustar"
11732 genfile
-l 3 -f file1
11733 genfile
-l 5 -f file2
11734 genfile
-l 3 -f file3
11735 genfile
-l 6 -f file4
11736 genfile
-l 24 -f file5
11737 genfile
-l 13 -f file6
11738 genfile
-l 1385 -f file7
11739 genfile
-l 30 -f file8
11740 genfile
-l 10 -f file9
11741 genfile
-l 256000 -f file10
11742 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11743 tar f archive
--delete file10
11745 ) ) >"$at_stdout" 2>"$at_stderr"
11749 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11750 echo >>"$at_stdout"; $as_echo "file1
11760 $at_diff - "$at_stdout" || at_failed
=:
11761 at_func_check_status
0 $at_status "$at_srcdir/delete04.at:26"
11763 $at_failed && at_func_log_failure
11767 $as_echo "$at_srcdir/delete04.at:26:
11770 TEST_TAR_FORMAT=posix
11771 export TEST_TAR_FORMAT
11772 TAR_OPTIONS=\"-H posix\"
11776 genfile -l 3 -f file1
11777 genfile -l 5 -f file2
11778 genfile -l 3 -f file3
11779 genfile -l 6 -f file4
11780 genfile -l 24 -f file5
11781 genfile -l 13 -f file6
11782 genfile -l 1385 -f file7
11783 genfile -l 30 -f file8
11784 genfile -l 10 -f file9
11785 genfile -l 256000 -f file10
11786 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11787 tar f archive --delete file10
11790 echo delete04.
at:26 >"$at_check_line_file"
11792 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11797 TEST_TAR_FORMAT
=posix
11798 export TEST_TAR_FORMAT
11799 TAR_OPTIONS
="-H posix"
11803 genfile
-l 3 -f file1
11804 genfile
-l 5 -f file2
11805 genfile
-l 3 -f file3
11806 genfile
-l 6 -f file4
11807 genfile
-l 24 -f file5
11808 genfile
-l 13 -f file6
11809 genfile
-l 1385 -f file7
11810 genfile
-l 30 -f file8
11811 genfile
-l 10 -f file9
11812 genfile
-l 256000 -f file10
11813 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11814 tar f archive
--delete file10
11816 ) ) >"$at_stdout" 2>"$at_stder1"
11817 at_func_filter_trace $?
11822 TEST_TAR_FORMAT
=posix
11823 export TEST_TAR_FORMAT
11824 TAR_OPTIONS
="-H posix"
11828 genfile
-l 3 -f file1
11829 genfile
-l 5 -f file2
11830 genfile
-l 3 -f file3
11831 genfile
-l 6 -f file4
11832 genfile
-l 24 -f file5
11833 genfile
-l 13 -f file6
11834 genfile
-l 1385 -f file7
11835 genfile
-l 30 -f file8
11836 genfile
-l 10 -f file9
11837 genfile
-l 256000 -f file10
11838 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11839 tar f archive
--delete file10
11841 ) ) >"$at_stdout" 2>"$at_stderr"
11845 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11846 echo >>"$at_stdout"; $as_echo "file1
11856 $at_diff - "$at_stdout" || at_failed
=:
11857 at_func_check_status
0 $at_status "$at_srcdir/delete04.at:26"
11859 $at_failed && at_func_log_failure
11863 $as_echo "$at_srcdir/delete04.at:26:
11866 TEST_TAR_FORMAT=gnu
11867 export TEST_TAR_FORMAT
11868 TAR_OPTIONS=\"-H gnu\"
11872 genfile -l 3 -f file1
11873 genfile -l 5 -f file2
11874 genfile -l 3 -f file3
11875 genfile -l 6 -f file4
11876 genfile -l 24 -f file5
11877 genfile -l 13 -f file6
11878 genfile -l 1385 -f file7
11879 genfile -l 30 -f file8
11880 genfile -l 10 -f file9
11881 genfile -l 256000 -f file10
11882 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11883 tar f archive --delete file10
11886 echo delete04.
at:26 >"$at_check_line_file"
11888 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11893 TEST_TAR_FORMAT
=gnu
11894 export TEST_TAR_FORMAT
11895 TAR_OPTIONS
="-H gnu"
11899 genfile
-l 3 -f file1
11900 genfile
-l 5 -f file2
11901 genfile
-l 3 -f file3
11902 genfile
-l 6 -f file4
11903 genfile
-l 24 -f file5
11904 genfile
-l 13 -f file6
11905 genfile
-l 1385 -f file7
11906 genfile
-l 30 -f file8
11907 genfile
-l 10 -f file9
11908 genfile
-l 256000 -f file10
11909 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11910 tar f archive
--delete file10
11912 ) ) >"$at_stdout" 2>"$at_stder1"
11913 at_func_filter_trace $?
11918 TEST_TAR_FORMAT
=gnu
11919 export TEST_TAR_FORMAT
11920 TAR_OPTIONS
="-H gnu"
11924 genfile
-l 3 -f file1
11925 genfile
-l 5 -f file2
11926 genfile
-l 3 -f file3
11927 genfile
-l 6 -f file4
11928 genfile
-l 24 -f file5
11929 genfile
-l 13 -f file6
11930 genfile
-l 1385 -f file7
11931 genfile
-l 30 -f file8
11932 genfile
-l 10 -f file9
11933 genfile
-l 256000 -f file10
11934 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11935 tar f archive
--delete file10
11937 ) ) >"$at_stdout" 2>"$at_stderr"
11941 at_func_diff_devnull
"$at_stderr" || at_failed
=:
11942 echo >>"$at_stdout"; $as_echo "file1
11952 $at_diff - "$at_stdout" || at_failed
=:
11953 at_func_check_status
0 $at_status "$at_srcdir/delete04.at:26"
11955 $at_failed && at_func_log_failure
11962 $at_times_p && times >"$at_times_file"
11963 ) 5>&1 2>&1 |
eval $at_tee_pipe
11964 at_status
=`cat "$at_status_file"`
11967 # 26. delete05.at:27: deleting non-existing member
11968 at_setup_line
='delete05.at:27'
11969 at_desc
="deleting non-existing member"
11970 $at_quiet $as_echo_n " 26: $at_desc "
11972 test -f $XFAILFILE && at_xfail
=yes
11973 echo "# -*- compilation -*-" >> "$at_group_log"
11975 $as_echo "26. delete05.at:27: testing ..."
11983 $as_echo "$at_srcdir/delete05.at:30:
11987 export TEST_TAR_FORMAT
11988 TAR_OPTIONS=\"-H v7\"
11992 genfile -l 1024 -f en
11993 genfile -l 1024 -f to
11995 tar cf archive en to
11996 # Make sure we don't use bogus blocking factor.
11997 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11998 tar --file archive --blocking-factor=20 --delete tre
12001 echo delete05.
at:30 >"$at_check_line_file"
12003 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12009 export TEST_TAR_FORMAT
12010 TAR_OPTIONS
="-H v7"
12014 genfile
-l 1024 -f en
12015 genfile
-l 1024 -f to
12017 tar cf archive en to
12018 # Make sure we don't use bogus blocking factor.
12019 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12020 tar --file archive
--blocking-factor=20 --delete tre
12022 ) ) >"$at_stdout" 2>"$at_stder1"
12023 at_func_filter_trace $?
12029 export TEST_TAR_FORMAT
12030 TAR_OPTIONS
="-H v7"
12034 genfile
-l 1024 -f en
12035 genfile
-l 1024 -f to
12037 tar cf archive en to
12038 # Make sure we don't use bogus blocking factor.
12039 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12040 tar --file archive
--blocking-factor=20 --delete tre
12042 ) ) >"$at_stdout" 2>"$at_stderr"
12046 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
12047 tar: Exiting with failure status due to previous errors
12049 $at_diff - "$at_stderr" || at_failed
=:
12050 echo >>"$at_stdout"; $as_echo "en
12053 $at_diff - "$at_stdout" || at_failed
=:
12054 at_func_check_status
0 $at_status "$at_srcdir/delete05.at:30"
12056 $at_failed && at_func_log_failure
12060 $as_echo "$at_srcdir/delete05.at:30:
12063 TEST_TAR_FORMAT=oldgnu
12064 export TEST_TAR_FORMAT
12065 TAR_OPTIONS=\"-H oldgnu\"
12069 genfile -l 1024 -f en
12070 genfile -l 1024 -f to
12072 tar cf archive en to
12073 # Make sure we don't use bogus blocking factor.
12074 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12075 tar --file archive --blocking-factor=20 --delete tre
12078 echo delete05.
at:30 >"$at_check_line_file"
12080 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12085 TEST_TAR_FORMAT
=oldgnu
12086 export TEST_TAR_FORMAT
12087 TAR_OPTIONS
="-H oldgnu"
12091 genfile
-l 1024 -f en
12092 genfile
-l 1024 -f to
12094 tar cf archive en to
12095 # Make sure we don't use bogus blocking factor.
12096 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12097 tar --file archive
--blocking-factor=20 --delete tre
12099 ) ) >"$at_stdout" 2>"$at_stder1"
12100 at_func_filter_trace $?
12105 TEST_TAR_FORMAT
=oldgnu
12106 export TEST_TAR_FORMAT
12107 TAR_OPTIONS
="-H oldgnu"
12111 genfile
-l 1024 -f en
12112 genfile
-l 1024 -f to
12114 tar cf archive en to
12115 # Make sure we don't use bogus blocking factor.
12116 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12117 tar --file archive
--blocking-factor=20 --delete tre
12119 ) ) >"$at_stdout" 2>"$at_stderr"
12123 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
12124 tar: Exiting with failure status due to previous errors
12126 $at_diff - "$at_stderr" || at_failed
=:
12127 echo >>"$at_stdout"; $as_echo "en
12130 $at_diff - "$at_stdout" || at_failed
=:
12131 at_func_check_status
0 $at_status "$at_srcdir/delete05.at:30"
12133 $at_failed && at_func_log_failure
12137 $as_echo "$at_srcdir/delete05.at:30:
12140 TEST_TAR_FORMAT=ustar
12141 export TEST_TAR_FORMAT
12142 TAR_OPTIONS=\"-H ustar\"
12146 genfile -l 1024 -f en
12147 genfile -l 1024 -f to
12149 tar cf archive en to
12150 # Make sure we don't use bogus blocking factor.
12151 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12152 tar --file archive --blocking-factor=20 --delete tre
12155 echo delete05.
at:30 >"$at_check_line_file"
12157 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12162 TEST_TAR_FORMAT
=ustar
12163 export TEST_TAR_FORMAT
12164 TAR_OPTIONS
="-H ustar"
12168 genfile
-l 1024 -f en
12169 genfile
-l 1024 -f to
12171 tar cf archive en to
12172 # Make sure we don't use bogus blocking factor.
12173 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12174 tar --file archive
--blocking-factor=20 --delete tre
12176 ) ) >"$at_stdout" 2>"$at_stder1"
12177 at_func_filter_trace $?
12182 TEST_TAR_FORMAT
=ustar
12183 export TEST_TAR_FORMAT
12184 TAR_OPTIONS
="-H ustar"
12188 genfile
-l 1024 -f en
12189 genfile
-l 1024 -f to
12191 tar cf archive en to
12192 # Make sure we don't use bogus blocking factor.
12193 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12194 tar --file archive
--blocking-factor=20 --delete tre
12196 ) ) >"$at_stdout" 2>"$at_stderr"
12200 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
12201 tar: Exiting with failure status due to previous errors
12203 $at_diff - "$at_stderr" || at_failed
=:
12204 echo >>"$at_stdout"; $as_echo "en
12207 $at_diff - "$at_stdout" || at_failed
=:
12208 at_func_check_status
0 $at_status "$at_srcdir/delete05.at:30"
12210 $at_failed && at_func_log_failure
12214 $as_echo "$at_srcdir/delete05.at:30:
12217 TEST_TAR_FORMAT=posix
12218 export TEST_TAR_FORMAT
12219 TAR_OPTIONS=\"-H posix\"
12223 genfile -l 1024 -f en
12224 genfile -l 1024 -f to
12226 tar cf archive en to
12227 # Make sure we don't use bogus blocking factor.
12228 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12229 tar --file archive --blocking-factor=20 --delete tre
12232 echo delete05.
at:30 >"$at_check_line_file"
12234 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12239 TEST_TAR_FORMAT
=posix
12240 export TEST_TAR_FORMAT
12241 TAR_OPTIONS
="-H posix"
12245 genfile
-l 1024 -f en
12246 genfile
-l 1024 -f to
12248 tar cf archive en to
12249 # Make sure we don't use bogus blocking factor.
12250 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12251 tar --file archive
--blocking-factor=20 --delete tre
12253 ) ) >"$at_stdout" 2>"$at_stder1"
12254 at_func_filter_trace $?
12259 TEST_TAR_FORMAT
=posix
12260 export TEST_TAR_FORMAT
12261 TAR_OPTIONS
="-H posix"
12265 genfile
-l 1024 -f en
12266 genfile
-l 1024 -f to
12268 tar cf archive en to
12269 # Make sure we don't use bogus blocking factor.
12270 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12271 tar --file archive
--blocking-factor=20 --delete tre
12273 ) ) >"$at_stdout" 2>"$at_stderr"
12277 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
12278 tar: Exiting with failure status due to previous errors
12280 $at_diff - "$at_stderr" || at_failed
=:
12281 echo >>"$at_stdout"; $as_echo "en
12284 $at_diff - "$at_stdout" || at_failed
=:
12285 at_func_check_status
0 $at_status "$at_srcdir/delete05.at:30"
12287 $at_failed && at_func_log_failure
12291 $as_echo "$at_srcdir/delete05.at:30:
12294 TEST_TAR_FORMAT=gnu
12295 export TEST_TAR_FORMAT
12296 TAR_OPTIONS=\"-H gnu\"
12300 genfile -l 1024 -f en
12301 genfile -l 1024 -f to
12303 tar cf archive en to
12304 # Make sure we don't use bogus blocking factor.
12305 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12306 tar --file archive --blocking-factor=20 --delete tre
12309 echo delete05.
at:30 >"$at_check_line_file"
12311 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12316 TEST_TAR_FORMAT
=gnu
12317 export TEST_TAR_FORMAT
12318 TAR_OPTIONS
="-H gnu"
12322 genfile
-l 1024 -f en
12323 genfile
-l 1024 -f to
12325 tar cf archive en to
12326 # Make sure we don't use bogus blocking factor.
12327 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12328 tar --file archive
--blocking-factor=20 --delete tre
12330 ) ) >"$at_stdout" 2>"$at_stder1"
12331 at_func_filter_trace $?
12336 TEST_TAR_FORMAT
=gnu
12337 export TEST_TAR_FORMAT
12338 TAR_OPTIONS
="-H gnu"
12342 genfile
-l 1024 -f en
12343 genfile
-l 1024 -f to
12345 tar cf archive en to
12346 # Make sure we don't use bogus blocking factor.
12347 # GNU tar up to and including 1.14.91 produced an empty archive this way:
12348 tar --file archive
--blocking-factor=20 --delete tre
12350 ) ) >"$at_stdout" 2>"$at_stderr"
12354 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
12355 tar: Exiting with failure status due to previous errors
12357 $at_diff - "$at_stderr" || at_failed
=:
12358 echo >>"$at_stdout"; $as_echo "en
12361 $at_diff - "$at_stdout" || at_failed
=:
12362 at_func_check_status
0 $at_status "$at_srcdir/delete05.at:30"
12364 $at_failed && at_func_log_failure
12371 $at_times_p && times >"$at_times_file"
12372 ) 5>&1 2>&1 |
eval $at_tee_pipe
12373 at_status
=`cat "$at_status_file"`
12376 # 27. extrac01.at:23: extract over an existing directory
12377 at_setup_line
='extrac01.at:23'
12378 at_desc
="extract over an existing directory"
12379 $at_quiet $as_echo_n " 27: $at_desc "
12381 test -f $XFAILFILE && at_xfail
=yes
12382 echo "# -*- compilation -*-" >> "$at_group_log"
12384 $as_echo "27. extrac01.at:23: testing ..."
12392 $as_echo "$at_srcdir/extrac01.at:26:
12396 export TEST_TAR_FORMAT
12397 TAR_OPTIONS=\"-H v7\"
12402 touch directory/file
12403 tar cf archive directory || exit 1
12404 tar xf archive --warning=no-timestamp || exit 1
12406 echo extrac01.
at:26 >"$at_check_line_file"
12408 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12414 export TEST_TAR_FORMAT
12415 TAR_OPTIONS
="-H v7"
12420 touch directory
/file
12421 tar cf archive directory ||
exit 1
12422 tar xf archive
--warning=no-timestamp ||
exit 1
12423 ) ) >"$at_stdout" 2>"$at_stder1"
12424 at_func_filter_trace $?
12430 export TEST_TAR_FORMAT
12431 TAR_OPTIONS
="-H v7"
12436 touch directory
/file
12437 tar cf archive directory ||
exit 1
12438 tar xf archive
--warning=no-timestamp ||
exit 1
12439 ) ) >"$at_stdout" 2>"$at_stderr"
12443 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12444 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12445 at_func_check_status
0 $at_status "$at_srcdir/extrac01.at:26"
12447 $at_failed && at_func_log_failure
12451 $as_echo "$at_srcdir/extrac01.at:26:
12454 TEST_TAR_FORMAT=oldgnu
12455 export TEST_TAR_FORMAT
12456 TAR_OPTIONS=\"-H oldgnu\"
12461 touch directory/file
12462 tar cf archive directory || exit 1
12463 tar xf archive --warning=no-timestamp || exit 1
12465 echo extrac01.
at:26 >"$at_check_line_file"
12467 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12472 TEST_TAR_FORMAT
=oldgnu
12473 export TEST_TAR_FORMAT
12474 TAR_OPTIONS
="-H oldgnu"
12479 touch directory
/file
12480 tar cf archive directory ||
exit 1
12481 tar xf archive
--warning=no-timestamp ||
exit 1
12482 ) ) >"$at_stdout" 2>"$at_stder1"
12483 at_func_filter_trace $?
12488 TEST_TAR_FORMAT
=oldgnu
12489 export TEST_TAR_FORMAT
12490 TAR_OPTIONS
="-H oldgnu"
12495 touch directory
/file
12496 tar cf archive directory ||
exit 1
12497 tar xf archive
--warning=no-timestamp ||
exit 1
12498 ) ) >"$at_stdout" 2>"$at_stderr"
12502 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12503 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12504 at_func_check_status
0 $at_status "$at_srcdir/extrac01.at:26"
12506 $at_failed && at_func_log_failure
12510 $as_echo "$at_srcdir/extrac01.at:26:
12513 TEST_TAR_FORMAT=ustar
12514 export TEST_TAR_FORMAT
12515 TAR_OPTIONS=\"-H ustar\"
12520 touch directory/file
12521 tar cf archive directory || exit 1
12522 tar xf archive --warning=no-timestamp || exit 1
12524 echo extrac01.
at:26 >"$at_check_line_file"
12526 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12531 TEST_TAR_FORMAT
=ustar
12532 export TEST_TAR_FORMAT
12533 TAR_OPTIONS
="-H ustar"
12538 touch directory
/file
12539 tar cf archive directory ||
exit 1
12540 tar xf archive
--warning=no-timestamp ||
exit 1
12541 ) ) >"$at_stdout" 2>"$at_stder1"
12542 at_func_filter_trace $?
12547 TEST_TAR_FORMAT
=ustar
12548 export TEST_TAR_FORMAT
12549 TAR_OPTIONS
="-H ustar"
12554 touch directory
/file
12555 tar cf archive directory ||
exit 1
12556 tar xf archive
--warning=no-timestamp ||
exit 1
12557 ) ) >"$at_stdout" 2>"$at_stderr"
12561 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12562 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12563 at_func_check_status
0 $at_status "$at_srcdir/extrac01.at:26"
12565 $at_failed && at_func_log_failure
12569 $as_echo "$at_srcdir/extrac01.at:26:
12572 TEST_TAR_FORMAT=posix
12573 export TEST_TAR_FORMAT
12574 TAR_OPTIONS=\"-H posix\"
12579 touch directory/file
12580 tar cf archive directory || exit 1
12581 tar xf archive --warning=no-timestamp || exit 1
12583 echo extrac01.
at:26 >"$at_check_line_file"
12585 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12590 TEST_TAR_FORMAT
=posix
12591 export TEST_TAR_FORMAT
12592 TAR_OPTIONS
="-H posix"
12597 touch directory
/file
12598 tar cf archive directory ||
exit 1
12599 tar xf archive
--warning=no-timestamp ||
exit 1
12600 ) ) >"$at_stdout" 2>"$at_stder1"
12601 at_func_filter_trace $?
12606 TEST_TAR_FORMAT
=posix
12607 export TEST_TAR_FORMAT
12608 TAR_OPTIONS
="-H posix"
12613 touch directory
/file
12614 tar cf archive directory ||
exit 1
12615 tar xf archive
--warning=no-timestamp ||
exit 1
12616 ) ) >"$at_stdout" 2>"$at_stderr"
12620 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12621 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12622 at_func_check_status
0 $at_status "$at_srcdir/extrac01.at:26"
12624 $at_failed && at_func_log_failure
12628 $as_echo "$at_srcdir/extrac01.at:26:
12631 TEST_TAR_FORMAT=gnu
12632 export TEST_TAR_FORMAT
12633 TAR_OPTIONS=\"-H gnu\"
12638 touch directory/file
12639 tar cf archive directory || exit 1
12640 tar xf archive --warning=no-timestamp || exit 1
12642 echo extrac01.
at:26 >"$at_check_line_file"
12644 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12649 TEST_TAR_FORMAT
=gnu
12650 export TEST_TAR_FORMAT
12651 TAR_OPTIONS
="-H gnu"
12656 touch directory
/file
12657 tar cf archive directory ||
exit 1
12658 tar xf archive
--warning=no-timestamp ||
exit 1
12659 ) ) >"$at_stdout" 2>"$at_stder1"
12660 at_func_filter_trace $?
12665 TEST_TAR_FORMAT
=gnu
12666 export TEST_TAR_FORMAT
12667 TAR_OPTIONS
="-H gnu"
12672 touch directory
/file
12673 tar cf archive directory ||
exit 1
12674 tar xf archive
--warning=no-timestamp ||
exit 1
12675 ) ) >"$at_stdout" 2>"$at_stderr"
12679 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12680 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12681 at_func_check_status
0 $at_status "$at_srcdir/extrac01.at:26"
12683 $at_failed && at_func_log_failure
12690 $at_times_p && times >"$at_times_file"
12691 ) 5>&1 2>&1 |
eval $at_tee_pipe
12692 at_status
=`cat "$at_status_file"`
12695 # 28. extrac02.at:23: extracting symlinks over an existing file
12696 at_setup_line
='extrac02.at:23'
12697 at_desc
="extracting symlinks over an existing file"
12698 $at_quiet $as_echo_n " 28: $at_desc "
12700 test -f $XFAILFILE && at_xfail
=yes
12701 echo "# -*- compilation -*-" >> "$at_group_log"
12703 $as_echo "28. extrac02.at:23: testing ..."
12708 # FIXME: Skip if symlinks are not supported on the system
12713 $as_echo "$at_srcdir/extrac02.at:28:
12717 export TEST_TAR_FORMAT
12718 TAR_OPTIONS=\"-H v7\"
12723 ln -s file link 2> /dev/null || ln file link
12724 tar cf archive link
12729 echo extrac02.
at:28 >"$at_check_line_file"
12731 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12737 export TEST_TAR_FORMAT
12738 TAR_OPTIONS
="-H v7"
12743 ln -s file link
2> /dev
/null ||
ln file link
12744 tar cf archive link
12748 ) ) >"$at_stdout" 2>"$at_stder1"
12749 at_func_filter_trace $?
12755 export TEST_TAR_FORMAT
12756 TAR_OPTIONS
="-H v7"
12761 ln -s file link
2> /dev
/null ||
ln file link
12762 tar cf archive link
12766 ) ) >"$at_stdout" 2>"$at_stderr"
12770 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12771 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12772 at_func_check_status
0 $at_status "$at_srcdir/extrac02.at:28"
12774 $at_failed && at_func_log_failure
12778 $as_echo "$at_srcdir/extrac02.at:28:
12781 TEST_TAR_FORMAT=oldgnu
12782 export TEST_TAR_FORMAT
12783 TAR_OPTIONS=\"-H oldgnu\"
12788 ln -s file link 2> /dev/null || ln file link
12789 tar cf archive link
12794 echo extrac02.
at:28 >"$at_check_line_file"
12796 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12801 TEST_TAR_FORMAT
=oldgnu
12802 export TEST_TAR_FORMAT
12803 TAR_OPTIONS
="-H oldgnu"
12808 ln -s file link
2> /dev
/null ||
ln file link
12809 tar cf archive link
12813 ) ) >"$at_stdout" 2>"$at_stder1"
12814 at_func_filter_trace $?
12819 TEST_TAR_FORMAT
=oldgnu
12820 export TEST_TAR_FORMAT
12821 TAR_OPTIONS
="-H oldgnu"
12826 ln -s file link
2> /dev
/null ||
ln file link
12827 tar cf archive link
12831 ) ) >"$at_stdout" 2>"$at_stderr"
12835 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12836 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12837 at_func_check_status
0 $at_status "$at_srcdir/extrac02.at:28"
12839 $at_failed && at_func_log_failure
12843 $as_echo "$at_srcdir/extrac02.at:28:
12846 TEST_TAR_FORMAT=ustar
12847 export TEST_TAR_FORMAT
12848 TAR_OPTIONS=\"-H ustar\"
12853 ln -s file link 2> /dev/null || ln file link
12854 tar cf archive link
12859 echo extrac02.
at:28 >"$at_check_line_file"
12861 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12866 TEST_TAR_FORMAT
=ustar
12867 export TEST_TAR_FORMAT
12868 TAR_OPTIONS
="-H ustar"
12873 ln -s file link
2> /dev
/null ||
ln file link
12874 tar cf archive link
12878 ) ) >"$at_stdout" 2>"$at_stder1"
12879 at_func_filter_trace $?
12884 TEST_TAR_FORMAT
=ustar
12885 export TEST_TAR_FORMAT
12886 TAR_OPTIONS
="-H ustar"
12891 ln -s file link
2> /dev
/null ||
ln file link
12892 tar cf archive link
12896 ) ) >"$at_stdout" 2>"$at_stderr"
12900 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12901 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12902 at_func_check_status
0 $at_status "$at_srcdir/extrac02.at:28"
12904 $at_failed && at_func_log_failure
12908 $as_echo "$at_srcdir/extrac02.at:28:
12911 TEST_TAR_FORMAT=posix
12912 export TEST_TAR_FORMAT
12913 TAR_OPTIONS=\"-H posix\"
12918 ln -s file link 2> /dev/null || ln file link
12919 tar cf archive link
12924 echo extrac02.
at:28 >"$at_check_line_file"
12926 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12931 TEST_TAR_FORMAT
=posix
12932 export TEST_TAR_FORMAT
12933 TAR_OPTIONS
="-H posix"
12938 ln -s file link
2> /dev
/null ||
ln file link
12939 tar cf archive link
12943 ) ) >"$at_stdout" 2>"$at_stder1"
12944 at_func_filter_trace $?
12949 TEST_TAR_FORMAT
=posix
12950 export TEST_TAR_FORMAT
12951 TAR_OPTIONS
="-H posix"
12956 ln -s file link
2> /dev
/null ||
ln file link
12957 tar cf archive link
12961 ) ) >"$at_stdout" 2>"$at_stderr"
12965 at_func_diff_devnull
"$at_stderr" || at_failed
=:
12966 at_func_diff_devnull
"$at_stdout" || at_failed
=:
12967 at_func_check_status
0 $at_status "$at_srcdir/extrac02.at:28"
12969 $at_failed && at_func_log_failure
12973 $as_echo "$at_srcdir/extrac02.at:28:
12976 TEST_TAR_FORMAT=gnu
12977 export TEST_TAR_FORMAT
12978 TAR_OPTIONS=\"-H gnu\"
12983 ln -s file link 2> /dev/null || ln file link
12984 tar cf archive link
12989 echo extrac02.
at:28 >"$at_check_line_file"
12991 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12996 TEST_TAR_FORMAT
=gnu
12997 export TEST_TAR_FORMAT
12998 TAR_OPTIONS
="-H gnu"
13003 ln -s file link
2> /dev
/null ||
ln file link
13004 tar cf archive link
13008 ) ) >"$at_stdout" 2>"$at_stder1"
13009 at_func_filter_trace $?
13014 TEST_TAR_FORMAT
=gnu
13015 export TEST_TAR_FORMAT
13016 TAR_OPTIONS
="-H gnu"
13021 ln -s file link
2> /dev
/null ||
ln file link
13022 tar cf archive link
13026 ) ) >"$at_stdout" 2>"$at_stderr"
13030 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13031 at_func_diff_devnull
"$at_stdout" || at_failed
=:
13032 at_func_check_status
0 $at_status "$at_srcdir/extrac02.at:28"
13034 $at_failed && at_func_log_failure
13041 $at_times_p && times >"$at_times_file"
13042 ) 5>&1 2>&1 |
eval $at_tee_pipe
13043 at_status
=`cat "$at_status_file"`
13046 # 29. extrac03.at:23: extraction loops
13047 at_setup_line
='extrac03.at:23'
13048 at_desc
="extraction loops"
13049 $at_quiet $as_echo_n " 29: $at_desc "
13051 test -f $XFAILFILE && at_xfail
=yes
13052 echo "# -*- compilation -*-" >> "$at_group_log"
13054 $as_echo "29. extrac03.at:23: testing ..."
13062 $as_echo "$at_srcdir/extrac03.at:26:
13066 export TEST_TAR_FORMAT
13067 TAR_OPTIONS=\"-H v7\"
13072 tar -cPvf archive directory/../directory
13074 tar -xPvf archive --warning=no-timestamp)"
13075 echo extrac03.
at:26 >"$at_check_line_file"
13077 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13083 export TEST_TAR_FORMAT
13084 TAR_OPTIONS
="-H v7"
13089 tar -cPvf archive directory
/..
/directory
13091 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stder1"
13092 at_func_filter_trace $?
13098 export TEST_TAR_FORMAT
13099 TAR_OPTIONS
="-H v7"
13104 tar -cPvf archive directory
/..
/directory
13106 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stderr"
13110 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13111 echo >>"$at_stdout"; $as_echo "directory/../directory/
13113 directory/../directory/
13115 $at_diff - "$at_stdout" || at_failed
=:
13116 at_func_check_status
0 $at_status "$at_srcdir/extrac03.at:26"
13118 $at_failed && at_func_log_failure
13122 $as_echo "$at_srcdir/extrac03.at:26:
13125 TEST_TAR_FORMAT=oldgnu
13126 export TEST_TAR_FORMAT
13127 TAR_OPTIONS=\"-H oldgnu\"
13132 tar -cPvf archive directory/../directory
13134 tar -xPvf archive --warning=no-timestamp)"
13135 echo extrac03.
at:26 >"$at_check_line_file"
13137 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13142 TEST_TAR_FORMAT
=oldgnu
13143 export TEST_TAR_FORMAT
13144 TAR_OPTIONS
="-H oldgnu"
13149 tar -cPvf archive directory
/..
/directory
13151 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stder1"
13152 at_func_filter_trace $?
13157 TEST_TAR_FORMAT
=oldgnu
13158 export TEST_TAR_FORMAT
13159 TAR_OPTIONS
="-H oldgnu"
13164 tar -cPvf archive directory
/..
/directory
13166 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stderr"
13170 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13171 echo >>"$at_stdout"; $as_echo "directory/../directory/
13173 directory/../directory/
13175 $at_diff - "$at_stdout" || at_failed
=:
13176 at_func_check_status
0 $at_status "$at_srcdir/extrac03.at:26"
13178 $at_failed && at_func_log_failure
13182 $as_echo "$at_srcdir/extrac03.at:26:
13185 TEST_TAR_FORMAT=ustar
13186 export TEST_TAR_FORMAT
13187 TAR_OPTIONS=\"-H ustar\"
13192 tar -cPvf archive directory/../directory
13194 tar -xPvf archive --warning=no-timestamp)"
13195 echo extrac03.
at:26 >"$at_check_line_file"
13197 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13202 TEST_TAR_FORMAT
=ustar
13203 export TEST_TAR_FORMAT
13204 TAR_OPTIONS
="-H ustar"
13209 tar -cPvf archive directory
/..
/directory
13211 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stder1"
13212 at_func_filter_trace $?
13217 TEST_TAR_FORMAT
=ustar
13218 export TEST_TAR_FORMAT
13219 TAR_OPTIONS
="-H ustar"
13224 tar -cPvf archive directory
/..
/directory
13226 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stderr"
13230 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13231 echo >>"$at_stdout"; $as_echo "directory/../directory/
13233 directory/../directory/
13235 $at_diff - "$at_stdout" || at_failed
=:
13236 at_func_check_status
0 $at_status "$at_srcdir/extrac03.at:26"
13238 $at_failed && at_func_log_failure
13242 $as_echo "$at_srcdir/extrac03.at:26:
13245 TEST_TAR_FORMAT=posix
13246 export TEST_TAR_FORMAT
13247 TAR_OPTIONS=\"-H posix\"
13252 tar -cPvf archive directory/../directory
13254 tar -xPvf archive --warning=no-timestamp)"
13255 echo extrac03.
at:26 >"$at_check_line_file"
13257 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13262 TEST_TAR_FORMAT
=posix
13263 export TEST_TAR_FORMAT
13264 TAR_OPTIONS
="-H posix"
13269 tar -cPvf archive directory
/..
/directory
13271 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stder1"
13272 at_func_filter_trace $?
13277 TEST_TAR_FORMAT
=posix
13278 export TEST_TAR_FORMAT
13279 TAR_OPTIONS
="-H posix"
13284 tar -cPvf archive directory
/..
/directory
13286 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stderr"
13290 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13291 echo >>"$at_stdout"; $as_echo "directory/../directory/
13293 directory/../directory/
13295 $at_diff - "$at_stdout" || at_failed
=:
13296 at_func_check_status
0 $at_status "$at_srcdir/extrac03.at:26"
13298 $at_failed && at_func_log_failure
13302 $as_echo "$at_srcdir/extrac03.at:26:
13305 TEST_TAR_FORMAT=gnu
13306 export TEST_TAR_FORMAT
13307 TAR_OPTIONS=\"-H gnu\"
13312 tar -cPvf archive directory/../directory
13314 tar -xPvf archive --warning=no-timestamp)"
13315 echo extrac03.
at:26 >"$at_check_line_file"
13317 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13322 TEST_TAR_FORMAT
=gnu
13323 export TEST_TAR_FORMAT
13324 TAR_OPTIONS
="-H gnu"
13329 tar -cPvf archive directory
/..
/directory
13331 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stder1"
13332 at_func_filter_trace $?
13337 TEST_TAR_FORMAT
=gnu
13338 export TEST_TAR_FORMAT
13339 TAR_OPTIONS
="-H gnu"
13344 tar -cPvf archive directory
/..
/directory
13346 tar -xPvf archive
--warning=no-timestamp
) ) >"$at_stdout" 2>"$at_stderr"
13350 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13351 echo >>"$at_stdout"; $as_echo "directory/../directory/
13353 directory/../directory/
13355 $at_diff - "$at_stdout" || at_failed
=:
13356 at_func_check_status
0 $at_status "$at_srcdir/extrac03.at:26"
13358 $at_failed && at_func_log_failure
13365 $at_times_p && times >"$at_times_file"
13366 ) 5>&1 2>&1 |
eval $at_tee_pipe
13367 at_status
=`cat "$at_status_file"`
13370 # 30. extrac04.at:23: extract + fnmatch
13371 at_setup_line
='extrac04.at:23'
13372 at_desc
="extract + fnmatch"
13373 $at_quiet $as_echo_n " 30: $at_desc "
13375 test -f $XFAILFILE && at_xfail
=yes
13376 echo "# -*- compilation -*-" >> "$at_group_log"
13378 $as_echo "30. extrac04.at:23: testing ..."
13386 $as_echo "$at_srcdir/extrac04.at:26:
13390 export TEST_TAR_FORMAT
13391 TAR_OPTIONS=\"-H v7\"
13396 test -z "`sort < /dev/null 2>&1`" || exit 77
13400 mkdir directory/subdirectory
13401 touch directory/file1
13402 touch directory/file2
13403 touch directory/subdirectory/file1
13404 touch directory/subdirectory/file2
13405 tar -cf archive ./file1 directory
13407 --exclude='./*1' \\
13408 --exclude='d*/*1' \\
13409 --exclude='d*/s*/*2' | sort
13411 echo extrac04.
at:26 >"$at_check_line_file"
13413 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13419 export TEST_TAR_FORMAT
13420 TAR_OPTIONS
="-H v7"
13425 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13429 mkdir directory
/subdirectory
13430 touch directory
/file1
13431 touch directory
/file2
13432 touch directory
/subdirectory
/file1
13433 touch directory
/subdirectory
/file2
13434 tar -cf archive .
/file1 directory
13437 --exclude='d*/*1' \
13438 --exclude='d*/s*/*2' |
sort
13439 ) ) >"$at_stdout" 2>"$at_stder1"
13440 at_func_filter_trace $?
13446 export TEST_TAR_FORMAT
13447 TAR_OPTIONS
="-H v7"
13452 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13456 mkdir directory
/subdirectory
13457 touch directory
/file1
13458 touch directory
/file2
13459 touch directory
/subdirectory
/file1
13460 touch directory
/subdirectory
/file2
13461 tar -cf archive .
/file1 directory
13464 --exclude='d*/*1' \
13465 --exclude='d*/s*/*2' |
sort
13466 ) ) >"$at_stdout" 2>"$at_stderr"
13470 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13471 echo >>"$at_stdout"; $as_echo "directory/
13473 directory/subdirectory/
13475 $at_diff - "$at_stdout" || at_failed
=:
13476 at_func_check_status
0 $at_status "$at_srcdir/extrac04.at:26"
13478 $at_failed && at_func_log_failure
13482 $as_echo "$at_srcdir/extrac04.at:26:
13485 TEST_TAR_FORMAT=oldgnu
13486 export TEST_TAR_FORMAT
13487 TAR_OPTIONS=\"-H oldgnu\"
13492 test -z "`sort < /dev/null 2>&1`" || exit 77
13496 mkdir directory/subdirectory
13497 touch directory/file1
13498 touch directory/file2
13499 touch directory/subdirectory/file1
13500 touch directory/subdirectory/file2
13501 tar -cf archive ./file1 directory
13503 --exclude='./*1' \\
13504 --exclude='d*/*1' \\
13505 --exclude='d*/s*/*2' | sort
13507 echo extrac04.
at:26 >"$at_check_line_file"
13509 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13514 TEST_TAR_FORMAT
=oldgnu
13515 export TEST_TAR_FORMAT
13516 TAR_OPTIONS
="-H oldgnu"
13521 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13525 mkdir directory
/subdirectory
13526 touch directory
/file1
13527 touch directory
/file2
13528 touch directory
/subdirectory
/file1
13529 touch directory
/subdirectory
/file2
13530 tar -cf archive .
/file1 directory
13533 --exclude='d*/*1' \
13534 --exclude='d*/s*/*2' |
sort
13535 ) ) >"$at_stdout" 2>"$at_stder1"
13536 at_func_filter_trace $?
13541 TEST_TAR_FORMAT
=oldgnu
13542 export TEST_TAR_FORMAT
13543 TAR_OPTIONS
="-H oldgnu"
13548 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13552 mkdir directory
/subdirectory
13553 touch directory
/file1
13554 touch directory
/file2
13555 touch directory
/subdirectory
/file1
13556 touch directory
/subdirectory
/file2
13557 tar -cf archive .
/file1 directory
13560 --exclude='d*/*1' \
13561 --exclude='d*/s*/*2' |
sort
13562 ) ) >"$at_stdout" 2>"$at_stderr"
13566 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13567 echo >>"$at_stdout"; $as_echo "directory/
13569 directory/subdirectory/
13571 $at_diff - "$at_stdout" || at_failed
=:
13572 at_func_check_status
0 $at_status "$at_srcdir/extrac04.at:26"
13574 $at_failed && at_func_log_failure
13578 $as_echo "$at_srcdir/extrac04.at:26:
13581 TEST_TAR_FORMAT=ustar
13582 export TEST_TAR_FORMAT
13583 TAR_OPTIONS=\"-H ustar\"
13588 test -z "`sort < /dev/null 2>&1`" || exit 77
13592 mkdir directory/subdirectory
13593 touch directory/file1
13594 touch directory/file2
13595 touch directory/subdirectory/file1
13596 touch directory/subdirectory/file2
13597 tar -cf archive ./file1 directory
13599 --exclude='./*1' \\
13600 --exclude='d*/*1' \\
13601 --exclude='d*/s*/*2' | sort
13603 echo extrac04.
at:26 >"$at_check_line_file"
13605 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13610 TEST_TAR_FORMAT
=ustar
13611 export TEST_TAR_FORMAT
13612 TAR_OPTIONS
="-H ustar"
13617 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13621 mkdir directory
/subdirectory
13622 touch directory
/file1
13623 touch directory
/file2
13624 touch directory
/subdirectory
/file1
13625 touch directory
/subdirectory
/file2
13626 tar -cf archive .
/file1 directory
13629 --exclude='d*/*1' \
13630 --exclude='d*/s*/*2' |
sort
13631 ) ) >"$at_stdout" 2>"$at_stder1"
13632 at_func_filter_trace $?
13637 TEST_TAR_FORMAT
=ustar
13638 export TEST_TAR_FORMAT
13639 TAR_OPTIONS
="-H ustar"
13644 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13648 mkdir directory
/subdirectory
13649 touch directory
/file1
13650 touch directory
/file2
13651 touch directory
/subdirectory
/file1
13652 touch directory
/subdirectory
/file2
13653 tar -cf archive .
/file1 directory
13656 --exclude='d*/*1' \
13657 --exclude='d*/s*/*2' |
sort
13658 ) ) >"$at_stdout" 2>"$at_stderr"
13662 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13663 echo >>"$at_stdout"; $as_echo "directory/
13665 directory/subdirectory/
13667 $at_diff - "$at_stdout" || at_failed
=:
13668 at_func_check_status
0 $at_status "$at_srcdir/extrac04.at:26"
13670 $at_failed && at_func_log_failure
13674 $as_echo "$at_srcdir/extrac04.at:26:
13677 TEST_TAR_FORMAT=posix
13678 export TEST_TAR_FORMAT
13679 TAR_OPTIONS=\"-H posix\"
13684 test -z "`sort < /dev/null 2>&1`" || exit 77
13688 mkdir directory/subdirectory
13689 touch directory/file1
13690 touch directory/file2
13691 touch directory/subdirectory/file1
13692 touch directory/subdirectory/file2
13693 tar -cf archive ./file1 directory
13695 --exclude='./*1' \\
13696 --exclude='d*/*1' \\
13697 --exclude='d*/s*/*2' | sort
13699 echo extrac04.
at:26 >"$at_check_line_file"
13701 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13706 TEST_TAR_FORMAT
=posix
13707 export TEST_TAR_FORMAT
13708 TAR_OPTIONS
="-H posix"
13713 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13717 mkdir directory
/subdirectory
13718 touch directory
/file1
13719 touch directory
/file2
13720 touch directory
/subdirectory
/file1
13721 touch directory
/subdirectory
/file2
13722 tar -cf archive .
/file1 directory
13725 --exclude='d*/*1' \
13726 --exclude='d*/s*/*2' |
sort
13727 ) ) >"$at_stdout" 2>"$at_stder1"
13728 at_func_filter_trace $?
13733 TEST_TAR_FORMAT
=posix
13734 export TEST_TAR_FORMAT
13735 TAR_OPTIONS
="-H posix"
13740 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13744 mkdir directory
/subdirectory
13745 touch directory
/file1
13746 touch directory
/file2
13747 touch directory
/subdirectory
/file1
13748 touch directory
/subdirectory
/file2
13749 tar -cf archive .
/file1 directory
13752 --exclude='d*/*1' \
13753 --exclude='d*/s*/*2' |
sort
13754 ) ) >"$at_stdout" 2>"$at_stderr"
13758 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13759 echo >>"$at_stdout"; $as_echo "directory/
13761 directory/subdirectory/
13763 $at_diff - "$at_stdout" || at_failed
=:
13764 at_func_check_status
0 $at_status "$at_srcdir/extrac04.at:26"
13766 $at_failed && at_func_log_failure
13770 $as_echo "$at_srcdir/extrac04.at:26:
13773 TEST_TAR_FORMAT=gnu
13774 export TEST_TAR_FORMAT
13775 TAR_OPTIONS=\"-H gnu\"
13780 test -z "`sort < /dev/null 2>&1`" || exit 77
13784 mkdir directory/subdirectory
13785 touch directory/file1
13786 touch directory/file2
13787 touch directory/subdirectory/file1
13788 touch directory/subdirectory/file2
13789 tar -cf archive ./file1 directory
13791 --exclude='./*1' \\
13792 --exclude='d*/*1' \\
13793 --exclude='d*/s*/*2' | sort
13795 echo extrac04.
at:26 >"$at_check_line_file"
13797 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13802 TEST_TAR_FORMAT
=gnu
13803 export TEST_TAR_FORMAT
13804 TAR_OPTIONS
="-H gnu"
13809 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13813 mkdir directory
/subdirectory
13814 touch directory
/file1
13815 touch directory
/file2
13816 touch directory
/subdirectory
/file1
13817 touch directory
/subdirectory
/file2
13818 tar -cf archive .
/file1 directory
13821 --exclude='d*/*1' \
13822 --exclude='d*/s*/*2' |
sort
13823 ) ) >"$at_stdout" 2>"$at_stder1"
13824 at_func_filter_trace $?
13829 TEST_TAR_FORMAT
=gnu
13830 export TEST_TAR_FORMAT
13831 TAR_OPTIONS
="-H gnu"
13836 test -z "`sort < /dev/null 2>&1`" ||
exit 77
13840 mkdir directory
/subdirectory
13841 touch directory
/file1
13842 touch directory
/file2
13843 touch directory
/subdirectory
/file1
13844 touch directory
/subdirectory
/file2
13845 tar -cf archive .
/file1 directory
13848 --exclude='d*/*1' \
13849 --exclude='d*/s*/*2' |
sort
13850 ) ) >"$at_stdout" 2>"$at_stderr"
13854 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13855 echo >>"$at_stdout"; $as_echo "directory/
13857 directory/subdirectory/
13859 $at_diff - "$at_stdout" || at_failed
=:
13860 at_func_check_status
0 $at_status "$at_srcdir/extrac04.at:26"
13862 $at_failed && at_func_log_failure
13869 $at_times_p && times >"$at_times_file"
13870 ) 5>&1 2>&1 |
eval $at_tee_pipe
13871 at_status
=`cat "$at_status_file"`
13874 # 31. extrac05.at:30: extracting selected members from pax
13875 at_setup_line
='extrac05.at:30'
13876 at_desc
="extracting selected members from pax"
13877 $at_quiet $as_echo_n " 31: $at_desc "
13879 test -f $XFAILFILE && at_xfail
=yes
13880 echo "# -*- compilation -*-" >> "$at_group_log"
13882 $as_echo "31. extrac05.at:30: testing ..."
13887 cat >list
<<'_ATEOF'
13896 $as_echo "$at_srcdir/extrac05.at:38:
13899 TEST_TAR_FORMAT=posix
13900 export TEST_TAR_FORMAT
13901 TAR_OPTIONS=\"-H posix\"
13905 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13906 genfile --length 118 --file jeden
13907 genfile --length 223 --file dwa
13908 genfile --length 517 --file trzy
13909 genfile --length 110 --file cztery
13911 tar cf archive jeden dwa trzy cztery || exit 1
13916 tar xvfT ../archive ../../list --warning=no-timestamp || exit 1
13920 echo extrac05.
at:38 >"$at_check_line_file"
13922 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13927 TEST_TAR_FORMAT
=posix
13928 export TEST_TAR_FORMAT
13929 TAR_OPTIONS
="-H posix"
13933 genfile
--sparse --file sparsefile
0 ABCD
1M EFGH
2000K IJKL ||
exit 77
13934 genfile
--length 118 --file jeden
13935 genfile
--length 223 --file dwa
13936 genfile
--length 517 --file trzy
13937 genfile
--length 110 --file cztery
13939 tar cf archive jeden dwa trzy cztery ||
exit 1
13944 tar xvfT ..
/archive ..
/..
/list
--warning=no-timestamp ||
exit 1
13947 ) ) >"$at_stdout" 2>"$at_stder1"
13948 at_func_filter_trace $?
13953 TEST_TAR_FORMAT
=posix
13954 export TEST_TAR_FORMAT
13955 TAR_OPTIONS
="-H posix"
13959 genfile
--sparse --file sparsefile
0 ABCD
1M EFGH
2000K IJKL ||
exit 77
13960 genfile
--length 118 --file jeden
13961 genfile
--length 223 --file dwa
13962 genfile
--length 517 --file trzy
13963 genfile
--length 110 --file cztery
13965 tar cf archive jeden dwa trzy cztery ||
exit 1
13970 tar xvfT ..
/archive ..
/..
/list
--warning=no-timestamp ||
exit 1
13973 ) ) >"$at_stdout" 2>"$at_stderr"
13977 at_func_diff_devnull
"$at_stderr" || at_failed
=:
13978 echo >>"$at_stdout"; $as_echo "jeden
13981 $at_diff - "$at_stdout" || at_failed
=:
13982 at_func_check_status
0 $at_status "$at_srcdir/extrac05.at:38"
13984 $at_failed && at_func_log_failure
13991 $at_times_p && times >"$at_times_file"
13992 ) 5>&1 2>&1 |
eval $at_tee_pipe
13993 at_status
=`cat "$at_status_file"`
13996 # 32. extrac06.at:33: mode of extracted directories
13997 at_setup_line
='extrac06.at:33'
13998 at_desc
="mode of extracted directories"
13999 $at_quiet $as_echo_n " 32: $at_desc "
14001 test -f $XFAILFILE && at_xfail
=yes
14002 echo "# -*- compilation -*-" >> "$at_group_log"
14004 $as_echo "32. extrac06.at:33: testing ..."
14012 $as_echo "$at_srcdir/extrac06.at:36:
14016 export TEST_TAR_FORMAT
14017 TAR_OPTIONS=\"-H v7\"
14025 # Make sure user's umask is honored, even if we are superuser
14026 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14028 # Create a directory
14030 chmod 777 directory
14031 genfile --stat=mode:777 directory
14034 tar cf arc directory
14036 # Change its permissions ...
14037 chmod 755 directory
14038 genfile --stat=mode:777 directory
14040 # ... and attempt to restore it twice
14041 tar xf arc directory --warning=no-timestamp
14042 genfile --stat=mode:777 directory
14044 tar xf arc directory --warning=no-timestamp
14045 genfile --stat=mode:777 directory
14047 # After both restores, the directory mode should be 755
14049 echo extrac06.
at:36 >"$at_check_line_file"
14051 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14057 export TEST_TAR_FORMAT
14058 TAR_OPTIONS
="-H v7"
14066 # Make sure user's umask is honored, even if we are superuser
14067 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14069 # Create a directory
14071 chmod 777 directory
14072 genfile
--stat=mode
:777 directory
14075 tar cf arc directory
14077 # Change its permissions ...
14078 chmod 755 directory
14079 genfile
--stat=mode
:777 directory
14081 # ... and attempt to restore it twice
14082 tar xf arc directory
--warning=no-timestamp
14083 genfile
--stat=mode
:777 directory
14085 tar xf arc directory
--warning=no-timestamp
14086 genfile
--stat=mode
:777 directory
14088 # After both restores, the directory mode should be 755
14089 ) ) >"$at_stdout" 2>"$at_stder1"
14090 at_func_filter_trace $?
14096 export TEST_TAR_FORMAT
14097 TAR_OPTIONS
="-H v7"
14105 # Make sure user's umask is honored, even if we are superuser
14106 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14108 # Create a directory
14110 chmod 777 directory
14111 genfile
--stat=mode
:777 directory
14114 tar cf arc directory
14116 # Change its permissions ...
14117 chmod 755 directory
14118 genfile
--stat=mode
:777 directory
14120 # ... and attempt to restore it twice
14121 tar xf arc directory
--warning=no-timestamp
14122 genfile
--stat=mode
:777 directory
14124 tar xf arc directory
--warning=no-timestamp
14125 genfile
--stat=mode
:777 directory
14127 # After both restores, the directory mode should be 755
14128 ) ) >"$at_stdout" 2>"$at_stderr"
14132 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14133 echo >>"$at_stdout"; $as_echo "777
14138 $at_diff - "$at_stdout" || at_failed
=:
14139 at_func_check_status
0 $at_status "$at_srcdir/extrac06.at:36"
14141 $at_failed && at_func_log_failure
14145 $as_echo "$at_srcdir/extrac06.at:36:
14148 TEST_TAR_FORMAT=oldgnu
14149 export TEST_TAR_FORMAT
14150 TAR_OPTIONS=\"-H oldgnu\"
14158 # Make sure user's umask is honored, even if we are superuser
14159 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14161 # Create a directory
14163 chmod 777 directory
14164 genfile --stat=mode:777 directory
14167 tar cf arc directory
14169 # Change its permissions ...
14170 chmod 755 directory
14171 genfile --stat=mode:777 directory
14173 # ... and attempt to restore it twice
14174 tar xf arc directory --warning=no-timestamp
14175 genfile --stat=mode:777 directory
14177 tar xf arc directory --warning=no-timestamp
14178 genfile --stat=mode:777 directory
14180 # After both restores, the directory mode should be 755
14182 echo extrac06.
at:36 >"$at_check_line_file"
14184 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14189 TEST_TAR_FORMAT
=oldgnu
14190 export TEST_TAR_FORMAT
14191 TAR_OPTIONS
="-H oldgnu"
14199 # Make sure user's umask is honored, even if we are superuser
14200 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14202 # Create a directory
14204 chmod 777 directory
14205 genfile
--stat=mode
:777 directory
14208 tar cf arc directory
14210 # Change its permissions ...
14211 chmod 755 directory
14212 genfile
--stat=mode
:777 directory
14214 # ... and attempt to restore it twice
14215 tar xf arc directory
--warning=no-timestamp
14216 genfile
--stat=mode
:777 directory
14218 tar xf arc directory
--warning=no-timestamp
14219 genfile
--stat=mode
:777 directory
14221 # After both restores, the directory mode should be 755
14222 ) ) >"$at_stdout" 2>"$at_stder1"
14223 at_func_filter_trace $?
14228 TEST_TAR_FORMAT
=oldgnu
14229 export TEST_TAR_FORMAT
14230 TAR_OPTIONS
="-H oldgnu"
14238 # Make sure user's umask is honored, even if we are superuser
14239 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14241 # Create a directory
14243 chmod 777 directory
14244 genfile
--stat=mode
:777 directory
14247 tar cf arc directory
14249 # Change its permissions ...
14250 chmod 755 directory
14251 genfile
--stat=mode
:777 directory
14253 # ... and attempt to restore it twice
14254 tar xf arc directory
--warning=no-timestamp
14255 genfile
--stat=mode
:777 directory
14257 tar xf arc directory
--warning=no-timestamp
14258 genfile
--stat=mode
:777 directory
14260 # After both restores, the directory mode should be 755
14261 ) ) >"$at_stdout" 2>"$at_stderr"
14265 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14266 echo >>"$at_stdout"; $as_echo "777
14271 $at_diff - "$at_stdout" || at_failed
=:
14272 at_func_check_status
0 $at_status "$at_srcdir/extrac06.at:36"
14274 $at_failed && at_func_log_failure
14278 $as_echo "$at_srcdir/extrac06.at:36:
14281 TEST_TAR_FORMAT=ustar
14282 export TEST_TAR_FORMAT
14283 TAR_OPTIONS=\"-H ustar\"
14291 # Make sure user's umask is honored, even if we are superuser
14292 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14294 # Create a directory
14296 chmod 777 directory
14297 genfile --stat=mode:777 directory
14300 tar cf arc directory
14302 # Change its permissions ...
14303 chmod 755 directory
14304 genfile --stat=mode:777 directory
14306 # ... and attempt to restore it twice
14307 tar xf arc directory --warning=no-timestamp
14308 genfile --stat=mode:777 directory
14310 tar xf arc directory --warning=no-timestamp
14311 genfile --stat=mode:777 directory
14313 # After both restores, the directory mode should be 755
14315 echo extrac06.
at:36 >"$at_check_line_file"
14317 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14322 TEST_TAR_FORMAT
=ustar
14323 export TEST_TAR_FORMAT
14324 TAR_OPTIONS
="-H ustar"
14332 # Make sure user's umask is honored, even if we are superuser
14333 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14335 # Create a directory
14337 chmod 777 directory
14338 genfile
--stat=mode
:777 directory
14341 tar cf arc directory
14343 # Change its permissions ...
14344 chmod 755 directory
14345 genfile
--stat=mode
:777 directory
14347 # ... and attempt to restore it twice
14348 tar xf arc directory
--warning=no-timestamp
14349 genfile
--stat=mode
:777 directory
14351 tar xf arc directory
--warning=no-timestamp
14352 genfile
--stat=mode
:777 directory
14354 # After both restores, the directory mode should be 755
14355 ) ) >"$at_stdout" 2>"$at_stder1"
14356 at_func_filter_trace $?
14361 TEST_TAR_FORMAT
=ustar
14362 export TEST_TAR_FORMAT
14363 TAR_OPTIONS
="-H ustar"
14371 # Make sure user's umask is honored, even if we are superuser
14372 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14374 # Create a directory
14376 chmod 777 directory
14377 genfile
--stat=mode
:777 directory
14380 tar cf arc directory
14382 # Change its permissions ...
14383 chmod 755 directory
14384 genfile
--stat=mode
:777 directory
14386 # ... and attempt to restore it twice
14387 tar xf arc directory
--warning=no-timestamp
14388 genfile
--stat=mode
:777 directory
14390 tar xf arc directory
--warning=no-timestamp
14391 genfile
--stat=mode
:777 directory
14393 # After both restores, the directory mode should be 755
14394 ) ) >"$at_stdout" 2>"$at_stderr"
14398 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14399 echo >>"$at_stdout"; $as_echo "777
14404 $at_diff - "$at_stdout" || at_failed
=:
14405 at_func_check_status
0 $at_status "$at_srcdir/extrac06.at:36"
14407 $at_failed && at_func_log_failure
14411 $as_echo "$at_srcdir/extrac06.at:36:
14414 TEST_TAR_FORMAT=posix
14415 export TEST_TAR_FORMAT
14416 TAR_OPTIONS=\"-H posix\"
14424 # Make sure user's umask is honored, even if we are superuser
14425 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14427 # Create a directory
14429 chmod 777 directory
14430 genfile --stat=mode:777 directory
14433 tar cf arc directory
14435 # Change its permissions ...
14436 chmod 755 directory
14437 genfile --stat=mode:777 directory
14439 # ... and attempt to restore it twice
14440 tar xf arc directory --warning=no-timestamp
14441 genfile --stat=mode:777 directory
14443 tar xf arc directory --warning=no-timestamp
14444 genfile --stat=mode:777 directory
14446 # After both restores, the directory mode should be 755
14448 echo extrac06.
at:36 >"$at_check_line_file"
14450 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14455 TEST_TAR_FORMAT
=posix
14456 export TEST_TAR_FORMAT
14457 TAR_OPTIONS
="-H posix"
14465 # Make sure user's umask is honored, even if we are superuser
14466 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14468 # Create a directory
14470 chmod 777 directory
14471 genfile
--stat=mode
:777 directory
14474 tar cf arc directory
14476 # Change its permissions ...
14477 chmod 755 directory
14478 genfile
--stat=mode
:777 directory
14480 # ... and attempt to restore it twice
14481 tar xf arc directory
--warning=no-timestamp
14482 genfile
--stat=mode
:777 directory
14484 tar xf arc directory
--warning=no-timestamp
14485 genfile
--stat=mode
:777 directory
14487 # After both restores, the directory mode should be 755
14488 ) ) >"$at_stdout" 2>"$at_stder1"
14489 at_func_filter_trace $?
14494 TEST_TAR_FORMAT
=posix
14495 export TEST_TAR_FORMAT
14496 TAR_OPTIONS
="-H posix"
14504 # Make sure user's umask is honored, even if we are superuser
14505 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14507 # Create a directory
14509 chmod 777 directory
14510 genfile
--stat=mode
:777 directory
14513 tar cf arc directory
14515 # Change its permissions ...
14516 chmod 755 directory
14517 genfile
--stat=mode
:777 directory
14519 # ... and attempt to restore it twice
14520 tar xf arc directory
--warning=no-timestamp
14521 genfile
--stat=mode
:777 directory
14523 tar xf arc directory
--warning=no-timestamp
14524 genfile
--stat=mode
:777 directory
14526 # After both restores, the directory mode should be 755
14527 ) ) >"$at_stdout" 2>"$at_stderr"
14531 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14532 echo >>"$at_stdout"; $as_echo "777
14537 $at_diff - "$at_stdout" || at_failed
=:
14538 at_func_check_status
0 $at_status "$at_srcdir/extrac06.at:36"
14540 $at_failed && at_func_log_failure
14544 $as_echo "$at_srcdir/extrac06.at:36:
14547 TEST_TAR_FORMAT=gnu
14548 export TEST_TAR_FORMAT
14549 TAR_OPTIONS=\"-H gnu\"
14557 # Make sure user's umask is honored, even if we are superuser
14558 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14560 # Create a directory
14562 chmod 777 directory
14563 genfile --stat=mode:777 directory
14566 tar cf arc directory
14568 # Change its permissions ...
14569 chmod 755 directory
14570 genfile --stat=mode:777 directory
14572 # ... and attempt to restore it twice
14573 tar xf arc directory --warning=no-timestamp
14574 genfile --stat=mode:777 directory
14576 tar xf arc directory --warning=no-timestamp
14577 genfile --stat=mode:777 directory
14579 # After both restores, the directory mode should be 755
14581 echo extrac06.
at:36 >"$at_check_line_file"
14583 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14588 TEST_TAR_FORMAT
=gnu
14589 export TEST_TAR_FORMAT
14590 TAR_OPTIONS
="-H gnu"
14598 # Make sure user's umask is honored, even if we are superuser
14599 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14601 # Create a directory
14603 chmod 777 directory
14604 genfile
--stat=mode
:777 directory
14607 tar cf arc directory
14609 # Change its permissions ...
14610 chmod 755 directory
14611 genfile
--stat=mode
:777 directory
14613 # ... and attempt to restore it twice
14614 tar xf arc directory
--warning=no-timestamp
14615 genfile
--stat=mode
:777 directory
14617 tar xf arc directory
--warning=no-timestamp
14618 genfile
--stat=mode
:777 directory
14620 # After both restores, the directory mode should be 755
14621 ) ) >"$at_stdout" 2>"$at_stder1"
14622 at_func_filter_trace $?
14627 TEST_TAR_FORMAT
=gnu
14628 export TEST_TAR_FORMAT
14629 TAR_OPTIONS
="-H gnu"
14637 # Make sure user's umask is honored, even if we are superuser
14638 TAR_OPTIONS
="$TAR_OPTIONS --no-same-permissions"
14640 # Create a directory
14642 chmod 777 directory
14643 genfile
--stat=mode
:777 directory
14646 tar cf arc directory
14648 # Change its permissions ...
14649 chmod 755 directory
14650 genfile
--stat=mode
:777 directory
14652 # ... and attempt to restore it twice
14653 tar xf arc directory
--warning=no-timestamp
14654 genfile
--stat=mode
:777 directory
14656 tar xf arc directory
--warning=no-timestamp
14657 genfile
--stat=mode
:777 directory
14659 # After both restores, the directory mode should be 755
14660 ) ) >"$at_stdout" 2>"$at_stderr"
14664 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14665 echo >>"$at_stdout"; $as_echo "777
14670 $at_diff - "$at_stdout" || at_failed
=:
14671 at_func_check_status
0 $at_status "$at_srcdir/extrac06.at:36"
14673 $at_failed && at_func_log_failure
14680 $at_times_p && times >"$at_times_file"
14681 ) 5>&1 2>&1 |
eval $at_tee_pipe
14682 at_status
=`cat "$at_status_file"`
14685 # 33. extrac07.at:27: extracting symlinks to a read-only dir
14686 at_setup_line
='extrac07.at:27'
14687 at_desc
="extracting symlinks to a read-only dir"
14688 $at_quiet $as_echo_n " 33: $at_desc "
14690 test -f $XFAILFILE && at_xfail
=yes
14691 echo "# -*- compilation -*-" >> "$at_group_log"
14693 $as_echo "33. extrac07.at:27: testing ..."
14701 $as_echo "$at_srcdir/extrac07.at:30:
14704 TEST_TAR_FORMAT=ustar
14705 export TEST_TAR_FORMAT
14706 TAR_OPTIONS=\"-H ustar\"
14713 cat $$ > /dev/null 2>&1
14716 test $result -eq 0 && exit 77
14719 echo Prepare the directory
14727 echo Create the archive
14728 tar cf archive dir || exit 1
14734 tar -C out -xvf archive
14736 echo extrac07.
at:30 >"$at_check_line_file"
14738 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14743 TEST_TAR_FORMAT
=ustar
14744 export TEST_TAR_FORMAT
14745 TAR_OPTIONS
="-H ustar"
14752 cat $$
> /dev
/null
2>&1
14755 test $result -eq 0 && exit 77
14758 echo Prepare the directory
14766 echo Create the archive
14767 tar cf archive dir ||
exit 1
14773 tar -C out
-xvf archive
14774 ) ) >"$at_stdout" 2>"$at_stder1"
14775 at_func_filter_trace $?
14780 TEST_TAR_FORMAT
=ustar
14781 export TEST_TAR_FORMAT
14782 TAR_OPTIONS
="-H ustar"
14789 cat $$
> /dev
/null
2>&1
14792 test $result -eq 0 && exit 77
14795 echo Prepare the directory
14803 echo Create the archive
14804 tar cf archive dir ||
exit 1
14810 tar -C out
-xvf archive
14811 ) ) >"$at_stdout" 2>"$at_stderr"
14815 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14816 echo >>"$at_stdout"; $as_echo "Prepare the directory
14822 $at_diff - "$at_stdout" || at_failed
=:
14823 at_func_check_status
0 $at_status "$at_srcdir/extrac07.at:30"
14825 $at_failed && at_func_log_failure
14829 # Testing one format is enough
14832 $at_times_p && times >"$at_times_file"
14833 ) 5>&1 2>&1 |
eval $at_tee_pipe
14834 at_status
=`cat "$at_status_file"`
14837 # 34. extrac08.at:33: restoring mode on existing directory
14838 at_setup_line
='extrac08.at:33'
14839 at_desc
="restoring mode on existing directory"
14840 $at_quiet $as_echo_n " 34: $at_desc "
14842 test -f $XFAILFILE && at_xfail
=yes
14843 echo "# -*- compilation -*-" >> "$at_group_log"
14845 $as_echo "34. extrac08.at:33: testing ..."
14853 $as_echo "$at_srcdir/extrac08.at:36:
14857 export TEST_TAR_FORMAT
14858 TAR_OPTIONS=\"-H v7\"
14865 echo bla > dir/file
14866 tar cf test.tar dir
14868 tar xfv test.tar --warning=no-timestamp
14869 genfile --stat=mode.777 dir
14871 echo extrac08.
at:36 >"$at_check_line_file"
14873 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14879 export TEST_TAR_FORMAT
14880 TAR_OPTIONS
="-H v7"
14887 echo bla
> dir
/file
14888 tar cf
test.
tar dir
14890 tar xfv
test.
tar --warning=no-timestamp
14891 genfile
--stat=mode
.777 dir
14892 ) ) >"$at_stdout" 2>"$at_stder1"
14893 at_func_filter_trace $?
14899 export TEST_TAR_FORMAT
14900 TAR_OPTIONS
="-H v7"
14907 echo bla
> dir
/file
14908 tar cf
test.
tar dir
14910 tar xfv
test.
tar --warning=no-timestamp
14911 genfile
--stat=mode
.777 dir
14912 ) ) >"$at_stdout" 2>"$at_stderr"
14916 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14917 echo >>"$at_stdout"; $as_echo "dir/
14921 $at_diff - "$at_stdout" || at_failed
=:
14922 at_func_check_status
0 $at_status "$at_srcdir/extrac08.at:36"
14924 $at_failed && at_func_log_failure
14928 $as_echo "$at_srcdir/extrac08.at:36:
14931 TEST_TAR_FORMAT=oldgnu
14932 export TEST_TAR_FORMAT
14933 TAR_OPTIONS=\"-H oldgnu\"
14940 echo bla > dir/file
14941 tar cf test.tar dir
14943 tar xfv test.tar --warning=no-timestamp
14944 genfile --stat=mode.777 dir
14946 echo extrac08.
at:36 >"$at_check_line_file"
14948 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14953 TEST_TAR_FORMAT
=oldgnu
14954 export TEST_TAR_FORMAT
14955 TAR_OPTIONS
="-H oldgnu"
14962 echo bla
> dir
/file
14963 tar cf
test.
tar dir
14965 tar xfv
test.
tar --warning=no-timestamp
14966 genfile
--stat=mode
.777 dir
14967 ) ) >"$at_stdout" 2>"$at_stder1"
14968 at_func_filter_trace $?
14973 TEST_TAR_FORMAT
=oldgnu
14974 export TEST_TAR_FORMAT
14975 TAR_OPTIONS
="-H oldgnu"
14982 echo bla
> dir
/file
14983 tar cf
test.
tar dir
14985 tar xfv
test.
tar --warning=no-timestamp
14986 genfile
--stat=mode
.777 dir
14987 ) ) >"$at_stdout" 2>"$at_stderr"
14991 at_func_diff_devnull
"$at_stderr" || at_failed
=:
14992 echo >>"$at_stdout"; $as_echo "dir/
14996 $at_diff - "$at_stdout" || at_failed
=:
14997 at_func_check_status
0 $at_status "$at_srcdir/extrac08.at:36"
14999 $at_failed && at_func_log_failure
15003 $as_echo "$at_srcdir/extrac08.at:36:
15006 TEST_TAR_FORMAT=ustar
15007 export TEST_TAR_FORMAT
15008 TAR_OPTIONS=\"-H ustar\"
15015 echo bla > dir/file
15016 tar cf test.tar dir
15018 tar xfv test.tar --warning=no-timestamp
15019 genfile --stat=mode.777 dir
15021 echo extrac08.
at:36 >"$at_check_line_file"
15023 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15028 TEST_TAR_FORMAT
=ustar
15029 export TEST_TAR_FORMAT
15030 TAR_OPTIONS
="-H ustar"
15037 echo bla
> dir
/file
15038 tar cf
test.
tar dir
15040 tar xfv
test.
tar --warning=no-timestamp
15041 genfile
--stat=mode
.777 dir
15042 ) ) >"$at_stdout" 2>"$at_stder1"
15043 at_func_filter_trace $?
15048 TEST_TAR_FORMAT
=ustar
15049 export TEST_TAR_FORMAT
15050 TAR_OPTIONS
="-H ustar"
15057 echo bla
> dir
/file
15058 tar cf
test.
tar dir
15060 tar xfv
test.
tar --warning=no-timestamp
15061 genfile
--stat=mode
.777 dir
15062 ) ) >"$at_stdout" 2>"$at_stderr"
15066 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15067 echo >>"$at_stdout"; $as_echo "dir/
15071 $at_diff - "$at_stdout" || at_failed
=:
15072 at_func_check_status
0 $at_status "$at_srcdir/extrac08.at:36"
15074 $at_failed && at_func_log_failure
15078 $as_echo "$at_srcdir/extrac08.at:36:
15081 TEST_TAR_FORMAT=posix
15082 export TEST_TAR_FORMAT
15083 TAR_OPTIONS=\"-H posix\"
15090 echo bla > dir/file
15091 tar cf test.tar dir
15093 tar xfv test.tar --warning=no-timestamp
15094 genfile --stat=mode.777 dir
15096 echo extrac08.
at:36 >"$at_check_line_file"
15098 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15103 TEST_TAR_FORMAT
=posix
15104 export TEST_TAR_FORMAT
15105 TAR_OPTIONS
="-H posix"
15112 echo bla
> dir
/file
15113 tar cf
test.
tar dir
15115 tar xfv
test.
tar --warning=no-timestamp
15116 genfile
--stat=mode
.777 dir
15117 ) ) >"$at_stdout" 2>"$at_stder1"
15118 at_func_filter_trace $?
15123 TEST_TAR_FORMAT
=posix
15124 export TEST_TAR_FORMAT
15125 TAR_OPTIONS
="-H posix"
15132 echo bla
> dir
/file
15133 tar cf
test.
tar dir
15135 tar xfv
test.
tar --warning=no-timestamp
15136 genfile
--stat=mode
.777 dir
15137 ) ) >"$at_stdout" 2>"$at_stderr"
15141 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15142 echo >>"$at_stdout"; $as_echo "dir/
15146 $at_diff - "$at_stdout" || at_failed
=:
15147 at_func_check_status
0 $at_status "$at_srcdir/extrac08.at:36"
15149 $at_failed && at_func_log_failure
15153 $as_echo "$at_srcdir/extrac08.at:36:
15156 TEST_TAR_FORMAT=gnu
15157 export TEST_TAR_FORMAT
15158 TAR_OPTIONS=\"-H gnu\"
15165 echo bla > dir/file
15166 tar cf test.tar dir
15168 tar xfv test.tar --warning=no-timestamp
15169 genfile --stat=mode.777 dir
15171 echo extrac08.
at:36 >"$at_check_line_file"
15173 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15178 TEST_TAR_FORMAT
=gnu
15179 export TEST_TAR_FORMAT
15180 TAR_OPTIONS
="-H gnu"
15187 echo bla
> dir
/file
15188 tar cf
test.
tar dir
15190 tar xfv
test.
tar --warning=no-timestamp
15191 genfile
--stat=mode
.777 dir
15192 ) ) >"$at_stdout" 2>"$at_stder1"
15193 at_func_filter_trace $?
15198 TEST_TAR_FORMAT
=gnu
15199 export TEST_TAR_FORMAT
15200 TAR_OPTIONS
="-H gnu"
15207 echo bla
> dir
/file
15208 tar cf
test.
tar dir
15210 tar xfv
test.
tar --warning=no-timestamp
15211 genfile
--stat=mode
.777 dir
15212 ) ) >"$at_stdout" 2>"$at_stderr"
15216 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15217 echo >>"$at_stdout"; $as_echo "dir/
15221 $at_diff - "$at_stdout" || at_failed
=:
15222 at_func_check_status
0 $at_status "$at_srcdir/extrac08.at:36"
15224 $at_failed && at_func_log_failure
15231 $at_times_p && times >"$at_times_file"
15232 ) 5>&1 2>&1 |
eval $at_tee_pipe
15233 at_status
=`cat "$at_status_file"`
15236 # 35. extrac09.at:22: no need to save dir with unreadable . and ..
15237 at_setup_line
='extrac09.at:22'
15238 at_desc
="no need to save dir with unreadable . and .."
15239 $at_quiet $as_echo_n " 35: $at_desc "
15241 test -f $XFAILFILE && at_xfail
=yes
15242 echo "# -*- compilation -*-" >> "$at_group_log"
15244 $as_echo "35. extrac09.at:22: testing ..."
15252 $as_echo "$at_srcdir/extrac09.at:25:
15255 TEST_TAR_FORMAT=gnu
15256 export TEST_TAR_FORMAT
15257 TAR_OPTIONS=\"-H gnu\"
15264 cat $$ > /dev/null 2>&1
15267 test $result -eq 0 && exit 77
15272 mkdir dir/sub/extract
15273 genfile --file dir/sub/f
15276 tar -cf archive.tar f
15279 tar -xvf archive.tar -C extract f
15282 cmp f extract/f || status=\$?
15285 echo extrac09.
at:25 >"$at_check_line_file"
15287 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15292 TEST_TAR_FORMAT
=gnu
15293 export TEST_TAR_FORMAT
15294 TAR_OPTIONS
="-H gnu"
15301 cat $$
> /dev
/null
2>&1
15304 test $result -eq 0 && exit 77
15309 mkdir dir
/sub
/extract
15310 genfile
--file dir
/sub
/f
15313 tar -cf archive.
tar f
15316 tar -xvf archive.
tar -C extract f
15319 cmp f extract
/f || status
=$?
15321 ) ) >"$at_stdout" 2>"$at_stder1"
15322 at_func_filter_trace $?
15327 TEST_TAR_FORMAT
=gnu
15328 export TEST_TAR_FORMAT
15329 TAR_OPTIONS
="-H gnu"
15336 cat $$
> /dev
/null
2>&1
15339 test $result -eq 0 && exit 77
15344 mkdir dir
/sub
/extract
15345 genfile
--file dir
/sub
/f
15348 tar -cf archive.
tar f
15351 tar -xvf archive.
tar -C extract f
15354 cmp f extract
/f || status
=$?
15356 ) ) >"$at_stdout" 2>"$at_stderr"
15360 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15361 echo >>"$at_stdout"; $as_echo "f
15363 $at_diff - "$at_stdout" || at_failed
=:
15364 at_func_check_status
0 $at_status "$at_srcdir/extrac09.at:25"
15366 $at_failed && at_func_log_failure
15373 $at_times_p && times >"$at_times_file"
15374 ) 5>&1 2>&1 |
eval $at_tee_pipe
15375 at_status
=`cat "$at_status_file"`
15378 # 36. extrac10.at:27: -C and delayed setting of metadata
15379 at_setup_line
='extrac10.at:27'
15380 at_desc
="-C and delayed setting of metadata"
15381 $at_quiet $as_echo_n " 36: $at_desc "
15383 test -f $XFAILFILE && at_xfail
=yes
15384 echo "# -*- compilation -*-" >> "$at_group_log"
15386 $as_echo "36. extrac10.at:27: testing ..."
15394 $as_echo "$at_srcdir/extrac10.at:30:
15397 TEST_TAR_FORMAT=gnu
15398 export TEST_TAR_FORMAT
15399 TAR_OPTIONS=\"-H gnu\"
15407 tar -cf archive.tar d e &&
15408 tar -xf archive.tar -C x d -C y e &&
15412 echo extrac10.
at:30 >"$at_check_line_file"
15414 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15419 TEST_TAR_FORMAT
=gnu
15420 export TEST_TAR_FORMAT
15421 TAR_OPTIONS
="-H gnu"
15429 tar -cf archive.
tar d e
&&
15430 tar -xf archive.
tar -C x d
-C y e
&&
15433 ) ) >"$at_stdout" 2>"$at_stder1"
15434 at_func_filter_trace $?
15439 TEST_TAR_FORMAT
=gnu
15440 export TEST_TAR_FORMAT
15441 TAR_OPTIONS
="-H gnu"
15449 tar -cf archive.
tar d e
&&
15450 tar -xf archive.
tar -C x d
-C y e
&&
15453 ) ) >"$at_stdout" 2>"$at_stderr"
15457 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15458 at_func_diff_devnull
"$at_stdout" || at_failed
=:
15459 at_func_check_status
0 $at_status "$at_srcdir/extrac10.at:30"
15461 $at_failed && at_func_log_failure
15468 $at_times_p && times >"$at_times_file"
15469 ) 5>&1 2>&1 |
eval $at_tee_pipe
15470 at_status
=`cat "$at_status_file"`
15473 # 37. extrac11.at:23: scarce file descriptors
15474 at_setup_line
='extrac11.at:23'
15475 at_desc
="scarce file descriptors"
15476 $at_quiet $as_echo_n " 37: $at_desc "
15478 test -f $XFAILFILE && at_xfail
=yes
15479 echo "# -*- compilation -*-" >> "$at_group_log"
15481 $as_echo "37. extrac11.at:23: testing ..."
15489 $as_echo "$at_srcdir/extrac11.at:26:
15492 TEST_TAR_FORMAT=gnu
15493 export TEST_TAR_FORMAT
15494 TAR_OPTIONS=\"-H gnu\"
15508 a/b/c/d/e/f/g/h/i/j
15509 a/b/c/d/e/f/g/h/i/j/k
15512 mkdir \$dirs dest1 dest2 dest3 || exit
15513 for dir in \$dirs; do
15514 for file in X Y Z; do
15515 echo \$file >\$dir/\$file || exit
15516 files=\"\$files \$file\"
15520 # Check that \"ulimit\" itself works. Close file descriptors before
15521 # invoking ulimit, to work around a bug (or a \"feature\") in some shells,
15522 # where they squirrel away dups of file descriptors into FD 10 and up
15523 # before closing the originals.
15524 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15526 tar -cf archive1.tar a &&
15527 tar -xf archive1.tar -C dest1 a
15530 ) >/dev/null 2>&1 ||
15533 # Another test that \"ulimit\" itself works:
15534 # tar should fail when completely starved of file descriptors.
15535 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15537 tar -cf archive2.tar a &&
15538 tar -xf archive2.tar -C dest2 a
15541 ) >/dev/null 2>&1 &&
15544 # Tar should work when there are few, but enough, file descriptors.
15545 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15547 tar -cf archive3.tar a &&
15548 tar -xf archive3.tar -C dest3 a
15550 diff -r a dest3/a >/dev/null 2>&1
15551 ) || { diff -r a dest3/a; exit 1; }
15553 echo extrac11.
at:26 >"$at_check_line_file"
15555 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15560 TEST_TAR_FORMAT
=gnu
15561 export TEST_TAR_FORMAT
15562 TAR_OPTIONS
="-H gnu"
15576 a/b/c/d/e/f/g/h/i/j
15577 a/b/c/d/e/f/g/h/i/j/k
15580 mkdir
$dirs dest1 dest2 dest3 ||
exit
15581 for dir
in $dirs; do
15582 for file in X Y Z
; do
15583 echo $file >$dir/$file ||
exit
15584 files
="$files $file"
15588 # Check that "ulimit" itself works. Close file descriptors before
15589 # invoking ulimit, to work around a bug (or a "feature") in some shells,
15590 # where they squirrel away dups of file descriptors into FD 10 and up
15591 # before closing the originals.
15592 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15594 tar -cf archive1.
tar a
&&
15595 tar -xf archive1.
tar -C dest1 a
15598 ) >/dev
/null
2>&1 ||
15601 # Another test that "ulimit" itself works:
15602 # tar should fail when completely starved of file descriptors.
15603 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15605 tar -cf archive2.
tar a
&&
15606 tar -xf archive2.
tar -C dest2 a
15609 ) >/dev
/null
2>&1 &&
15612 # Tar should work when there are few, but enough, file descriptors.
15613 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15615 tar -cf archive3.
tar a
&&
15616 tar -xf archive3.
tar -C dest3 a
15618 diff -r a dest
3/a
>/dev
/null
2>&1
15619 ) ||
{ diff -r a dest
3/a
; exit 1; }
15620 ) ) >"$at_stdout" 2>"$at_stder1"
15621 at_func_filter_trace $?
15626 TEST_TAR_FORMAT
=gnu
15627 export TEST_TAR_FORMAT
15628 TAR_OPTIONS
="-H gnu"
15642 a/b/c/d/e/f/g/h/i/j
15643 a/b/c/d/e/f/g/h/i/j/k
15646 mkdir
$dirs dest1 dest2 dest3 ||
exit
15647 for dir
in $dirs; do
15648 for file in X Y Z
; do
15649 echo $file >$dir/$file ||
exit
15650 files
="$files $file"
15654 # Check that "ulimit" itself works. Close file descriptors before
15655 # invoking ulimit, to work around a bug (or a "feature") in some shells,
15656 # where they squirrel away dups of file descriptors into FD 10 and up
15657 # before closing the originals.
15658 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15660 tar -cf archive1.
tar a
&&
15661 tar -xf archive1.
tar -C dest1 a
15664 ) >/dev
/null
2>&1 ||
15667 # Another test that "ulimit" itself works:
15668 # tar should fail when completely starved of file descriptors.
15669 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15671 tar -cf archive2.
tar a
&&
15672 tar -xf archive2.
tar -C dest2 a
15675 ) >/dev
/null
2>&1 &&
15678 # Tar should work when there are few, but enough, file descriptors.
15679 ( (exec 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15681 tar -cf archive3.
tar a
&&
15682 tar -xf archive3.
tar -C dest3 a
15684 diff -r a dest
3/a
>/dev
/null
2>&1
15685 ) ||
{ diff -r a dest
3/a
; exit 1; }
15686 ) ) >"$at_stdout" 2>"$at_stderr"
15690 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15691 at_func_diff_devnull
"$at_stdout" || at_failed
=:
15692 at_func_check_status
0 $at_status "$at_srcdir/extrac11.at:26"
15694 $at_failed && at_func_log_failure
15701 $at_times_p && times >"$at_times_file"
15702 ) 5>&1 2>&1 |
eval $at_tee_pipe
15703 at_status
=`cat "$at_status_file"`
15706 # 38. extrac12.at:23: extract dot permissions
15707 at_setup_line
='extrac12.at:23'
15708 at_desc
="extract dot permissions"
15709 $at_quiet $as_echo_n " 38: $at_desc "
15711 test -f $XFAILFILE && at_xfail
=yes
15712 echo "# -*- compilation -*-" >> "$at_group_log"
15714 $as_echo "38. extrac12.at:23: testing ..."
15722 $as_echo "$at_srcdir/extrac12.at:26:
15725 TEST_TAR_FORMAT=gnu
15726 export TEST_TAR_FORMAT
15727 TAR_OPTIONS=\"-H gnu\"
15732 echo file1 >src/file1
15733 echo file2 >src/file2
15736 tar --no-recursion -cf archive.tar -C src . ./file1 file2 &&
15737 tar -xf archive.tar -C dst &&
15738 cmp src/file1 dst/file1 &&
15739 cmp src/file2 dst/file2
15741 echo extrac12.
at:26 >"$at_check_line_file"
15743 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15748 TEST_TAR_FORMAT
=gnu
15749 export TEST_TAR_FORMAT
15750 TAR_OPTIONS
="-H gnu"
15755 echo file1
>src
/file1
15756 echo file2
>src
/file2
15759 tar --no-recursion -cf archive.
tar -C src . .
/file1 file2
&&
15760 tar -xf archive.
tar -C dst
&&
15761 cmp src
/file1 dst
/file1
&&
15762 cmp src
/file2 dst
/file2
15763 ) ) >"$at_stdout" 2>"$at_stder1"
15764 at_func_filter_trace $?
15769 TEST_TAR_FORMAT
=gnu
15770 export TEST_TAR_FORMAT
15771 TAR_OPTIONS
="-H gnu"
15776 echo file1
>src
/file1
15777 echo file2
>src
/file2
15780 tar --no-recursion -cf archive.
tar -C src . .
/file1 file2
&&
15781 tar -xf archive.
tar -C dst
&&
15782 cmp src
/file1 dst
/file1
&&
15783 cmp src
/file2 dst
/file2
15784 ) ) >"$at_stdout" 2>"$at_stderr"
15788 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15789 at_func_diff_devnull
"$at_stdout" || at_failed
=:
15790 at_func_check_status
0 $at_status "$at_srcdir/extrac12.at:26"
15792 $at_failed && at_func_log_failure
15799 $at_times_p && times >"$at_times_file"
15800 ) 5>&1 2>&1 |
eval $at_tee_pipe
15801 at_status
=`cat "$at_status_file"`
15804 # 39. extrac13.at:24: extract over symlinks
15805 at_setup_line
='extrac13.at:24'
15806 at_desc
="extract over symlinks"
15807 $at_quiet $as_echo_n " 39: $at_desc "
15809 test -f $XFAILFILE && at_xfail
=yes
15810 echo "# -*- compilation -*-" >> "$at_group_log"
15812 $as_echo "39. extrac13.at:24: testing ..."
15820 $as_echo "$at_srcdir/extrac13.at:27:
15823 TEST_TAR_FORMAT=gnu
15824 export TEST_TAR_FORMAT
15825 TAR_OPTIONS=\"-H gnu\"
15829 mkdir src dst1 dst2 dst3
15830 echo file1 >src/file1
15831 ln -s target1 dst1/file1
15832 echo target1 >dst1/target1
15833 echo target1 >target1
15835 tar -cf archive.tar -C src . &&
15836 tar -xf archive.tar -C dst1 --warning=no-timestamp &&
15837 diff src/file1 dst1/file1 &&
15838 diff target1 dst1/target1
15840 ln -s target1 dst2/file1
15841 echo target1 >dst2/target1
15842 tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp &&
15843 diff src/file1 dst2/file1 &&
15844 diff target1 dst2/target1
15846 ln -s target1 dst3/file1
15847 echo target1 >dst3/target1
15848 tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp &&
15849 diff src/file1 dst3/file1 &&
15850 diff src/file1 dst3/target1
15852 echo extrac13.
at:27 >"$at_check_line_file"
15854 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15859 TEST_TAR_FORMAT
=gnu
15860 export TEST_TAR_FORMAT
15861 TAR_OPTIONS
="-H gnu"
15865 mkdir src dst1 dst2 dst3
15866 echo file1
>src
/file1
15867 ln -s target1 dst
1/file1
15868 echo target1
>dst
1/target1
15869 echo target1
>target1
15871 tar -cf archive.
tar -C src .
&&
15872 tar -xf archive.
tar -C dst1
--warning=no-timestamp
&&
15873 diff src
/file1 dst
1/file1
&&
15874 diff target1 dst
1/target1
15876 ln -s target1 dst
2/file1
15877 echo target1
>dst
2/target1
15878 tar --overwrite -xf archive.
tar -C dst2
--warning=no-timestamp
&&
15879 diff src
/file1 dst
2/file1
&&
15880 diff target1 dst
2/target1
15882 ln -s target1 dst
3/file1
15883 echo target1
>dst
3/target1
15884 tar --overwrite -xhf archive.
tar -C dst3
--warning=no-timestamp
&&
15885 diff src
/file1 dst
3/file1
&&
15886 diff src
/file1 dst
3/target1
15887 ) ) >"$at_stdout" 2>"$at_stder1"
15888 at_func_filter_trace $?
15893 TEST_TAR_FORMAT
=gnu
15894 export TEST_TAR_FORMAT
15895 TAR_OPTIONS
="-H gnu"
15899 mkdir src dst1 dst2 dst3
15900 echo file1
>src
/file1
15901 ln -s target1 dst
1/file1
15902 echo target1
>dst
1/target1
15903 echo target1
>target1
15905 tar -cf archive.
tar -C src .
&&
15906 tar -xf archive.
tar -C dst1
--warning=no-timestamp
&&
15907 diff src
/file1 dst
1/file1
&&
15908 diff target1 dst
1/target1
15910 ln -s target1 dst
2/file1
15911 echo target1
>dst
2/target1
15912 tar --overwrite -xf archive.
tar -C dst2
--warning=no-timestamp
&&
15913 diff src
/file1 dst
2/file1
&&
15914 diff target1 dst
2/target1
15916 ln -s target1 dst
3/file1
15917 echo target1
>dst
3/target1
15918 tar --overwrite -xhf archive.
tar -C dst3
--warning=no-timestamp
&&
15919 diff src
/file1 dst
3/file1
&&
15920 diff src
/file1 dst
3/target1
15921 ) ) >"$at_stdout" 2>"$at_stderr"
15925 at_func_diff_devnull
"$at_stderr" || at_failed
=:
15926 at_func_diff_devnull
"$at_stdout" || at_failed
=:
15927 at_func_check_status
0 $at_status "$at_srcdir/extrac13.at:27"
15929 $at_failed && at_func_log_failure
15936 $at_times_p && times >"$at_times_file"
15937 ) 5>&1 2>&1 |
eval $at_tee_pipe
15938 at_status
=`cat "$at_status_file"`
15941 # 40. extrac14.at:23: extract -C symlink
15942 at_setup_line
='extrac14.at:23'
15943 at_desc
="extract -C symlink"
15944 $at_quiet $as_echo_n " 40: $at_desc "
15946 test -f $XFAILFILE && at_xfail
=yes
15947 echo "# -*- compilation -*-" >> "$at_group_log"
15949 $as_echo "40. extrac14.at:23: testing ..."
15957 $as_echo "$at_srcdir/extrac14.at:26:
15960 TEST_TAR_FORMAT=gnu
15961 export TEST_TAR_FORMAT
15962 TAR_OPTIONS=\"-H gnu\"
15969 tar -cf archive.tar foo &&
15970 tar -xf archive.tar -C symlink --warning=no-timestamp &&
15973 echo extrac14.
at:26 >"$at_check_line_file"
15975 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15980 TEST_TAR_FORMAT
=gnu
15981 export TEST_TAR_FORMAT
15982 TAR_OPTIONS
="-H gnu"
15989 tar -cf archive.
tar foo
&&
15990 tar -xf archive.
tar -C symlink
--warning=no-timestamp
&&
15992 ) ) >"$at_stdout" 2>"$at_stder1"
15993 at_func_filter_trace $?
15998 TEST_TAR_FORMAT
=gnu
15999 export TEST_TAR_FORMAT
16000 TAR_OPTIONS
="-H gnu"
16007 tar -cf archive.
tar foo
&&
16008 tar -xf archive.
tar -C symlink
--warning=no-timestamp
&&
16010 ) ) >"$at_stdout" 2>"$at_stderr"
16014 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16015 at_func_diff_devnull
"$at_stdout" || at_failed
=:
16016 at_func_check_status
0 $at_status "$at_srcdir/extrac14.at:26"
16018 $at_failed && at_func_log_failure
16025 $at_times_p && times >"$at_times_file"
16026 ) 5>&1 2>&1 |
eval $at_tee_pipe
16027 at_status
=`cat "$at_status_file"`
16030 # 41. extrac15.at:23: extract parent mkdir failure
16031 at_setup_line
='extrac15.at:23'
16032 at_desc
="extract parent mkdir failure"
16033 $at_quiet $as_echo_n " 41: $at_desc "
16035 test -f $XFAILFILE && at_xfail
=yes
16036 echo "# -*- compilation -*-" >> "$at_group_log"
16038 $as_echo "41. extrac15.at:23: testing ..."
16046 $as_echo "$at_srcdir/extrac15.at:26:
16049 TEST_TAR_FORMAT=gnu
16050 export TEST_TAR_FORMAT
16051 TAR_OPTIONS=\"-H gnu\"
16058 cat $$ > /dev/null 2>&1
16061 test $result -eq 0 && exit 77
16064 mkdir src src/a src/a/b dest dest/a
16068 tar -cf archive.tar -C src a/b/c &&
16069 if tar -xf archive.tar -C dest a/b/c
16074 echo extrac15.
at:26 >"$at_check_line_file"
16076 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16081 TEST_TAR_FORMAT
=gnu
16082 export TEST_TAR_FORMAT
16083 TAR_OPTIONS
="-H gnu"
16090 cat $$
> /dev
/null
2>&1
16093 test $result -eq 0 && exit 77
16096 mkdir src src
/a src
/a
/b dest dest
/a
16100 tar -cf archive.
tar -C src a
/b
/c
&&
16101 if tar -xf archive.
tar -C dest a
/b
/c
16105 ) ) >"$at_stdout" 2>"$at_stder1"
16106 at_func_filter_trace $?
16111 TEST_TAR_FORMAT
=gnu
16112 export TEST_TAR_FORMAT
16113 TAR_OPTIONS
="-H gnu"
16120 cat $$
> /dev
/null
2>&1
16123 test $result -eq 0 && exit 77
16126 mkdir src src
/a src
/a
/b dest dest
/a
16130 tar -cf archive.
tar -C src a
/b
/c
&&
16131 if tar -xf archive.
tar -C dest a
/b
/c
16135 ) ) >"$at_stdout" 2>"$at_stderr"
16139 echo >>"$at_stderr"; $as_echo "tar: a/b: Cannot mkdir: Permission denied
16140 tar: a/b/c: Cannot open: No such file or directory
16141 tar: Exiting with failure status due to previous errors
16143 $at_diff - "$at_stderr" || at_failed
=:
16144 at_func_diff_devnull
"$at_stdout" || at_failed
=:
16145 at_func_check_status
0 $at_status "$at_srcdir/extrac15.at:26"
16147 $at_failed && at_func_log_failure
16154 $at_times_p && times >"$at_times_file"
16155 ) 5>&1 2>&1 |
eval $at_tee_pipe
16156 at_status
=`cat "$at_status_file"`
16159 # 42. extrac16.at:24: extract empty directory with -C
16160 at_setup_line
='extrac16.at:24'
16161 at_desc
="extract empty directory with -C"
16162 $at_quiet $as_echo_n " 42: $at_desc "
16164 test -f $XFAILFILE && at_xfail
=yes
16165 echo "# -*- compilation -*-" >> "$at_group_log"
16167 $as_echo "42. extrac16.at:24: testing ..."
16175 $as_echo "$at_srcdir/extrac16.at:27:
16178 TEST_TAR_FORMAT=gnu
16179 export TEST_TAR_FORMAT
16180 TAR_OPTIONS=\"-H gnu\"
16184 mkdir src src/a src/a/b dest
16187 tar -cf archive.tar -C src a &&
16188 tar -xf archive.tar -C dest
16190 echo extrac16.
at:27 >"$at_check_line_file"
16192 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16197 TEST_TAR_FORMAT
=gnu
16198 export TEST_TAR_FORMAT
16199 TAR_OPTIONS
="-H gnu"
16203 mkdir src src
/a src
/a
/b dest
16206 tar -cf archive.
tar -C src a
&&
16207 tar -xf archive.
tar -C dest
16208 ) ) >"$at_stdout" 2>"$at_stder1"
16209 at_func_filter_trace $?
16214 TEST_TAR_FORMAT
=gnu
16215 export TEST_TAR_FORMAT
16216 TAR_OPTIONS
="-H gnu"
16220 mkdir src src
/a src
/a
/b dest
16223 tar -cf archive.
tar -C src a
&&
16224 tar -xf archive.
tar -C dest
16225 ) ) >"$at_stdout" 2>"$at_stderr"
16229 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16230 at_func_diff_devnull
"$at_stdout" || at_failed
=:
16231 at_func_check_status
0 $at_status "$at_srcdir/extrac16.at:27"
16233 $at_failed && at_func_log_failure
16240 $at_times_p && times >"$at_times_file"
16241 ) 5>&1 2>&1 |
eval $at_tee_pipe
16242 at_status
=`cat "$at_status_file"`
16245 # 43. extrac17.at:19: name matching/transformation ordering
16246 at_setup_line
='extrac17.at:19'
16247 at_desc
="name matching/transformation ordering"
16248 $at_quiet $as_echo_n " 43: $at_desc "
16250 test -f $XFAILFILE && at_xfail
=yes
16251 echo "# -*- compilation -*-" >> "$at_group_log"
16253 $as_echo "43. extrac17.at:19: testing ..."
16258 # Description: Tar 1.24 changed the ordering of name matching and
16259 # name transformation so that the former saw already transformed
16260 # file names (see commit 9c194c99 and exclude06.at). This reverted
16261 # ordering made it impossible to match file names in certain cases.
16262 # In particular, the testcase below would not extract anything.
16264 # Reported-by: "Gabor Z. Papp" <gzp@papp.hu>
16265 # References: <x6r5fd9jye@gzp>, <20101026175126.29028@Pirx.gnu.org.ua>
16266 # http://lists.gnu.org/archive/html/bug-tar/2010-10/msg00047.html
16271 $as_echo "$at_srcdir/extrac17.at:32:
16275 export TEST_TAR_FORMAT
16276 TAR_OPTIONS=\"-H v7\"
16280 mkdir dir dir/subdir1 dir/subdir2 out
16281 genfile --file dir/subdir1/file1
16282 genfile --file dir/subdir2/file2
16286 tar -x -v -f dir.tar -C out --strip-components=2 --warning=no-timestamp \\
16289 echo extrac17.
at:32 >"$at_check_line_file"
16291 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16297 export TEST_TAR_FORMAT
16298 TAR_OPTIONS
="-H v7"
16302 mkdir dir dir
/subdir1 dir
/subdir2 out
16303 genfile
--file dir
/subdir
1/file1
16304 genfile
--file dir
/subdir
2/file2
16308 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16310 ) ) >"$at_stdout" 2>"$at_stder1"
16311 at_func_filter_trace $?
16317 export TEST_TAR_FORMAT
16318 TAR_OPTIONS
="-H v7"
16322 mkdir dir dir
/subdir1 dir
/subdir2 out
16323 genfile
--file dir
/subdir
1/file1
16324 genfile
--file dir
/subdir
2/file2
16328 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16330 ) ) >"$at_stdout" 2>"$at_stderr"
16334 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16335 echo >>"$at_stdout"; $as_echo "dir/subdir1/file1
16337 $at_diff - "$at_stdout" || at_failed
=:
16338 at_func_check_status
0 $at_status "$at_srcdir/extrac17.at:32"
16340 $at_failed && at_func_log_failure
16344 $as_echo "$at_srcdir/extrac17.at:32:
16347 TEST_TAR_FORMAT=oldgnu
16348 export TEST_TAR_FORMAT
16349 TAR_OPTIONS=\"-H oldgnu\"
16353 mkdir dir dir/subdir1 dir/subdir2 out
16354 genfile --file dir/subdir1/file1
16355 genfile --file dir/subdir2/file2
16359 tar -x -v -f dir.tar -C out --strip-components=2 --warning=no-timestamp \\
16362 echo extrac17.
at:32 >"$at_check_line_file"
16364 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16369 TEST_TAR_FORMAT
=oldgnu
16370 export TEST_TAR_FORMAT
16371 TAR_OPTIONS
="-H oldgnu"
16375 mkdir dir dir
/subdir1 dir
/subdir2 out
16376 genfile
--file dir
/subdir
1/file1
16377 genfile
--file dir
/subdir
2/file2
16381 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16383 ) ) >"$at_stdout" 2>"$at_stder1"
16384 at_func_filter_trace $?
16389 TEST_TAR_FORMAT
=oldgnu
16390 export TEST_TAR_FORMAT
16391 TAR_OPTIONS
="-H oldgnu"
16395 mkdir dir dir
/subdir1 dir
/subdir2 out
16396 genfile
--file dir
/subdir
1/file1
16397 genfile
--file dir
/subdir
2/file2
16401 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16403 ) ) >"$at_stdout" 2>"$at_stderr"
16407 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16408 echo >>"$at_stdout"; $as_echo "dir/subdir1/file1
16410 $at_diff - "$at_stdout" || at_failed
=:
16411 at_func_check_status
0 $at_status "$at_srcdir/extrac17.at:32"
16413 $at_failed && at_func_log_failure
16417 $as_echo "$at_srcdir/extrac17.at:32:
16420 TEST_TAR_FORMAT=ustar
16421 export TEST_TAR_FORMAT
16422 TAR_OPTIONS=\"-H ustar\"
16426 mkdir dir dir/subdir1 dir/subdir2 out
16427 genfile --file dir/subdir1/file1
16428 genfile --file dir/subdir2/file2
16432 tar -x -v -f dir.tar -C out --strip-components=2 --warning=no-timestamp \\
16435 echo extrac17.
at:32 >"$at_check_line_file"
16437 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16442 TEST_TAR_FORMAT
=ustar
16443 export TEST_TAR_FORMAT
16444 TAR_OPTIONS
="-H ustar"
16448 mkdir dir dir
/subdir1 dir
/subdir2 out
16449 genfile
--file dir
/subdir
1/file1
16450 genfile
--file dir
/subdir
2/file2
16454 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16456 ) ) >"$at_stdout" 2>"$at_stder1"
16457 at_func_filter_trace $?
16462 TEST_TAR_FORMAT
=ustar
16463 export TEST_TAR_FORMAT
16464 TAR_OPTIONS
="-H ustar"
16468 mkdir dir dir
/subdir1 dir
/subdir2 out
16469 genfile
--file dir
/subdir
1/file1
16470 genfile
--file dir
/subdir
2/file2
16474 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16476 ) ) >"$at_stdout" 2>"$at_stderr"
16480 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16481 echo >>"$at_stdout"; $as_echo "dir/subdir1/file1
16483 $at_diff - "$at_stdout" || at_failed
=:
16484 at_func_check_status
0 $at_status "$at_srcdir/extrac17.at:32"
16486 $at_failed && at_func_log_failure
16490 $as_echo "$at_srcdir/extrac17.at:32:
16493 TEST_TAR_FORMAT=posix
16494 export TEST_TAR_FORMAT
16495 TAR_OPTIONS=\"-H posix\"
16499 mkdir dir dir/subdir1 dir/subdir2 out
16500 genfile --file dir/subdir1/file1
16501 genfile --file dir/subdir2/file2
16505 tar -x -v -f dir.tar -C out --strip-components=2 --warning=no-timestamp \\
16508 echo extrac17.
at:32 >"$at_check_line_file"
16510 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16515 TEST_TAR_FORMAT
=posix
16516 export TEST_TAR_FORMAT
16517 TAR_OPTIONS
="-H posix"
16521 mkdir dir dir
/subdir1 dir
/subdir2 out
16522 genfile
--file dir
/subdir
1/file1
16523 genfile
--file dir
/subdir
2/file2
16527 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16529 ) ) >"$at_stdout" 2>"$at_stder1"
16530 at_func_filter_trace $?
16535 TEST_TAR_FORMAT
=posix
16536 export TEST_TAR_FORMAT
16537 TAR_OPTIONS
="-H posix"
16541 mkdir dir dir
/subdir1 dir
/subdir2 out
16542 genfile
--file dir
/subdir
1/file1
16543 genfile
--file dir
/subdir
2/file2
16547 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16549 ) ) >"$at_stdout" 2>"$at_stderr"
16553 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16554 echo >>"$at_stdout"; $as_echo "dir/subdir1/file1
16556 $at_diff - "$at_stdout" || at_failed
=:
16557 at_func_check_status
0 $at_status "$at_srcdir/extrac17.at:32"
16559 $at_failed && at_func_log_failure
16563 $as_echo "$at_srcdir/extrac17.at:32:
16566 TEST_TAR_FORMAT=gnu
16567 export TEST_TAR_FORMAT
16568 TAR_OPTIONS=\"-H gnu\"
16572 mkdir dir dir/subdir1 dir/subdir2 out
16573 genfile --file dir/subdir1/file1
16574 genfile --file dir/subdir2/file2
16578 tar -x -v -f dir.tar -C out --strip-components=2 --warning=no-timestamp \\
16581 echo extrac17.
at:32 >"$at_check_line_file"
16583 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16588 TEST_TAR_FORMAT
=gnu
16589 export TEST_TAR_FORMAT
16590 TAR_OPTIONS
="-H gnu"
16594 mkdir dir dir
/subdir1 dir
/subdir2 out
16595 genfile
--file dir
/subdir
1/file1
16596 genfile
--file dir
/subdir
2/file2
16600 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16602 ) ) >"$at_stdout" 2>"$at_stder1"
16603 at_func_filter_trace $?
16608 TEST_TAR_FORMAT
=gnu
16609 export TEST_TAR_FORMAT
16610 TAR_OPTIONS
="-H gnu"
16614 mkdir dir dir
/subdir1 dir
/subdir2 out
16615 genfile
--file dir
/subdir
1/file1
16616 genfile
--file dir
/subdir
2/file2
16620 tar -x -v -f dir.
tar -C out
--strip-components=2 --warning=no-timestamp \
16622 ) ) >"$at_stdout" 2>"$at_stderr"
16626 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16627 echo >>"$at_stdout"; $as_echo "dir/subdir1/file1
16629 $at_diff - "$at_stdout" || at_failed
=:
16630 at_func_check_status
0 $at_status "$at_srcdir/extrac17.at:32"
16632 $at_failed && at_func_log_failure
16639 $at_times_p && times >"$at_times_file"
16640 ) 5>&1 2>&1 |
eval $at_tee_pipe
16641 at_status
=`cat "$at_status_file"`
16644 # 44. label01.at:19: single-volume label
16645 at_setup_line
='label01.at:19'
16646 at_desc
="single-volume label"
16647 $at_quiet $as_echo_n " 44: $at_desc "
16649 test -f $XFAILFILE && at_xfail
=yes
16650 echo "# -*- compilation -*-" >> "$at_group_log"
16652 $as_echo "44. label01.at:19: testing ..."
16660 $as_echo "$at_srcdir/label01.at:22:
16663 TEST_TAR_FORMAT=gnu
16664 export TEST_TAR_FORMAT
16665 TAR_OPTIONS=\"-H gnu\"
16671 tar -cf archive --label=Test foo bar
16674 echo label01.
at:22 >"$at_check_line_file"
16676 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16681 TEST_TAR_FORMAT
=gnu
16682 export TEST_TAR_FORMAT
16683 TAR_OPTIONS
="-H gnu"
16689 tar -cf archive
--label=Test foo bar
16691 ) ) >"$at_stdout" 2>"$at_stder1"
16692 at_func_filter_trace $?
16697 TEST_TAR_FORMAT
=gnu
16698 export TEST_TAR_FORMAT
16699 TAR_OPTIONS
="-H gnu"
16705 tar -cf archive
--label=Test foo bar
16707 ) ) >"$at_stdout" 2>"$at_stderr"
16711 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16712 echo >>"$at_stdout"; $as_echo "Test
16716 $at_diff - "$at_stdout" || at_failed
=:
16717 at_func_check_status
0 $at_status "$at_srcdir/label01.at:22"
16719 $at_failed && at_func_log_failure
16723 $as_echo "$at_srcdir/label01.at:22:
16726 TEST_TAR_FORMAT=oldgnu
16727 export TEST_TAR_FORMAT
16728 TAR_OPTIONS=\"-H oldgnu\"
16734 tar -cf archive --label=Test foo bar
16737 echo label01.
at:22 >"$at_check_line_file"
16739 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16744 TEST_TAR_FORMAT
=oldgnu
16745 export TEST_TAR_FORMAT
16746 TAR_OPTIONS
="-H oldgnu"
16752 tar -cf archive
--label=Test foo bar
16754 ) ) >"$at_stdout" 2>"$at_stder1"
16755 at_func_filter_trace $?
16760 TEST_TAR_FORMAT
=oldgnu
16761 export TEST_TAR_FORMAT
16762 TAR_OPTIONS
="-H oldgnu"
16768 tar -cf archive
--label=Test foo bar
16770 ) ) >"$at_stdout" 2>"$at_stderr"
16774 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16775 echo >>"$at_stdout"; $as_echo "Test
16779 $at_diff - "$at_stdout" || at_failed
=:
16780 at_func_check_status
0 $at_status "$at_srcdir/label01.at:22"
16782 $at_failed && at_func_log_failure
16786 $as_echo "$at_srcdir/label01.at:22:
16789 TEST_TAR_FORMAT=posix
16790 export TEST_TAR_FORMAT
16791 TAR_OPTIONS=\"-H posix\"
16797 tar -cf archive --label=Test foo bar
16800 echo label01.
at:22 >"$at_check_line_file"
16802 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16807 TEST_TAR_FORMAT
=posix
16808 export TEST_TAR_FORMAT
16809 TAR_OPTIONS
="-H posix"
16815 tar -cf archive
--label=Test foo bar
16817 ) ) >"$at_stdout" 2>"$at_stder1"
16818 at_func_filter_trace $?
16823 TEST_TAR_FORMAT
=posix
16824 export TEST_TAR_FORMAT
16825 TAR_OPTIONS
="-H posix"
16831 tar -cf archive
--label=Test foo bar
16833 ) ) >"$at_stdout" 2>"$at_stderr"
16837 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16838 echo >>"$at_stdout"; $as_echo "Test
16842 $at_diff - "$at_stdout" || at_failed
=:
16843 at_func_check_status
0 $at_status "$at_srcdir/label01.at:22"
16845 $at_failed && at_func_log_failure
16852 $at_times_p && times >"$at_times_file"
16853 ) 5>&1 2>&1 |
eval $at_tee_pipe
16854 at_status
=`cat "$at_status_file"`
16857 # 45. label02.at:19: multi-volume label
16858 at_setup_line
='label02.at:19'
16859 at_desc
="multi-volume label"
16860 $at_quiet $as_echo_n " 45: $at_desc "
16862 test -f $XFAILFILE && at_xfail
=yes
16863 echo "# -*- compilation -*-" >> "$at_group_log"
16865 $as_echo "45. label02.at:19: testing ..."
16873 $as_echo "$at_srcdir/label02.at:22:
16876 TEST_TAR_FORMAT=gnu
16877 export TEST_TAR_FORMAT
16878 TAR_OPTIONS=\"-H gnu\"
16883 genfile --length 0 --file foo
16884 genfile --length 12288 --file bar
16885 genfile --length 12288 --file baz
16886 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16887 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16889 echo label02.
at:22 >"$at_check_line_file"
16891 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16896 TEST_TAR_FORMAT
=gnu
16897 export TEST_TAR_FORMAT
16898 TAR_OPTIONS
="-H gnu"
16903 genfile
--length 0 --file foo
16904 genfile
--length 12288 --file bar
16905 genfile
--length 12288 --file baz
16906 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
16907 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
16908 ) ) >"$at_stdout" 2>"$at_stder1"
16909 at_func_filter_trace $?
16914 TEST_TAR_FORMAT
=gnu
16915 export TEST_TAR_FORMAT
16916 TAR_OPTIONS
="-H gnu"
16921 genfile
--length 0 --file foo
16922 genfile
--length 12288 --file bar
16923 genfile
--length 12288 --file baz
16924 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
16925 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
16926 ) ) >"$at_stdout" 2>"$at_stderr"
16930 at_func_diff_devnull
"$at_stderr" || at_failed
=:
16931 echo >>"$at_stdout"; $as_echo "Test Volume 1
16936 $at_diff - "$at_stdout" || at_failed
=:
16937 at_func_check_status
0 $at_status "$at_srcdir/label02.at:22"
16939 $at_failed && at_func_log_failure
16943 $as_echo "$at_srcdir/label02.at:22:
16946 TEST_TAR_FORMAT=oldgnu
16947 export TEST_TAR_FORMAT
16948 TAR_OPTIONS=\"-H oldgnu\"
16953 genfile --length 0 --file foo
16954 genfile --length 12288 --file bar
16955 genfile --length 12288 --file baz
16956 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16957 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16959 echo label02.
at:22 >"$at_check_line_file"
16961 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16966 TEST_TAR_FORMAT
=oldgnu
16967 export TEST_TAR_FORMAT
16968 TAR_OPTIONS
="-H oldgnu"
16973 genfile
--length 0 --file foo
16974 genfile
--length 12288 --file bar
16975 genfile
--length 12288 --file baz
16976 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
16977 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
16978 ) ) >"$at_stdout" 2>"$at_stder1"
16979 at_func_filter_trace $?
16984 TEST_TAR_FORMAT
=oldgnu
16985 export TEST_TAR_FORMAT
16986 TAR_OPTIONS
="-H oldgnu"
16991 genfile
--length 0 --file foo
16992 genfile
--length 12288 --file bar
16993 genfile
--length 12288 --file baz
16994 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
16995 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
16996 ) ) >"$at_stdout" 2>"$at_stderr"
17000 at_func_diff_devnull
"$at_stderr" || at_failed
=:
17001 echo >>"$at_stdout"; $as_echo "Test Volume 1
17006 $at_diff - "$at_stdout" || at_failed
=:
17007 at_func_check_status
0 $at_status "$at_srcdir/label02.at:22"
17009 $at_failed && at_func_log_failure
17013 $as_echo "$at_srcdir/label02.at:22:
17016 TEST_TAR_FORMAT=posix
17017 export TEST_TAR_FORMAT
17018 TAR_OPTIONS=\"-H posix\"
17023 genfile --length 0 --file foo
17024 genfile --length 12288 --file bar
17025 genfile --length 12288 --file baz
17026 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
17027 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
17029 echo label02.
at:22 >"$at_check_line_file"
17031 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17036 TEST_TAR_FORMAT
=posix
17037 export TEST_TAR_FORMAT
17038 TAR_OPTIONS
="-H posix"
17043 genfile
--length 0 --file foo
17044 genfile
--length 12288 --file bar
17045 genfile
--length 12288 --file baz
17046 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
17047 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
17048 ) ) >"$at_stdout" 2>"$at_stder1"
17049 at_func_filter_trace $?
17054 TEST_TAR_FORMAT
=posix
17055 export TEST_TAR_FORMAT
17056 TAR_OPTIONS
="-H posix"
17061 genfile
--length 0 --file foo
17062 genfile
--length 12288 --file bar
17063 genfile
--length 12288 --file baz
17064 tar --label=Test
-cM -L10 -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar foo bar baz
17065 tar -Mt -f 1.
tar -f 2.
tar -f 3.
tar -f 4.
tar
17066 ) ) >"$at_stdout" 2>"$at_stderr"
17070 at_func_diff_devnull
"$at_stderr" || at_failed
=:
17071 echo >>"$at_stdout"; $as_echo "Test Volume 1
17076 $at_diff - "$at_stdout" || at_failed
=:
17077 at_func_check_status
0 $at_status "$at_srcdir/label02.at:22"
17079 $at_failed && at_func_log_failure
17086 $at_times_p && times >"$at_times_file"
17087 ) 5>&1 2>&1 |
eval $at_tee_pipe
17088 at_status
=`cat "$at_status_file"`
17091 # 46. label03.at:25: test-label option
17092 at_setup_line
='label03.at:25'
17093 at_desc
="test-label option"
17094 $at_quiet $as_echo_n " 46: $at_desc "
17096 test -f $XFAILFILE && at_xfail
=yes
17097 echo "# -*- compilation -*-" >> "$at_group_log"
17099 $as_echo "46. label03.at:25: testing ..."
17107 $as_echo "$at_srcdir/label03.at:28:
17110 TEST_TAR_FORMAT=gnu
17111 export TEST_TAR_FORMAT
17112 TAR_OPTIONS=\"-H gnu\"
17117 genfile --file file
17118 tar -c --label='iamalabel' --file iamanarchive file
17119 tar -c --file unlabeled.tar file
17120 decho \"# Display label\"
17121 tar --test-label --file=iamanarchive; echo \$?
17122 decho \"# Display label: unlabeled\"
17123 tar --test-label --file=unlabeled.tar; echo \$?
17124 decho \"# Test label: success\"
17125 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
17126 decho \"# Test label: failure\"
17127 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
17128 decho \"# Test label: unlabeled\"
17129 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
17130 decho \"# Test label, verbose: success\"
17131 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
17132 decho \"# Test label, verbose: failure\"
17133 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
17134 decho \"# Test label: multiple arguments\"
17135 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
17136 decho \"# Test label: wildcards\"
17137 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
17139 echo label03.
at:28 >"$at_check_line_file"
17141 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17146 TEST_TAR_FORMAT
=gnu
17147 export TEST_TAR_FORMAT
17148 TAR_OPTIONS
="-H gnu"
17153 genfile
--file file
17154 tar -c --label='iamalabel' --file iamanarchive
file
17155 tar -c --file unlabeled.
tar file
17156 decho
"# Display label"
17157 tar --test-label --file=iamanarchive
; echo $?
17158 decho
"# Display label: unlabeled"
17159 tar --test-label --file=unlabeled.
tar; echo $?
17160 decho
"# Test label: success"
17161 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17162 decho
"# Test label: failure"
17163 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17164 decho
"# Test label: unlabeled"
17165 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17166 decho
"# Test label, verbose: success"
17167 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17168 decho
"# Test label, verbose: failure"
17169 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17170 decho
"# Test label: multiple arguments"
17171 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17172 decho
"# Test label: wildcards"
17173 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17174 ) ) >"$at_stdout" 2>"$at_stder1"
17175 at_func_filter_trace $?
17180 TEST_TAR_FORMAT
=gnu
17181 export TEST_TAR_FORMAT
17182 TAR_OPTIONS
="-H gnu"
17187 genfile
--file file
17188 tar -c --label='iamalabel' --file iamanarchive
file
17189 tar -c --file unlabeled.
tar file
17190 decho
"# Display label"
17191 tar --test-label --file=iamanarchive
; echo $?
17192 decho
"# Display label: unlabeled"
17193 tar --test-label --file=unlabeled.
tar; echo $?
17194 decho
"# Test label: success"
17195 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17196 decho
"# Test label: failure"
17197 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17198 decho
"# Test label: unlabeled"
17199 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17200 decho
"# Test label, verbose: success"
17201 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17202 decho
"# Test label, verbose: failure"
17203 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17204 decho
"# Test label: multiple arguments"
17205 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17206 decho
"# Test label: wildcards"
17207 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17208 ) ) >"$at_stdout" 2>"$at_stderr"
17212 echo >>"$at_stderr"; $as_echo "# Display label
17213 # Display label: unlabeled
17214 # Test label: success
17215 # Test label: failure
17216 # Test label: unlabeled
17217 # Test label, verbose: success
17218 # Test label, verbose: failure
17219 tar: Archive label mismatch
17220 # Test label: multiple arguments
17221 # Test label: wildcards
17223 $at_diff - "$at_stderr" || at_failed
=:
17224 echo >>"$at_stdout"; $as_echo "# Display label
17227 # Display label: unlabeled
17229 # Test label: success
17231 # Test label: failure
17233 # Test label: unlabeled
17235 # Test label, verbose: success
17238 # Test label, verbose: failure
17241 # Test label: multiple arguments
17243 # Test label: wildcards
17246 $at_diff - "$at_stdout" || at_failed
=:
17247 at_func_check_status
0 $at_status "$at_srcdir/label03.at:28"
17249 $at_failed && at_func_log_failure
17253 $as_echo "$at_srcdir/label03.at:28:
17256 TEST_TAR_FORMAT=oldgnu
17257 export TEST_TAR_FORMAT
17258 TAR_OPTIONS=\"-H oldgnu\"
17263 genfile --file file
17264 tar -c --label='iamalabel' --file iamanarchive file
17265 tar -c --file unlabeled.tar file
17266 decho \"# Display label\"
17267 tar --test-label --file=iamanarchive; echo \$?
17268 decho \"# Display label: unlabeled\"
17269 tar --test-label --file=unlabeled.tar; echo \$?
17270 decho \"# Test label: success\"
17271 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
17272 decho \"# Test label: failure\"
17273 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
17274 decho \"# Test label: unlabeled\"
17275 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
17276 decho \"# Test label, verbose: success\"
17277 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
17278 decho \"# Test label, verbose: failure\"
17279 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
17280 decho \"# Test label: multiple arguments\"
17281 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
17282 decho \"# Test label: wildcards\"
17283 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
17285 echo label03.
at:28 >"$at_check_line_file"
17287 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17292 TEST_TAR_FORMAT
=oldgnu
17293 export TEST_TAR_FORMAT
17294 TAR_OPTIONS
="-H oldgnu"
17299 genfile
--file file
17300 tar -c --label='iamalabel' --file iamanarchive
file
17301 tar -c --file unlabeled.
tar file
17302 decho
"# Display label"
17303 tar --test-label --file=iamanarchive
; echo $?
17304 decho
"# Display label: unlabeled"
17305 tar --test-label --file=unlabeled.
tar; echo $?
17306 decho
"# Test label: success"
17307 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17308 decho
"# Test label: failure"
17309 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17310 decho
"# Test label: unlabeled"
17311 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17312 decho
"# Test label, verbose: success"
17313 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17314 decho
"# Test label, verbose: failure"
17315 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17316 decho
"# Test label: multiple arguments"
17317 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17318 decho
"# Test label: wildcards"
17319 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17320 ) ) >"$at_stdout" 2>"$at_stder1"
17321 at_func_filter_trace $?
17326 TEST_TAR_FORMAT
=oldgnu
17327 export TEST_TAR_FORMAT
17328 TAR_OPTIONS
="-H oldgnu"
17333 genfile
--file file
17334 tar -c --label='iamalabel' --file iamanarchive
file
17335 tar -c --file unlabeled.
tar file
17336 decho
"# Display label"
17337 tar --test-label --file=iamanarchive
; echo $?
17338 decho
"# Display label: unlabeled"
17339 tar --test-label --file=unlabeled.
tar; echo $?
17340 decho
"# Test label: success"
17341 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17342 decho
"# Test label: failure"
17343 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17344 decho
"# Test label: unlabeled"
17345 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17346 decho
"# Test label, verbose: success"
17347 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17348 decho
"# Test label, verbose: failure"
17349 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17350 decho
"# Test label: multiple arguments"
17351 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17352 decho
"# Test label: wildcards"
17353 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17354 ) ) >"$at_stdout" 2>"$at_stderr"
17358 echo >>"$at_stderr"; $as_echo "# Display label
17359 # Display label: unlabeled
17360 # Test label: success
17361 # Test label: failure
17362 # Test label: unlabeled
17363 # Test label, verbose: success
17364 # Test label, verbose: failure
17365 tar: Archive label mismatch
17366 # Test label: multiple arguments
17367 # Test label: wildcards
17369 $at_diff - "$at_stderr" || at_failed
=:
17370 echo >>"$at_stdout"; $as_echo "# Display label
17373 # Display label: unlabeled
17375 # Test label: success
17377 # Test label: failure
17379 # Test label: unlabeled
17381 # Test label, verbose: success
17384 # Test label, verbose: failure
17387 # Test label: multiple arguments
17389 # Test label: wildcards
17392 $at_diff - "$at_stdout" || at_failed
=:
17393 at_func_check_status
0 $at_status "$at_srcdir/label03.at:28"
17395 $at_failed && at_func_log_failure
17399 $as_echo "$at_srcdir/label03.at:28:
17402 TEST_TAR_FORMAT=posix
17403 export TEST_TAR_FORMAT
17404 TAR_OPTIONS=\"-H posix\"
17409 genfile --file file
17410 tar -c --label='iamalabel' --file iamanarchive file
17411 tar -c --file unlabeled.tar file
17412 decho \"# Display label\"
17413 tar --test-label --file=iamanarchive; echo \$?
17414 decho \"# Display label: unlabeled\"
17415 tar --test-label --file=unlabeled.tar; echo \$?
17416 decho \"# Test label: success\"
17417 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
17418 decho \"# Test label: failure\"
17419 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
17420 decho \"# Test label: unlabeled\"
17421 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
17422 decho \"# Test label, verbose: success\"
17423 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
17424 decho \"# Test label, verbose: failure\"
17425 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
17426 decho \"# Test label: multiple arguments\"
17427 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
17428 decho \"# Test label: wildcards\"
17429 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
17431 echo label03.
at:28 >"$at_check_line_file"
17433 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17438 TEST_TAR_FORMAT
=posix
17439 export TEST_TAR_FORMAT
17440 TAR_OPTIONS
="-H posix"
17445 genfile
--file file
17446 tar -c --label='iamalabel' --file iamanarchive
file
17447 tar -c --file unlabeled.
tar file
17448 decho
"# Display label"
17449 tar --test-label --file=iamanarchive
; echo $?
17450 decho
"# Display label: unlabeled"
17451 tar --test-label --file=unlabeled.
tar; echo $?
17452 decho
"# Test label: success"
17453 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17454 decho
"# Test label: failure"
17455 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17456 decho
"# Test label: unlabeled"
17457 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17458 decho
"# Test label, verbose: success"
17459 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17460 decho
"# Test label, verbose: failure"
17461 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17462 decho
"# Test label: multiple arguments"
17463 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17464 decho
"# Test label: wildcards"
17465 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17466 ) ) >"$at_stdout" 2>"$at_stder1"
17467 at_func_filter_trace $?
17472 TEST_TAR_FORMAT
=posix
17473 export TEST_TAR_FORMAT
17474 TAR_OPTIONS
="-H posix"
17479 genfile
--file file
17480 tar -c --label='iamalabel' --file iamanarchive
file
17481 tar -c --file unlabeled.
tar file
17482 decho
"# Display label"
17483 tar --test-label --file=iamanarchive
; echo $?
17484 decho
"# Display label: unlabeled"
17485 tar --test-label --file=unlabeled.
tar; echo $?
17486 decho
"# Test label: success"
17487 tar --test-label --file=iamanarchive
'iamalabel'; echo $?
17488 decho
"# Test label: failure"
17489 tar --test-label --file=iamanarchive
'amalabel'; echo $?
17490 decho
"# Test label: unlabeled"
17491 tar --test-label --file=unlabeled.
tar 'amalabel'; echo $?
17492 decho
"# Test label, verbose: success"
17493 tar --test-label --verbose --file=iamanarchive
'iamalabel'; echo $?
17494 decho
"# Test label, verbose: failure"
17495 tar --test-label --verbose --file=iamanarchive
'amalabel'; echo $?
17496 decho
"# Test label: multiple arguments"
17497 tar --test-label --file=iamanarchive a iamalabel b
; echo $?
17498 decho
"# Test label: wildcards"
17499 tar --test-label --file=iamanarchive
--wildcards '*label'; echo $?
17500 ) ) >"$at_stdout" 2>"$at_stderr"
17504 echo >>"$at_stderr"; $as_echo "# Display label
17505 # Display label: unlabeled
17506 # Test label: success
17507 # Test label: failure
17508 # Test label: unlabeled
17509 # Test label, verbose: success
17510 # Test label, verbose: failure
17511 tar: Archive label mismatch
17512 # Test label: multiple arguments
17513 # Test label: wildcards
17515 $at_diff - "$at_stderr" || at_failed
=:
17516 echo >>"$at_stdout"; $as_echo "# Display label
17519 # Display label: unlabeled
17521 # Test label: success
17523 # Test label: failure
17525 # Test label: unlabeled
17527 # Test label, verbose: success
17530 # Test label, verbose: failure
17533 # Test label: multiple arguments
17535 # Test label: wildcards
17538 $at_diff - "$at_stdout" || at_failed
=:
17539 at_func_check_status
0 $at_status "$at_srcdir/label03.at:28"
17541 $at_failed && at_func_log_failure
17548 $at_times_p && times >"$at_times_file"
17549 ) 5>&1 2>&1 |
eval $at_tee_pipe
17550 at_status
=`cat "$at_status_file"`
17553 # 47. label04.at:25: label with non-create option
17554 at_setup_line
='label04.at:25'
17555 at_desc
="label with non-create option"
17556 $at_quiet $as_echo_n " 47: $at_desc "
17558 test -f $XFAILFILE && at_xfail
=yes
17559 echo "# -*- compilation -*-" >> "$at_group_log"
17561 $as_echo "47. label04.at:25: testing ..."
17569 $as_echo "$at_srcdir/label04.at:28:
17572 TEST_TAR_FORMAT=gnu
17573 export TEST_TAR_FORMAT
17574 TAR_OPTIONS=\"-H gnu\"
17579 genfile --file file
17580 decho \"# Create volume\"
17581 tar -c -f archive --label='New volume' file
17582 decho \"# Update: wrong label\"
17583 tar -rf archive --label='My volume' file; echo \$?
17584 decho \"# Update: right label\"
17585 tar -rf archive --label='New volume' file
17587 echo label04.
at:28 >"$at_check_line_file"
17589 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17594 TEST_TAR_FORMAT
=gnu
17595 export TEST_TAR_FORMAT
17596 TAR_OPTIONS
="-H gnu"
17601 genfile
--file file
17602 decho
"# Create volume"
17603 tar -c -f archive
--label='New volume' file
17604 decho
"# Update: wrong label"
17605 tar -rf archive
--label='My volume' file; echo $?
17606 decho
"# Update: right label"
17607 tar -rf archive
--label='New volume' file
17608 ) ) >"$at_stdout" 2>"$at_stder1"
17609 at_func_filter_trace $?
17614 TEST_TAR_FORMAT
=gnu
17615 export TEST_TAR_FORMAT
17616 TAR_OPTIONS
="-H gnu"
17621 genfile
--file file
17622 decho
"# Create volume"
17623 tar -c -f archive
--label='New volume' file
17624 decho
"# Update: wrong label"
17625 tar -rf archive
--label='My volume' file; echo $?
17626 decho
"# Update: right label"
17627 tar -rf archive
--label='New volume' file
17628 ) ) >"$at_stdout" 2>"$at_stderr"
17632 echo >>"$at_stderr"; $as_echo "# Create volume
17633 # Update: wrong label
17634 tar: Volume \`New volume' does not match \`My volume'
17635 tar: Error is not recoverable: exiting now
17636 # Update: right label
17638 $at_diff - "$at_stderr" || at_failed
=:
17639 echo >>"$at_stdout"; $as_echo "# Create volume
17640 # Update: wrong label
17642 # Update: right label
17644 $at_diff - "$at_stdout" || at_failed
=:
17645 at_func_check_status
0 $at_status "$at_srcdir/label04.at:28"
17647 $at_failed && at_func_log_failure
17651 $as_echo "$at_srcdir/label04.at:28:
17654 TEST_TAR_FORMAT=oldgnu
17655 export TEST_TAR_FORMAT
17656 TAR_OPTIONS=\"-H oldgnu\"
17661 genfile --file file
17662 decho \"# Create volume\"
17663 tar -c -f archive --label='New volume' file
17664 decho \"# Update: wrong label\"
17665 tar -rf archive --label='My volume' file; echo \$?
17666 decho \"# Update: right label\"
17667 tar -rf archive --label='New volume' file
17669 echo label04.
at:28 >"$at_check_line_file"
17671 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17676 TEST_TAR_FORMAT
=oldgnu
17677 export TEST_TAR_FORMAT
17678 TAR_OPTIONS
="-H oldgnu"
17683 genfile
--file file
17684 decho
"# Create volume"
17685 tar -c -f archive
--label='New volume' file
17686 decho
"# Update: wrong label"
17687 tar -rf archive
--label='My volume' file; echo $?
17688 decho
"# Update: right label"
17689 tar -rf archive
--label='New volume' file
17690 ) ) >"$at_stdout" 2>"$at_stder1"
17691 at_func_filter_trace $?
17696 TEST_TAR_FORMAT
=oldgnu
17697 export TEST_TAR_FORMAT
17698 TAR_OPTIONS
="-H oldgnu"
17703 genfile
--file file
17704 decho
"# Create volume"
17705 tar -c -f archive
--label='New volume' file
17706 decho
"# Update: wrong label"
17707 tar -rf archive
--label='My volume' file; echo $?
17708 decho
"# Update: right label"
17709 tar -rf archive
--label='New volume' file
17710 ) ) >"$at_stdout" 2>"$at_stderr"
17714 echo >>"$at_stderr"; $as_echo "# Create volume
17715 # Update: wrong label
17716 tar: Volume \`New volume' does not match \`My volume'
17717 tar: Error is not recoverable: exiting now
17718 # Update: right label
17720 $at_diff - "$at_stderr" || at_failed
=:
17721 echo >>"$at_stdout"; $as_echo "# Create volume
17722 # Update: wrong label
17724 # Update: right label
17726 $at_diff - "$at_stdout" || at_failed
=:
17727 at_func_check_status
0 $at_status "$at_srcdir/label04.at:28"
17729 $at_failed && at_func_log_failure
17733 $as_echo "$at_srcdir/label04.at:28:
17736 TEST_TAR_FORMAT=posix
17737 export TEST_TAR_FORMAT
17738 TAR_OPTIONS=\"-H posix\"
17743 genfile --file file
17744 decho \"# Create volume\"
17745 tar -c -f archive --label='New volume' file
17746 decho \"# Update: wrong label\"
17747 tar -rf archive --label='My volume' file; echo \$?
17748 decho \"# Update: right label\"
17749 tar -rf archive --label='New volume' file
17751 echo label04.
at:28 >"$at_check_line_file"
17753 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17758 TEST_TAR_FORMAT
=posix
17759 export TEST_TAR_FORMAT
17760 TAR_OPTIONS
="-H posix"
17765 genfile
--file file
17766 decho
"# Create volume"
17767 tar -c -f archive
--label='New volume' file
17768 decho
"# Update: wrong label"
17769 tar -rf archive
--label='My volume' file; echo $?
17770 decho
"# Update: right label"
17771 tar -rf archive
--label='New volume' file
17772 ) ) >"$at_stdout" 2>"$at_stder1"
17773 at_func_filter_trace $?
17778 TEST_TAR_FORMAT
=posix
17779 export TEST_TAR_FORMAT
17780 TAR_OPTIONS
="-H posix"
17785 genfile
--file file
17786 decho
"# Create volume"
17787 tar -c -f archive
--label='New volume' file
17788 decho
"# Update: wrong label"
17789 tar -rf archive
--label='My volume' file; echo $?
17790 decho
"# Update: right label"
17791 tar -rf archive
--label='New volume' file
17792 ) ) >"$at_stdout" 2>"$at_stderr"
17796 echo >>"$at_stderr"; $as_echo "# Create volume
17797 # Update: wrong label
17798 tar: Volume \`New volume' does not match \`My volume'
17799 tar: Error is not recoverable: exiting now
17800 # Update: right label
17802 $at_diff - "$at_stderr" || at_failed
=:
17803 echo >>"$at_stdout"; $as_echo "# Create volume
17804 # Update: wrong label
17806 # Update: right label
17808 $at_diff - "$at_stdout" || at_failed
=:
17809 at_func_check_status
0 $at_status "$at_srcdir/label04.at:28"
17811 $at_failed && at_func_log_failure
17818 $at_times_p && times >"$at_times_file"
17819 ) 5>&1 2>&1 |
eval $at_tee_pipe
17820 at_status
=`cat "$at_status_file"`
17823 # 48. label05.at:22: label with non-create option
17824 at_setup_line
='label05.at:22'
17825 at_desc
="label with non-create option"
17826 $at_quiet $as_echo_n " 48: $at_desc "
17828 test -f $XFAILFILE && at_xfail
=yes
17829 echo "# -*- compilation -*-" >> "$at_group_log"
17831 $as_echo "48. label05.at:22: testing ..."
17839 $as_echo "$at_srcdir/label05.at:25:
17842 TEST_TAR_FORMAT=gnu
17843 export TEST_TAR_FORMAT
17844 TAR_OPTIONS=\"-H gnu\"
17849 genfile --file file
17850 decho \"# Create volume\"
17851 tar -c -f archive file
17852 decho \"# Update: wrong label\"
17853 tar -rf archive --label='My volume' file; echo \$?
17854 decho \"# Update: right label\"
17855 tar -rf archive file
17857 echo label05.
at:25 >"$at_check_line_file"
17859 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17864 TEST_TAR_FORMAT
=gnu
17865 export TEST_TAR_FORMAT
17866 TAR_OPTIONS
="-H gnu"
17871 genfile
--file file
17872 decho
"# Create volume"
17873 tar -c -f archive
file
17874 decho
"# Update: wrong label"
17875 tar -rf archive
--label='My volume' file; echo $?
17876 decho
"# Update: right label"
17877 tar -rf archive
file
17878 ) ) >"$at_stdout" 2>"$at_stder1"
17879 at_func_filter_trace $?
17884 TEST_TAR_FORMAT
=gnu
17885 export TEST_TAR_FORMAT
17886 TAR_OPTIONS
="-H gnu"
17891 genfile
--file file
17892 decho
"# Create volume"
17893 tar -c -f archive
file
17894 decho
"# Update: wrong label"
17895 tar -rf archive
--label='My volume' file; echo $?
17896 decho
"# Update: right label"
17897 tar -rf archive
file
17898 ) ) >"$at_stdout" 2>"$at_stderr"
17902 echo >>"$at_stderr"; $as_echo "# Create volume
17903 # Update: wrong label
17904 tar: Archive not labeled to match \`My volume'
17905 tar: Error is not recoverable: exiting now
17906 # Update: right label
17908 $at_diff - "$at_stderr" || at_failed
=:
17909 echo >>"$at_stdout"; $as_echo "# Create volume
17910 # Update: wrong label
17912 # Update: right label
17914 $at_diff - "$at_stdout" || at_failed
=:
17915 at_func_check_status
0 $at_status "$at_srcdir/label05.at:25"
17917 $at_failed && at_func_log_failure
17921 $as_echo "$at_srcdir/label05.at:25:
17924 TEST_TAR_FORMAT=oldgnu
17925 export TEST_TAR_FORMAT
17926 TAR_OPTIONS=\"-H oldgnu\"
17931 genfile --file file
17932 decho \"# Create volume\"
17933 tar -c -f archive file
17934 decho \"# Update: wrong label\"
17935 tar -rf archive --label='My volume' file; echo \$?
17936 decho \"# Update: right label\"
17937 tar -rf archive file
17939 echo label05.
at:25 >"$at_check_line_file"
17941 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17946 TEST_TAR_FORMAT
=oldgnu
17947 export TEST_TAR_FORMAT
17948 TAR_OPTIONS
="-H oldgnu"
17953 genfile
--file file
17954 decho
"# Create volume"
17955 tar -c -f archive
file
17956 decho
"# Update: wrong label"
17957 tar -rf archive
--label='My volume' file; echo $?
17958 decho
"# Update: right label"
17959 tar -rf archive
file
17960 ) ) >"$at_stdout" 2>"$at_stder1"
17961 at_func_filter_trace $?
17966 TEST_TAR_FORMAT
=oldgnu
17967 export TEST_TAR_FORMAT
17968 TAR_OPTIONS
="-H oldgnu"
17973 genfile
--file file
17974 decho
"# Create volume"
17975 tar -c -f archive
file
17976 decho
"# Update: wrong label"
17977 tar -rf archive
--label='My volume' file; echo $?
17978 decho
"# Update: right label"
17979 tar -rf archive
file
17980 ) ) >"$at_stdout" 2>"$at_stderr"
17984 echo >>"$at_stderr"; $as_echo "# Create volume
17985 # Update: wrong label
17986 tar: Archive not labeled to match \`My volume'
17987 tar: Error is not recoverable: exiting now
17988 # Update: right label
17990 $at_diff - "$at_stderr" || at_failed
=:
17991 echo >>"$at_stdout"; $as_echo "# Create volume
17992 # Update: wrong label
17994 # Update: right label
17996 $at_diff - "$at_stdout" || at_failed
=:
17997 at_func_check_status
0 $at_status "$at_srcdir/label05.at:25"
17999 $at_failed && at_func_log_failure
18003 $as_echo "$at_srcdir/label05.at:25:
18006 TEST_TAR_FORMAT=posix
18007 export TEST_TAR_FORMAT
18008 TAR_OPTIONS=\"-H posix\"
18013 genfile --file file
18014 decho \"# Create volume\"
18015 tar -c -f archive file
18016 decho \"# Update: wrong label\"
18017 tar -rf archive --label='My volume' file; echo \$?
18018 decho \"# Update: right label\"
18019 tar -rf archive file
18021 echo label05.
at:25 >"$at_check_line_file"
18023 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18028 TEST_TAR_FORMAT
=posix
18029 export TEST_TAR_FORMAT
18030 TAR_OPTIONS
="-H posix"
18035 genfile
--file file
18036 decho
"# Create volume"
18037 tar -c -f archive
file
18038 decho
"# Update: wrong label"
18039 tar -rf archive
--label='My volume' file; echo $?
18040 decho
"# Update: right label"
18041 tar -rf archive
file
18042 ) ) >"$at_stdout" 2>"$at_stder1"
18043 at_func_filter_trace $?
18048 TEST_TAR_FORMAT
=posix
18049 export TEST_TAR_FORMAT
18050 TAR_OPTIONS
="-H posix"
18055 genfile
--file file
18056 decho
"# Create volume"
18057 tar -c -f archive
file
18058 decho
"# Update: wrong label"
18059 tar -rf archive
--label='My volume' file; echo $?
18060 decho
"# Update: right label"
18061 tar -rf archive
file
18062 ) ) >"$at_stdout" 2>"$at_stderr"
18066 echo >>"$at_stderr"; $as_echo "# Create volume
18067 # Update: wrong label
18068 tar: Archive not labeled to match \`My volume'
18069 tar: Error is not recoverable: exiting now
18070 # Update: right label
18072 $at_diff - "$at_stderr" || at_failed
=:
18073 echo >>"$at_stdout"; $as_echo "# Create volume
18074 # Update: wrong label
18076 # Update: right label
18078 $at_diff - "$at_stdout" || at_failed
=:
18079 at_func_check_status
0 $at_status "$at_srcdir/label05.at:25"
18081 $at_failed && at_func_log_failure
18088 $at_times_p && times >"$at_times_file"
18089 ) 5>&1 2>&1 |
eval $at_tee_pipe
18090 at_status
=`cat "$at_status_file"`
18093 # 49. backup01.at:33: extracting existing dir with --backup
18094 at_setup_line
='backup01.at:33'
18095 at_desc
="extracting existing dir with --backup"
18096 $at_quiet $as_echo_n " 49: $at_desc "
18098 test -f $XFAILFILE && at_xfail
=yes
18099 echo "# -*- compilation -*-" >> "$at_group_log"
18101 $as_echo "49. backup01.at:33: testing ..."
18109 $as_echo "$at_srcdir/backup01.at:36:
18113 export TEST_TAR_FORMAT
18114 TAR_OPTIONS=\"-H v7\"
18118 unset VERSION_CONTROL
18120 echo bla > dir1/file1
18121 tar cf test.tar dir1 dir2
18122 tar xfv test.tar --backup --warning=no-timestamp
18124 echo backup01.
at:36 >"$at_check_line_file"
18126 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18132 export TEST_TAR_FORMAT
18133 TAR_OPTIONS
="-H v7"
18137 unset VERSION_CONTROL
18139 echo bla
> dir
1/file1
18140 tar cf
test.
tar dir1 dir2
18141 tar xfv
test.
tar --backup --warning=no-timestamp
18142 ) ) >"$at_stdout" 2>"$at_stder1"
18143 at_func_filter_trace $?
18149 export TEST_TAR_FORMAT
18150 TAR_OPTIONS
="-H v7"
18154 unset VERSION_CONTROL
18156 echo bla
> dir
1/file1
18157 tar cf
test.
tar dir1 dir2
18158 tar xfv
test.
tar --backup --warning=no-timestamp
18159 ) ) >"$at_stdout" 2>"$at_stderr"
18163 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18164 echo >>"$at_stdout"; $as_echo "dir1/
18166 Renaming \`dir1/file1' to \`dir1/file1~'
18169 $at_diff - "$at_stdout" || at_failed
=:
18170 at_func_check_status
0 $at_status "$at_srcdir/backup01.at:36"
18172 $at_failed && at_func_log_failure
18176 $as_echo "$at_srcdir/backup01.at:36:
18179 TEST_TAR_FORMAT=oldgnu
18180 export TEST_TAR_FORMAT
18181 TAR_OPTIONS=\"-H oldgnu\"
18185 unset VERSION_CONTROL
18187 echo bla > dir1/file1
18188 tar cf test.tar dir1 dir2
18189 tar xfv test.tar --backup --warning=no-timestamp
18191 echo backup01.
at:36 >"$at_check_line_file"
18193 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18198 TEST_TAR_FORMAT
=oldgnu
18199 export TEST_TAR_FORMAT
18200 TAR_OPTIONS
="-H oldgnu"
18204 unset VERSION_CONTROL
18206 echo bla
> dir
1/file1
18207 tar cf
test.
tar dir1 dir2
18208 tar xfv
test.
tar --backup --warning=no-timestamp
18209 ) ) >"$at_stdout" 2>"$at_stder1"
18210 at_func_filter_trace $?
18215 TEST_TAR_FORMAT
=oldgnu
18216 export TEST_TAR_FORMAT
18217 TAR_OPTIONS
="-H oldgnu"
18221 unset VERSION_CONTROL
18223 echo bla
> dir
1/file1
18224 tar cf
test.
tar dir1 dir2
18225 tar xfv
test.
tar --backup --warning=no-timestamp
18226 ) ) >"$at_stdout" 2>"$at_stderr"
18230 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18231 echo >>"$at_stdout"; $as_echo "dir1/
18233 Renaming \`dir1/file1' to \`dir1/file1~'
18236 $at_diff - "$at_stdout" || at_failed
=:
18237 at_func_check_status
0 $at_status "$at_srcdir/backup01.at:36"
18239 $at_failed && at_func_log_failure
18243 $as_echo "$at_srcdir/backup01.at:36:
18246 TEST_TAR_FORMAT=ustar
18247 export TEST_TAR_FORMAT
18248 TAR_OPTIONS=\"-H ustar\"
18252 unset VERSION_CONTROL
18254 echo bla > dir1/file1
18255 tar cf test.tar dir1 dir2
18256 tar xfv test.tar --backup --warning=no-timestamp
18258 echo backup01.
at:36 >"$at_check_line_file"
18260 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18265 TEST_TAR_FORMAT
=ustar
18266 export TEST_TAR_FORMAT
18267 TAR_OPTIONS
="-H ustar"
18271 unset VERSION_CONTROL
18273 echo bla
> dir
1/file1
18274 tar cf
test.
tar dir1 dir2
18275 tar xfv
test.
tar --backup --warning=no-timestamp
18276 ) ) >"$at_stdout" 2>"$at_stder1"
18277 at_func_filter_trace $?
18282 TEST_TAR_FORMAT
=ustar
18283 export TEST_TAR_FORMAT
18284 TAR_OPTIONS
="-H ustar"
18288 unset VERSION_CONTROL
18290 echo bla
> dir
1/file1
18291 tar cf
test.
tar dir1 dir2
18292 tar xfv
test.
tar --backup --warning=no-timestamp
18293 ) ) >"$at_stdout" 2>"$at_stderr"
18297 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18298 echo >>"$at_stdout"; $as_echo "dir1/
18300 Renaming \`dir1/file1' to \`dir1/file1~'
18303 $at_diff - "$at_stdout" || at_failed
=:
18304 at_func_check_status
0 $at_status "$at_srcdir/backup01.at:36"
18306 $at_failed && at_func_log_failure
18310 $as_echo "$at_srcdir/backup01.at:36:
18313 TEST_TAR_FORMAT=posix
18314 export TEST_TAR_FORMAT
18315 TAR_OPTIONS=\"-H posix\"
18319 unset VERSION_CONTROL
18321 echo bla > dir1/file1
18322 tar cf test.tar dir1 dir2
18323 tar xfv test.tar --backup --warning=no-timestamp
18325 echo backup01.
at:36 >"$at_check_line_file"
18327 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18332 TEST_TAR_FORMAT
=posix
18333 export TEST_TAR_FORMAT
18334 TAR_OPTIONS
="-H posix"
18338 unset VERSION_CONTROL
18340 echo bla
> dir
1/file1
18341 tar cf
test.
tar dir1 dir2
18342 tar xfv
test.
tar --backup --warning=no-timestamp
18343 ) ) >"$at_stdout" 2>"$at_stder1"
18344 at_func_filter_trace $?
18349 TEST_TAR_FORMAT
=posix
18350 export TEST_TAR_FORMAT
18351 TAR_OPTIONS
="-H posix"
18355 unset VERSION_CONTROL
18357 echo bla
> dir
1/file1
18358 tar cf
test.
tar dir1 dir2
18359 tar xfv
test.
tar --backup --warning=no-timestamp
18360 ) ) >"$at_stdout" 2>"$at_stderr"
18364 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18365 echo >>"$at_stdout"; $as_echo "dir1/
18367 Renaming \`dir1/file1' to \`dir1/file1~'
18370 $at_diff - "$at_stdout" || at_failed
=:
18371 at_func_check_status
0 $at_status "$at_srcdir/backup01.at:36"
18373 $at_failed && at_func_log_failure
18377 $as_echo "$at_srcdir/backup01.at:36:
18380 TEST_TAR_FORMAT=gnu
18381 export TEST_TAR_FORMAT
18382 TAR_OPTIONS=\"-H gnu\"
18386 unset VERSION_CONTROL
18388 echo bla > dir1/file1
18389 tar cf test.tar dir1 dir2
18390 tar xfv test.tar --backup --warning=no-timestamp
18392 echo backup01.
at:36 >"$at_check_line_file"
18394 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18399 TEST_TAR_FORMAT
=gnu
18400 export TEST_TAR_FORMAT
18401 TAR_OPTIONS
="-H gnu"
18405 unset VERSION_CONTROL
18407 echo bla
> dir
1/file1
18408 tar cf
test.
tar dir1 dir2
18409 tar xfv
test.
tar --backup --warning=no-timestamp
18410 ) ) >"$at_stdout" 2>"$at_stder1"
18411 at_func_filter_trace $?
18416 TEST_TAR_FORMAT
=gnu
18417 export TEST_TAR_FORMAT
18418 TAR_OPTIONS
="-H gnu"
18422 unset VERSION_CONTROL
18424 echo bla
> dir
1/file1
18425 tar cf
test.
tar dir1 dir2
18426 tar xfv
test.
tar --backup --warning=no-timestamp
18427 ) ) >"$at_stdout" 2>"$at_stderr"
18431 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18432 echo >>"$at_stdout"; $as_echo "dir1/
18434 Renaming \`dir1/file1' to \`dir1/file1~'
18437 $at_diff - "$at_stdout" || at_failed
=:
18438 at_func_check_status
0 $at_status "$at_srcdir/backup01.at:36"
18440 $at_failed && at_func_log_failure
18447 $at_times_p && times >"$at_times_file"
18448 ) 5>&1 2>&1 |
eval $at_tee_pipe
18449 at_status
=`cat "$at_status_file"`
18452 # 50. gzip.at:23: gzip
18453 at_setup_line
='gzip.at:23'
18455 $at_quiet $as_echo_n " 50: $at_desc "
18457 echo "# -*- compilation -*-" >> "$at_group_log"
18459 $as_echo "50. gzip.at:23: testing ..."
18467 $as_echo "$at_srcdir/gzip.at:28:
18469 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
18471 tar xfvz /dev/null 2>err
18473 sed -n '/^tar:/p' err >&2
18476 echo gzip.
at:28 >"$at_check_line_file"
18478 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18482 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
18484 tar xfvz
/dev
/null
2>err
18486 sed -n '/^tar:/p' err
>&2
18488 ) >"$at_stdout" 2>"$at_stder1"
18489 at_func_filter_trace $?
18493 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
18495 tar xfvz
/dev
/null
2>err
18497 sed -n '/^tar:/p' err
>&2
18499 ) >"$at_stdout" 2>"$at_stderr"
18503 echo >>"$at_stderr"; $as_echo "tar: Child returned status 1
18504 tar: Error is not recoverable: exiting now
18506 $at_diff - "$at_stderr" || at_failed
=:
18507 at_func_diff_devnull
"$at_stdout" || at_failed
=:
18508 at_func_check_status
2 $at_status "$at_srcdir/gzip.at:28"
18510 $at_failed && at_func_log_failure
18515 $at_times_p && times >"$at_times_file"
18516 ) 5>&1 2>&1 |
eval $at_tee_pipe
18517 at_status
=`cat "$at_status_file"`
18520 # 51. incremental.at:23: incremental
18521 at_setup_line
='incremental.at:23'
18522 at_desc
="incremental"
18523 $at_quiet $as_echo_n " 51: $at_desc "
18525 test -f $XFAILFILE && at_xfail
=yes
18526 echo "# -*- compilation -*-" >> "$at_group_log"
18528 $as_echo "51. incremental.at:23: testing ..."
18536 $as_echo "$at_srcdir/incremental.at:26:
18539 TEST_TAR_FORMAT=gnu
18540 export TEST_TAR_FORMAT
18541 TAR_OPTIONS=\"-H gnu\"
18546 echo x >structure/file
18548 # On Nextstep (and perhaps other 4.3BSD systems),
18549 # a newly created file's ctime isn't updated
18550 # until the next sync or stat operation on the file.
18551 ls -l structure/file >/dev/null
18553 # If the time of an initial backup and the creation time of a file contained
18554 # in that backup are the same, the file will be backed up again when an
18555 # incremental backup is done, because the incremental backup backs up
18556 # files created \`on or after' the initial backup time. Without the sleep
18557 # command, behaviour of tar becomes variable, depending whether the system
18558 # clock ticked over to the next second between creating the file and
18562 tar cf archive --listed=list structure
18563 tar cfv archive --listed=list structure
18565 # ReiserFS often offsets the timestamps of newly created files
18566 # 1 second to the past. Try to compensate for it, until a better
18567 # solution is found.
18569 echo y >structure/file
18570 tar cfv archive --listed=list structure
18572 echo incremental.
at:26 >"$at_check_line_file"
18574 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18579 TEST_TAR_FORMAT
=gnu
18580 export TEST_TAR_FORMAT
18581 TAR_OPTIONS
="-H gnu"
18586 echo x
>structure
/file
18588 # On Nextstep (and perhaps other 4.3BSD systems),
18589 # a newly created file's ctime isn't updated
18590 # until the next sync or stat operation on the file.
18591 ls -l structure
/file >/dev
/null
18593 # If the time of an initial backup and the creation time of a file contained
18594 # in that backup are the same, the file will be backed up again when an
18595 # incremental backup is done, because the incremental backup backs up
18596 # files created `on or after' the initial backup time. Without the sleep
18597 # command, behaviour of tar becomes variable, depending whether the system
18598 # clock ticked over to the next second between creating the file and
18602 tar cf archive
--listed=list structure
18603 tar cfv archive
--listed=list structure
18605 # ReiserFS often offsets the timestamps of newly created files
18606 # 1 second to the past. Try to compensate for it, until a better
18607 # solution is found.
18609 echo y
>structure
/file
18610 tar cfv archive
--listed=list structure
18611 ) ) >"$at_stdout" 2>"$at_stder1"
18612 at_func_filter_trace $?
18617 TEST_TAR_FORMAT
=gnu
18618 export TEST_TAR_FORMAT
18619 TAR_OPTIONS
="-H gnu"
18624 echo x
>structure
/file
18626 # On Nextstep (and perhaps other 4.3BSD systems),
18627 # a newly created file's ctime isn't updated
18628 # until the next sync or stat operation on the file.
18629 ls -l structure
/file >/dev
/null
18631 # If the time of an initial backup and the creation time of a file contained
18632 # in that backup are the same, the file will be backed up again when an
18633 # incremental backup is done, because the incremental backup backs up
18634 # files created `on or after' the initial backup time. Without the sleep
18635 # command, behaviour of tar becomes variable, depending whether the system
18636 # clock ticked over to the next second between creating the file and
18640 tar cf archive
--listed=list structure
18641 tar cfv archive
--listed=list structure
18643 # ReiserFS often offsets the timestamps of newly created files
18644 # 1 second to the past. Try to compensate for it, until a better
18645 # solution is found.
18647 echo y
>structure
/file
18648 tar cfv archive
--listed=list structure
18649 ) ) >"$at_stdout" 2>"$at_stderr"
18653 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18654 echo >>"$at_stdout"; $as_echo "structure/
18659 $at_diff - "$at_stdout" || at_failed
=:
18660 at_func_check_status
0 $at_status "$at_srcdir/incremental.at:26"
18662 $at_failed && at_func_log_failure
18666 $as_echo "$at_srcdir/incremental.at:26:
18669 TEST_TAR_FORMAT=oldgnu
18670 export TEST_TAR_FORMAT
18671 TAR_OPTIONS=\"-H oldgnu\"
18676 echo x >structure/file
18678 # On Nextstep (and perhaps other 4.3BSD systems),
18679 # a newly created file's ctime isn't updated
18680 # until the next sync or stat operation on the file.
18681 ls -l structure/file >/dev/null
18683 # If the time of an initial backup and the creation time of a file contained
18684 # in that backup are the same, the file will be backed up again when an
18685 # incremental backup is done, because the incremental backup backs up
18686 # files created \`on or after' the initial backup time. Without the sleep
18687 # command, behaviour of tar becomes variable, depending whether the system
18688 # clock ticked over to the next second between creating the file and
18692 tar cf archive --listed=list structure
18693 tar cfv archive --listed=list structure
18695 # ReiserFS often offsets the timestamps of newly created files
18696 # 1 second to the past. Try to compensate for it, until a better
18697 # solution is found.
18699 echo y >structure/file
18700 tar cfv archive --listed=list structure
18702 echo incremental.
at:26 >"$at_check_line_file"
18704 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18709 TEST_TAR_FORMAT
=oldgnu
18710 export TEST_TAR_FORMAT
18711 TAR_OPTIONS
="-H oldgnu"
18716 echo x
>structure
/file
18718 # On Nextstep (and perhaps other 4.3BSD systems),
18719 # a newly created file's ctime isn't updated
18720 # until the next sync or stat operation on the file.
18721 ls -l structure
/file >/dev
/null
18723 # If the time of an initial backup and the creation time of a file contained
18724 # in that backup are the same, the file will be backed up again when an
18725 # incremental backup is done, because the incremental backup backs up
18726 # files created `on or after' the initial backup time. Without the sleep
18727 # command, behaviour of tar becomes variable, depending whether the system
18728 # clock ticked over to the next second between creating the file and
18732 tar cf archive
--listed=list structure
18733 tar cfv archive
--listed=list structure
18735 # ReiserFS often offsets the timestamps of newly created files
18736 # 1 second to the past. Try to compensate for it, until a better
18737 # solution is found.
18739 echo y
>structure
/file
18740 tar cfv archive
--listed=list structure
18741 ) ) >"$at_stdout" 2>"$at_stder1"
18742 at_func_filter_trace $?
18747 TEST_TAR_FORMAT
=oldgnu
18748 export TEST_TAR_FORMAT
18749 TAR_OPTIONS
="-H oldgnu"
18754 echo x
>structure
/file
18756 # On Nextstep (and perhaps other 4.3BSD systems),
18757 # a newly created file's ctime isn't updated
18758 # until the next sync or stat operation on the file.
18759 ls -l structure
/file >/dev
/null
18761 # If the time of an initial backup and the creation time of a file contained
18762 # in that backup are the same, the file will be backed up again when an
18763 # incremental backup is done, because the incremental backup backs up
18764 # files created `on or after' the initial backup time. Without the sleep
18765 # command, behaviour of tar becomes variable, depending whether the system
18766 # clock ticked over to the next second between creating the file and
18770 tar cf archive
--listed=list structure
18771 tar cfv archive
--listed=list structure
18773 # ReiserFS often offsets the timestamps of newly created files
18774 # 1 second to the past. Try to compensate for it, until a better
18775 # solution is found.
18777 echo y
>structure
/file
18778 tar cfv archive
--listed=list structure
18779 ) ) >"$at_stdout" 2>"$at_stderr"
18783 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18784 echo >>"$at_stdout"; $as_echo "structure/
18789 $at_diff - "$at_stdout" || at_failed
=:
18790 at_func_check_status
0 $at_status "$at_srcdir/incremental.at:26"
18792 $at_failed && at_func_log_failure
18796 $as_echo "$at_srcdir/incremental.at:26:
18799 TEST_TAR_FORMAT=posix
18800 export TEST_TAR_FORMAT
18801 TAR_OPTIONS=\"-H posix\"
18806 echo x >structure/file
18808 # On Nextstep (and perhaps other 4.3BSD systems),
18809 # a newly created file's ctime isn't updated
18810 # until the next sync or stat operation on the file.
18811 ls -l structure/file >/dev/null
18813 # If the time of an initial backup and the creation time of a file contained
18814 # in that backup are the same, the file will be backed up again when an
18815 # incremental backup is done, because the incremental backup backs up
18816 # files created \`on or after' the initial backup time. Without the sleep
18817 # command, behaviour of tar becomes variable, depending whether the system
18818 # clock ticked over to the next second between creating the file and
18822 tar cf archive --listed=list structure
18823 tar cfv archive --listed=list structure
18825 # ReiserFS often offsets the timestamps of newly created files
18826 # 1 second to the past. Try to compensate for it, until a better
18827 # solution is found.
18829 echo y >structure/file
18830 tar cfv archive --listed=list structure
18832 echo incremental.
at:26 >"$at_check_line_file"
18834 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18839 TEST_TAR_FORMAT
=posix
18840 export TEST_TAR_FORMAT
18841 TAR_OPTIONS
="-H posix"
18846 echo x
>structure
/file
18848 # On Nextstep (and perhaps other 4.3BSD systems),
18849 # a newly created file's ctime isn't updated
18850 # until the next sync or stat operation on the file.
18851 ls -l structure
/file >/dev
/null
18853 # If the time of an initial backup and the creation time of a file contained
18854 # in that backup are the same, the file will be backed up again when an
18855 # incremental backup is done, because the incremental backup backs up
18856 # files created `on or after' the initial backup time. Without the sleep
18857 # command, behaviour of tar becomes variable, depending whether the system
18858 # clock ticked over to the next second between creating the file and
18862 tar cf archive
--listed=list structure
18863 tar cfv archive
--listed=list structure
18865 # ReiserFS often offsets the timestamps of newly created files
18866 # 1 second to the past. Try to compensate for it, until a better
18867 # solution is found.
18869 echo y
>structure
/file
18870 tar cfv archive
--listed=list structure
18871 ) ) >"$at_stdout" 2>"$at_stder1"
18872 at_func_filter_trace $?
18877 TEST_TAR_FORMAT
=posix
18878 export TEST_TAR_FORMAT
18879 TAR_OPTIONS
="-H posix"
18884 echo x
>structure
/file
18886 # On Nextstep (and perhaps other 4.3BSD systems),
18887 # a newly created file's ctime isn't updated
18888 # until the next sync or stat operation on the file.
18889 ls -l structure
/file >/dev
/null
18891 # If the time of an initial backup and the creation time of a file contained
18892 # in that backup are the same, the file will be backed up again when an
18893 # incremental backup is done, because the incremental backup backs up
18894 # files created `on or after' the initial backup time. Without the sleep
18895 # command, behaviour of tar becomes variable, depending whether the system
18896 # clock ticked over to the next second between creating the file and
18900 tar cf archive
--listed=list structure
18901 tar cfv archive
--listed=list structure
18903 # ReiserFS often offsets the timestamps of newly created files
18904 # 1 second to the past. Try to compensate for it, until a better
18905 # solution is found.
18907 echo y
>structure
/file
18908 tar cfv archive
--listed=list structure
18909 ) ) >"$at_stdout" 2>"$at_stderr"
18913 at_func_diff_devnull
"$at_stderr" || at_failed
=:
18914 echo >>"$at_stdout"; $as_echo "structure/
18919 $at_diff - "$at_stdout" || at_failed
=:
18920 at_func_check_status
0 $at_status "$at_srcdir/incremental.at:26"
18922 $at_failed && at_func_log_failure
18929 $at_times_p && times >"$at_times_file"
18930 ) 5>&1 2>&1 |
eval $at_tee_pipe
18931 at_status
=`cat "$at_status_file"`
18934 # 52. incr01.at:27: restore broken symlinks from incremental
18935 at_setup_line
='incr01.at:27'
18936 at_desc
="restore broken symlinks from incremental"
18937 $at_quiet $as_echo_n " 52: $at_desc "
18939 test -f $XFAILFILE && at_xfail
=yes
18940 echo "# -*- compilation -*-" >> "$at_group_log"
18942 $as_echo "52. incr01.at:27: testing ..."
18950 $as_echo "$at_srcdir/incr01.at:30:
18953 TEST_TAR_FORMAT=gnu
18954 export TEST_TAR_FORMAT
18955 TAR_OPTIONS=\"-H gnu\"
18960 \$as_ln_s foo directory/bar
18962 tar -cf archive.0 -g db directory
18964 tar -cf archive.1 -g db directory
18968 tar xvfg archive.0 /dev/null --warning=no-timestamp
18970 tar xvfg archive.1 /dev/null --warning=no-timestamp
18972 echo incr01.
at:30 >"$at_check_line_file"
18974 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18979 TEST_TAR_FORMAT
=gnu
18980 export TEST_TAR_FORMAT
18981 TAR_OPTIONS
="-H gnu"
18986 $as_ln_s foo directory
/bar
18988 tar -cf archive
.0 -g db directory
18990 tar -cf archive
.1 -g db directory
18994 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
18996 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
18997 ) ) >"$at_stdout" 2>"$at_stder1"
18998 at_func_filter_trace $?
19003 TEST_TAR_FORMAT
=gnu
19004 export TEST_TAR_FORMAT
19005 TAR_OPTIONS
="-H gnu"
19010 $as_ln_s foo directory
/bar
19012 tar -cf archive
.0 -g db directory
19014 tar -cf archive
.1 -g db directory
19018 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
19020 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
19021 ) ) >"$at_stdout" 2>"$at_stderr"
19025 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19026 echo >>"$at_stdout"; $as_echo "directory/
19030 tar: Deleting \`directory/bar'
19032 $at_diff - "$at_stdout" || at_failed
=:
19033 at_func_check_status
0 $at_status "$at_srcdir/incr01.at:30"
19035 $at_failed && at_func_log_failure
19039 $as_echo "$at_srcdir/incr01.at:30:
19042 TEST_TAR_FORMAT=oldgnu
19043 export TEST_TAR_FORMAT
19044 TAR_OPTIONS=\"-H oldgnu\"
19049 \$as_ln_s foo directory/bar
19051 tar -cf archive.0 -g db directory
19053 tar -cf archive.1 -g db directory
19057 tar xvfg archive.0 /dev/null --warning=no-timestamp
19059 tar xvfg archive.1 /dev/null --warning=no-timestamp
19061 echo incr01.
at:30 >"$at_check_line_file"
19063 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19068 TEST_TAR_FORMAT
=oldgnu
19069 export TEST_TAR_FORMAT
19070 TAR_OPTIONS
="-H oldgnu"
19075 $as_ln_s foo directory
/bar
19077 tar -cf archive
.0 -g db directory
19079 tar -cf archive
.1 -g db directory
19083 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
19085 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
19086 ) ) >"$at_stdout" 2>"$at_stder1"
19087 at_func_filter_trace $?
19092 TEST_TAR_FORMAT
=oldgnu
19093 export TEST_TAR_FORMAT
19094 TAR_OPTIONS
="-H oldgnu"
19099 $as_ln_s foo directory
/bar
19101 tar -cf archive
.0 -g db directory
19103 tar -cf archive
.1 -g db directory
19107 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
19109 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
19110 ) ) >"$at_stdout" 2>"$at_stderr"
19114 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19115 echo >>"$at_stdout"; $as_echo "directory/
19119 tar: Deleting \`directory/bar'
19121 $at_diff - "$at_stdout" || at_failed
=:
19122 at_func_check_status
0 $at_status "$at_srcdir/incr01.at:30"
19124 $at_failed && at_func_log_failure
19128 $as_echo "$at_srcdir/incr01.at:30:
19131 TEST_TAR_FORMAT=posix
19132 export TEST_TAR_FORMAT
19133 TAR_OPTIONS=\"-H posix\"
19138 \$as_ln_s foo directory/bar
19140 tar -cf archive.0 -g db directory
19142 tar -cf archive.1 -g db directory
19146 tar xvfg archive.0 /dev/null --warning=no-timestamp
19148 tar xvfg archive.1 /dev/null --warning=no-timestamp
19150 echo incr01.
at:30 >"$at_check_line_file"
19152 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19157 TEST_TAR_FORMAT
=posix
19158 export TEST_TAR_FORMAT
19159 TAR_OPTIONS
="-H posix"
19164 $as_ln_s foo directory
/bar
19166 tar -cf archive
.0 -g db directory
19168 tar -cf archive
.1 -g db directory
19172 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
19174 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
19175 ) ) >"$at_stdout" 2>"$at_stder1"
19176 at_func_filter_trace $?
19181 TEST_TAR_FORMAT
=posix
19182 export TEST_TAR_FORMAT
19183 TAR_OPTIONS
="-H posix"
19188 $as_ln_s foo directory
/bar
19190 tar -cf archive
.0 -g db directory
19192 tar -cf archive
.1 -g db directory
19196 tar xvfg archive
.0 /dev
/null
--warning=no-timestamp
19198 tar xvfg archive
.1 /dev
/null
--warning=no-timestamp
19199 ) ) >"$at_stdout" 2>"$at_stderr"
19203 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19204 echo >>"$at_stdout"; $as_echo "directory/
19208 tar: Deleting \`directory/bar'
19210 $at_diff - "$at_stdout" || at_failed
=:
19211 at_func_check_status
0 $at_status "$at_srcdir/incr01.at:30"
19213 $at_failed && at_func_log_failure
19220 $at_times_p && times >"$at_times_file"
19221 ) 5>&1 2>&1 |
eval $at_tee_pipe
19222 at_status
=`cat "$at_status_file"`
19225 # 53. incr02.at:32: restoring timestamps from incremental
19226 at_setup_line
='incr02.at:32'
19227 at_desc
="restoring timestamps from incremental"
19228 $at_quiet $as_echo_n " 53: $at_desc "
19230 test -f $XFAILFILE && at_xfail
=yes
19231 echo "# -*- compilation -*-" >> "$at_group_log"
19233 $as_echo "53. incr02.at:32: testing ..."
19241 $as_echo "$at_srcdir/incr02.at:35:
19244 TEST_TAR_FORMAT=gnu
19245 export TEST_TAR_FORMAT
19246 TAR_OPTIONS=\"-H gnu\"
19250 # Create directory structure
19254 genfile --length 10 --file dir/subdir1/file
19256 # Save mtime for later comparison
19257 genfile --stat=mtime dir/subdir1 > ts
19259 # Create an archive. Using incremental mode makes sure the
19260 # archive will have a directory-first member ordering,
19265 # dir/subdir1/foofile
19267 # When restoring from this directory structure, \`dir/subdir2/' used to
19268 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19269 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
19270 # latter clobbered the directory timestamp.
19272 tar -cf archive -g db dir
19274 # Move away the directory
19277 # Wait enough time for timestamps to differ in case of failure.
19280 # Restore the directory
19281 tar -xf archive dir
19283 # Check the timestamp
19284 genfile --stat=mtime dir/subdir1 | diff ts -
19286 echo incr02.
at:35 >"$at_check_line_file"
19288 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
19293 TEST_TAR_FORMAT
=gnu
19294 export TEST_TAR_FORMAT
19295 TAR_OPTIONS
="-H gnu"
19299 # Create directory structure
19303 genfile
--length 10 --file dir
/subdir
1/file
19305 # Save mtime for later comparison
19306 genfile
--stat=mtime dir
/subdir1
> ts
19308 # Create an archive. Using incremental mode makes sure the
19309 # archive will have a directory-first member ordering,
19314 # dir/subdir1/foofile
19316 # When restoring from this directory structure, `dir/subdir2/' used to
19317 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19318 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19319 # latter clobbered the directory timestamp.
19321 tar -cf archive
-g db dir
19323 # Move away the directory
19326 # Wait enough time for timestamps to differ in case of failure.
19329 # Restore the directory
19330 tar -xf archive dir
19332 # Check the timestamp
19333 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19334 ) ) >"$at_stdout" 2>"$at_stder1"
19335 at_func_filter_trace $?
19340 TEST_TAR_FORMAT
=gnu
19341 export TEST_TAR_FORMAT
19342 TAR_OPTIONS
="-H gnu"
19346 # Create directory structure
19350 genfile
--length 10 --file dir
/subdir
1/file
19352 # Save mtime for later comparison
19353 genfile
--stat=mtime dir
/subdir1
> ts
19355 # Create an archive. Using incremental mode makes sure the
19356 # archive will have a directory-first member ordering,
19361 # dir/subdir1/foofile
19363 # When restoring from this directory structure, `dir/subdir2/' used to
19364 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19365 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19366 # latter clobbered the directory timestamp.
19368 tar -cf archive
-g db dir
19370 # Move away the directory
19373 # Wait enough time for timestamps to differ in case of failure.
19376 # Restore the directory
19377 tar -xf archive dir
19379 # Check the timestamp
19380 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19381 ) ) >"$at_stdout" 2>"$at_stderr"
19385 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19386 at_func_diff_devnull
"$at_stdout" || at_failed
=:
19387 at_func_check_status
0 $at_status "$at_srcdir/incr02.at:35"
19389 $at_failed && at_func_log_failure
19393 $as_echo "$at_srcdir/incr02.at:35:
19396 TEST_TAR_FORMAT=oldgnu
19397 export TEST_TAR_FORMAT
19398 TAR_OPTIONS=\"-H oldgnu\"
19402 # Create directory structure
19406 genfile --length 10 --file dir/subdir1/file
19408 # Save mtime for later comparison
19409 genfile --stat=mtime dir/subdir1 > ts
19411 # Create an archive. Using incremental mode makes sure the
19412 # archive will have a directory-first member ordering,
19417 # dir/subdir1/foofile
19419 # When restoring from this directory structure, \`dir/subdir2/' used to
19420 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19421 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
19422 # latter clobbered the directory timestamp.
19424 tar -cf archive -g db dir
19426 # Move away the directory
19429 # Wait enough time for timestamps to differ in case of failure.
19432 # Restore the directory
19433 tar -xf archive dir
19435 # Check the timestamp
19436 genfile --stat=mtime dir/subdir1 | diff ts -
19438 echo incr02.
at:35 >"$at_check_line_file"
19440 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
19445 TEST_TAR_FORMAT
=oldgnu
19446 export TEST_TAR_FORMAT
19447 TAR_OPTIONS
="-H oldgnu"
19451 # Create directory structure
19455 genfile
--length 10 --file dir
/subdir
1/file
19457 # Save mtime for later comparison
19458 genfile
--stat=mtime dir
/subdir1
> ts
19460 # Create an archive. Using incremental mode makes sure the
19461 # archive will have a directory-first member ordering,
19466 # dir/subdir1/foofile
19468 # When restoring from this directory structure, `dir/subdir2/' used to
19469 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19470 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19471 # latter clobbered the directory timestamp.
19473 tar -cf archive
-g db dir
19475 # Move away the directory
19478 # Wait enough time for timestamps to differ in case of failure.
19481 # Restore the directory
19482 tar -xf archive dir
19484 # Check the timestamp
19485 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19486 ) ) >"$at_stdout" 2>"$at_stder1"
19487 at_func_filter_trace $?
19492 TEST_TAR_FORMAT
=oldgnu
19493 export TEST_TAR_FORMAT
19494 TAR_OPTIONS
="-H oldgnu"
19498 # Create directory structure
19502 genfile
--length 10 --file dir
/subdir
1/file
19504 # Save mtime for later comparison
19505 genfile
--stat=mtime dir
/subdir1
> ts
19507 # Create an archive. Using incremental mode makes sure the
19508 # archive will have a directory-first member ordering,
19513 # dir/subdir1/foofile
19515 # When restoring from this directory structure, `dir/subdir2/' used to
19516 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19517 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19518 # latter clobbered the directory timestamp.
19520 tar -cf archive
-g db dir
19522 # Move away the directory
19525 # Wait enough time for timestamps to differ in case of failure.
19528 # Restore the directory
19529 tar -xf archive dir
19531 # Check the timestamp
19532 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19533 ) ) >"$at_stdout" 2>"$at_stderr"
19537 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19538 at_func_diff_devnull
"$at_stdout" || at_failed
=:
19539 at_func_check_status
0 $at_status "$at_srcdir/incr02.at:35"
19541 $at_failed && at_func_log_failure
19545 $as_echo "$at_srcdir/incr02.at:35:
19548 TEST_TAR_FORMAT=posix
19549 export TEST_TAR_FORMAT
19550 TAR_OPTIONS=\"-H posix\"
19554 # Create directory structure
19558 genfile --length 10 --file dir/subdir1/file
19560 # Save mtime for later comparison
19561 genfile --stat=mtime dir/subdir1 > ts
19563 # Create an archive. Using incremental mode makes sure the
19564 # archive will have a directory-first member ordering,
19569 # dir/subdir1/foofile
19571 # When restoring from this directory structure, \`dir/subdir2/' used to
19572 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19573 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
19574 # latter clobbered the directory timestamp.
19576 tar -cf archive -g db dir
19578 # Move away the directory
19581 # Wait enough time for timestamps to differ in case of failure.
19584 # Restore the directory
19585 tar -xf archive dir
19587 # Check the timestamp
19588 genfile --stat=mtime dir/subdir1 | diff ts -
19590 echo incr02.
at:35 >"$at_check_line_file"
19592 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
19597 TEST_TAR_FORMAT
=posix
19598 export TEST_TAR_FORMAT
19599 TAR_OPTIONS
="-H posix"
19603 # Create directory structure
19607 genfile
--length 10 --file dir
/subdir
1/file
19609 # Save mtime for later comparison
19610 genfile
--stat=mtime dir
/subdir1
> ts
19612 # Create an archive. Using incremental mode makes sure the
19613 # archive will have a directory-first member ordering,
19618 # dir/subdir1/foofile
19620 # When restoring from this directory structure, `dir/subdir2/' used to
19621 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19622 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19623 # latter clobbered the directory timestamp.
19625 tar -cf archive
-g db dir
19627 # Move away the directory
19630 # Wait enough time for timestamps to differ in case of failure.
19633 # Restore the directory
19634 tar -xf archive dir
19636 # Check the timestamp
19637 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19638 ) ) >"$at_stdout" 2>"$at_stder1"
19639 at_func_filter_trace $?
19644 TEST_TAR_FORMAT
=posix
19645 export TEST_TAR_FORMAT
19646 TAR_OPTIONS
="-H posix"
19650 # Create directory structure
19654 genfile
--length 10 --file dir
/subdir
1/file
19656 # Save mtime for later comparison
19657 genfile
--stat=mtime dir
/subdir1
> ts
19659 # Create an archive. Using incremental mode makes sure the
19660 # archive will have a directory-first member ordering,
19665 # dir/subdir1/foofile
19667 # When restoring from this directory structure, `dir/subdir2/' used to
19668 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
19669 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
19670 # latter clobbered the directory timestamp.
19672 tar -cf archive
-g db dir
19674 # Move away the directory
19677 # Wait enough time for timestamps to differ in case of failure.
19680 # Restore the directory
19681 tar -xf archive dir
19683 # Check the timestamp
19684 genfile
--stat=mtime dir
/subdir1 |
diff ts
-
19685 ) ) >"$at_stdout" 2>"$at_stderr"
19689 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19690 at_func_diff_devnull
"$at_stdout" || at_failed
=:
19691 at_func_check_status
0 $at_status "$at_srcdir/incr02.at:35"
19693 $at_failed && at_func_log_failure
19700 $at_times_p && times >"$at_times_file"
19701 ) 5>&1 2>&1 |
eval $at_tee_pipe
19702 at_status
=`cat "$at_status_file"`
19705 # 54. listed01.at:26: --listed for individual files
19706 at_setup_line
='listed01.at:26'
19707 at_desc
="--listed for individual files"
19708 $at_quiet $as_echo_n " 54: $at_desc "
19710 test -f $XFAILFILE && at_xfail
=yes
19711 echo "# -*- compilation -*-" >> "$at_group_log"
19713 $as_echo "54. listed01.at:26: testing ..."
19721 $as_echo "$at_srcdir/listed01.at:29:
19724 TEST_TAR_FORMAT=gnu
19725 export TEST_TAR_FORMAT
19726 TAR_OPTIONS=\"-H gnu\"
19731 genfile --length 10240 --pattern zeros --file directory/file1
19732 # Let the things settle
19736 --file=archive.1 \\
19737 --listed-incremental=listing \\
19740 tar tf archive.1 || exit 1
19744 genfile --length 10240 --pattern zeros --file directory/file2
19747 cp listing listing.old
19749 --file=archive.2 \\
19750 --listed-incremental=listing \\
19751 directory/file* || exit 1
19753 tar tf archive.2 || exit 1
19755 echo listed01.
at:29 >"$at_check_line_file"
19757 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19762 TEST_TAR_FORMAT
=gnu
19763 export TEST_TAR_FORMAT
19764 TAR_OPTIONS
="-H gnu"
19769 genfile
--length 10240 --pattern zeros
--file directory
/file1
19770 # Let the things settle
19775 --listed-incremental=listing \
19778 tar tf archive
.1 ||
exit 1
19782 genfile
--length 10240 --pattern zeros
--file directory
/file2
19785 cp listing listing.old
19788 --listed-incremental=listing \
19789 directory
/file* ||
exit 1
19791 tar tf archive
.2 ||
exit 1
19792 ) ) >"$at_stdout" 2>"$at_stder1"
19793 at_func_filter_trace $?
19798 TEST_TAR_FORMAT
=gnu
19799 export TEST_TAR_FORMAT
19800 TAR_OPTIONS
="-H gnu"
19805 genfile
--length 10240 --pattern zeros
--file directory
/file1
19806 # Let the things settle
19811 --listed-incremental=listing \
19814 tar tf archive
.1 ||
exit 1
19818 genfile
--length 10240 --pattern zeros
--file directory
/file2
19821 cp listing listing.old
19824 --listed-incremental=listing \
19825 directory
/file* ||
exit 1
19827 tar tf archive
.2 ||
exit 1
19828 ) ) >"$at_stdout" 2>"$at_stderr"
19832 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19833 echo >>"$at_stdout"; $as_echo "directory/file1
19837 $at_diff - "$at_stdout" || at_failed
=:
19838 at_func_check_status
0 $at_status "$at_srcdir/listed01.at:29"
19840 $at_failed && at_func_log_failure
19844 $as_echo "$at_srcdir/listed01.at:29:
19847 TEST_TAR_FORMAT=oldgnu
19848 export TEST_TAR_FORMAT
19849 TAR_OPTIONS=\"-H oldgnu\"
19854 genfile --length 10240 --pattern zeros --file directory/file1
19855 # Let the things settle
19859 --file=archive.1 \\
19860 --listed-incremental=listing \\
19863 tar tf archive.1 || exit 1
19867 genfile --length 10240 --pattern zeros --file directory/file2
19870 cp listing listing.old
19872 --file=archive.2 \\
19873 --listed-incremental=listing \\
19874 directory/file* || exit 1
19876 tar tf archive.2 || exit 1
19878 echo listed01.
at:29 >"$at_check_line_file"
19880 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19885 TEST_TAR_FORMAT
=oldgnu
19886 export TEST_TAR_FORMAT
19887 TAR_OPTIONS
="-H oldgnu"
19892 genfile
--length 10240 --pattern zeros
--file directory
/file1
19893 # Let the things settle
19898 --listed-incremental=listing \
19901 tar tf archive
.1 ||
exit 1
19905 genfile
--length 10240 --pattern zeros
--file directory
/file2
19908 cp listing listing.old
19911 --listed-incremental=listing \
19912 directory
/file* ||
exit 1
19914 tar tf archive
.2 ||
exit 1
19915 ) ) >"$at_stdout" 2>"$at_stder1"
19916 at_func_filter_trace $?
19921 TEST_TAR_FORMAT
=oldgnu
19922 export TEST_TAR_FORMAT
19923 TAR_OPTIONS
="-H oldgnu"
19928 genfile
--length 10240 --pattern zeros
--file directory
/file1
19929 # Let the things settle
19934 --listed-incremental=listing \
19937 tar tf archive
.1 ||
exit 1
19941 genfile
--length 10240 --pattern zeros
--file directory
/file2
19944 cp listing listing.old
19947 --listed-incremental=listing \
19948 directory
/file* ||
exit 1
19950 tar tf archive
.2 ||
exit 1
19951 ) ) >"$at_stdout" 2>"$at_stderr"
19955 at_func_diff_devnull
"$at_stderr" || at_failed
=:
19956 echo >>"$at_stdout"; $as_echo "directory/file1
19960 $at_diff - "$at_stdout" || at_failed
=:
19961 at_func_check_status
0 $at_status "$at_srcdir/listed01.at:29"
19963 $at_failed && at_func_log_failure
19970 $at_times_p && times >"$at_times_file"
19971 ) 5>&1 2>&1 |
eval $at_tee_pipe
19972 at_status
=`cat "$at_status_file"`
19975 # 55. listed02.at:28: working --listed
19976 at_setup_line
='listed02.at:28'
19977 at_desc
="working --listed"
19978 $at_quiet $as_echo_n " 55: $at_desc "
19980 test -f $XFAILFILE && at_xfail
=yes
19981 echo "# -*- compilation -*-" >> "$at_group_log"
19983 $as_echo "55. listed02.at:28: testing ..."
19991 $as_echo "$at_srcdir/listed02.at:31:
19994 TEST_TAR_FORMAT=gnu
19995 export TEST_TAR_FORMAT
19996 TAR_OPTIONS=\"-H gnu\"
20001 test -z "`sort < /dev/null 2>&1`" || exit 77
20003 echo Create directories
20012 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
20014 echo File \$file > \$file
20019 echo Creating main archive
20020 echo >&2 \"Creating main archive\"
20021 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
20023 # The above prints two lines to stderr announcing the new directories c0 and c1.
20024 # Ensure that they appear in this script's stderr in sorted order.
20025 sort err 1>&2; rm -f err
20028 echo Modifying filesystem
20035 echo Directory contents
20036 find tart -print | sort 2>/dev/null
20039 echo Creating incremental archive
20040 echo >&2 \"Creating incremental archive\"
20041 cp -p tart.incr1 tart.incr2
20042 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
20047 echo Extracting main archive
20048 echo >&2 \"Extracting main archive\"
20049 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
20050 echo Extracting incremental archive
20051 # This command should produce three messages about deletion
20052 # of the existing files, that may appear in any order. Piping
20053 # to sort makes sure we don't depend on any particular ordering.
20054 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
20057 find tart -print | sort 2>/dev/null
20059 echo listed02.
at:31 >"$at_check_line_file"
20061 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20066 TEST_TAR_FORMAT
=gnu
20067 export TEST_TAR_FORMAT
20068 TAR_OPTIONS
="-H gnu"
20073 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20075 echo Create directories
20084 for file in tart
/a1
tart
/b1
tart
/c
0/cq1
tart
/c
0/cq2
tart
/c
1/ca1
tart
/c
1/ca2
20086 echo File
$file > $file
20091 echo Creating main archive
20092 echo >&2 "Creating main archive"
20093 tar -c -v --listed-incremental=tart.incr1
-f archive
.1 tart
2> err ||
exit 1
20095 # The above prints two lines to stderr announcing the new directories c0 and c1.
20096 # Ensure that they appear in this script's stderr in sorted order.
20097 sort err
1>&2; rm -f err
20100 echo Modifying filesystem
20107 echo Directory contents
20108 find tart
-print |
sort 2>/dev
/null
20111 echo Creating incremental archive
20112 echo >&2 "Creating incremental archive"
20113 cp -p tart.incr1 tart.incr2
20114 tar -c -v --listed-incremental=tart.incr2
-f archive
.2 tart ||
exit 1
20119 echo Extracting main archive
20120 echo >&2 "Extracting main archive"
20121 tar -x -v --listed-incremental=tart.incr1
-f archive
.1 ||
exit 1
20122 echo Extracting incremental archive
20123 # This command should produce three messages about deletion
20124 # of the existing files, that may appear in any order. Piping
20125 # to sort makes sure we don't depend on any particular ordering.
20126 tar -x -v --listed-incremental=tart.incr2
-f archive
.2 |
sort 2>/dev
/null
20129 find tart
-print |
sort 2>/dev
/null
20130 ) ) >"$at_stdout" 2>"$at_stder1"
20131 at_func_filter_trace $?
20136 TEST_TAR_FORMAT
=gnu
20137 export TEST_TAR_FORMAT
20138 TAR_OPTIONS
="-H gnu"
20143 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20145 echo Create directories
20154 for file in tart
/a1
tart
/b1
tart
/c
0/cq1
tart
/c
0/cq2
tart
/c
1/ca1
tart
/c
1/ca2
20156 echo File
$file > $file
20161 echo Creating main archive
20162 echo >&2 "Creating main archive"
20163 tar -c -v --listed-incremental=tart.incr1
-f archive
.1 tart
2> err ||
exit 1
20165 # The above prints two lines to stderr announcing the new directories c0 and c1.
20166 # Ensure that they appear in this script's stderr in sorted order.
20167 sort err
1>&2; rm -f err
20170 echo Modifying filesystem
20177 echo Directory contents
20178 find tart
-print |
sort 2>/dev
/null
20181 echo Creating incremental archive
20182 echo >&2 "Creating incremental archive"
20183 cp -p tart.incr1 tart.incr2
20184 tar -c -v --listed-incremental=tart.incr2
-f archive
.2 tart ||
exit 1
20189 echo Extracting main archive
20190 echo >&2 "Extracting main archive"
20191 tar -x -v --listed-incremental=tart.incr1
-f archive
.1 ||
exit 1
20192 echo Extracting incremental archive
20193 # This command should produce three messages about deletion
20194 # of the existing files, that may appear in any order. Piping
20195 # to sort makes sure we don't depend on any particular ordering.
20196 tar -x -v --listed-incremental=tart.incr2
-f archive
.2 |
sort 2>/dev
/null
20199 find tart
-print |
sort 2>/dev
/null
20200 ) ) >"$at_stdout" 2>"$at_stderr"
20204 echo >>"$at_stderr"; $as_echo "Creating main archive
20205 tar: tart/c0: Directory is new
20206 tar: tart/c1: Directory is new
20207 tar: tart: Directory is new
20208 Creating incremental archive
20209 tar: tart/c2: Directory has been renamed from \`tart/c1'
20210 Extracting main archive
20212 $at_diff - "$at_stderr" || at_failed
=:
20213 echo >>"$at_stdout"; $as_echo "Create directories
20214 Creating main archive
20224 Modifying filesystem
20235 Creating incremental archive
20241 Extracting main archive
20251 Extracting incremental archive
20252 tar: Deleting \`tart/a1'
20253 tar: Deleting \`tart/b1'
20270 $at_diff - "$at_stdout" || at_failed
=:
20271 at_func_check_status
0 $at_status "$at_srcdir/listed02.at:31"
20273 $at_failed && at_func_log_failure
20277 $as_echo "$at_srcdir/listed02.at:31:
20280 TEST_TAR_FORMAT=oldgnu
20281 export TEST_TAR_FORMAT
20282 TAR_OPTIONS=\"-H oldgnu\"
20287 test -z "`sort < /dev/null 2>&1`" || exit 77
20289 echo Create directories
20298 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
20300 echo File \$file > \$file
20305 echo Creating main archive
20306 echo >&2 \"Creating main archive\"
20307 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
20309 # The above prints two lines to stderr announcing the new directories c0 and c1.
20310 # Ensure that they appear in this script's stderr in sorted order.
20311 sort err 1>&2; rm -f err
20314 echo Modifying filesystem
20321 echo Directory contents
20322 find tart -print | sort 2>/dev/null
20325 echo Creating incremental archive
20326 echo >&2 \"Creating incremental archive\"
20327 cp -p tart.incr1 tart.incr2
20328 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
20333 echo Extracting main archive
20334 echo >&2 \"Extracting main archive\"
20335 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
20336 echo Extracting incremental archive
20337 # This command should produce three messages about deletion
20338 # of the existing files, that may appear in any order. Piping
20339 # to sort makes sure we don't depend on any particular ordering.
20340 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
20343 find tart -print | sort 2>/dev/null
20345 echo listed02.
at:31 >"$at_check_line_file"
20347 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20352 TEST_TAR_FORMAT
=oldgnu
20353 export TEST_TAR_FORMAT
20354 TAR_OPTIONS
="-H oldgnu"
20359 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20361 echo Create directories
20370 for file in tart
/a1
tart
/b1
tart
/c
0/cq1
tart
/c
0/cq2
tart
/c
1/ca1
tart
/c
1/ca2
20372 echo File
$file > $file
20377 echo Creating main archive
20378 echo >&2 "Creating main archive"
20379 tar -c -v --listed-incremental=tart.incr1
-f archive
.1 tart
2> err ||
exit 1
20381 # The above prints two lines to stderr announcing the new directories c0 and c1.
20382 # Ensure that they appear in this script's stderr in sorted order.
20383 sort err
1>&2; rm -f err
20386 echo Modifying filesystem
20393 echo Directory contents
20394 find tart
-print |
sort 2>/dev
/null
20397 echo Creating incremental archive
20398 echo >&2 "Creating incremental archive"
20399 cp -p tart.incr1 tart.incr2
20400 tar -c -v --listed-incremental=tart.incr2
-f archive
.2 tart ||
exit 1
20405 echo Extracting main archive
20406 echo >&2 "Extracting main archive"
20407 tar -x -v --listed-incremental=tart.incr1
-f archive
.1 ||
exit 1
20408 echo Extracting incremental archive
20409 # This command should produce three messages about deletion
20410 # of the existing files, that may appear in any order. Piping
20411 # to sort makes sure we don't depend on any particular ordering.
20412 tar -x -v --listed-incremental=tart.incr2
-f archive
.2 |
sort 2>/dev
/null
20415 find tart
-print |
sort 2>/dev
/null
20416 ) ) >"$at_stdout" 2>"$at_stder1"
20417 at_func_filter_trace $?
20422 TEST_TAR_FORMAT
=oldgnu
20423 export TEST_TAR_FORMAT
20424 TAR_OPTIONS
="-H oldgnu"
20429 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20431 echo Create directories
20440 for file in tart
/a1
tart
/b1
tart
/c
0/cq1
tart
/c
0/cq2
tart
/c
1/ca1
tart
/c
1/ca2
20442 echo File
$file > $file
20447 echo Creating main archive
20448 echo >&2 "Creating main archive"
20449 tar -c -v --listed-incremental=tart.incr1
-f archive
.1 tart
2> err ||
exit 1
20451 # The above prints two lines to stderr announcing the new directories c0 and c1.
20452 # Ensure that they appear in this script's stderr in sorted order.
20453 sort err
1>&2; rm -f err
20456 echo Modifying filesystem
20463 echo Directory contents
20464 find tart
-print |
sort 2>/dev
/null
20467 echo Creating incremental archive
20468 echo >&2 "Creating incremental archive"
20469 cp -p tart.incr1 tart.incr2
20470 tar -c -v --listed-incremental=tart.incr2
-f archive
.2 tart ||
exit 1
20475 echo Extracting main archive
20476 echo >&2 "Extracting main archive"
20477 tar -x -v --listed-incremental=tart.incr1
-f archive
.1 ||
exit 1
20478 echo Extracting incremental archive
20479 # This command should produce three messages about deletion
20480 # of the existing files, that may appear in any order. Piping
20481 # to sort makes sure we don't depend on any particular ordering.
20482 tar -x -v --listed-incremental=tart.incr2
-f archive
.2 |
sort 2>/dev
/null
20485 find tart
-print |
sort 2>/dev
/null
20486 ) ) >"$at_stdout" 2>"$at_stderr"
20490 echo >>"$at_stderr"; $as_echo "Creating main archive
20491 tar: tart/c0: Directory is new
20492 tar: tart/c1: Directory is new
20493 tar: tart: Directory is new
20494 Creating incremental archive
20495 tar: tart/c2: Directory has been renamed from \`tart/c1'
20496 Extracting main archive
20498 $at_diff - "$at_stderr" || at_failed
=:
20499 echo >>"$at_stdout"; $as_echo "Create directories
20500 Creating main archive
20510 Modifying filesystem
20521 Creating incremental archive
20527 Extracting main archive
20537 Extracting incremental archive
20538 tar: Deleting \`tart/a1'
20539 tar: Deleting \`tart/b1'
20556 $at_diff - "$at_stdout" || at_failed
=:
20557 at_func_check_status
0 $at_status "$at_srcdir/listed02.at:31"
20559 $at_failed && at_func_log_failure
20566 $at_times_p && times >"$at_times_file"
20567 ) 5>&1 2>&1 |
eval $at_tee_pipe
20568 at_status
=`cat "$at_status_file"`
20571 # 56. listed03.at:22: incremental dump when the parent directory is unreadable
20572 at_setup_line
='listed03.at:22'
20573 at_desc
="incremental dump when the parent directory is unreadable"
20574 $at_quiet $as_echo_n " 56: $at_desc"
20576 test -f $XFAILFILE && at_xfail
=yes
20577 echo "# -*- compilation -*-" >> "$at_group_log"
20579 $as_echo "56. listed03.at:22: testing ..."
20587 $as_echo "$at_srcdir/listed03.at:25:
20590 TEST_TAR_FORMAT=gnu
20591 export TEST_TAR_FORMAT
20592 TAR_OPTIONS=\"-H gnu\"
20599 cat $$ > /dev/null 2>&1
20602 test $result -eq 0 && exit 77
20608 genfile --file dir/sub/a/file
20612 tar -c -f archive.tar --listed-incremental=db.1 -v a
20617 echo listed03.
at:25 >"$at_check_line_file"
20619 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20624 TEST_TAR_FORMAT
=gnu
20625 export TEST_TAR_FORMAT
20626 TAR_OPTIONS
="-H gnu"
20633 cat $$
> /dev
/null
2>&1
20636 test $result -eq 0 && exit 77
20642 genfile
--file dir
/sub
/a
/file
20646 tar -c -f archive.
tar --listed-incremental=db
.1 -v a
20650 ) ) >"$at_stdout" 2>"$at_stder1"
20651 at_func_filter_trace $?
20656 TEST_TAR_FORMAT
=gnu
20657 export TEST_TAR_FORMAT
20658 TAR_OPTIONS
="-H gnu"
20665 cat $$
> /dev
/null
2>&1
20668 test $result -eq 0 && exit 77
20674 genfile
--file dir
/sub
/a
/file
20678 tar -c -f archive.
tar --listed-incremental=db
.1 -v a
20682 ) ) >"$at_stdout" 2>"$at_stderr"
20686 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
20688 $at_diff - "$at_stderr" || at_failed
=:
20689 echo >>"$at_stdout"; $as_echo "a/
20692 $at_diff - "$at_stdout" || at_failed
=:
20693 at_func_check_status
0 $at_status "$at_srcdir/listed03.at:25"
20695 $at_failed && at_func_log_failure
20702 $at_times_p && times >"$at_times_file"
20703 ) 5>&1 2>&1 |
eval $at_tee_pipe
20704 at_status
=`cat "$at_status_file"`
20707 # 57. listed04.at:24: --listed-incremental and --one-file-system
20708 at_setup_line
='listed04.at:24'
20709 at_desc
="--listed-incremental and --one-file-system"
20710 $at_quiet $as_echo_n " 57: $at_desc "
20712 test -f $XFAILFILE && at_xfail
=yes
20713 echo "# -*- compilation -*-" >> "$at_group_log"
20715 $as_echo "57. listed04.at:24: testing ..."
20723 $as_echo "$at_srcdir/listed04.at:27:
20726 TEST_TAR_FORMAT=gnu
20727 export TEST_TAR_FORMAT
20728 TAR_OPTIONS=\"-H gnu\"
20737 tar --one-file-system -cvf archive.tar -g archive.incr dir || exit
20738 tar -tf archive.tar || exit
20740 echo listed04.
at:27 >"$at_check_line_file"
20742 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20747 TEST_TAR_FORMAT
=gnu
20748 export TEST_TAR_FORMAT
20749 TAR_OPTIONS
="-H gnu"
20758 tar --one-file-system -cvf archive.
tar -g archive.incr dir ||
exit
20759 tar -tf archive.
tar ||
exit
20760 ) ) >"$at_stdout" 2>"$at_stder1"
20761 at_func_filter_trace $?
20766 TEST_TAR_FORMAT
=gnu
20767 export TEST_TAR_FORMAT
20768 TAR_OPTIONS
="-H gnu"
20777 tar --one-file-system -cvf archive.
tar -g archive.incr dir ||
exit
20778 tar -tf archive.
tar ||
exit
20779 ) ) >"$at_stdout" 2>"$at_stderr"
20783 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
20785 $at_diff - "$at_stderr" || at_failed
=:
20786 echo >>"$at_stdout"; $as_echo "dir/
20793 $at_diff - "$at_stdout" || at_failed
=:
20794 at_func_check_status
0 $at_status "$at_srcdir/listed04.at:27"
20796 $at_failed && at_func_log_failure
20803 $at_times_p && times >"$at_times_file"
20804 ) 5>&1 2>&1 |
eval $at_tee_pipe
20805 at_status
=`cat "$at_status_file"`
20808 # 58. incr03.at:28: renamed files in incrementals
20809 at_setup_line
='incr03.at:28'
20810 at_desc
="renamed files in incrementals"
20811 $at_quiet $as_echo_n " 58: $at_desc "
20813 test -f $XFAILFILE && at_xfail
=yes
20814 echo "# -*- compilation -*-" >> "$at_group_log"
20816 $as_echo "58. incr03.at:28: testing ..."
20824 $as_echo "$at_srcdir/incr03.at:31:
20827 TEST_TAR_FORMAT=gnu
20828 export TEST_TAR_FORMAT
20829 TAR_OPTIONS=\"-H gnu\"
20834 test -z "`sort < /dev/null 2>&1`" || exit 77
20837 genfile --file=directory/x
20838 genfile --file=directory/y
20842 tar -cf archive.1 -g db directory
20844 mv directory/x directory/z
20846 tar -cf archive.2 -g db directory
20850 echo Listing of archive.1
20851 tar -tf archive.1 | sort
20852 echo Listing of archive.2
20853 tar -tf archive.2 | sort
20855 echo Directory after first restore
20856 tar -xf archive.1 -g db --warning=no-timestamp
20857 find directory | sort
20859 echo Directory after second restore
20860 tar -xf archive.2 -g db --warning=no-timestamp
20861 find directory | sort
20863 echo incr03.
at:31 >"$at_check_line_file"
20865 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20870 TEST_TAR_FORMAT
=gnu
20871 export TEST_TAR_FORMAT
20872 TAR_OPTIONS
="-H gnu"
20877 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20880 genfile
--file=directory
/x
20881 genfile
--file=directory
/y
20885 tar -cf archive
.1 -g db directory
20887 mv directory
/x directory
/z
20889 tar -cf archive
.2 -g db directory
20893 echo Listing of archive
.1
20894 tar -tf archive
.1 |
sort
20895 echo Listing of archive
.2
20896 tar -tf archive
.2 |
sort
20898 echo Directory after first restore
20899 tar -xf archive
.1 -g db
--warning=no-timestamp
20900 find directory |
sort
20902 echo Directory after second restore
20903 tar -xf archive
.2 -g db
--warning=no-timestamp
20904 find directory |
sort
20905 ) ) >"$at_stdout" 2>"$at_stder1"
20906 at_func_filter_trace $?
20911 TEST_TAR_FORMAT
=gnu
20912 export TEST_TAR_FORMAT
20913 TAR_OPTIONS
="-H gnu"
20918 test -z "`sort < /dev/null 2>&1`" ||
exit 77
20921 genfile
--file=directory
/x
20922 genfile
--file=directory
/y
20926 tar -cf archive
.1 -g db directory
20928 mv directory
/x directory
/z
20930 tar -cf archive
.2 -g db directory
20934 echo Listing of archive
.1
20935 tar -tf archive
.1 |
sort
20936 echo Listing of archive
.2
20937 tar -tf archive
.2 |
sort
20939 echo Directory after first restore
20940 tar -xf archive
.1 -g db
--warning=no-timestamp
20941 find directory |
sort
20943 echo Directory after second restore
20944 tar -xf archive
.2 -g db
--warning=no-timestamp
20945 find directory |
sort
20946 ) ) >"$at_stdout" 2>"$at_stderr"
20950 at_func_diff_devnull
"$at_stderr" || at_failed
=:
20951 echo >>"$at_stdout"; $as_echo "Listing of archive.1
20955 Listing of archive.2
20958 Directory after first restore
20962 Directory after second restore
20967 $at_diff - "$at_stdout" || at_failed
=:
20968 at_func_check_status
0 $at_status "$at_srcdir/incr03.at:31"
20970 $at_failed && at_func_log_failure
20974 $as_echo "$at_srcdir/incr03.at:31:
20977 TEST_TAR_FORMAT=oldgnu
20978 export TEST_TAR_FORMAT
20979 TAR_OPTIONS=\"-H oldgnu\"
20984 test -z "`sort < /dev/null 2>&1`" || exit 77
20987 genfile --file=directory/x
20988 genfile --file=directory/y
20992 tar -cf archive.1 -g db directory
20994 mv directory/x directory/z
20996 tar -cf archive.2 -g db directory
21000 echo Listing of archive.1
21001 tar -tf archive.1 | sort
21002 echo Listing of archive.2
21003 tar -tf archive.2 | sort
21005 echo Directory after first restore
21006 tar -xf archive.1 -g db --warning=no-timestamp
21007 find directory | sort
21009 echo Directory after second restore
21010 tar -xf archive.2 -g db --warning=no-timestamp
21011 find directory | sort
21013 echo incr03.
at:31 >"$at_check_line_file"
21015 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21020 TEST_TAR_FORMAT
=oldgnu
21021 export TEST_TAR_FORMAT
21022 TAR_OPTIONS
="-H oldgnu"
21027 test -z "`sort < /dev/null 2>&1`" ||
exit 77
21030 genfile
--file=directory
/x
21031 genfile
--file=directory
/y
21035 tar -cf archive
.1 -g db directory
21037 mv directory
/x directory
/z
21039 tar -cf archive
.2 -g db directory
21043 echo Listing of archive
.1
21044 tar -tf archive
.1 |
sort
21045 echo Listing of archive
.2
21046 tar -tf archive
.2 |
sort
21048 echo Directory after first restore
21049 tar -xf archive
.1 -g db
--warning=no-timestamp
21050 find directory |
sort
21052 echo Directory after second restore
21053 tar -xf archive
.2 -g db
--warning=no-timestamp
21054 find directory |
sort
21055 ) ) >"$at_stdout" 2>"$at_stder1"
21056 at_func_filter_trace $?
21061 TEST_TAR_FORMAT
=oldgnu
21062 export TEST_TAR_FORMAT
21063 TAR_OPTIONS
="-H oldgnu"
21068 test -z "`sort < /dev/null 2>&1`" ||
exit 77
21071 genfile
--file=directory
/x
21072 genfile
--file=directory
/y
21076 tar -cf archive
.1 -g db directory
21078 mv directory
/x directory
/z
21080 tar -cf archive
.2 -g db directory
21084 echo Listing of archive
.1
21085 tar -tf archive
.1 |
sort
21086 echo Listing of archive
.2
21087 tar -tf archive
.2 |
sort
21089 echo Directory after first restore
21090 tar -xf archive
.1 -g db
--warning=no-timestamp
21091 find directory |
sort
21093 echo Directory after second restore
21094 tar -xf archive
.2 -g db
--warning=no-timestamp
21095 find directory |
sort
21096 ) ) >"$at_stdout" 2>"$at_stderr"
21100 at_func_diff_devnull
"$at_stderr" || at_failed
=:
21101 echo >>"$at_stdout"; $as_echo "Listing of archive.1
21105 Listing of archive.2
21108 Directory after first restore
21112 Directory after second restore
21117 $at_diff - "$at_stdout" || at_failed
=:
21118 at_func_check_status
0 $at_status "$at_srcdir/incr03.at:31"
21120 $at_failed && at_func_log_failure
21124 $as_echo "$at_srcdir/incr03.at:31:
21127 TEST_TAR_FORMAT=posix
21128 export TEST_TAR_FORMAT
21129 TAR_OPTIONS=\"-H posix\"
21134 test -z "`sort < /dev/null 2>&1`" || exit 77
21137 genfile --file=directory/x
21138 genfile --file=directory/y
21142 tar -cf archive.1 -g db directory
21144 mv directory/x directory/z
21146 tar -cf archive.2 -g db directory
21150 echo Listing of archive.1
21151 tar -tf archive.1 | sort
21152 echo Listing of archive.2
21153 tar -tf archive.2 | sort
21155 echo Directory after first restore
21156 tar -xf archive.1 -g db --warning=no-timestamp
21157 find directory | sort
21159 echo Directory after second restore
21160 tar -xf archive.2 -g db --warning=no-timestamp
21161 find directory | sort
21163 echo incr03.
at:31 >"$at_check_line_file"
21165 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21170 TEST_TAR_FORMAT
=posix
21171 export TEST_TAR_FORMAT
21172 TAR_OPTIONS
="-H posix"
21177 test -z "`sort < /dev/null 2>&1`" ||
exit 77
21180 genfile
--file=directory
/x
21181 genfile
--file=directory
/y
21185 tar -cf archive
.1 -g db directory
21187 mv directory
/x directory
/z
21189 tar -cf archive
.2 -g db directory
21193 echo Listing of archive
.1
21194 tar -tf archive
.1 |
sort
21195 echo Listing of archive
.2
21196 tar -tf archive
.2 |
sort
21198 echo Directory after first restore
21199 tar -xf archive
.1 -g db
--warning=no-timestamp
21200 find directory |
sort
21202 echo Directory after second restore
21203 tar -xf archive
.2 -g db
--warning=no-timestamp
21204 find directory |
sort
21205 ) ) >"$at_stdout" 2>"$at_stder1"
21206 at_func_filter_trace $?
21211 TEST_TAR_FORMAT
=posix
21212 export TEST_TAR_FORMAT
21213 TAR_OPTIONS
="-H posix"
21218 test -z "`sort < /dev/null 2>&1`" ||
exit 77
21221 genfile
--file=directory
/x
21222 genfile
--file=directory
/y
21226 tar -cf archive
.1 -g db directory
21228 mv directory
/x directory
/z
21230 tar -cf archive
.2 -g db directory
21234 echo Listing of archive
.1
21235 tar -tf archive
.1 |
sort
21236 echo Listing of archive
.2
21237 tar -tf archive
.2 |
sort
21239 echo Directory after first restore
21240 tar -xf archive
.1 -g db
--warning=no-timestamp
21241 find directory |
sort
21243 echo Directory after second restore
21244 tar -xf archive
.2 -g db
--warning=no-timestamp
21245 find directory |
sort
21246 ) ) >"$at_stdout" 2>"$at_stderr"
21250 at_func_diff_devnull
"$at_stderr" || at_failed
=:
21251 echo >>"$at_stdout"; $as_echo "Listing of archive.1
21255 Listing of archive.2
21258 Directory after first restore
21262 Directory after second restore
21267 $at_diff - "$at_stdout" || at_failed
=:
21268 at_func_check_status
0 $at_status "$at_srcdir/incr03.at:31"
21270 $at_failed && at_func_log_failure
21277 $at_times_p && times >"$at_times_file"
21278 ) 5>&1 2>&1 |
eval $at_tee_pipe
21279 at_status
=`cat "$at_status_file"`
21282 # 59. incr04.at:29: proper icontents initialization
21283 at_setup_line
='incr04.at:29'
21284 at_desc
="proper icontents initialization"
21285 $at_quiet $as_echo_n " 59: $at_desc "
21287 test -f $XFAILFILE && at_xfail
=yes
21288 echo "# -*- compilation -*-" >> "$at_group_log"
21290 $as_echo "59. incr04.at:29: testing ..."
21300 $as_echo "$at_srcdir/incr04.at:34:
21303 TEST_TAR_FORMAT=gnu
21304 export TEST_TAR_FORMAT
21305 TAR_OPTIONS=\"-H gnu\"
21310 install-sh -d a/b >/dev/null || exit 77
21312 for (i=1;i<=142;i++)
21313 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
21314 }' < /dev/null | genfile --files-from -
21318 echo \"Initial dump\"
21319 tar cvf a0.tar -g a.sna a
21321 echo \"Incremental dump\"
21322 tar cvf a1.tar -g a.sna a
21324 echo incr04.
at:34 >"$at_check_line_file"
21326 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21331 TEST_TAR_FORMAT
=gnu
21332 export TEST_TAR_FORMAT
21333 TAR_OPTIONS
="-H gnu"
21338 install-sh
-d a
/b
>/dev
/null ||
exit 77
21340 for (i=1;i<=142;i++)
21341 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21342 }' < /dev
/null | genfile
--files-from -
21346 echo "Initial dump"
21347 tar cvf a0.
tar -g a.sna a
21349 echo "Incremental dump"
21350 tar cvf a1.
tar -g a.sna a
21351 ) ) >"$at_stdout" 2>"$at_stder1"
21352 at_func_filter_trace $?
21357 TEST_TAR_FORMAT
=gnu
21358 export TEST_TAR_FORMAT
21359 TAR_OPTIONS
="-H gnu"
21364 install-sh
-d a
/b
>/dev
/null ||
exit 77
21366 for (i=1;i<=142;i++)
21367 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21368 }' < /dev
/null | genfile
--files-from -
21372 echo "Initial dump"
21373 tar cvf a0.
tar -g a.sna a
21375 echo "Incremental dump"
21376 tar cvf a1.
tar -g a.sna a
21377 ) ) >"$at_stdout" 2>"$at_stderr"
21381 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
21382 tar: a/b: Directory is new
21383 tar: a/c: Directory has been renamed from \`a/b'
21385 $at_diff - "$at_stderr" || at_failed
=:
21386 echo >>"$at_stdout"; $as_echo "Initial dump
21389 a/b/one_31_chars_long_file_name_001
21390 a/b/one_31_chars_long_file_name_002
21391 a/b/one_31_chars_long_file_name_003
21392 a/b/one_31_chars_long_file_name_004
21393 a/b/one_31_chars_long_file_name_005
21394 a/b/one_31_chars_long_file_name_006
21395 a/b/one_31_chars_long_file_name_007
21396 a/b/one_31_chars_long_file_name_008
21397 a/b/one_31_chars_long_file_name_009
21398 a/b/one_31_chars_long_file_name_010
21399 a/b/one_31_chars_long_file_name_011
21400 a/b/one_31_chars_long_file_name_012
21401 a/b/one_31_chars_long_file_name_013
21402 a/b/one_31_chars_long_file_name_014
21403 a/b/one_31_chars_long_file_name_015
21404 a/b/one_31_chars_long_file_name_016
21405 a/b/one_31_chars_long_file_name_017
21406 a/b/one_31_chars_long_file_name_018
21407 a/b/one_31_chars_long_file_name_019
21408 a/b/one_31_chars_long_file_name_020
21409 a/b/one_31_chars_long_file_name_021
21410 a/b/one_31_chars_long_file_name_022
21411 a/b/one_31_chars_long_file_name_023
21412 a/b/one_31_chars_long_file_name_024
21413 a/b/one_31_chars_long_file_name_025
21414 a/b/one_31_chars_long_file_name_026
21415 a/b/one_31_chars_long_file_name_027
21416 a/b/one_31_chars_long_file_name_028
21417 a/b/one_31_chars_long_file_name_029
21418 a/b/one_31_chars_long_file_name_030
21419 a/b/one_31_chars_long_file_name_031
21420 a/b/one_31_chars_long_file_name_032
21421 a/b/one_31_chars_long_file_name_033
21422 a/b/one_31_chars_long_file_name_034
21423 a/b/one_31_chars_long_file_name_035
21424 a/b/one_31_chars_long_file_name_036
21425 a/b/one_31_chars_long_file_name_037
21426 a/b/one_31_chars_long_file_name_038
21427 a/b/one_31_chars_long_file_name_039
21428 a/b/one_31_chars_long_file_name_040
21429 a/b/one_31_chars_long_file_name_041
21430 a/b/one_31_chars_long_file_name_042
21431 a/b/one_31_chars_long_file_name_043
21432 a/b/one_31_chars_long_file_name_044
21433 a/b/one_31_chars_long_file_name_045
21434 a/b/one_31_chars_long_file_name_046
21435 a/b/one_31_chars_long_file_name_047
21436 a/b/one_31_chars_long_file_name_048
21437 a/b/one_31_chars_long_file_name_049
21438 a/b/one_31_chars_long_file_name_050
21439 a/b/one_31_chars_long_file_name_051
21440 a/b/one_31_chars_long_file_name_052
21441 a/b/one_31_chars_long_file_name_053
21442 a/b/one_31_chars_long_file_name_054
21443 a/b/one_31_chars_long_file_name_055
21444 a/b/one_31_chars_long_file_name_056
21445 a/b/one_31_chars_long_file_name_057
21446 a/b/one_31_chars_long_file_name_058
21447 a/b/one_31_chars_long_file_name_059
21448 a/b/one_31_chars_long_file_name_060
21449 a/b/one_31_chars_long_file_name_061
21450 a/b/one_31_chars_long_file_name_062
21451 a/b/one_31_chars_long_file_name_063
21452 a/b/one_31_chars_long_file_name_064
21453 a/b/one_31_chars_long_file_name_065
21454 a/b/one_31_chars_long_file_name_066
21455 a/b/one_31_chars_long_file_name_067
21456 a/b/one_31_chars_long_file_name_068
21457 a/b/one_31_chars_long_file_name_069
21458 a/b/one_31_chars_long_file_name_070
21459 a/b/one_31_chars_long_file_name_071
21460 a/b/one_31_chars_long_file_name_072
21461 a/b/one_31_chars_long_file_name_073
21462 a/b/one_31_chars_long_file_name_074
21463 a/b/one_31_chars_long_file_name_075
21464 a/b/one_31_chars_long_file_name_076
21465 a/b/one_31_chars_long_file_name_077
21466 a/b/one_31_chars_long_file_name_078
21467 a/b/one_31_chars_long_file_name_079
21468 a/b/one_31_chars_long_file_name_080
21469 a/b/one_31_chars_long_file_name_081
21470 a/b/one_31_chars_long_file_name_082
21471 a/b/one_31_chars_long_file_name_083
21472 a/b/one_31_chars_long_file_name_084
21473 a/b/one_31_chars_long_file_name_085
21474 a/b/one_31_chars_long_file_name_086
21475 a/b/one_31_chars_long_file_name_087
21476 a/b/one_31_chars_long_file_name_088
21477 a/b/one_31_chars_long_file_name_089
21478 a/b/one_31_chars_long_file_name_090
21479 a/b/one_31_chars_long_file_name_091
21480 a/b/one_31_chars_long_file_name_092
21481 a/b/one_31_chars_long_file_name_093
21482 a/b/one_31_chars_long_file_name_094
21483 a/b/one_31_chars_long_file_name_095
21484 a/b/one_31_chars_long_file_name_096
21485 a/b/one_31_chars_long_file_name_097
21486 a/b/one_31_chars_long_file_name_098
21487 a/b/one_31_chars_long_file_name_099
21488 a/b/one_31_chars_long_file_name_100
21489 a/b/one_31_chars_long_file_name_101
21490 a/b/one_31_chars_long_file_name_102
21491 a/b/one_31_chars_long_file_name_103
21492 a/b/one_31_chars_long_file_name_104
21493 a/b/one_31_chars_long_file_name_105
21494 a/b/one_31_chars_long_file_name_106
21495 a/b/one_31_chars_long_file_name_107
21496 a/b/one_31_chars_long_file_name_108
21497 a/b/one_31_chars_long_file_name_109
21498 a/b/one_31_chars_long_file_name_110
21499 a/b/one_31_chars_long_file_name_111
21500 a/b/one_31_chars_long_file_name_112
21501 a/b/one_31_chars_long_file_name_113
21502 a/b/one_31_chars_long_file_name_114
21503 a/b/one_31_chars_long_file_name_115
21504 a/b/one_31_chars_long_file_name_116
21505 a/b/one_31_chars_long_file_name_117
21506 a/b/one_31_chars_long_file_name_118
21507 a/b/one_31_chars_long_file_name_119
21508 a/b/one_31_chars_long_file_name_120
21509 a/b/one_31_chars_long_file_name_121
21510 a/b/one_31_chars_long_file_name_122
21511 a/b/one_31_chars_long_file_name_123
21512 a/b/one_31_chars_long_file_name_124
21513 a/b/one_31_chars_long_file_name_125
21514 a/b/one_31_chars_long_file_name_126
21515 a/b/one_31_chars_long_file_name_127
21516 a/b/one_31_chars_long_file_name_128
21517 a/b/one_31_chars_long_file_name_129
21518 a/b/one_31_chars_long_file_name_130
21519 a/b/one_31_chars_long_file_name_131
21520 a/b/one_31_chars_long_file_name_132
21521 a/b/one_31_chars_long_file_name_133
21522 a/b/one_31_chars_long_file_name_134
21523 a/b/one_31_chars_long_file_name_135
21524 a/b/one_31_chars_long_file_name_136
21525 a/b/one_31_chars_long_file_name_137
21526 a/b/one_31_chars_long_file_name_138
21527 a/b/one_31_chars_long_file_name_139
21528 a/b/one_31_chars_long_file_name_140
21529 a/b/one_31_chars_long_file_name_141
21530 a/b/one_31_chars_long_file_name_142
21535 $at_diff - "$at_stdout" || at_failed
=:
21536 at_func_check_status
0 $at_status "$at_srcdir/incr04.at:34"
21538 $at_failed && at_func_log_failure
21542 $as_echo "$at_srcdir/incr04.at:34:
21545 TEST_TAR_FORMAT=oldgnu
21546 export TEST_TAR_FORMAT
21547 TAR_OPTIONS=\"-H oldgnu\"
21552 install-sh -d a/b >/dev/null || exit 77
21554 for (i=1;i<=142;i++)
21555 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
21556 }' < /dev/null | genfile --files-from -
21560 echo \"Initial dump\"
21561 tar cvf a0.tar -g a.sna a
21563 echo \"Incremental dump\"
21564 tar cvf a1.tar -g a.sna a
21566 echo incr04.
at:34 >"$at_check_line_file"
21568 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21573 TEST_TAR_FORMAT
=oldgnu
21574 export TEST_TAR_FORMAT
21575 TAR_OPTIONS
="-H oldgnu"
21580 install-sh
-d a
/b
>/dev
/null ||
exit 77
21582 for (i=1;i<=142;i++)
21583 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21584 }' < /dev
/null | genfile
--files-from -
21588 echo "Initial dump"
21589 tar cvf a0.
tar -g a.sna a
21591 echo "Incremental dump"
21592 tar cvf a1.
tar -g a.sna a
21593 ) ) >"$at_stdout" 2>"$at_stder1"
21594 at_func_filter_trace $?
21599 TEST_TAR_FORMAT
=oldgnu
21600 export TEST_TAR_FORMAT
21601 TAR_OPTIONS
="-H oldgnu"
21606 install-sh
-d a
/b
>/dev
/null ||
exit 77
21608 for (i=1;i<=142;i++)
21609 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21610 }' < /dev
/null | genfile
--files-from -
21614 echo "Initial dump"
21615 tar cvf a0.
tar -g a.sna a
21617 echo "Incremental dump"
21618 tar cvf a1.
tar -g a.sna a
21619 ) ) >"$at_stdout" 2>"$at_stderr"
21623 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
21624 tar: a/b: Directory is new
21625 tar: a/c: Directory has been renamed from \`a/b'
21627 $at_diff - "$at_stderr" || at_failed
=:
21628 echo >>"$at_stdout"; $as_echo "Initial dump
21631 a/b/one_31_chars_long_file_name_001
21632 a/b/one_31_chars_long_file_name_002
21633 a/b/one_31_chars_long_file_name_003
21634 a/b/one_31_chars_long_file_name_004
21635 a/b/one_31_chars_long_file_name_005
21636 a/b/one_31_chars_long_file_name_006
21637 a/b/one_31_chars_long_file_name_007
21638 a/b/one_31_chars_long_file_name_008
21639 a/b/one_31_chars_long_file_name_009
21640 a/b/one_31_chars_long_file_name_010
21641 a/b/one_31_chars_long_file_name_011
21642 a/b/one_31_chars_long_file_name_012
21643 a/b/one_31_chars_long_file_name_013
21644 a/b/one_31_chars_long_file_name_014
21645 a/b/one_31_chars_long_file_name_015
21646 a/b/one_31_chars_long_file_name_016
21647 a/b/one_31_chars_long_file_name_017
21648 a/b/one_31_chars_long_file_name_018
21649 a/b/one_31_chars_long_file_name_019
21650 a/b/one_31_chars_long_file_name_020
21651 a/b/one_31_chars_long_file_name_021
21652 a/b/one_31_chars_long_file_name_022
21653 a/b/one_31_chars_long_file_name_023
21654 a/b/one_31_chars_long_file_name_024
21655 a/b/one_31_chars_long_file_name_025
21656 a/b/one_31_chars_long_file_name_026
21657 a/b/one_31_chars_long_file_name_027
21658 a/b/one_31_chars_long_file_name_028
21659 a/b/one_31_chars_long_file_name_029
21660 a/b/one_31_chars_long_file_name_030
21661 a/b/one_31_chars_long_file_name_031
21662 a/b/one_31_chars_long_file_name_032
21663 a/b/one_31_chars_long_file_name_033
21664 a/b/one_31_chars_long_file_name_034
21665 a/b/one_31_chars_long_file_name_035
21666 a/b/one_31_chars_long_file_name_036
21667 a/b/one_31_chars_long_file_name_037
21668 a/b/one_31_chars_long_file_name_038
21669 a/b/one_31_chars_long_file_name_039
21670 a/b/one_31_chars_long_file_name_040
21671 a/b/one_31_chars_long_file_name_041
21672 a/b/one_31_chars_long_file_name_042
21673 a/b/one_31_chars_long_file_name_043
21674 a/b/one_31_chars_long_file_name_044
21675 a/b/one_31_chars_long_file_name_045
21676 a/b/one_31_chars_long_file_name_046
21677 a/b/one_31_chars_long_file_name_047
21678 a/b/one_31_chars_long_file_name_048
21679 a/b/one_31_chars_long_file_name_049
21680 a/b/one_31_chars_long_file_name_050
21681 a/b/one_31_chars_long_file_name_051
21682 a/b/one_31_chars_long_file_name_052
21683 a/b/one_31_chars_long_file_name_053
21684 a/b/one_31_chars_long_file_name_054
21685 a/b/one_31_chars_long_file_name_055
21686 a/b/one_31_chars_long_file_name_056
21687 a/b/one_31_chars_long_file_name_057
21688 a/b/one_31_chars_long_file_name_058
21689 a/b/one_31_chars_long_file_name_059
21690 a/b/one_31_chars_long_file_name_060
21691 a/b/one_31_chars_long_file_name_061
21692 a/b/one_31_chars_long_file_name_062
21693 a/b/one_31_chars_long_file_name_063
21694 a/b/one_31_chars_long_file_name_064
21695 a/b/one_31_chars_long_file_name_065
21696 a/b/one_31_chars_long_file_name_066
21697 a/b/one_31_chars_long_file_name_067
21698 a/b/one_31_chars_long_file_name_068
21699 a/b/one_31_chars_long_file_name_069
21700 a/b/one_31_chars_long_file_name_070
21701 a/b/one_31_chars_long_file_name_071
21702 a/b/one_31_chars_long_file_name_072
21703 a/b/one_31_chars_long_file_name_073
21704 a/b/one_31_chars_long_file_name_074
21705 a/b/one_31_chars_long_file_name_075
21706 a/b/one_31_chars_long_file_name_076
21707 a/b/one_31_chars_long_file_name_077
21708 a/b/one_31_chars_long_file_name_078
21709 a/b/one_31_chars_long_file_name_079
21710 a/b/one_31_chars_long_file_name_080
21711 a/b/one_31_chars_long_file_name_081
21712 a/b/one_31_chars_long_file_name_082
21713 a/b/one_31_chars_long_file_name_083
21714 a/b/one_31_chars_long_file_name_084
21715 a/b/one_31_chars_long_file_name_085
21716 a/b/one_31_chars_long_file_name_086
21717 a/b/one_31_chars_long_file_name_087
21718 a/b/one_31_chars_long_file_name_088
21719 a/b/one_31_chars_long_file_name_089
21720 a/b/one_31_chars_long_file_name_090
21721 a/b/one_31_chars_long_file_name_091
21722 a/b/one_31_chars_long_file_name_092
21723 a/b/one_31_chars_long_file_name_093
21724 a/b/one_31_chars_long_file_name_094
21725 a/b/one_31_chars_long_file_name_095
21726 a/b/one_31_chars_long_file_name_096
21727 a/b/one_31_chars_long_file_name_097
21728 a/b/one_31_chars_long_file_name_098
21729 a/b/one_31_chars_long_file_name_099
21730 a/b/one_31_chars_long_file_name_100
21731 a/b/one_31_chars_long_file_name_101
21732 a/b/one_31_chars_long_file_name_102
21733 a/b/one_31_chars_long_file_name_103
21734 a/b/one_31_chars_long_file_name_104
21735 a/b/one_31_chars_long_file_name_105
21736 a/b/one_31_chars_long_file_name_106
21737 a/b/one_31_chars_long_file_name_107
21738 a/b/one_31_chars_long_file_name_108
21739 a/b/one_31_chars_long_file_name_109
21740 a/b/one_31_chars_long_file_name_110
21741 a/b/one_31_chars_long_file_name_111
21742 a/b/one_31_chars_long_file_name_112
21743 a/b/one_31_chars_long_file_name_113
21744 a/b/one_31_chars_long_file_name_114
21745 a/b/one_31_chars_long_file_name_115
21746 a/b/one_31_chars_long_file_name_116
21747 a/b/one_31_chars_long_file_name_117
21748 a/b/one_31_chars_long_file_name_118
21749 a/b/one_31_chars_long_file_name_119
21750 a/b/one_31_chars_long_file_name_120
21751 a/b/one_31_chars_long_file_name_121
21752 a/b/one_31_chars_long_file_name_122
21753 a/b/one_31_chars_long_file_name_123
21754 a/b/one_31_chars_long_file_name_124
21755 a/b/one_31_chars_long_file_name_125
21756 a/b/one_31_chars_long_file_name_126
21757 a/b/one_31_chars_long_file_name_127
21758 a/b/one_31_chars_long_file_name_128
21759 a/b/one_31_chars_long_file_name_129
21760 a/b/one_31_chars_long_file_name_130
21761 a/b/one_31_chars_long_file_name_131
21762 a/b/one_31_chars_long_file_name_132
21763 a/b/one_31_chars_long_file_name_133
21764 a/b/one_31_chars_long_file_name_134
21765 a/b/one_31_chars_long_file_name_135
21766 a/b/one_31_chars_long_file_name_136
21767 a/b/one_31_chars_long_file_name_137
21768 a/b/one_31_chars_long_file_name_138
21769 a/b/one_31_chars_long_file_name_139
21770 a/b/one_31_chars_long_file_name_140
21771 a/b/one_31_chars_long_file_name_141
21772 a/b/one_31_chars_long_file_name_142
21777 $at_diff - "$at_stdout" || at_failed
=:
21778 at_func_check_status
0 $at_status "$at_srcdir/incr04.at:34"
21780 $at_failed && at_func_log_failure
21784 $as_echo "$at_srcdir/incr04.at:34:
21787 TEST_TAR_FORMAT=posix
21788 export TEST_TAR_FORMAT
21789 TAR_OPTIONS=\"-H posix\"
21794 install-sh -d a/b >/dev/null || exit 77
21796 for (i=1;i<=142;i++)
21797 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
21798 }' < /dev/null | genfile --files-from -
21802 echo \"Initial dump\"
21803 tar cvf a0.tar -g a.sna a
21805 echo \"Incremental dump\"
21806 tar cvf a1.tar -g a.sna a
21808 echo incr04.
at:34 >"$at_check_line_file"
21810 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21815 TEST_TAR_FORMAT
=posix
21816 export TEST_TAR_FORMAT
21817 TAR_OPTIONS
="-H posix"
21822 install-sh
-d a
/b
>/dev
/null ||
exit 77
21824 for (i=1;i<=142;i++)
21825 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21826 }' < /dev
/null | genfile
--files-from -
21830 echo "Initial dump"
21831 tar cvf a0.
tar -g a.sna a
21833 echo "Incremental dump"
21834 tar cvf a1.
tar -g a.sna a
21835 ) ) >"$at_stdout" 2>"$at_stder1"
21836 at_func_filter_trace $?
21841 TEST_TAR_FORMAT
=posix
21842 export TEST_TAR_FORMAT
21843 TAR_OPTIONS
="-H posix"
21848 install-sh
-d a
/b
>/dev
/null ||
exit 77
21850 for (i=1;i<=142;i++)
21851 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
21852 }' < /dev
/null | genfile
--files-from -
21856 echo "Initial dump"
21857 tar cvf a0.
tar -g a.sna a
21859 echo "Incremental dump"
21860 tar cvf a1.
tar -g a.sna a
21861 ) ) >"$at_stdout" 2>"$at_stderr"
21865 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
21866 tar: a/b: Directory is new
21867 tar: a/c: Directory has been renamed from \`a/b'
21869 $at_diff - "$at_stderr" || at_failed
=:
21870 echo >>"$at_stdout"; $as_echo "Initial dump
21873 a/b/one_31_chars_long_file_name_001
21874 a/b/one_31_chars_long_file_name_002
21875 a/b/one_31_chars_long_file_name_003
21876 a/b/one_31_chars_long_file_name_004
21877 a/b/one_31_chars_long_file_name_005
21878 a/b/one_31_chars_long_file_name_006
21879 a/b/one_31_chars_long_file_name_007
21880 a/b/one_31_chars_long_file_name_008
21881 a/b/one_31_chars_long_file_name_009
21882 a/b/one_31_chars_long_file_name_010
21883 a/b/one_31_chars_long_file_name_011
21884 a/b/one_31_chars_long_file_name_012
21885 a/b/one_31_chars_long_file_name_013
21886 a/b/one_31_chars_long_file_name_014
21887 a/b/one_31_chars_long_file_name_015
21888 a/b/one_31_chars_long_file_name_016
21889 a/b/one_31_chars_long_file_name_017
21890 a/b/one_31_chars_long_file_name_018
21891 a/b/one_31_chars_long_file_name_019
21892 a/b/one_31_chars_long_file_name_020
21893 a/b/one_31_chars_long_file_name_021
21894 a/b/one_31_chars_long_file_name_022
21895 a/b/one_31_chars_long_file_name_023
21896 a/b/one_31_chars_long_file_name_024
21897 a/b/one_31_chars_long_file_name_025
21898 a/b/one_31_chars_long_file_name_026
21899 a/b/one_31_chars_long_file_name_027
21900 a/b/one_31_chars_long_file_name_028
21901 a/b/one_31_chars_long_file_name_029
21902 a/b/one_31_chars_long_file_name_030
21903 a/b/one_31_chars_long_file_name_031
21904 a/b/one_31_chars_long_file_name_032
21905 a/b/one_31_chars_long_file_name_033
21906 a/b/one_31_chars_long_file_name_034
21907 a/b/one_31_chars_long_file_name_035
21908 a/b/one_31_chars_long_file_name_036
21909 a/b/one_31_chars_long_file_name_037
21910 a/b/one_31_chars_long_file_name_038
21911 a/b/one_31_chars_long_file_name_039
21912 a/b/one_31_chars_long_file_name_040
21913 a/b/one_31_chars_long_file_name_041
21914 a/b/one_31_chars_long_file_name_042
21915 a/b/one_31_chars_long_file_name_043
21916 a/b/one_31_chars_long_file_name_044
21917 a/b/one_31_chars_long_file_name_045
21918 a/b/one_31_chars_long_file_name_046
21919 a/b/one_31_chars_long_file_name_047
21920 a/b/one_31_chars_long_file_name_048
21921 a/b/one_31_chars_long_file_name_049
21922 a/b/one_31_chars_long_file_name_050
21923 a/b/one_31_chars_long_file_name_051
21924 a/b/one_31_chars_long_file_name_052
21925 a/b/one_31_chars_long_file_name_053
21926 a/b/one_31_chars_long_file_name_054
21927 a/b/one_31_chars_long_file_name_055
21928 a/b/one_31_chars_long_file_name_056
21929 a/b/one_31_chars_long_file_name_057
21930 a/b/one_31_chars_long_file_name_058
21931 a/b/one_31_chars_long_file_name_059
21932 a/b/one_31_chars_long_file_name_060
21933 a/b/one_31_chars_long_file_name_061
21934 a/b/one_31_chars_long_file_name_062
21935 a/b/one_31_chars_long_file_name_063
21936 a/b/one_31_chars_long_file_name_064
21937 a/b/one_31_chars_long_file_name_065
21938 a/b/one_31_chars_long_file_name_066
21939 a/b/one_31_chars_long_file_name_067
21940 a/b/one_31_chars_long_file_name_068
21941 a/b/one_31_chars_long_file_name_069
21942 a/b/one_31_chars_long_file_name_070
21943 a/b/one_31_chars_long_file_name_071
21944 a/b/one_31_chars_long_file_name_072
21945 a/b/one_31_chars_long_file_name_073
21946 a/b/one_31_chars_long_file_name_074
21947 a/b/one_31_chars_long_file_name_075
21948 a/b/one_31_chars_long_file_name_076
21949 a/b/one_31_chars_long_file_name_077
21950 a/b/one_31_chars_long_file_name_078
21951 a/b/one_31_chars_long_file_name_079
21952 a/b/one_31_chars_long_file_name_080
21953 a/b/one_31_chars_long_file_name_081
21954 a/b/one_31_chars_long_file_name_082
21955 a/b/one_31_chars_long_file_name_083
21956 a/b/one_31_chars_long_file_name_084
21957 a/b/one_31_chars_long_file_name_085
21958 a/b/one_31_chars_long_file_name_086
21959 a/b/one_31_chars_long_file_name_087
21960 a/b/one_31_chars_long_file_name_088
21961 a/b/one_31_chars_long_file_name_089
21962 a/b/one_31_chars_long_file_name_090
21963 a/b/one_31_chars_long_file_name_091
21964 a/b/one_31_chars_long_file_name_092
21965 a/b/one_31_chars_long_file_name_093
21966 a/b/one_31_chars_long_file_name_094
21967 a/b/one_31_chars_long_file_name_095
21968 a/b/one_31_chars_long_file_name_096
21969 a/b/one_31_chars_long_file_name_097
21970 a/b/one_31_chars_long_file_name_098
21971 a/b/one_31_chars_long_file_name_099
21972 a/b/one_31_chars_long_file_name_100
21973 a/b/one_31_chars_long_file_name_101
21974 a/b/one_31_chars_long_file_name_102
21975 a/b/one_31_chars_long_file_name_103
21976 a/b/one_31_chars_long_file_name_104
21977 a/b/one_31_chars_long_file_name_105
21978 a/b/one_31_chars_long_file_name_106
21979 a/b/one_31_chars_long_file_name_107
21980 a/b/one_31_chars_long_file_name_108
21981 a/b/one_31_chars_long_file_name_109
21982 a/b/one_31_chars_long_file_name_110
21983 a/b/one_31_chars_long_file_name_111
21984 a/b/one_31_chars_long_file_name_112
21985 a/b/one_31_chars_long_file_name_113
21986 a/b/one_31_chars_long_file_name_114
21987 a/b/one_31_chars_long_file_name_115
21988 a/b/one_31_chars_long_file_name_116
21989 a/b/one_31_chars_long_file_name_117
21990 a/b/one_31_chars_long_file_name_118
21991 a/b/one_31_chars_long_file_name_119
21992 a/b/one_31_chars_long_file_name_120
21993 a/b/one_31_chars_long_file_name_121
21994 a/b/one_31_chars_long_file_name_122
21995 a/b/one_31_chars_long_file_name_123
21996 a/b/one_31_chars_long_file_name_124
21997 a/b/one_31_chars_long_file_name_125
21998 a/b/one_31_chars_long_file_name_126
21999 a/b/one_31_chars_long_file_name_127
22000 a/b/one_31_chars_long_file_name_128
22001 a/b/one_31_chars_long_file_name_129
22002 a/b/one_31_chars_long_file_name_130
22003 a/b/one_31_chars_long_file_name_131
22004 a/b/one_31_chars_long_file_name_132
22005 a/b/one_31_chars_long_file_name_133
22006 a/b/one_31_chars_long_file_name_134
22007 a/b/one_31_chars_long_file_name_135
22008 a/b/one_31_chars_long_file_name_136
22009 a/b/one_31_chars_long_file_name_137
22010 a/b/one_31_chars_long_file_name_138
22011 a/b/one_31_chars_long_file_name_139
22012 a/b/one_31_chars_long_file_name_140
22013 a/b/one_31_chars_long_file_name_141
22014 a/b/one_31_chars_long_file_name_142
22019 $at_diff - "$at_stdout" || at_failed
=:
22020 at_func_check_status
0 $at_status "$at_srcdir/incr04.at:34"
22022 $at_failed && at_func_log_failure
22029 $at_times_p && times >"$at_times_file"
22030 ) 5>&1 2>&1 |
eval $at_tee_pipe
22031 at_status
=`cat "$at_status_file"`
22034 # 60. incr05.at:19: incremental dumps with -C
22035 at_setup_line
='incr05.at:19'
22036 at_desc
="incremental dumps with -C"
22037 $at_quiet $as_echo_n " 60: $at_desc "
22039 test -f $XFAILFILE && at_xfail
=yes
22040 echo "# -*- compilation -*-" >> "$at_group_log"
22042 $as_echo "60. incr05.at:19: testing ..."
22050 $as_echo "$at_srcdir/incr05.at:22:
22053 TEST_TAR_FORMAT=gnu
22054 export TEST_TAR_FORMAT
22055 TAR_OPTIONS=\"-H gnu\"
22061 genfile --file dir/file1
22062 genfile --file dir/sub/file2
22065 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22067 genfile --file dir/file3
22069 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22071 echo incr05.
at:22 >"$at_check_line_file"
22073 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22078 TEST_TAR_FORMAT
=gnu
22079 export TEST_TAR_FORMAT
22080 TAR_OPTIONS
="-H gnu"
22086 genfile
--file dir
/file1
22087 genfile
--file dir
/sub
/file2
22090 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22092 genfile
--file dir
/file3
22094 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22095 ) ) >"$at_stdout" 2>"$at_stder1"
22096 at_func_filter_trace $?
22101 TEST_TAR_FORMAT
=gnu
22102 export TEST_TAR_FORMAT
22103 TAR_OPTIONS
="-H gnu"
22109 genfile
--file dir
/file1
22110 genfile
--file dir
/sub
/file2
22113 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22115 genfile
--file dir
/file3
22117 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22118 ) ) >"$at_stdout" 2>"$at_stderr"
22122 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22123 echo >>"$at_stdout"; $as_echo "Level 0
22133 $at_diff - "$at_stdout" || at_failed
=:
22134 at_func_check_status
0 $at_status "$at_srcdir/incr05.at:22"
22136 $at_failed && at_func_log_failure
22140 $as_echo "$at_srcdir/incr05.at:22:
22143 TEST_TAR_FORMAT=oldgnu
22144 export TEST_TAR_FORMAT
22145 TAR_OPTIONS=\"-H oldgnu\"
22151 genfile --file dir/file1
22152 genfile --file dir/sub/file2
22155 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22157 genfile --file dir/file3
22159 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22161 echo incr05.
at:22 >"$at_check_line_file"
22163 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22168 TEST_TAR_FORMAT
=oldgnu
22169 export TEST_TAR_FORMAT
22170 TAR_OPTIONS
="-H oldgnu"
22176 genfile
--file dir
/file1
22177 genfile
--file dir
/sub
/file2
22180 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22182 genfile
--file dir
/file3
22184 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22185 ) ) >"$at_stdout" 2>"$at_stder1"
22186 at_func_filter_trace $?
22191 TEST_TAR_FORMAT
=oldgnu
22192 export TEST_TAR_FORMAT
22193 TAR_OPTIONS
="-H oldgnu"
22199 genfile
--file dir
/file1
22200 genfile
--file dir
/sub
/file2
22203 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22205 genfile
--file dir
/file3
22207 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22208 ) ) >"$at_stdout" 2>"$at_stderr"
22212 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22213 echo >>"$at_stdout"; $as_echo "Level 0
22223 $at_diff - "$at_stdout" || at_failed
=:
22224 at_func_check_status
0 $at_status "$at_srcdir/incr05.at:22"
22226 $at_failed && at_func_log_failure
22230 $as_echo "$at_srcdir/incr05.at:22:
22233 TEST_TAR_FORMAT=posix
22234 export TEST_TAR_FORMAT
22235 TAR_OPTIONS=\"-H posix\"
22241 genfile --file dir/file1
22242 genfile --file dir/sub/file2
22245 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22247 genfile --file dir/file3
22249 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
22251 echo incr05.
at:22 >"$at_check_line_file"
22253 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22258 TEST_TAR_FORMAT
=posix
22259 export TEST_TAR_FORMAT
22260 TAR_OPTIONS
="-H posix"
22266 genfile
--file dir
/file1
22267 genfile
--file dir
/sub
/file2
22270 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22272 genfile
--file dir
/file3
22274 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22275 ) ) >"$at_stdout" 2>"$at_stder1"
22276 at_func_filter_trace $?
22281 TEST_TAR_FORMAT
=posix
22282 export TEST_TAR_FORMAT
22283 TAR_OPTIONS
="-H posix"
22289 genfile
--file dir
/file1
22290 genfile
--file dir
/sub
/file2
22293 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22295 genfile
--file dir
/file3
22297 tar -c -f archive.
tar -g db
-C dir
-v --warning=no-new-dir .
22298 ) ) >"$at_stdout" 2>"$at_stderr"
22302 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22303 echo >>"$at_stdout"; $as_echo "Level 0
22313 $at_diff - "$at_stdout" || at_failed
=:
22314 at_func_check_status
0 $at_status "$at_srcdir/incr05.at:22"
22316 $at_failed && at_func_log_failure
22323 $at_times_p && times >"$at_times_file"
22324 ) 5>&1 2>&1 |
eval $at_tee_pipe
22325 at_status
=`cat "$at_status_file"`
22328 # 61. incr06.at:19: incremental dumps of nested directories
22329 at_setup_line
='incr06.at:19'
22330 at_desc
="incremental dumps of nested directories"
22331 $at_quiet $as_echo_n " 61: $at_desc "
22333 test -f $XFAILFILE && at_xfail
=yes
22334 echo "# -*- compilation -*-" >> "$at_group_log"
22336 $as_echo "61. incr06.at:19: testing ..."
22344 $as_echo "$at_srcdir/incr06.at:22:
22347 TEST_TAR_FORMAT=gnu
22348 export TEST_TAR_FORMAT
22349 TAR_OPTIONS=\"-H gnu\"
22357 genfile --file dir/file1
22358 genfile --file dir/sub/file2
22359 genfile --file dir/sub/a/file3
22362 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22364 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22367 genfile --file dir/sub/b/file4
22370 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22372 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22374 echo incr06.
at:22 >"$at_check_line_file"
22376 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22381 TEST_TAR_FORMAT
=gnu
22382 export TEST_TAR_FORMAT
22383 TAR_OPTIONS
="-H gnu"
22391 genfile
--file dir
/file1
22392 genfile
--file dir
/sub
/file2
22393 genfile
--file dir
/sub
/a
/file3
22396 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22398 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22401 genfile
--file dir
/sub
/b
/file4
22404 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22406 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22407 ) ) >"$at_stdout" 2>"$at_stder1"
22408 at_func_filter_trace $?
22413 TEST_TAR_FORMAT
=gnu
22414 export TEST_TAR_FORMAT
22415 TAR_OPTIONS
="-H gnu"
22423 genfile
--file dir
/file1
22424 genfile
--file dir
/sub
/file2
22425 genfile
--file dir
/sub
/a
/file3
22428 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22430 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22433 genfile
--file dir
/sub
/b
/file4
22436 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22438 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22439 ) ) >"$at_stdout" 2>"$at_stderr"
22443 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22444 echo >>"$at_stdout"; $as_echo "Level 0 . sub
22475 $at_diff - "$at_stdout" || at_failed
=:
22476 at_func_check_status
0 $at_status "$at_srcdir/incr06.at:22"
22478 $at_failed && at_func_log_failure
22482 $as_echo "$at_srcdir/incr06.at:22:
22485 TEST_TAR_FORMAT=oldgnu
22486 export TEST_TAR_FORMAT
22487 TAR_OPTIONS=\"-H oldgnu\"
22495 genfile --file dir/file1
22496 genfile --file dir/sub/file2
22497 genfile --file dir/sub/a/file3
22500 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22502 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22505 genfile --file dir/sub/b/file4
22508 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22510 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22512 echo incr06.
at:22 >"$at_check_line_file"
22514 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22519 TEST_TAR_FORMAT
=oldgnu
22520 export TEST_TAR_FORMAT
22521 TAR_OPTIONS
="-H oldgnu"
22529 genfile
--file dir
/file1
22530 genfile
--file dir
/sub
/file2
22531 genfile
--file dir
/sub
/a
/file3
22534 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22536 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22539 genfile
--file dir
/sub
/b
/file4
22542 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22544 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22545 ) ) >"$at_stdout" 2>"$at_stder1"
22546 at_func_filter_trace $?
22551 TEST_TAR_FORMAT
=oldgnu
22552 export TEST_TAR_FORMAT
22553 TAR_OPTIONS
="-H oldgnu"
22561 genfile
--file dir
/file1
22562 genfile
--file dir
/sub
/file2
22563 genfile
--file dir
/sub
/a
/file3
22566 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22568 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22571 genfile
--file dir
/sub
/b
/file4
22574 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22576 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22577 ) ) >"$at_stdout" 2>"$at_stderr"
22581 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22582 echo >>"$at_stdout"; $as_echo "Level 0 . sub
22613 $at_diff - "$at_stdout" || at_failed
=:
22614 at_func_check_status
0 $at_status "$at_srcdir/incr06.at:22"
22616 $at_failed && at_func_log_failure
22620 $as_echo "$at_srcdir/incr06.at:22:
22623 TEST_TAR_FORMAT=posix
22624 export TEST_TAR_FORMAT
22625 TAR_OPTIONS=\"-H posix\"
22633 genfile --file dir/file1
22634 genfile --file dir/sub/file2
22635 genfile --file dir/sub/a/file3
22638 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22640 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22643 genfile --file dir/sub/b/file4
22646 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
22648 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
22650 echo incr06.
at:22 >"$at_check_line_file"
22652 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22657 TEST_TAR_FORMAT
=posix
22658 export TEST_TAR_FORMAT
22659 TAR_OPTIONS
="-H posix"
22667 genfile
--file dir
/file1
22668 genfile
--file dir
/sub
/file2
22669 genfile
--file dir
/sub
/a
/file3
22672 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22674 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22677 genfile
--file dir
/sub
/b
/file4
22680 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22682 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22683 ) ) >"$at_stdout" 2>"$at_stder1"
22684 at_func_filter_trace $?
22689 TEST_TAR_FORMAT
=posix
22690 export TEST_TAR_FORMAT
22691 TAR_OPTIONS
="-H posix"
22699 genfile
--file dir
/file1
22700 genfile
--file dir
/sub
/file2
22701 genfile
--file dir
/sub
/a
/file3
22704 tar -c -f archive-0.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22706 tar -c -f archive-0.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22709 genfile
--file dir
/sub
/b
/file4
22712 tar -c -f archive-1.1.
tar -g db
.1 -C dir
-v --warning=no-new-dir . sub
22714 tar -c -f archive-1.2.
tar -g db
.2 -C dir
-v --warning=no-new-dir sub .
22715 ) ) >"$at_stdout" 2>"$at_stderr"
22719 at_func_diff_devnull
"$at_stderr" || at_failed
=:
22720 echo >>"$at_stdout"; $as_echo "Level 0 . sub
22751 $at_diff - "$at_stdout" || at_failed
=:
22752 at_func_check_status
0 $at_status "$at_srcdir/incr06.at:22"
22754 $at_failed && at_func_log_failure
22761 $at_times_p && times >"$at_times_file"
22762 ) 5>&1 2>&1 |
eval $at_tee_pipe
22763 at_status
=`cat "$at_status_file"`
22766 # 62. filerem01.at:34: file removed as we read it (ca. 22 seconds)
22767 at_setup_line
='filerem01.at:34'
22768 at_desc
="file removed as we read it (ca. 22 seconds)"
22769 $at_quiet $as_echo_n " 62: $at_desc "
22771 test -f $XFAILFILE && at_xfail
=yes
22772 echo "# -*- compilation -*-" >> "$at_group_log"
22774 $as_echo "62. filerem01.at:34: testing ..."
22782 $as_echo "$at_srcdir/filerem01.at:37:
22785 TEST_TAR_FORMAT=gnu
22786 export TEST_TAR_FORMAT
22787 TAR_OPTIONS=\"-H gnu\"
22793 genfile --file dir/file1
22794 genfile --file dir/sub/file2
22796 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
22797 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
22798 --checkpoint-action='echo' -c -f archive.tar \\
22799 --listed-incremental db -v dir >/dev/null
22801 echo filerem01.
at:37 >"$at_check_line_file"
22803 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22808 TEST_TAR_FORMAT
=gnu
22809 export TEST_TAR_FORMAT
22810 TAR_OPTIONS
="-H gnu"
22816 genfile
--file dir
/file1
22817 genfile
--file dir
/sub
/file2
22819 genfile
--run --checkpoint=3 --unlink dir
/file1
-- \
22820 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22821 --checkpoint-action='echo' -c -f archive.
tar \
22822 --listed-incremental db
-v dir
>/dev
/null
22823 ) ) >"$at_stdout" 2>"$at_stder1"
22824 at_func_filter_trace $?
22829 TEST_TAR_FORMAT
=gnu
22830 export TEST_TAR_FORMAT
22831 TAR_OPTIONS
="-H gnu"
22837 genfile
--file dir
/file1
22838 genfile
--file dir
/sub
/file2
22840 genfile
--run --checkpoint=3 --unlink dir
/file1
-- \
22841 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22842 --checkpoint-action='echo' -c -f archive.
tar \
22843 --listed-incremental db
-v dir
>/dev
/null
22844 ) ) >"$at_stdout" 2>"$at_stderr"
22848 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
22849 tar: dir/sub: Directory is new
22850 tar: dir/file1: File removed before we read it
22852 $at_diff - "$at_stderr" || at_failed
=:
22853 echo stdout
:; cat "$at_stdout"
22854 at_func_check_status
1 $at_status "$at_srcdir/filerem01.at:37"
22856 $at_failed && at_func_log_failure
22860 $as_echo "$at_srcdir/filerem01.at:37:
22863 TEST_TAR_FORMAT=posix
22864 export TEST_TAR_FORMAT
22865 TAR_OPTIONS=\"-H posix\"
22871 genfile --file dir/file1
22872 genfile --file dir/sub/file2
22874 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
22875 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
22876 --checkpoint-action='echo' -c -f archive.tar \\
22877 --listed-incremental db -v dir >/dev/null
22879 echo filerem01.
at:37 >"$at_check_line_file"
22881 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22886 TEST_TAR_FORMAT
=posix
22887 export TEST_TAR_FORMAT
22888 TAR_OPTIONS
="-H posix"
22894 genfile
--file dir
/file1
22895 genfile
--file dir
/sub
/file2
22897 genfile
--run --checkpoint=3 --unlink dir
/file1
-- \
22898 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22899 --checkpoint-action='echo' -c -f archive.
tar \
22900 --listed-incremental db
-v dir
>/dev
/null
22901 ) ) >"$at_stdout" 2>"$at_stder1"
22902 at_func_filter_trace $?
22907 TEST_TAR_FORMAT
=posix
22908 export TEST_TAR_FORMAT
22909 TAR_OPTIONS
="-H posix"
22915 genfile
--file dir
/file1
22916 genfile
--file dir
/sub
/file2
22918 genfile
--run --checkpoint=3 --unlink dir
/file1
-- \
22919 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22920 --checkpoint-action='echo' -c -f archive.
tar \
22921 --listed-incremental db
-v dir
>/dev
/null
22922 ) ) >"$at_stdout" 2>"$at_stderr"
22926 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
22927 tar: dir/sub: Directory is new
22928 tar: dir/file1: File removed before we read it
22930 $at_diff - "$at_stderr" || at_failed
=:
22931 echo stdout
:; cat "$at_stdout"
22932 at_func_check_status
1 $at_status "$at_srcdir/filerem01.at:37"
22934 $at_failed && at_func_log_failure
22940 # Timing information:
22942 # For -Hgnu the above command line takes about 8 seconds to execute and
22945 # tar: dir: Directory is new
22946 # tar: dir/sub: Directory is new
22948 # tar: Write checkpoint 1
22949 # tar: Write checkpoint 2
22951 # tar: Write checkpoint 3
22952 # tar: Write checkpoint 4
22954 # tar: Write checkpoint 5
22956 # tar: Write checkpoint 6
22957 # tar: Write checkpoint 7
22958 # tar: Write checkpoint 8
22960 # For -Hposix the above command line takes about 14 seconds to execute and
22963 # ./tar: dir: Directory is new
22964 # ./tar: dir/sub: Directory is new
22966 # ./tar: Write checkpoint 1
22967 # ./tar: Write checkpoint 2
22968 # ./tar: Write checkpoint 3
22970 # ./tar: Write checkpoint 4
22971 # ./tar: Write checkpoint 5
22972 # ./tar: Write checkpoint 6
22974 # ./tar: Write checkpoint 7
22975 # ./tar: Write checkpoint 8
22976 # ./tar: Write checkpoint 9
22978 # ./tar: Write checkpoint 10
22979 # ./tar: Write checkpoint 11
22980 # ./tar: Write checkpoint 12
22981 # ./tar: Write checkpoint 13
22982 # ./tar: Write checkpoint 14
22986 $at_times_p && times >"$at_times_file"
22987 ) 5>&1 2>&1 |
eval $at_tee_pipe
22988 at_status
=`cat "$at_status_file"`
22991 # 63. filerem02.at:24: toplevel file removed (ca. 24 seconds)
22992 at_setup_line
='filerem02.at:24'
22993 at_desc
="toplevel file removed (ca. 24 seconds)"
22994 $at_quiet $as_echo_n " 63: $at_desc "
22996 test -f $XFAILFILE && at_xfail
=yes
22997 echo "# -*- compilation -*-" >> "$at_group_log"
22999 $as_echo "63. filerem02.at:24: testing ..."
23007 $as_echo "$at_srcdir/filerem02.at:27:
23010 TEST_TAR_FORMAT=gnu
23011 export TEST_TAR_FORMAT
23012 TAR_OPTIONS=\"-H gnu\"
23018 genfile --file dir/file1
23019 genfile --file dir/sub/file2
23021 genfile --file dir2/file1
23023 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
23024 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
23025 --checkpoint-action='echo' -c -f archive.tar \\
23026 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
23028 echo filerem02.
at:27 >"$at_check_line_file"
23030 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23035 TEST_TAR_FORMAT
=gnu
23036 export TEST_TAR_FORMAT
23037 TAR_OPTIONS
="-H gnu"
23043 genfile
--file dir
/file1
23044 genfile
--file dir
/sub
/file2
23046 genfile
--file dir
2/file1
23048 genfile
--run --checkpoint=3 --exec 'rm -rf dir2' -- \
23049 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
23050 --checkpoint-action='echo' -c -f archive.
tar \
23051 --listed-incremental db
-v --warning=no-new-dir dir dir2
>/dev
/null
23052 ) ) >"$at_stdout" 2>"$at_stder1"
23053 at_func_filter_trace $?
23058 TEST_TAR_FORMAT
=gnu
23059 export TEST_TAR_FORMAT
23060 TAR_OPTIONS
="-H gnu"
23066 genfile
--file dir
/file1
23067 genfile
--file dir
/sub
/file2
23069 genfile
--file dir
2/file1
23071 genfile
--run --checkpoint=3 --exec 'rm -rf dir2' -- \
23072 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
23073 --checkpoint-action='echo' -c -f archive.
tar \
23074 --listed-incremental db
-v --warning=no-new-dir dir dir2
>/dev
/null
23075 ) ) >"$at_stdout" 2>"$at_stderr"
23079 echo stderr
:; cat "$at_stderr"
23080 echo stdout
:; cat "$at_stdout"
23081 at_func_check_status
2 $at_status "$at_srcdir/filerem02.at:27"
23083 $at_failed && at_func_log_failure
23087 $as_echo "$at_srcdir/filerem02.at:27:
23090 TEST_TAR_FORMAT=posix
23091 export TEST_TAR_FORMAT
23092 TAR_OPTIONS=\"-H posix\"
23098 genfile --file dir/file1
23099 genfile --file dir/sub/file2
23101 genfile --file dir2/file1
23103 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
23104 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
23105 --checkpoint-action='echo' -c -f archive.tar \\
23106 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
23108 echo filerem02.
at:27 >"$at_check_line_file"
23110 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23115 TEST_TAR_FORMAT
=posix
23116 export TEST_TAR_FORMAT
23117 TAR_OPTIONS
="-H posix"
23123 genfile
--file dir
/file1
23124 genfile
--file dir
/sub
/file2
23126 genfile
--file dir
2/file1
23128 genfile
--run --checkpoint=3 --exec 'rm -rf dir2' -- \
23129 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
23130 --checkpoint-action='echo' -c -f archive.
tar \
23131 --listed-incremental db
-v --warning=no-new-dir dir dir2
>/dev
/null
23132 ) ) >"$at_stdout" 2>"$at_stder1"
23133 at_func_filter_trace $?
23138 TEST_TAR_FORMAT
=posix
23139 export TEST_TAR_FORMAT
23140 TAR_OPTIONS
="-H posix"
23146 genfile
--file dir
/file1
23147 genfile
--file dir
/sub
/file2
23149 genfile
--file dir
2/file1
23151 genfile
--run --checkpoint=3 --exec 'rm -rf dir2' -- \
23152 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
23153 --checkpoint-action='echo' -c -f archive.
tar \
23154 --listed-incremental db
-v --warning=no-new-dir dir dir2
>/dev
/null
23155 ) ) >"$at_stdout" 2>"$at_stderr"
23159 echo stderr
:; cat "$at_stderr"
23160 echo stdout
:; cat "$at_stdout"
23161 at_func_check_status
2 $at_status "$at_srcdir/filerem02.at:27"
23163 $at_failed && at_func_log_failure
23169 # Ignore stdout and stderr because their contents depend on
23170 # the file system implementation.
23172 # Timing information: see filerem01.at
23175 $at_times_p && times >"$at_times_file"
23176 ) 5>&1 2>&1 |
eval $at_tee_pipe
23177 at_status
=`cat "$at_status_file"`
23180 # 64. rename01.at:24: renamed dirs in incrementals
23181 at_setup_line
='rename01.at:24'
23182 at_desc
="renamed dirs in incrementals"
23183 $at_quiet $as_echo_n " 64: $at_desc "
23185 test -f $XFAILFILE && at_xfail
=yes
23186 echo "# -*- compilation -*-" >> "$at_group_log"
23188 $as_echo "64. rename01.at:24: testing ..."
23196 $as_echo "$at_srcdir/rename01.at:27:
23199 TEST_TAR_FORMAT=gnu
23200 export TEST_TAR_FORMAT
23201 TAR_OPTIONS=\"-H gnu\"
23206 test -z "`sort < /dev/null 2>&1`" || exit 77
23210 genfile --file foo/file1
23211 genfile --file foo/file2
23213 genfile --file foo/bar/file
23215 echo \"Creating base archive\"
23216 tar -g incr -cf arch.1 -v foo
23220 echo \"Creating incremental archive\"
23221 tar -g incr -cf arch.2 -v foo
23225 tar xfg arch.1 /dev/null
23227 echo \"Begin directory listing 1\"
23229 echo \"End directory listing 1\"
23231 tar xfg arch.2 /dev/null
23232 echo Begin directory listing 2
23234 echo End directory listing 2
23236 echo rename01.
at:27 >"$at_check_line_file"
23238 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23243 TEST_TAR_FORMAT
=gnu
23244 export TEST_TAR_FORMAT
23245 TAR_OPTIONS
="-H gnu"
23250 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23254 genfile
--file foo
/file1
23255 genfile
--file foo
/file2
23257 genfile
--file foo
/bar
/file
23259 echo "Creating base archive"
23260 tar -g incr
-cf arch
.1 -v foo
23264 echo "Creating incremental archive"
23265 tar -g incr
-cf arch
.2 -v foo
23269 tar xfg arch
.1 /dev
/null
23271 echo "Begin directory listing 1"
23273 echo "End directory listing 1"
23275 tar xfg arch
.2 /dev
/null
23276 echo Begin directory listing
2
23278 echo End directory listing
2
23279 ) ) >"$at_stdout" 2>"$at_stder1"
23280 at_func_filter_trace $?
23285 TEST_TAR_FORMAT
=gnu
23286 export TEST_TAR_FORMAT
23287 TAR_OPTIONS
="-H gnu"
23292 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23296 genfile
--file foo
/file1
23297 genfile
--file foo
/file2
23299 genfile
--file foo
/bar
/file
23301 echo "Creating base archive"
23302 tar -g incr
-cf arch
.1 -v foo
23306 echo "Creating incremental archive"
23307 tar -g incr
-cf arch
.2 -v foo
23311 tar xfg arch
.1 /dev
/null
23313 echo "Begin directory listing 1"
23315 echo "End directory listing 1"
23317 tar xfg arch
.2 /dev
/null
23318 echo Begin directory listing
2
23320 echo End directory listing
2
23321 ) ) >"$at_stdout" 2>"$at_stderr"
23325 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23326 tar: foo/bar: Directory is new
23327 tar: foo/baz: Directory has been renamed from \`foo/bar'
23329 $at_diff - "$at_stderr" || at_failed
=:
23330 echo >>"$at_stdout"; $as_echo "Creating base archive
23336 Creating incremental archive
23339 Begin directory listing 1
23345 End directory listing 1
23346 Begin directory listing 2
23352 End directory listing 2
23354 $at_diff - "$at_stdout" || at_failed
=:
23355 at_func_check_status
0 $at_status "$at_srcdir/rename01.at:27"
23357 $at_failed && at_func_log_failure
23361 $as_echo "$at_srcdir/rename01.at:27:
23364 TEST_TAR_FORMAT=oldgnu
23365 export TEST_TAR_FORMAT
23366 TAR_OPTIONS=\"-H oldgnu\"
23371 test -z "`sort < /dev/null 2>&1`" || exit 77
23375 genfile --file foo/file1
23376 genfile --file foo/file2
23378 genfile --file foo/bar/file
23380 echo \"Creating base archive\"
23381 tar -g incr -cf arch.1 -v foo
23385 echo \"Creating incremental archive\"
23386 tar -g incr -cf arch.2 -v foo
23390 tar xfg arch.1 /dev/null
23392 echo \"Begin directory listing 1\"
23394 echo \"End directory listing 1\"
23396 tar xfg arch.2 /dev/null
23397 echo Begin directory listing 2
23399 echo End directory listing 2
23401 echo rename01.
at:27 >"$at_check_line_file"
23403 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23408 TEST_TAR_FORMAT
=oldgnu
23409 export TEST_TAR_FORMAT
23410 TAR_OPTIONS
="-H oldgnu"
23415 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23419 genfile
--file foo
/file1
23420 genfile
--file foo
/file2
23422 genfile
--file foo
/bar
/file
23424 echo "Creating base archive"
23425 tar -g incr
-cf arch
.1 -v foo
23429 echo "Creating incremental archive"
23430 tar -g incr
-cf arch
.2 -v foo
23434 tar xfg arch
.1 /dev
/null
23436 echo "Begin directory listing 1"
23438 echo "End directory listing 1"
23440 tar xfg arch
.2 /dev
/null
23441 echo Begin directory listing
2
23443 echo End directory listing
2
23444 ) ) >"$at_stdout" 2>"$at_stder1"
23445 at_func_filter_trace $?
23450 TEST_TAR_FORMAT
=oldgnu
23451 export TEST_TAR_FORMAT
23452 TAR_OPTIONS
="-H oldgnu"
23457 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23461 genfile
--file foo
/file1
23462 genfile
--file foo
/file2
23464 genfile
--file foo
/bar
/file
23466 echo "Creating base archive"
23467 tar -g incr
-cf arch
.1 -v foo
23471 echo "Creating incremental archive"
23472 tar -g incr
-cf arch
.2 -v foo
23476 tar xfg arch
.1 /dev
/null
23478 echo "Begin directory listing 1"
23480 echo "End directory listing 1"
23482 tar xfg arch
.2 /dev
/null
23483 echo Begin directory listing
2
23485 echo End directory listing
2
23486 ) ) >"$at_stdout" 2>"$at_stderr"
23490 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23491 tar: foo/bar: Directory is new
23492 tar: foo/baz: Directory has been renamed from \`foo/bar'
23494 $at_diff - "$at_stderr" || at_failed
=:
23495 echo >>"$at_stdout"; $as_echo "Creating base archive
23501 Creating incremental archive
23504 Begin directory listing 1
23510 End directory listing 1
23511 Begin directory listing 2
23517 End directory listing 2
23519 $at_diff - "$at_stdout" || at_failed
=:
23520 at_func_check_status
0 $at_status "$at_srcdir/rename01.at:27"
23522 $at_failed && at_func_log_failure
23526 $as_echo "$at_srcdir/rename01.at:27:
23529 TEST_TAR_FORMAT=posix
23530 export TEST_TAR_FORMAT
23531 TAR_OPTIONS=\"-H posix\"
23536 test -z "`sort < /dev/null 2>&1`" || exit 77
23540 genfile --file foo/file1
23541 genfile --file foo/file2
23543 genfile --file foo/bar/file
23545 echo \"Creating base archive\"
23546 tar -g incr -cf arch.1 -v foo
23550 echo \"Creating incremental archive\"
23551 tar -g incr -cf arch.2 -v foo
23555 tar xfg arch.1 /dev/null
23557 echo \"Begin directory listing 1\"
23559 echo \"End directory listing 1\"
23561 tar xfg arch.2 /dev/null
23562 echo Begin directory listing 2
23564 echo End directory listing 2
23566 echo rename01.
at:27 >"$at_check_line_file"
23568 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23573 TEST_TAR_FORMAT
=posix
23574 export TEST_TAR_FORMAT
23575 TAR_OPTIONS
="-H posix"
23580 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23584 genfile
--file foo
/file1
23585 genfile
--file foo
/file2
23587 genfile
--file foo
/bar
/file
23589 echo "Creating base archive"
23590 tar -g incr
-cf arch
.1 -v foo
23594 echo "Creating incremental archive"
23595 tar -g incr
-cf arch
.2 -v foo
23599 tar xfg arch
.1 /dev
/null
23601 echo "Begin directory listing 1"
23603 echo "End directory listing 1"
23605 tar xfg arch
.2 /dev
/null
23606 echo Begin directory listing
2
23608 echo End directory listing
2
23609 ) ) >"$at_stdout" 2>"$at_stder1"
23610 at_func_filter_trace $?
23615 TEST_TAR_FORMAT
=posix
23616 export TEST_TAR_FORMAT
23617 TAR_OPTIONS
="-H posix"
23622 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23626 genfile
--file foo
/file1
23627 genfile
--file foo
/file2
23629 genfile
--file foo
/bar
/file
23631 echo "Creating base archive"
23632 tar -g incr
-cf arch
.1 -v foo
23636 echo "Creating incremental archive"
23637 tar -g incr
-cf arch
.2 -v foo
23641 tar xfg arch
.1 /dev
/null
23643 echo "Begin directory listing 1"
23645 echo "End directory listing 1"
23647 tar xfg arch
.2 /dev
/null
23648 echo Begin directory listing
2
23650 echo End directory listing
2
23651 ) ) >"$at_stdout" 2>"$at_stderr"
23655 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23656 tar: foo/bar: Directory is new
23657 tar: foo/baz: Directory has been renamed from \`foo/bar'
23659 $at_diff - "$at_stderr" || at_failed
=:
23660 echo >>"$at_stdout"; $as_echo "Creating base archive
23666 Creating incremental archive
23669 Begin directory listing 1
23675 End directory listing 1
23676 Begin directory listing 2
23682 End directory listing 2
23684 $at_diff - "$at_stdout" || at_failed
=:
23685 at_func_check_status
0 $at_status "$at_srcdir/rename01.at:27"
23687 $at_failed && at_func_log_failure
23694 $at_times_p && times >"$at_times_file"
23695 ) 5>&1 2>&1 |
eval $at_tee_pipe
23696 at_status
=`cat "$at_status_file"`
23699 # 65. rename02.at:24: move between hierarchies
23700 at_setup_line
='rename02.at:24'
23701 at_desc
="move between hierarchies"
23702 $at_quiet $as_echo_n " 65: $at_desc "
23704 test -f $XFAILFILE && at_xfail
=yes
23705 echo "# -*- compilation -*-" >> "$at_group_log"
23707 $as_echo "65. rename02.at:24: testing ..."
23715 $as_echo "$at_srcdir/rename02.at:27:
23718 TEST_TAR_FORMAT=gnu
23719 export TEST_TAR_FORMAT
23720 TAR_OPTIONS=\"-H gnu\"
23725 test -z "`sort < /dev/null 2>&1`" || exit 77
23728 genfile --file foo/file1
23729 genfile --file foo/file2
23731 genfile --file foo/bar/file.r
23733 genfile --file foo/bar/baz/file.z
23737 echo \"Creating base archive\"
23738 tar -g incr -cf arch.1 -v foo
23742 echo \"Creating incremental archive\"
23743 tar -g incr -cf arch.2 -v foo
23747 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
23750 echo \"Begin directory listing 1\"
23752 echo \"End directory listing 1\"
23754 tar xfgv arch.2 /dev/null --warning=no-timestamp
23755 echo Begin directory listing 2
23757 echo End directory listing 2
23759 echo rename02.
at:27 >"$at_check_line_file"
23761 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23766 TEST_TAR_FORMAT
=gnu
23767 export TEST_TAR_FORMAT
23768 TAR_OPTIONS
="-H gnu"
23773 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23776 genfile
--file foo
/file1
23777 genfile
--file foo
/file2
23779 genfile
--file foo
/bar
/file.r
23781 genfile
--file foo
/bar
/baz
/file.z
23785 echo "Creating base archive"
23786 tar -g incr
-cf arch
.1 -v foo
23790 echo "Creating incremental archive"
23791 tar -g incr
-cf arch
.2 -v foo
23795 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
23798 echo "Begin directory listing 1"
23800 echo "End directory listing 1"
23802 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
23803 echo Begin directory listing
2
23805 echo End directory listing
2
23806 ) ) >"$at_stdout" 2>"$at_stder1"
23807 at_func_filter_trace $?
23812 TEST_TAR_FORMAT
=gnu
23813 export TEST_TAR_FORMAT
23814 TAR_OPTIONS
="-H gnu"
23819 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23822 genfile
--file foo
/file1
23823 genfile
--file foo
/file2
23825 genfile
--file foo
/bar
/file.r
23827 genfile
--file foo
/bar
/baz
/file.z
23831 echo "Creating base archive"
23832 tar -g incr
-cf arch
.1 -v foo
23836 echo "Creating incremental archive"
23837 tar -g incr
-cf arch
.2 -v foo
23841 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
23844 echo "Begin directory listing 1"
23846 echo "End directory listing 1"
23848 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
23849 echo Begin directory listing
2
23851 echo End directory listing
2
23852 ) ) >"$at_stdout" 2>"$at_stderr"
23856 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23857 tar: foo/bar: Directory is new
23858 tar: foo/bar/baz: Directory is new
23859 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
23861 $at_diff - "$at_stderr" || at_failed
=:
23862 echo >>"$at_stdout"; $as_echo "Creating base archive
23870 Creating incremental archive
23874 Begin directory listing 1
23882 End directory listing 1
23886 Begin directory listing 2
23894 End directory listing 2
23896 $at_diff - "$at_stdout" || at_failed
=:
23897 at_func_check_status
0 $at_status "$at_srcdir/rename02.at:27"
23899 $at_failed && at_func_log_failure
23903 $as_echo "$at_srcdir/rename02.at:27:
23906 TEST_TAR_FORMAT=oldgnu
23907 export TEST_TAR_FORMAT
23908 TAR_OPTIONS=\"-H oldgnu\"
23913 test -z "`sort < /dev/null 2>&1`" || exit 77
23916 genfile --file foo/file1
23917 genfile --file foo/file2
23919 genfile --file foo/bar/file.r
23921 genfile --file foo/bar/baz/file.z
23925 echo \"Creating base archive\"
23926 tar -g incr -cf arch.1 -v foo
23930 echo \"Creating incremental archive\"
23931 tar -g incr -cf arch.2 -v foo
23935 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
23938 echo \"Begin directory listing 1\"
23940 echo \"End directory listing 1\"
23942 tar xfgv arch.2 /dev/null --warning=no-timestamp
23943 echo Begin directory listing 2
23945 echo End directory listing 2
23947 echo rename02.
at:27 >"$at_check_line_file"
23949 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23954 TEST_TAR_FORMAT
=oldgnu
23955 export TEST_TAR_FORMAT
23956 TAR_OPTIONS
="-H oldgnu"
23961 test -z "`sort < /dev/null 2>&1`" ||
exit 77
23964 genfile
--file foo
/file1
23965 genfile
--file foo
/file2
23967 genfile
--file foo
/bar
/file.r
23969 genfile
--file foo
/bar
/baz
/file.z
23973 echo "Creating base archive"
23974 tar -g incr
-cf arch
.1 -v foo
23978 echo "Creating incremental archive"
23979 tar -g incr
-cf arch
.2 -v foo
23983 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
23986 echo "Begin directory listing 1"
23988 echo "End directory listing 1"
23990 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
23991 echo Begin directory listing
2
23993 echo End directory listing
2
23994 ) ) >"$at_stdout" 2>"$at_stder1"
23995 at_func_filter_trace $?
24000 TEST_TAR_FORMAT
=oldgnu
24001 export TEST_TAR_FORMAT
24002 TAR_OPTIONS
="-H oldgnu"
24007 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24010 genfile
--file foo
/file1
24011 genfile
--file foo
/file2
24013 genfile
--file foo
/bar
/file.r
24015 genfile
--file foo
/bar
/baz
/file.z
24019 echo "Creating base archive"
24020 tar -g incr
-cf arch
.1 -v foo
24024 echo "Creating incremental archive"
24025 tar -g incr
-cf arch
.2 -v foo
24029 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
24032 echo "Begin directory listing 1"
24034 echo "End directory listing 1"
24036 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24037 echo Begin directory listing
2
24039 echo End directory listing
2
24040 ) ) >"$at_stdout" 2>"$at_stderr"
24044 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
24045 tar: foo/bar: Directory is new
24046 tar: foo/bar/baz: Directory is new
24047 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
24049 $at_diff - "$at_stderr" || at_failed
=:
24050 echo >>"$at_stdout"; $as_echo "Creating base archive
24058 Creating incremental archive
24062 Begin directory listing 1
24070 End directory listing 1
24074 Begin directory listing 2
24082 End directory listing 2
24084 $at_diff - "$at_stdout" || at_failed
=:
24085 at_func_check_status
0 $at_status "$at_srcdir/rename02.at:27"
24087 $at_failed && at_func_log_failure
24091 $as_echo "$at_srcdir/rename02.at:27:
24094 TEST_TAR_FORMAT=posix
24095 export TEST_TAR_FORMAT
24096 TAR_OPTIONS=\"-H posix\"
24101 test -z "`sort < /dev/null 2>&1`" || exit 77
24104 genfile --file foo/file1
24105 genfile --file foo/file2
24107 genfile --file foo/bar/file.r
24109 genfile --file foo/bar/baz/file.z
24113 echo \"Creating base archive\"
24114 tar -g incr -cf arch.1 -v foo
24118 echo \"Creating incremental archive\"
24119 tar -g incr -cf arch.2 -v foo
24123 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
24126 echo \"Begin directory listing 1\"
24128 echo \"End directory listing 1\"
24130 tar xfgv arch.2 /dev/null --warning=no-timestamp
24131 echo Begin directory listing 2
24133 echo End directory listing 2
24135 echo rename02.
at:27 >"$at_check_line_file"
24137 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24142 TEST_TAR_FORMAT
=posix
24143 export TEST_TAR_FORMAT
24144 TAR_OPTIONS
="-H posix"
24149 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24152 genfile
--file foo
/file1
24153 genfile
--file foo
/file2
24155 genfile
--file foo
/bar
/file.r
24157 genfile
--file foo
/bar
/baz
/file.z
24161 echo "Creating base archive"
24162 tar -g incr
-cf arch
.1 -v foo
24166 echo "Creating incremental archive"
24167 tar -g incr
-cf arch
.2 -v foo
24171 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
24174 echo "Begin directory listing 1"
24176 echo "End directory listing 1"
24178 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24179 echo Begin directory listing
2
24181 echo End directory listing
2
24182 ) ) >"$at_stdout" 2>"$at_stder1"
24183 at_func_filter_trace $?
24188 TEST_TAR_FORMAT
=posix
24189 export TEST_TAR_FORMAT
24190 TAR_OPTIONS
="-H posix"
24195 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24198 genfile
--file foo
/file1
24199 genfile
--file foo
/file2
24201 genfile
--file foo
/bar
/file.r
24203 genfile
--file foo
/bar
/baz
/file.z
24207 echo "Creating base archive"
24208 tar -g incr
-cf arch
.1 -v foo
24212 echo "Creating incremental archive"
24213 tar -g incr
-cf arch
.2 -v foo
24217 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
2>tmperr
24220 echo "Begin directory listing 1"
24222 echo "End directory listing 1"
24224 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24225 echo Begin directory listing
2
24227 echo End directory listing
2
24228 ) ) >"$at_stdout" 2>"$at_stderr"
24232 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
24233 tar: foo/bar: Directory is new
24234 tar: foo/bar/baz: Directory is new
24235 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
24237 $at_diff - "$at_stderr" || at_failed
=:
24238 echo >>"$at_stdout"; $as_echo "Creating base archive
24246 Creating incremental archive
24250 Begin directory listing 1
24258 End directory listing 1
24262 Begin directory listing 2
24270 End directory listing 2
24272 $at_diff - "$at_stdout" || at_failed
=:
24273 at_func_check_status
0 $at_status "$at_srcdir/rename02.at:27"
24275 $at_failed && at_func_log_failure
24282 $at_times_p && times >"$at_times_file"
24283 ) 5>&1 2>&1 |
eval $at_tee_pipe
24284 at_status
=`cat "$at_status_file"`
24287 # 66. rename03.at:23: cyclic renames
24288 at_setup_line
='rename03.at:23'
24289 at_desc
="cyclic renames"
24290 $at_quiet $as_echo_n " 66: $at_desc "
24292 test -f $XFAILFILE && at_xfail
=yes
24293 echo "# -*- compilation -*-" >> "$at_group_log"
24295 $as_echo "66. rename03.at:23: testing ..."
24303 $as_echo "$at_srcdir/rename03.at:26:
24306 TEST_TAR_FORMAT=gnu
24307 export TEST_TAR_FORMAT
24308 TAR_OPTIONS=\"-H gnu\"
24313 test -z "`sort < /dev/null 2>&1`" || exit 77
24317 genfile --file foo/file1
24318 genfile --file foo/file2
24321 genfile --file foo/a/filea
24324 genfile --file foo/b/fileb
24327 genfile --file foo/c/filec
24331 echo \"First dump\"
24332 echo \"First dump\">&2
24333 tar -g incr -cf arch.1 -v foo 2>tmperr
24336 # Shuffle directories:
24343 echo \"Second dump\"
24344 echo \"Second dump\" >&2
24345 tar -g incr -cf arch.2 -v foo 2>tmperr
24348 tar xfg arch.1 /dev/null --warning=no-timestamp
24350 echo \"Begin directory listing 1\"
24352 echo \"End directory listing 1\"
24354 tar xfgv arch.2 /dev/null --warning=no-timestamp
24355 echo Begin directory listing 2
24357 echo End directory listing 2
24359 echo rename03.
at:26 >"$at_check_line_file"
24361 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24366 TEST_TAR_FORMAT
=gnu
24367 export TEST_TAR_FORMAT
24368 TAR_OPTIONS
="-H gnu"
24373 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24377 genfile
--file foo
/file1
24378 genfile
--file foo
/file2
24381 genfile
--file foo
/a
/filea
24384 genfile
--file foo
/b
/fileb
24387 genfile
--file foo
/c
/filec
24392 echo "First dump">&2
24393 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24396 # Shuffle directories:
24404 echo "Second dump" >&2
24405 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24408 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24410 echo "Begin directory listing 1"
24412 echo "End directory listing 1"
24414 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24415 echo Begin directory listing
2
24417 echo End directory listing
2
24418 ) ) >"$at_stdout" 2>"$at_stder1"
24419 at_func_filter_trace $?
24424 TEST_TAR_FORMAT
=gnu
24425 export TEST_TAR_FORMAT
24426 TAR_OPTIONS
="-H gnu"
24431 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24435 genfile
--file foo
/file1
24436 genfile
--file foo
/file2
24439 genfile
--file foo
/a
/filea
24442 genfile
--file foo
/b
/fileb
24445 genfile
--file foo
/c
/filec
24450 echo "First dump">&2
24451 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24454 # Shuffle directories:
24462 echo "Second dump" >&2
24463 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24466 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24468 echo "Begin directory listing 1"
24470 echo "End directory listing 1"
24472 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24473 echo Begin directory listing
2
24475 echo End directory listing
2
24476 ) ) >"$at_stdout" 2>"$at_stderr"
24480 echo >>"$at_stderr"; $as_echo "First dump
24481 tar: foo/a: Directory is new
24482 tar: foo/b: Directory is new
24483 tar: foo/c: Directory is new
24484 tar: foo: Directory is new
24486 tar: foo/a: Directory has been renamed from \`foo/c'
24487 tar: foo/b: Directory has been renamed from \`foo/a'
24488 tar: foo/c: Directory has been renamed from \`foo/b'
24490 $at_diff - "$at_stderr" || at_failed
=:
24491 echo >>"$at_stdout"; $as_echo "First dump
24506 Begin directory listing 1
24516 End directory listing 1
24521 Begin directory listing 2
24531 End directory listing 2
24533 $at_diff - "$at_stdout" || at_failed
=:
24534 at_func_check_status
0 $at_status "$at_srcdir/rename03.at:26"
24536 $at_failed && at_func_log_failure
24540 $as_echo "$at_srcdir/rename03.at:26:
24543 TEST_TAR_FORMAT=oldgnu
24544 export TEST_TAR_FORMAT
24545 TAR_OPTIONS=\"-H oldgnu\"
24550 test -z "`sort < /dev/null 2>&1`" || exit 77
24554 genfile --file foo/file1
24555 genfile --file foo/file2
24558 genfile --file foo/a/filea
24561 genfile --file foo/b/fileb
24564 genfile --file foo/c/filec
24568 echo \"First dump\"
24569 echo \"First dump\">&2
24570 tar -g incr -cf arch.1 -v foo 2>tmperr
24573 # Shuffle directories:
24580 echo \"Second dump\"
24581 echo \"Second dump\" >&2
24582 tar -g incr -cf arch.2 -v foo 2>tmperr
24585 tar xfg arch.1 /dev/null --warning=no-timestamp
24587 echo \"Begin directory listing 1\"
24589 echo \"End directory listing 1\"
24591 tar xfgv arch.2 /dev/null --warning=no-timestamp
24592 echo Begin directory listing 2
24594 echo End directory listing 2
24596 echo rename03.
at:26 >"$at_check_line_file"
24598 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24603 TEST_TAR_FORMAT
=oldgnu
24604 export TEST_TAR_FORMAT
24605 TAR_OPTIONS
="-H oldgnu"
24610 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24614 genfile
--file foo
/file1
24615 genfile
--file foo
/file2
24618 genfile
--file foo
/a
/filea
24621 genfile
--file foo
/b
/fileb
24624 genfile
--file foo
/c
/filec
24629 echo "First dump">&2
24630 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24633 # Shuffle directories:
24641 echo "Second dump" >&2
24642 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24645 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24647 echo "Begin directory listing 1"
24649 echo "End directory listing 1"
24651 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24652 echo Begin directory listing
2
24654 echo End directory listing
2
24655 ) ) >"$at_stdout" 2>"$at_stder1"
24656 at_func_filter_trace $?
24661 TEST_TAR_FORMAT
=oldgnu
24662 export TEST_TAR_FORMAT
24663 TAR_OPTIONS
="-H oldgnu"
24668 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24672 genfile
--file foo
/file1
24673 genfile
--file foo
/file2
24676 genfile
--file foo
/a
/filea
24679 genfile
--file foo
/b
/fileb
24682 genfile
--file foo
/c
/filec
24687 echo "First dump">&2
24688 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24691 # Shuffle directories:
24699 echo "Second dump" >&2
24700 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24703 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24705 echo "Begin directory listing 1"
24707 echo "End directory listing 1"
24709 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24710 echo Begin directory listing
2
24712 echo End directory listing
2
24713 ) ) >"$at_stdout" 2>"$at_stderr"
24717 echo >>"$at_stderr"; $as_echo "First dump
24718 tar: foo/a: Directory is new
24719 tar: foo/b: Directory is new
24720 tar: foo/c: Directory is new
24721 tar: foo: Directory is new
24723 tar: foo/a: Directory has been renamed from \`foo/c'
24724 tar: foo/b: Directory has been renamed from \`foo/a'
24725 tar: foo/c: Directory has been renamed from \`foo/b'
24727 $at_diff - "$at_stderr" || at_failed
=:
24728 echo >>"$at_stdout"; $as_echo "First dump
24743 Begin directory listing 1
24753 End directory listing 1
24758 Begin directory listing 2
24768 End directory listing 2
24770 $at_diff - "$at_stdout" || at_failed
=:
24771 at_func_check_status
0 $at_status "$at_srcdir/rename03.at:26"
24773 $at_failed && at_func_log_failure
24777 $as_echo "$at_srcdir/rename03.at:26:
24780 TEST_TAR_FORMAT=posix
24781 export TEST_TAR_FORMAT
24782 TAR_OPTIONS=\"-H posix\"
24787 test -z "`sort < /dev/null 2>&1`" || exit 77
24791 genfile --file foo/file1
24792 genfile --file foo/file2
24795 genfile --file foo/a/filea
24798 genfile --file foo/b/fileb
24801 genfile --file foo/c/filec
24805 echo \"First dump\"
24806 echo \"First dump\">&2
24807 tar -g incr -cf arch.1 -v foo 2>tmperr
24810 # Shuffle directories:
24817 echo \"Second dump\"
24818 echo \"Second dump\" >&2
24819 tar -g incr -cf arch.2 -v foo 2>tmperr
24822 tar xfg arch.1 /dev/null --warning=no-timestamp
24824 echo \"Begin directory listing 1\"
24826 echo \"End directory listing 1\"
24828 tar xfgv arch.2 /dev/null --warning=no-timestamp
24829 echo Begin directory listing 2
24831 echo End directory listing 2
24833 echo rename03.
at:26 >"$at_check_line_file"
24835 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24840 TEST_TAR_FORMAT
=posix
24841 export TEST_TAR_FORMAT
24842 TAR_OPTIONS
="-H posix"
24847 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24851 genfile
--file foo
/file1
24852 genfile
--file foo
/file2
24855 genfile
--file foo
/a
/filea
24858 genfile
--file foo
/b
/fileb
24861 genfile
--file foo
/c
/filec
24866 echo "First dump">&2
24867 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24870 # Shuffle directories:
24878 echo "Second dump" >&2
24879 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24882 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24884 echo "Begin directory listing 1"
24886 echo "End directory listing 1"
24888 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24889 echo Begin directory listing
2
24891 echo End directory listing
2
24892 ) ) >"$at_stdout" 2>"$at_stder1"
24893 at_func_filter_trace $?
24898 TEST_TAR_FORMAT
=posix
24899 export TEST_TAR_FORMAT
24900 TAR_OPTIONS
="-H posix"
24905 test -z "`sort < /dev/null 2>&1`" ||
exit 77
24909 genfile
--file foo
/file1
24910 genfile
--file foo
/file2
24913 genfile
--file foo
/a
/filea
24916 genfile
--file foo
/b
/fileb
24919 genfile
--file foo
/c
/filec
24924 echo "First dump">&2
24925 tar -g incr
-cf arch
.1 -v foo
2>tmperr
24928 # Shuffle directories:
24936 echo "Second dump" >&2
24937 tar -g incr
-cf arch
.2 -v foo
2>tmperr
24940 tar xfg arch
.1 /dev
/null
--warning=no-timestamp
24942 echo "Begin directory listing 1"
24944 echo "End directory listing 1"
24946 tar xfgv arch
.2 /dev
/null
--warning=no-timestamp
24947 echo Begin directory listing
2
24949 echo End directory listing
2
24950 ) ) >"$at_stdout" 2>"$at_stderr"
24954 echo >>"$at_stderr"; $as_echo "First dump
24955 tar: foo/a: Directory is new
24956 tar: foo/b: Directory is new
24957 tar: foo/c: Directory is new
24958 tar: foo: Directory is new
24960 tar: foo/a: Directory has been renamed from \`foo/c'
24961 tar: foo/b: Directory has been renamed from \`foo/a'
24962 tar: foo/c: Directory has been renamed from \`foo/b'
24964 $at_diff - "$at_stderr" || at_failed
=:
24965 echo >>"$at_stdout"; $as_echo "First dump
24980 Begin directory listing 1
24990 End directory listing 1
24995 Begin directory listing 2
25005 End directory listing 2
25007 $at_diff - "$at_stdout" || at_failed
=:
25008 at_func_check_status
0 $at_status "$at_srcdir/rename03.at:26"
25010 $at_failed && at_func_log_failure
25017 $at_times_p && times >"$at_times_file"
25018 ) 5>&1 2>&1 |
eval $at_tee_pipe
25019 at_status
=`cat "$at_status_file"`
25022 # 67. rename04.at:27: renamed directory containing subdirectories
25023 at_setup_line
='rename04.at:27'
25024 at_desc
="renamed directory containing subdirectories"
25025 $at_quiet $as_echo_n " 67: $at_desc "
25027 test -f $XFAILFILE && at_xfail
=yes
25028 echo "# -*- compilation -*-" >> "$at_group_log"
25030 $as_echo "67. rename04.at:27: testing ..."
25038 $as_echo "$at_srcdir/rename04.at:30:
25041 TEST_TAR_FORMAT=gnu
25042 export TEST_TAR_FORMAT
25043 TAR_OPTIONS=\"-H gnu\"
25048 test -z "`sort < /dev/null 2>&1`" || exit 77
25051 decho Creating directory structure
25053 mkdir directory/subdir
25054 genfile --file=directory/file
25056 decho Creating initial archive
25057 tar -cf archive.1 -g db.1 directory
25062 decho Creating incremental archive
25064 tar -cf archive.2 -g db.2 dir
25068 decho First restore
25069 tar -xf archive.1 -g db.1
25070 find directory | sort
25072 decho Second restore
25073 tar -xf archive.2 -g db.2
25076 echo rename04.
at:30 >"$at_check_line_file"
25078 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25083 TEST_TAR_FORMAT
=gnu
25084 export TEST_TAR_FORMAT
25085 TAR_OPTIONS
="-H gnu"
25090 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25093 decho Creating directory structure
25095 mkdir directory
/subdir
25096 genfile
--file=directory
/file
25098 decho Creating initial archive
25099 tar -cf archive
.1 -g db
.1 directory
25104 decho Creating incremental archive
25106 tar -cf archive
.2 -g db
.2 dir
25110 decho First restore
25111 tar -xf archive
.1 -g db
.1
25112 find directory |
sort
25114 decho Second restore
25115 tar -xf archive
.2 -g db
.2
25117 ) ) >"$at_stdout" 2>"$at_stder1"
25118 at_func_filter_trace $?
25123 TEST_TAR_FORMAT
=gnu
25124 export TEST_TAR_FORMAT
25125 TAR_OPTIONS
="-H gnu"
25130 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25133 decho Creating directory structure
25135 mkdir directory
/subdir
25136 genfile
--file=directory
/file
25138 decho Creating initial archive
25139 tar -cf archive
.1 -g db
.1 directory
25144 decho Creating incremental archive
25146 tar -cf archive
.2 -g db
.2 dir
25150 decho First restore
25151 tar -xf archive
.1 -g db
.1
25152 find directory |
sort
25154 decho Second restore
25155 tar -xf archive
.2 -g db
.2
25157 ) ) >"$at_stdout" 2>"$at_stderr"
25161 echo >>"$at_stderr"; $as_echo "Creating directory structure
25162 Creating initial archive
25164 Creating incremental archive
25168 $at_diff - "$at_stderr" || at_failed
=:
25169 echo >>"$at_stdout"; $as_echo "Creating directory structure
25170 Creating initial archive
25172 Creating incremental archive
25181 $at_diff - "$at_stdout" || at_failed
=:
25182 at_func_check_status
0 $at_status "$at_srcdir/rename04.at:30"
25184 $at_failed && at_func_log_failure
25188 $as_echo "$at_srcdir/rename04.at:30:
25191 TEST_TAR_FORMAT=oldgnu
25192 export TEST_TAR_FORMAT
25193 TAR_OPTIONS=\"-H oldgnu\"
25198 test -z "`sort < /dev/null 2>&1`" || exit 77
25201 decho Creating directory structure
25203 mkdir directory/subdir
25204 genfile --file=directory/file
25206 decho Creating initial archive
25207 tar -cf archive.1 -g db.1 directory
25212 decho Creating incremental archive
25214 tar -cf archive.2 -g db.2 dir
25218 decho First restore
25219 tar -xf archive.1 -g db.1
25220 find directory | sort
25222 decho Second restore
25223 tar -xf archive.2 -g db.2
25226 echo rename04.
at:30 >"$at_check_line_file"
25228 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25233 TEST_TAR_FORMAT
=oldgnu
25234 export TEST_TAR_FORMAT
25235 TAR_OPTIONS
="-H oldgnu"
25240 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25243 decho Creating directory structure
25245 mkdir directory
/subdir
25246 genfile
--file=directory
/file
25248 decho Creating initial archive
25249 tar -cf archive
.1 -g db
.1 directory
25254 decho Creating incremental archive
25256 tar -cf archive
.2 -g db
.2 dir
25260 decho First restore
25261 tar -xf archive
.1 -g db
.1
25262 find directory |
sort
25264 decho Second restore
25265 tar -xf archive
.2 -g db
.2
25267 ) ) >"$at_stdout" 2>"$at_stder1"
25268 at_func_filter_trace $?
25273 TEST_TAR_FORMAT
=oldgnu
25274 export TEST_TAR_FORMAT
25275 TAR_OPTIONS
="-H oldgnu"
25280 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25283 decho Creating directory structure
25285 mkdir directory
/subdir
25286 genfile
--file=directory
/file
25288 decho Creating initial archive
25289 tar -cf archive
.1 -g db
.1 directory
25294 decho Creating incremental archive
25296 tar -cf archive
.2 -g db
.2 dir
25300 decho First restore
25301 tar -xf archive
.1 -g db
.1
25302 find directory |
sort
25304 decho Second restore
25305 tar -xf archive
.2 -g db
.2
25307 ) ) >"$at_stdout" 2>"$at_stderr"
25311 echo >>"$at_stderr"; $as_echo "Creating directory structure
25312 Creating initial archive
25314 Creating incremental archive
25318 $at_diff - "$at_stderr" || at_failed
=:
25319 echo >>"$at_stdout"; $as_echo "Creating directory structure
25320 Creating initial archive
25322 Creating incremental archive
25331 $at_diff - "$at_stdout" || at_failed
=:
25332 at_func_check_status
0 $at_status "$at_srcdir/rename04.at:30"
25334 $at_failed && at_func_log_failure
25338 $as_echo "$at_srcdir/rename04.at:30:
25341 TEST_TAR_FORMAT=posix
25342 export TEST_TAR_FORMAT
25343 TAR_OPTIONS=\"-H posix\"
25348 test -z "`sort < /dev/null 2>&1`" || exit 77
25351 decho Creating directory structure
25353 mkdir directory/subdir
25354 genfile --file=directory/file
25356 decho Creating initial archive
25357 tar -cf archive.1 -g db.1 directory
25362 decho Creating incremental archive
25364 tar -cf archive.2 -g db.2 dir
25368 decho First restore
25369 tar -xf archive.1 -g db.1
25370 find directory | sort
25372 decho Second restore
25373 tar -xf archive.2 -g db.2
25376 echo rename04.
at:30 >"$at_check_line_file"
25378 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25383 TEST_TAR_FORMAT
=posix
25384 export TEST_TAR_FORMAT
25385 TAR_OPTIONS
="-H posix"
25390 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25393 decho Creating directory structure
25395 mkdir directory
/subdir
25396 genfile
--file=directory
/file
25398 decho Creating initial archive
25399 tar -cf archive
.1 -g db
.1 directory
25404 decho Creating incremental archive
25406 tar -cf archive
.2 -g db
.2 dir
25410 decho First restore
25411 tar -xf archive
.1 -g db
.1
25412 find directory |
sort
25414 decho Second restore
25415 tar -xf archive
.2 -g db
.2
25417 ) ) >"$at_stdout" 2>"$at_stder1"
25418 at_func_filter_trace $?
25423 TEST_TAR_FORMAT
=posix
25424 export TEST_TAR_FORMAT
25425 TAR_OPTIONS
="-H posix"
25430 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25433 decho Creating directory structure
25435 mkdir directory
/subdir
25436 genfile
--file=directory
/file
25438 decho Creating initial archive
25439 tar -cf archive
.1 -g db
.1 directory
25444 decho Creating incremental archive
25446 tar -cf archive
.2 -g db
.2 dir
25450 decho First restore
25451 tar -xf archive
.1 -g db
.1
25452 find directory |
sort
25454 decho Second restore
25455 tar -xf archive
.2 -g db
.2
25457 ) ) >"$at_stdout" 2>"$at_stderr"
25461 echo >>"$at_stderr"; $as_echo "Creating directory structure
25462 Creating initial archive
25464 Creating incremental archive
25468 $at_diff - "$at_stderr" || at_failed
=:
25469 echo >>"$at_stdout"; $as_echo "Creating directory structure
25470 Creating initial archive
25472 Creating incremental archive
25481 $at_diff - "$at_stdout" || at_failed
=:
25482 at_func_check_status
0 $at_status "$at_srcdir/rename04.at:30"
25484 $at_failed && at_func_log_failure
25491 $at_times_p && times >"$at_times_file"
25492 ) 5>&1 2>&1 |
eval $at_tee_pipe
25493 at_status
=`cat "$at_status_file"`
25496 # 68. rename05.at:24: renamed subdirectories
25497 at_setup_line
='rename05.at:24'
25498 at_desc
="renamed subdirectories"
25499 $at_quiet $as_echo_n " 68: $at_desc "
25501 test -f $XFAILFILE && at_xfail
=yes
25502 echo "# -*- compilation -*-" >> "$at_group_log"
25504 $as_echo "68. rename05.at:24: testing ..."
25512 $as_echo "$at_srcdir/rename05.at:27:
25515 TEST_TAR_FORMAT=gnu
25516 export TEST_TAR_FORMAT
25517 TAR_OPTIONS=\"-H gnu\"
25522 test -z "`sort < /dev/null 2>&1`" || exit 77
25525 decho Creating directory structure
25527 mkdir directory/subdir
25528 genfile --file=directory/file
25530 decho Creating initial archive
25531 tar -cf archive.1 -g db.1 directory
25534 mv directory/subdir directory/subdir.0
25537 decho Creating incremental archive
25539 tar -cf archive.2 -g db.2 dir
25543 decho First restore
25544 tar -xf archive.1 -g db.1 --warning=no-timestamp
25545 find directory | sort
25547 decho Second restore
25548 tar -xf archive.2 -g db.2 --warning=no-timestamp
25551 echo rename05.
at:27 >"$at_check_line_file"
25553 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25558 TEST_TAR_FORMAT
=gnu
25559 export TEST_TAR_FORMAT
25560 TAR_OPTIONS
="-H gnu"
25565 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25568 decho Creating directory structure
25570 mkdir directory
/subdir
25571 genfile
--file=directory
/file
25573 decho Creating initial archive
25574 tar -cf archive
.1 -g db
.1 directory
25577 mv directory
/subdir directory
/subdir
.0
25580 decho Creating incremental archive
25582 tar -cf archive
.2 -g db
.2 dir
25586 decho First restore
25587 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25588 find directory |
sort
25590 decho Second restore
25591 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25593 ) ) >"$at_stdout" 2>"$at_stder1"
25594 at_func_filter_trace $?
25599 TEST_TAR_FORMAT
=gnu
25600 export TEST_TAR_FORMAT
25601 TAR_OPTIONS
="-H gnu"
25606 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25609 decho Creating directory structure
25611 mkdir directory
/subdir
25612 genfile
--file=directory
/file
25614 decho Creating initial archive
25615 tar -cf archive
.1 -g db
.1 directory
25618 mv directory
/subdir directory
/subdir
.0
25621 decho Creating incremental archive
25623 tar -cf archive
.2 -g db
.2 dir
25627 decho First restore
25628 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25629 find directory |
sort
25631 decho Second restore
25632 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25634 ) ) >"$at_stdout" 2>"$at_stderr"
25638 echo >>"$at_stderr"; $as_echo "Creating directory structure
25639 Creating initial archive
25641 Creating incremental archive
25645 $at_diff - "$at_stderr" || at_failed
=:
25646 echo >>"$at_stdout"; $as_echo "Creating directory structure
25647 Creating initial archive
25649 Creating incremental archive
25658 $at_diff - "$at_stdout" || at_failed
=:
25659 at_func_check_status
0 $at_status "$at_srcdir/rename05.at:27"
25661 $at_failed && at_func_log_failure
25665 $as_echo "$at_srcdir/rename05.at:27:
25668 TEST_TAR_FORMAT=oldgnu
25669 export TEST_TAR_FORMAT
25670 TAR_OPTIONS=\"-H oldgnu\"
25675 test -z "`sort < /dev/null 2>&1`" || exit 77
25678 decho Creating directory structure
25680 mkdir directory/subdir
25681 genfile --file=directory/file
25683 decho Creating initial archive
25684 tar -cf archive.1 -g db.1 directory
25687 mv directory/subdir directory/subdir.0
25690 decho Creating incremental archive
25692 tar -cf archive.2 -g db.2 dir
25696 decho First restore
25697 tar -xf archive.1 -g db.1 --warning=no-timestamp
25698 find directory | sort
25700 decho Second restore
25701 tar -xf archive.2 -g db.2 --warning=no-timestamp
25704 echo rename05.
at:27 >"$at_check_line_file"
25706 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25711 TEST_TAR_FORMAT
=oldgnu
25712 export TEST_TAR_FORMAT
25713 TAR_OPTIONS
="-H oldgnu"
25718 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25721 decho Creating directory structure
25723 mkdir directory
/subdir
25724 genfile
--file=directory
/file
25726 decho Creating initial archive
25727 tar -cf archive
.1 -g db
.1 directory
25730 mv directory
/subdir directory
/subdir
.0
25733 decho Creating incremental archive
25735 tar -cf archive
.2 -g db
.2 dir
25739 decho First restore
25740 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25741 find directory |
sort
25743 decho Second restore
25744 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25746 ) ) >"$at_stdout" 2>"$at_stder1"
25747 at_func_filter_trace $?
25752 TEST_TAR_FORMAT
=oldgnu
25753 export TEST_TAR_FORMAT
25754 TAR_OPTIONS
="-H oldgnu"
25759 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25762 decho Creating directory structure
25764 mkdir directory
/subdir
25765 genfile
--file=directory
/file
25767 decho Creating initial archive
25768 tar -cf archive
.1 -g db
.1 directory
25771 mv directory
/subdir directory
/subdir
.0
25774 decho Creating incremental archive
25776 tar -cf archive
.2 -g db
.2 dir
25780 decho First restore
25781 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25782 find directory |
sort
25784 decho Second restore
25785 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25787 ) ) >"$at_stdout" 2>"$at_stderr"
25791 echo >>"$at_stderr"; $as_echo "Creating directory structure
25792 Creating initial archive
25794 Creating incremental archive
25798 $at_diff - "$at_stderr" || at_failed
=:
25799 echo >>"$at_stdout"; $as_echo "Creating directory structure
25800 Creating initial archive
25802 Creating incremental archive
25811 $at_diff - "$at_stdout" || at_failed
=:
25812 at_func_check_status
0 $at_status "$at_srcdir/rename05.at:27"
25814 $at_failed && at_func_log_failure
25818 $as_echo "$at_srcdir/rename05.at:27:
25821 TEST_TAR_FORMAT=posix
25822 export TEST_TAR_FORMAT
25823 TAR_OPTIONS=\"-H posix\"
25828 test -z "`sort < /dev/null 2>&1`" || exit 77
25831 decho Creating directory structure
25833 mkdir directory/subdir
25834 genfile --file=directory/file
25836 decho Creating initial archive
25837 tar -cf archive.1 -g db.1 directory
25840 mv directory/subdir directory/subdir.0
25843 decho Creating incremental archive
25845 tar -cf archive.2 -g db.2 dir
25849 decho First restore
25850 tar -xf archive.1 -g db.1 --warning=no-timestamp
25851 find directory | sort
25853 decho Second restore
25854 tar -xf archive.2 -g db.2 --warning=no-timestamp
25857 echo rename05.
at:27 >"$at_check_line_file"
25859 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25864 TEST_TAR_FORMAT
=posix
25865 export TEST_TAR_FORMAT
25866 TAR_OPTIONS
="-H posix"
25871 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25874 decho Creating directory structure
25876 mkdir directory
/subdir
25877 genfile
--file=directory
/file
25879 decho Creating initial archive
25880 tar -cf archive
.1 -g db
.1 directory
25883 mv directory
/subdir directory
/subdir
.0
25886 decho Creating incremental archive
25888 tar -cf archive
.2 -g db
.2 dir
25892 decho First restore
25893 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25894 find directory |
sort
25896 decho Second restore
25897 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25899 ) ) >"$at_stdout" 2>"$at_stder1"
25900 at_func_filter_trace $?
25905 TEST_TAR_FORMAT
=posix
25906 export TEST_TAR_FORMAT
25907 TAR_OPTIONS
="-H posix"
25912 test -z "`sort < /dev/null 2>&1`" ||
exit 77
25915 decho Creating directory structure
25917 mkdir directory
/subdir
25918 genfile
--file=directory
/file
25920 decho Creating initial archive
25921 tar -cf archive
.1 -g db
.1 directory
25924 mv directory
/subdir directory
/subdir
.0
25927 decho Creating incremental archive
25929 tar -cf archive
.2 -g db
.2 dir
25933 decho First restore
25934 tar -xf archive
.1 -g db
.1 --warning=no-timestamp
25935 find directory |
sort
25937 decho Second restore
25938 tar -xf archive
.2 -g db
.2 --warning=no-timestamp
25940 ) ) >"$at_stdout" 2>"$at_stderr"
25944 echo >>"$at_stderr"; $as_echo "Creating directory structure
25945 Creating initial archive
25947 Creating incremental archive
25951 $at_diff - "$at_stderr" || at_failed
=:
25952 echo >>"$at_stdout"; $as_echo "Creating directory structure
25953 Creating initial archive
25955 Creating incremental archive
25964 $at_diff - "$at_stdout" || at_failed
=:
25965 at_func_check_status
0 $at_status "$at_srcdir/rename05.at:27"
25967 $at_failed && at_func_log_failure
25974 $at_times_p && times >"$at_times_file"
25975 ) 5>&1 2>&1 |
eval $at_tee_pipe
25976 at_status
=`cat "$at_status_file"`
25979 # 69. chtype.at:27: changed file types in incrementals
25980 at_setup_line
='chtype.at:27'
25981 at_desc
="changed file types in incrementals"
25982 $at_quiet $as_echo_n " 69: $at_desc "
25984 test -f $XFAILFILE && at_xfail
=yes
25985 echo "# -*- compilation -*-" >> "$at_group_log"
25987 $as_echo "69. chtype.at:27: testing ..."
25995 $as_echo "$at_srcdir/chtype.at:30:
25998 TEST_TAR_FORMAT=gnu
25999 export TEST_TAR_FORMAT
26000 TAR_OPTIONS=\"-H gnu\"
26005 test -z "`sort < /dev/null 2>&1`" || exit 77
26008 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
26010 genfile --file directory/a/a
26013 tar --create --file=archive.1 --listed-incremental=db.1 directory
26017 # Remove directory b and create a file with this name.
26018 # Previous versions were not able to restore over this file.
26020 genfile --file directory/b
26021 genfile --file directory/a/b
26024 tar --create --file=archive.2 --listed-incremental=db.2 directory
26029 echo Restore archive.1
26030 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
26031 echo Restore archive.2
26032 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
26033 find directory | sort
26035 echo chtype.
at:30 >"$at_check_line_file"
26037 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26042 TEST_TAR_FORMAT
=gnu
26043 export TEST_TAR_FORMAT
26044 TAR_OPTIONS
="-H gnu"
26049 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26052 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26054 genfile
--file directory
/a
/a
26057 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26061 # Remove directory b and create a file with this name.
26062 # Previous versions were not able to restore over this file.
26064 genfile
--file directory
/b
26065 genfile
--file directory
/a
/b
26068 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26073 echo Restore archive
.1
26074 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26075 echo Restore archive
.2
26076 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26077 find directory |
sort
26078 ) ) >"$at_stdout" 2>"$at_stder1"
26079 at_func_filter_trace $?
26084 TEST_TAR_FORMAT
=gnu
26085 export TEST_TAR_FORMAT
26086 TAR_OPTIONS
="-H gnu"
26091 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26094 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26096 genfile
--file directory
/a
/a
26099 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26103 # Remove directory b and create a file with this name.
26104 # Previous versions were not able to restore over this file.
26106 genfile
--file directory
/b
26107 genfile
--file directory
/a
/b
26110 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26115 echo Restore archive
.1
26116 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26117 echo Restore archive
.2
26118 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26119 find directory |
sort
26120 ) ) >"$at_stdout" 2>"$at_stderr"
26124 at_func_diff_devnull
"$at_stderr" || at_failed
=:
26125 echo >>"$at_stdout"; $as_echo "First backup
26135 $at_diff - "$at_stdout" || at_failed
=:
26136 at_func_check_status
0 $at_status "$at_srcdir/chtype.at:30"
26138 $at_failed && at_func_log_failure
26142 $as_echo "$at_srcdir/chtype.at:30:
26145 TEST_TAR_FORMAT=oldgnu
26146 export TEST_TAR_FORMAT
26147 TAR_OPTIONS=\"-H oldgnu\"
26152 test -z "`sort < /dev/null 2>&1`" || exit 77
26155 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
26157 genfile --file directory/a/a
26160 tar --create --file=archive.1 --listed-incremental=db.1 directory
26164 # Remove directory b and create a file with this name.
26165 # Previous versions were not able to restore over this file.
26167 genfile --file directory/b
26168 genfile --file directory/a/b
26171 tar --create --file=archive.2 --listed-incremental=db.2 directory
26176 echo Restore archive.1
26177 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
26178 echo Restore archive.2
26179 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
26180 find directory | sort
26182 echo chtype.
at:30 >"$at_check_line_file"
26184 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26189 TEST_TAR_FORMAT
=oldgnu
26190 export TEST_TAR_FORMAT
26191 TAR_OPTIONS
="-H oldgnu"
26196 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26199 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26201 genfile
--file directory
/a
/a
26204 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26208 # Remove directory b and create a file with this name.
26209 # Previous versions were not able to restore over this file.
26211 genfile
--file directory
/b
26212 genfile
--file directory
/a
/b
26215 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26220 echo Restore archive
.1
26221 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26222 echo Restore archive
.2
26223 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26224 find directory |
sort
26225 ) ) >"$at_stdout" 2>"$at_stder1"
26226 at_func_filter_trace $?
26231 TEST_TAR_FORMAT
=oldgnu
26232 export TEST_TAR_FORMAT
26233 TAR_OPTIONS
="-H oldgnu"
26238 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26241 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26243 genfile
--file directory
/a
/a
26246 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26250 # Remove directory b and create a file with this name.
26251 # Previous versions were not able to restore over this file.
26253 genfile
--file directory
/b
26254 genfile
--file directory
/a
/b
26257 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26262 echo Restore archive
.1
26263 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26264 echo Restore archive
.2
26265 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26266 find directory |
sort
26267 ) ) >"$at_stdout" 2>"$at_stderr"
26271 at_func_diff_devnull
"$at_stderr" || at_failed
=:
26272 echo >>"$at_stdout"; $as_echo "First backup
26282 $at_diff - "$at_stdout" || at_failed
=:
26283 at_func_check_status
0 $at_status "$at_srcdir/chtype.at:30"
26285 $at_failed && at_func_log_failure
26289 $as_echo "$at_srcdir/chtype.at:30:
26292 TEST_TAR_FORMAT=posix
26293 export TEST_TAR_FORMAT
26294 TAR_OPTIONS=\"-H posix\"
26299 test -z "`sort < /dev/null 2>&1`" || exit 77
26302 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
26304 genfile --file directory/a/a
26307 tar --create --file=archive.1 --listed-incremental=db.1 directory
26311 # Remove directory b and create a file with this name.
26312 # Previous versions were not able to restore over this file.
26314 genfile --file directory/b
26315 genfile --file directory/a/b
26318 tar --create --file=archive.2 --listed-incremental=db.2 directory
26323 echo Restore archive.1
26324 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
26325 echo Restore archive.2
26326 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
26327 find directory | sort
26329 echo chtype.
at:30 >"$at_check_line_file"
26331 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26336 TEST_TAR_FORMAT
=posix
26337 export TEST_TAR_FORMAT
26338 TAR_OPTIONS
="-H posix"
26343 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26346 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26348 genfile
--file directory
/a
/a
26351 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26355 # Remove directory b and create a file with this name.
26356 # Previous versions were not able to restore over this file.
26358 genfile
--file directory
/b
26359 genfile
--file directory
/a
/b
26362 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26367 echo Restore archive
.1
26368 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26369 echo Restore archive
.2
26370 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26371 find directory |
sort
26372 ) ) >"$at_stdout" 2>"$at_stder1"
26373 at_func_filter_trace $?
26378 TEST_TAR_FORMAT
=posix
26379 export TEST_TAR_FORMAT
26380 TAR_OPTIONS
="-H posix"
26385 test -z "`sort < /dev/null 2>&1`" ||
exit 77
26388 install-sh
-d directory
/b
/c
>/dev
/null
&& genfile
--file directory
/b
/c
/x ||
exit 77
26390 genfile
--file directory
/a
/a
26393 tar --create --file=archive
.1 --listed-incremental=db
.1 directory
26397 # Remove directory b and create a file with this name.
26398 # Previous versions were not able to restore over this file.
26400 genfile
--file directory
/b
26401 genfile
--file directory
/a
/b
26404 tar --create --file=archive
.2 --listed-incremental=db
.2 directory
26409 echo Restore archive
.1
26410 tar -xf archive
.1 --listed-incremental=/dev
/null
--warning=no-timestamp
26411 echo Restore archive
.2
26412 tar -xf archive
.2 --listed-incremental=/dev
/null
--warning=no-timestamp
26413 find directory |
sort
26414 ) ) >"$at_stdout" 2>"$at_stderr"
26418 at_func_diff_devnull
"$at_stderr" || at_failed
=:
26419 echo >>"$at_stdout"; $as_echo "First backup
26429 $at_diff - "$at_stdout" || at_failed
=:
26430 at_func_check_status
0 $at_status "$at_srcdir/chtype.at:30"
26432 $at_failed && at_func_log_failure
26439 $at_times_p && times >"$at_times_file"
26440 ) 5>&1 2>&1 |
eval $at_tee_pipe
26441 at_status
=`cat "$at_status_file"`
26444 # 70. ignfail.at:23: ignfail
26445 at_setup_line
='ignfail.at:23'
26447 $at_quiet $as_echo_n " 70: $at_desc "
26449 test -f $XFAILFILE && at_xfail
=yes
26450 echo "# -*- compilation -*-" >> "$at_group_log"
26452 $as_echo "70. ignfail.at:23: testing ..."
26460 $as_echo "$at_srcdir/ignfail.at:26:
26464 export TEST_TAR_FORMAT
26465 TAR_OPTIONS=\"-H v7\"
26469 # The test is meaningless for super-user.
26473 cat $$ > /dev/null 2>&1
26476 test $result -eq 0 && exit 77
26481 touch directory/file
26485 tar cf archive file
26488 test \$status = 2 || exit 1
26492 tar cf archive --ignore-failed-read file || exit 1
26495 test \$status = 0 || exit 1
26498 chmod 000 directory
26499 tar cf archive directory
26501 chmod 700 directory
26502 test \$status = 2 || exit 1
26505 chmod 000 directory
26506 tar cf archive --ignore-failed-read directory || exit 1
26508 chmod 700 directory
26511 echo ignfail.
at:26 >"$at_check_line_file"
26513 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26519 export TEST_TAR_FORMAT
26520 TAR_OPTIONS
="-H v7"
26524 # The test is meaningless for super-user.
26528 cat $$
> /dev
/null
2>&1
26531 test $result -eq 0 && exit 77
26536 touch directory
/file
26540 tar cf archive
file
26543 test $status = 2 ||
exit 1
26547 tar cf archive
--ignore-failed-read file ||
exit 1
26550 test $status = 0 ||
exit 1
26553 chmod 000 directory
26554 tar cf archive directory
26556 chmod 700 directory
26557 test $status = 2 ||
exit 1
26560 chmod 000 directory
26561 tar cf archive
--ignore-failed-read directory ||
exit 1
26563 chmod 700 directory
26565 ) ) >"$at_stdout" 2>"$at_stder1"
26566 at_func_filter_trace $?
26572 export TEST_TAR_FORMAT
26573 TAR_OPTIONS
="-H v7"
26577 # The test is meaningless for super-user.
26581 cat $$
> /dev
/null
2>&1
26584 test $result -eq 0 && exit 77
26589 touch directory
/file
26593 tar cf archive
file
26596 test $status = 2 ||
exit 1
26600 tar cf archive
--ignore-failed-read file ||
exit 1
26603 test $status = 0 ||
exit 1
26606 chmod 000 directory
26607 tar cf archive directory
26609 chmod 700 directory
26610 test $status = 2 ||
exit 1
26613 chmod 000 directory
26614 tar cf archive
--ignore-failed-read directory ||
exit 1
26616 chmod 700 directory
26618 ) ) >"$at_stdout" 2>"$at_stderr"
26622 echo >>"$at_stderr"; $as_echo "-----
26623 tar: file: Cannot open: Permission denied
26624 tar: Exiting with failure status due to previous errors
26626 tar: file: Warning: Cannot open: Permission denied
26628 tar: directory: Cannot open: Permission denied
26629 tar: Exiting with failure status due to previous errors
26631 tar: directory: Warning: Cannot open: Permission denied
26633 $at_diff - "$at_stderr" || at_failed
=:
26634 at_func_diff_devnull
"$at_stdout" || at_failed
=:
26635 at_func_check_status
0 $at_status "$at_srcdir/ignfail.at:26"
26637 $at_failed && at_func_log_failure
26641 $as_echo "$at_srcdir/ignfail.at:26:
26644 TEST_TAR_FORMAT=oldgnu
26645 export TEST_TAR_FORMAT
26646 TAR_OPTIONS=\"-H oldgnu\"
26650 # The test is meaningless for super-user.
26654 cat $$ > /dev/null 2>&1
26657 test $result -eq 0 && exit 77
26662 touch directory/file
26666 tar cf archive file
26669 test \$status = 2 || exit 1
26673 tar cf archive --ignore-failed-read file || exit 1
26676 test \$status = 0 || exit 1
26679 chmod 000 directory
26680 tar cf archive directory
26682 chmod 700 directory
26683 test \$status = 2 || exit 1
26686 chmod 000 directory
26687 tar cf archive --ignore-failed-read directory || exit 1
26689 chmod 700 directory
26692 echo ignfail.
at:26 >"$at_check_line_file"
26694 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26699 TEST_TAR_FORMAT
=oldgnu
26700 export TEST_TAR_FORMAT
26701 TAR_OPTIONS
="-H oldgnu"
26705 # The test is meaningless for super-user.
26709 cat $$
> /dev
/null
2>&1
26712 test $result -eq 0 && exit 77
26717 touch directory
/file
26721 tar cf archive
file
26724 test $status = 2 ||
exit 1
26728 tar cf archive
--ignore-failed-read file ||
exit 1
26731 test $status = 0 ||
exit 1
26734 chmod 000 directory
26735 tar cf archive directory
26737 chmod 700 directory
26738 test $status = 2 ||
exit 1
26741 chmod 000 directory
26742 tar cf archive
--ignore-failed-read directory ||
exit 1
26744 chmod 700 directory
26746 ) ) >"$at_stdout" 2>"$at_stder1"
26747 at_func_filter_trace $?
26752 TEST_TAR_FORMAT
=oldgnu
26753 export TEST_TAR_FORMAT
26754 TAR_OPTIONS
="-H oldgnu"
26758 # The test is meaningless for super-user.
26762 cat $$
> /dev
/null
2>&1
26765 test $result -eq 0 && exit 77
26770 touch directory
/file
26774 tar cf archive
file
26777 test $status = 2 ||
exit 1
26781 tar cf archive
--ignore-failed-read file ||
exit 1
26784 test $status = 0 ||
exit 1
26787 chmod 000 directory
26788 tar cf archive directory
26790 chmod 700 directory
26791 test $status = 2 ||
exit 1
26794 chmod 000 directory
26795 tar cf archive
--ignore-failed-read directory ||
exit 1
26797 chmod 700 directory
26799 ) ) >"$at_stdout" 2>"$at_stderr"
26803 echo >>"$at_stderr"; $as_echo "-----
26804 tar: file: Cannot open: Permission denied
26805 tar: Exiting with failure status due to previous errors
26807 tar: file: Warning: Cannot open: Permission denied
26809 tar: directory: Cannot open: Permission denied
26810 tar: Exiting with failure status due to previous errors
26812 tar: directory: Warning: Cannot open: Permission denied
26814 $at_diff - "$at_stderr" || at_failed
=:
26815 at_func_diff_devnull
"$at_stdout" || at_failed
=:
26816 at_func_check_status
0 $at_status "$at_srcdir/ignfail.at:26"
26818 $at_failed && at_func_log_failure
26822 $as_echo "$at_srcdir/ignfail.at:26:
26825 TEST_TAR_FORMAT=ustar
26826 export TEST_TAR_FORMAT
26827 TAR_OPTIONS=\"-H ustar\"
26831 # The test is meaningless for super-user.
26835 cat $$ > /dev/null 2>&1
26838 test $result -eq 0 && exit 77
26843 touch directory/file
26847 tar cf archive file
26850 test \$status = 2 || exit 1
26854 tar cf archive --ignore-failed-read file || exit 1
26857 test \$status = 0 || exit 1
26860 chmod 000 directory
26861 tar cf archive directory
26863 chmod 700 directory
26864 test \$status = 2 || exit 1
26867 chmod 000 directory
26868 tar cf archive --ignore-failed-read directory || exit 1
26870 chmod 700 directory
26873 echo ignfail.
at:26 >"$at_check_line_file"
26875 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26880 TEST_TAR_FORMAT
=ustar
26881 export TEST_TAR_FORMAT
26882 TAR_OPTIONS
="-H ustar"
26886 # The test is meaningless for super-user.
26890 cat $$
> /dev
/null
2>&1
26893 test $result -eq 0 && exit 77
26898 touch directory
/file
26902 tar cf archive
file
26905 test $status = 2 ||
exit 1
26909 tar cf archive
--ignore-failed-read file ||
exit 1
26912 test $status = 0 ||
exit 1
26915 chmod 000 directory
26916 tar cf archive directory
26918 chmod 700 directory
26919 test $status = 2 ||
exit 1
26922 chmod 000 directory
26923 tar cf archive
--ignore-failed-read directory ||
exit 1
26925 chmod 700 directory
26927 ) ) >"$at_stdout" 2>"$at_stder1"
26928 at_func_filter_trace $?
26933 TEST_TAR_FORMAT
=ustar
26934 export TEST_TAR_FORMAT
26935 TAR_OPTIONS
="-H ustar"
26939 # The test is meaningless for super-user.
26943 cat $$
> /dev
/null
2>&1
26946 test $result -eq 0 && exit 77
26951 touch directory
/file
26955 tar cf archive
file
26958 test $status = 2 ||
exit 1
26962 tar cf archive
--ignore-failed-read file ||
exit 1
26965 test $status = 0 ||
exit 1
26968 chmod 000 directory
26969 tar cf archive directory
26971 chmod 700 directory
26972 test $status = 2 ||
exit 1
26975 chmod 000 directory
26976 tar cf archive
--ignore-failed-read directory ||
exit 1
26978 chmod 700 directory
26980 ) ) >"$at_stdout" 2>"$at_stderr"
26984 echo >>"$at_stderr"; $as_echo "-----
26985 tar: file: Cannot open: Permission denied
26986 tar: Exiting with failure status due to previous errors
26988 tar: file: Warning: Cannot open: Permission denied
26990 tar: directory: Cannot open: Permission denied
26991 tar: Exiting with failure status due to previous errors
26993 tar: directory: Warning: Cannot open: Permission denied
26995 $at_diff - "$at_stderr" || at_failed
=:
26996 at_func_diff_devnull
"$at_stdout" || at_failed
=:
26997 at_func_check_status
0 $at_status "$at_srcdir/ignfail.at:26"
26999 $at_failed && at_func_log_failure
27003 $as_echo "$at_srcdir/ignfail.at:26:
27006 TEST_TAR_FORMAT=posix
27007 export TEST_TAR_FORMAT
27008 TAR_OPTIONS=\"-H posix\"
27012 # The test is meaningless for super-user.
27016 cat $$ > /dev/null 2>&1
27019 test $result -eq 0 && exit 77
27024 touch directory/file
27028 tar cf archive file
27031 test \$status = 2 || exit 1
27035 tar cf archive --ignore-failed-read file || exit 1
27038 test \$status = 0 || exit 1
27041 chmod 000 directory
27042 tar cf archive directory
27044 chmod 700 directory
27045 test \$status = 2 || exit 1
27048 chmod 000 directory
27049 tar cf archive --ignore-failed-read directory || exit 1
27051 chmod 700 directory
27054 echo ignfail.
at:26 >"$at_check_line_file"
27056 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27061 TEST_TAR_FORMAT
=posix
27062 export TEST_TAR_FORMAT
27063 TAR_OPTIONS
="-H posix"
27067 # The test is meaningless for super-user.
27071 cat $$
> /dev
/null
2>&1
27074 test $result -eq 0 && exit 77
27079 touch directory
/file
27083 tar cf archive
file
27086 test $status = 2 ||
exit 1
27090 tar cf archive
--ignore-failed-read file ||
exit 1
27093 test $status = 0 ||
exit 1
27096 chmod 000 directory
27097 tar cf archive directory
27099 chmod 700 directory
27100 test $status = 2 ||
exit 1
27103 chmod 000 directory
27104 tar cf archive
--ignore-failed-read directory ||
exit 1
27106 chmod 700 directory
27108 ) ) >"$at_stdout" 2>"$at_stder1"
27109 at_func_filter_trace $?
27114 TEST_TAR_FORMAT
=posix
27115 export TEST_TAR_FORMAT
27116 TAR_OPTIONS
="-H posix"
27120 # The test is meaningless for super-user.
27124 cat $$
> /dev
/null
2>&1
27127 test $result -eq 0 && exit 77
27132 touch directory
/file
27136 tar cf archive
file
27139 test $status = 2 ||
exit 1
27143 tar cf archive
--ignore-failed-read file ||
exit 1
27146 test $status = 0 ||
exit 1
27149 chmod 000 directory
27150 tar cf archive directory
27152 chmod 700 directory
27153 test $status = 2 ||
exit 1
27156 chmod 000 directory
27157 tar cf archive
--ignore-failed-read directory ||
exit 1
27159 chmod 700 directory
27161 ) ) >"$at_stdout" 2>"$at_stderr"
27165 echo >>"$at_stderr"; $as_echo "-----
27166 tar: file: Cannot open: Permission denied
27167 tar: Exiting with failure status due to previous errors
27169 tar: file: Warning: Cannot open: Permission denied
27171 tar: directory: Cannot open: Permission denied
27172 tar: Exiting with failure status due to previous errors
27174 tar: directory: Warning: Cannot open: Permission denied
27176 $at_diff - "$at_stderr" || at_failed
=:
27177 at_func_diff_devnull
"$at_stdout" || at_failed
=:
27178 at_func_check_status
0 $at_status "$at_srcdir/ignfail.at:26"
27180 $at_failed && at_func_log_failure
27184 $as_echo "$at_srcdir/ignfail.at:26:
27187 TEST_TAR_FORMAT=gnu
27188 export TEST_TAR_FORMAT
27189 TAR_OPTIONS=\"-H gnu\"
27193 # The test is meaningless for super-user.
27197 cat $$ > /dev/null 2>&1
27200 test $result -eq 0 && exit 77
27205 touch directory/file
27209 tar cf archive file
27212 test \$status = 2 || exit 1
27216 tar cf archive --ignore-failed-read file || exit 1
27219 test \$status = 0 || exit 1
27222 chmod 000 directory
27223 tar cf archive directory
27225 chmod 700 directory
27226 test \$status = 2 || exit 1
27229 chmod 000 directory
27230 tar cf archive --ignore-failed-read directory || exit 1
27232 chmod 700 directory
27235 echo ignfail.
at:26 >"$at_check_line_file"
27237 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27242 TEST_TAR_FORMAT
=gnu
27243 export TEST_TAR_FORMAT
27244 TAR_OPTIONS
="-H gnu"
27248 # The test is meaningless for super-user.
27252 cat $$
> /dev
/null
2>&1
27255 test $result -eq 0 && exit 77
27260 touch directory
/file
27264 tar cf archive
file
27267 test $status = 2 ||
exit 1
27271 tar cf archive
--ignore-failed-read file ||
exit 1
27274 test $status = 0 ||
exit 1
27277 chmod 000 directory
27278 tar cf archive directory
27280 chmod 700 directory
27281 test $status = 2 ||
exit 1
27284 chmod 000 directory
27285 tar cf archive
--ignore-failed-read directory ||
exit 1
27287 chmod 700 directory
27289 ) ) >"$at_stdout" 2>"$at_stder1"
27290 at_func_filter_trace $?
27295 TEST_TAR_FORMAT
=gnu
27296 export TEST_TAR_FORMAT
27297 TAR_OPTIONS
="-H gnu"
27301 # The test is meaningless for super-user.
27305 cat $$
> /dev
/null
2>&1
27308 test $result -eq 0 && exit 77
27313 touch directory
/file
27317 tar cf archive
file
27320 test $status = 2 ||
exit 1
27324 tar cf archive
--ignore-failed-read file ||
exit 1
27327 test $status = 0 ||
exit 1
27330 chmod 000 directory
27331 tar cf archive directory
27333 chmod 700 directory
27334 test $status = 2 ||
exit 1
27337 chmod 000 directory
27338 tar cf archive
--ignore-failed-read directory ||
exit 1
27340 chmod 700 directory
27342 ) ) >"$at_stdout" 2>"$at_stderr"
27346 echo >>"$at_stderr"; $as_echo "-----
27347 tar: file: Cannot open: Permission denied
27348 tar: Exiting with failure status due to previous errors
27350 tar: file: Warning: Cannot open: Permission denied
27352 tar: directory: Cannot open: Permission denied
27353 tar: Exiting with failure status due to previous errors
27355 tar: directory: Warning: Cannot open: Permission denied
27357 $at_diff - "$at_stderr" || at_failed
=:
27358 at_func_diff_devnull
"$at_stdout" || at_failed
=:
27359 at_func_check_status
0 $at_status "$at_srcdir/ignfail.at:26"
27361 $at_failed && at_func_log_failure
27368 $at_times_p && times >"$at_times_file"
27369 ) 5>&1 2>&1 |
eval $at_tee_pipe
27370 at_status
=`cat "$at_status_file"`
27373 # 71. link01.at:33: link count gt 2
27374 at_setup_line
='link01.at:33'
27375 at_desc
="link count gt 2"
27376 $at_quiet $as_echo_n " 71: $at_desc "
27378 test -f $XFAILFILE && at_xfail
=yes
27379 echo "# -*- compilation -*-" >> "$at_group_log"
27381 $as_echo "71. link01.at:33: testing ..."
27389 $as_echo "$at_srcdir/link01.at:36:
27393 export TEST_TAR_FORMAT
27394 TAR_OPTIONS=\"-H v7\"
27399 mkdir directory/test1
27400 mkdir directory/test2
27402 echo TEST > directory/test1/test.txt
27403 ln directory/test1/test.txt directory/test2/test.txt || exit 77
27405 tar cf archive directory/test1/test.txt directory/test1/test.txt
27408 tar xf archive --warning=no-timestamp
27412 echo link01.
at:36 >"$at_check_line_file"
27414 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27420 export TEST_TAR_FORMAT
27421 TAR_OPTIONS
="-H v7"
27426 mkdir directory
/test1
27427 mkdir directory
/test2
27429 echo TEST
> directory
/test1/test.txt
27430 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27432 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27435 tar xf archive
--warning=no-timestamp
27438 ) ) >"$at_stdout" 2>"$at_stder1"
27439 at_func_filter_trace $?
27445 export TEST_TAR_FORMAT
27446 TAR_OPTIONS
="-H v7"
27451 mkdir directory
/test1
27452 mkdir directory
/test2
27454 echo TEST
> directory
/test1/test.txt
27455 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27457 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27460 tar xf archive
--warning=no-timestamp
27463 ) ) >"$at_stdout" 2>"$at_stderr"
27467 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27468 echo >>"$at_stdout"; $as_echo "test.txt
27470 $at_diff - "$at_stdout" || at_failed
=:
27471 at_func_check_status
0 $at_status "$at_srcdir/link01.at:36"
27473 $at_failed && at_func_log_failure
27477 $as_echo "$at_srcdir/link01.at:36:
27480 TEST_TAR_FORMAT=oldgnu
27481 export TEST_TAR_FORMAT
27482 TAR_OPTIONS=\"-H oldgnu\"
27487 mkdir directory/test1
27488 mkdir directory/test2
27490 echo TEST > directory/test1/test.txt
27491 ln directory/test1/test.txt directory/test2/test.txt || exit 77
27493 tar cf archive directory/test1/test.txt directory/test1/test.txt
27496 tar xf archive --warning=no-timestamp
27500 echo link01.
at:36 >"$at_check_line_file"
27502 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27507 TEST_TAR_FORMAT
=oldgnu
27508 export TEST_TAR_FORMAT
27509 TAR_OPTIONS
="-H oldgnu"
27514 mkdir directory
/test1
27515 mkdir directory
/test2
27517 echo TEST
> directory
/test1/test.txt
27518 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27520 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27523 tar xf archive
--warning=no-timestamp
27526 ) ) >"$at_stdout" 2>"$at_stder1"
27527 at_func_filter_trace $?
27532 TEST_TAR_FORMAT
=oldgnu
27533 export TEST_TAR_FORMAT
27534 TAR_OPTIONS
="-H oldgnu"
27539 mkdir directory
/test1
27540 mkdir directory
/test2
27542 echo TEST
> directory
/test1/test.txt
27543 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27545 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27548 tar xf archive
--warning=no-timestamp
27551 ) ) >"$at_stdout" 2>"$at_stderr"
27555 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27556 echo >>"$at_stdout"; $as_echo "test.txt
27558 $at_diff - "$at_stdout" || at_failed
=:
27559 at_func_check_status
0 $at_status "$at_srcdir/link01.at:36"
27561 $at_failed && at_func_log_failure
27565 $as_echo "$at_srcdir/link01.at:36:
27568 TEST_TAR_FORMAT=ustar
27569 export TEST_TAR_FORMAT
27570 TAR_OPTIONS=\"-H ustar\"
27575 mkdir directory/test1
27576 mkdir directory/test2
27578 echo TEST > directory/test1/test.txt
27579 ln directory/test1/test.txt directory/test2/test.txt || exit 77
27581 tar cf archive directory/test1/test.txt directory/test1/test.txt
27584 tar xf archive --warning=no-timestamp
27588 echo link01.
at:36 >"$at_check_line_file"
27590 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27595 TEST_TAR_FORMAT
=ustar
27596 export TEST_TAR_FORMAT
27597 TAR_OPTIONS
="-H ustar"
27602 mkdir directory
/test1
27603 mkdir directory
/test2
27605 echo TEST
> directory
/test1/test.txt
27606 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27608 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27611 tar xf archive
--warning=no-timestamp
27614 ) ) >"$at_stdout" 2>"$at_stder1"
27615 at_func_filter_trace $?
27620 TEST_TAR_FORMAT
=ustar
27621 export TEST_TAR_FORMAT
27622 TAR_OPTIONS
="-H ustar"
27627 mkdir directory
/test1
27628 mkdir directory
/test2
27630 echo TEST
> directory
/test1/test.txt
27631 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27633 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27636 tar xf archive
--warning=no-timestamp
27639 ) ) >"$at_stdout" 2>"$at_stderr"
27643 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27644 echo >>"$at_stdout"; $as_echo "test.txt
27646 $at_diff - "$at_stdout" || at_failed
=:
27647 at_func_check_status
0 $at_status "$at_srcdir/link01.at:36"
27649 $at_failed && at_func_log_failure
27653 $as_echo "$at_srcdir/link01.at:36:
27656 TEST_TAR_FORMAT=posix
27657 export TEST_TAR_FORMAT
27658 TAR_OPTIONS=\"-H posix\"
27663 mkdir directory/test1
27664 mkdir directory/test2
27666 echo TEST > directory/test1/test.txt
27667 ln directory/test1/test.txt directory/test2/test.txt || exit 77
27669 tar cf archive directory/test1/test.txt directory/test1/test.txt
27672 tar xf archive --warning=no-timestamp
27676 echo link01.
at:36 >"$at_check_line_file"
27678 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27683 TEST_TAR_FORMAT
=posix
27684 export TEST_TAR_FORMAT
27685 TAR_OPTIONS
="-H posix"
27690 mkdir directory
/test1
27691 mkdir directory
/test2
27693 echo TEST
> directory
/test1/test.txt
27694 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27696 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27699 tar xf archive
--warning=no-timestamp
27702 ) ) >"$at_stdout" 2>"$at_stder1"
27703 at_func_filter_trace $?
27708 TEST_TAR_FORMAT
=posix
27709 export TEST_TAR_FORMAT
27710 TAR_OPTIONS
="-H posix"
27715 mkdir directory
/test1
27716 mkdir directory
/test2
27718 echo TEST
> directory
/test1/test.txt
27719 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27721 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27724 tar xf archive
--warning=no-timestamp
27727 ) ) >"$at_stdout" 2>"$at_stderr"
27731 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27732 echo >>"$at_stdout"; $as_echo "test.txt
27734 $at_diff - "$at_stdout" || at_failed
=:
27735 at_func_check_status
0 $at_status "$at_srcdir/link01.at:36"
27737 $at_failed && at_func_log_failure
27741 $as_echo "$at_srcdir/link01.at:36:
27744 TEST_TAR_FORMAT=gnu
27745 export TEST_TAR_FORMAT
27746 TAR_OPTIONS=\"-H gnu\"
27751 mkdir directory/test1
27752 mkdir directory/test2
27754 echo TEST > directory/test1/test.txt
27755 ln directory/test1/test.txt directory/test2/test.txt || exit 77
27757 tar cf archive directory/test1/test.txt directory/test1/test.txt
27760 tar xf archive --warning=no-timestamp
27764 echo link01.
at:36 >"$at_check_line_file"
27766 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27771 TEST_TAR_FORMAT
=gnu
27772 export TEST_TAR_FORMAT
27773 TAR_OPTIONS
="-H gnu"
27778 mkdir directory
/test1
27779 mkdir directory
/test2
27781 echo TEST
> directory
/test1/test.txt
27782 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27784 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27787 tar xf archive
--warning=no-timestamp
27790 ) ) >"$at_stdout" 2>"$at_stder1"
27791 at_func_filter_trace $?
27796 TEST_TAR_FORMAT
=gnu
27797 export TEST_TAR_FORMAT
27798 TAR_OPTIONS
="-H gnu"
27803 mkdir directory
/test1
27804 mkdir directory
/test2
27806 echo TEST
> directory
/test1/test.txt
27807 ln directory
/test1/test.txt directory
/test2/test.txt ||
exit 77
27809 tar cf archive directory
/test1/test.txt directory
/test1/test.txt
27812 tar xf archive
--warning=no-timestamp
27815 ) ) >"$at_stdout" 2>"$at_stderr"
27819 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27820 echo >>"$at_stdout"; $as_echo "test.txt
27822 $at_diff - "$at_stdout" || at_failed
=:
27823 at_func_check_status
0 $at_status "$at_srcdir/link01.at:36"
27825 $at_failed && at_func_log_failure
27832 $at_times_p && times >"$at_times_file"
27833 ) 5>&1 2>&1 |
eval $at_tee_pipe
27834 at_status
=`cat "$at_status_file"`
27837 # 72. link02.at:32: preserve hard links with --remove-files
27838 at_setup_line
='link02.at:32'
27839 at_desc
="preserve hard links with --remove-files"
27840 $at_quiet $as_echo_n " 72: $at_desc "
27842 test -f $XFAILFILE && at_xfail
=yes
27843 echo "# -*- compilation -*-" >> "$at_group_log"
27845 $as_echo "72. link02.at:32: testing ..."
27853 $as_echo "$at_srcdir/link02.at:35:
27857 export TEST_TAR_FORMAT
27858 TAR_OPTIONS=\"-H v7\"
27862 genfile -l 64 -f file1
27866 tar -c -f archive --remove-files file1 file2 file3 file4
27867 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27869 echo link02.
at:35 >"$at_check_line_file"
27871 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27877 export TEST_TAR_FORMAT
27878 TAR_OPTIONS
="-H v7"
27882 genfile
-l 64 -f file1
27886 tar -c -f archive
--remove-files file1 file2 file3 file4
27887 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
27888 ) ) >"$at_stdout" 2>"$at_stder1"
27889 at_func_filter_trace $?
27895 export TEST_TAR_FORMAT
27896 TAR_OPTIONS
="-H v7"
27900 genfile
-l 64 -f file1
27904 tar -c -f archive
--remove-files file1 file2 file3 file4
27905 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
27906 ) ) >"$at_stdout" 2>"$at_stderr"
27910 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27911 echo >>"$at_stdout"; $as_echo "file1
27915 $at_diff - "$at_stdout" || at_failed
=:
27916 at_func_check_status
0 $at_status "$at_srcdir/link02.at:35"
27918 $at_failed && at_func_log_failure
27922 $as_echo "$at_srcdir/link02.at:35:
27925 TEST_TAR_FORMAT=oldgnu
27926 export TEST_TAR_FORMAT
27927 TAR_OPTIONS=\"-H oldgnu\"
27931 genfile -l 64 -f file1
27935 tar -c -f archive --remove-files file1 file2 file3 file4
27936 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27938 echo link02.
at:35 >"$at_check_line_file"
27940 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27945 TEST_TAR_FORMAT
=oldgnu
27946 export TEST_TAR_FORMAT
27947 TAR_OPTIONS
="-H oldgnu"
27951 genfile
-l 64 -f file1
27955 tar -c -f archive
--remove-files file1 file2 file3 file4
27956 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
27957 ) ) >"$at_stdout" 2>"$at_stder1"
27958 at_func_filter_trace $?
27963 TEST_TAR_FORMAT
=oldgnu
27964 export TEST_TAR_FORMAT
27965 TAR_OPTIONS
="-H oldgnu"
27969 genfile
-l 64 -f file1
27973 tar -c -f archive
--remove-files file1 file2 file3 file4
27974 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
27975 ) ) >"$at_stdout" 2>"$at_stderr"
27979 at_func_diff_devnull
"$at_stderr" || at_failed
=:
27980 echo >>"$at_stdout"; $as_echo "file1
27984 $at_diff - "$at_stdout" || at_failed
=:
27985 at_func_check_status
0 $at_status "$at_srcdir/link02.at:35"
27987 $at_failed && at_func_log_failure
27991 $as_echo "$at_srcdir/link02.at:35:
27994 TEST_TAR_FORMAT=ustar
27995 export TEST_TAR_FORMAT
27996 TAR_OPTIONS=\"-H ustar\"
28000 genfile -l 64 -f file1
28004 tar -c -f archive --remove-files file1 file2 file3 file4
28005 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
28007 echo link02.
at:35 >"$at_check_line_file"
28009 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28014 TEST_TAR_FORMAT
=ustar
28015 export TEST_TAR_FORMAT
28016 TAR_OPTIONS
="-H ustar"
28020 genfile
-l 64 -f file1
28024 tar -c -f archive
--remove-files file1 file2 file3 file4
28025 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28026 ) ) >"$at_stdout" 2>"$at_stder1"
28027 at_func_filter_trace $?
28032 TEST_TAR_FORMAT
=ustar
28033 export TEST_TAR_FORMAT
28034 TAR_OPTIONS
="-H ustar"
28038 genfile
-l 64 -f file1
28042 tar -c -f archive
--remove-files file1 file2 file3 file4
28043 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28044 ) ) >"$at_stdout" 2>"$at_stderr"
28048 at_func_diff_devnull
"$at_stderr" || at_failed
=:
28049 echo >>"$at_stdout"; $as_echo "file1
28053 $at_diff - "$at_stdout" || at_failed
=:
28054 at_func_check_status
0 $at_status "$at_srcdir/link02.at:35"
28056 $at_failed && at_func_log_failure
28060 $as_echo "$at_srcdir/link02.at:35:
28063 TEST_TAR_FORMAT=posix
28064 export TEST_TAR_FORMAT
28065 TAR_OPTIONS=\"-H posix\"
28069 genfile -l 64 -f file1
28073 tar -c -f archive --remove-files file1 file2 file3 file4
28074 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
28076 echo link02.
at:35 >"$at_check_line_file"
28078 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28083 TEST_TAR_FORMAT
=posix
28084 export TEST_TAR_FORMAT
28085 TAR_OPTIONS
="-H posix"
28089 genfile
-l 64 -f file1
28093 tar -c -f archive
--remove-files file1 file2 file3 file4
28094 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28095 ) ) >"$at_stdout" 2>"$at_stder1"
28096 at_func_filter_trace $?
28101 TEST_TAR_FORMAT
=posix
28102 export TEST_TAR_FORMAT
28103 TAR_OPTIONS
="-H posix"
28107 genfile
-l 64 -f file1
28111 tar -c -f archive
--remove-files file1 file2 file3 file4
28112 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28113 ) ) >"$at_stdout" 2>"$at_stderr"
28117 at_func_diff_devnull
"$at_stderr" || at_failed
=:
28118 echo >>"$at_stdout"; $as_echo "file1
28122 $at_diff - "$at_stdout" || at_failed
=:
28123 at_func_check_status
0 $at_status "$at_srcdir/link02.at:35"
28125 $at_failed && at_func_log_failure
28129 $as_echo "$at_srcdir/link02.at:35:
28132 TEST_TAR_FORMAT=gnu
28133 export TEST_TAR_FORMAT
28134 TAR_OPTIONS=\"-H gnu\"
28138 genfile -l 64 -f file1
28142 tar -c -f archive --remove-files file1 file2 file3 file4
28143 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
28145 echo link02.
at:35 >"$at_check_line_file"
28147 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28152 TEST_TAR_FORMAT
=gnu
28153 export TEST_TAR_FORMAT
28154 TAR_OPTIONS
="-H gnu"
28158 genfile
-l 64 -f file1
28162 tar -c -f archive
--remove-files file1 file2 file3 file4
28163 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28164 ) ) >"$at_stdout" 2>"$at_stder1"
28165 at_func_filter_trace $?
28170 TEST_TAR_FORMAT
=gnu
28171 export TEST_TAR_FORMAT
28172 TAR_OPTIONS
="-H gnu"
28176 genfile
-l 64 -f file1
28180 tar -c -f archive
--remove-files file1 file2 file3 file4
28181 tar tfv archive |
sed -n 's/.*file[2-4] link to //p'
28182 ) ) >"$at_stdout" 2>"$at_stderr"
28186 at_func_diff_devnull
"$at_stderr" || at_failed
=:
28187 echo >>"$at_stdout"; $as_echo "file1
28191 $at_diff - "$at_stdout" || at_failed
=:
28192 at_func_check_status
0 $at_status "$at_srcdir/link02.at:35"
28194 $at_failed && at_func_log_failure
28201 $at_times_p && times >"$at_times_file"
28202 ) 5>&1 2>&1 |
eval $at_tee_pipe
28203 at_status
=`cat "$at_status_file"`
28206 # 73. link03.at:24: working -l with --remove-files
28207 at_setup_line
='link03.at:24'
28208 at_desc
="working -l with --remove-files"
28209 $at_quiet $as_echo_n " 73: $at_desc "
28211 test -f $XFAILFILE && at_xfail
=yes
28212 echo "# -*- compilation -*-" >> "$at_group_log"
28214 $as_echo "73. link03.at:24: testing ..."
28224 $as_echo "$at_srcdir/link03.at:34:
28228 export TEST_TAR_FORMAT
28229 TAR_OPTIONS=\"-H v7\"
28234 genfile -l 64 -f file1
28240 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
28242 genfile -l 64 -f file1
28248 tar -c -f archive.2 -l --remove-files file1 file2 file3
28249 echo testing archive.2
28250 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
28252 echo link03.
at:34 >"$at_check_line_file"
28254 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28260 export TEST_TAR_FORMAT
28261 TAR_OPTIONS
="-H v7"
28266 genfile
-l 64 -f file1
28272 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28274 genfile
-l 64 -f file1
28280 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28281 echo testing archive
.2
28282 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28283 ) ) >"$at_stdout" 2>"$at_stder1"
28284 at_func_filter_trace $?
28290 export TEST_TAR_FORMAT
28291 TAR_OPTIONS
="-H v7"
28296 genfile
-l 64 -f file1
28302 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28304 genfile
-l 64 -f file1
28310 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28311 echo testing archive
.2
28312 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28313 ) ) >"$at_stdout" 2>"$at_stderr"
28317 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
28319 $at_diff - "$at_stderr" || at_failed
=:
28320 echo >>"$at_stdout"; $as_echo "archive.1
28326 $at_diff - "$at_stdout" || at_failed
=:
28327 at_func_check_status
0 $at_status "$at_srcdir/link03.at:34"
28329 $at_failed && at_func_log_failure
28333 $as_echo "$at_srcdir/link03.at:34:
28336 TEST_TAR_FORMAT=oldgnu
28337 export TEST_TAR_FORMAT
28338 TAR_OPTIONS=\"-H oldgnu\"
28343 genfile -l 64 -f file1
28349 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
28351 genfile -l 64 -f file1
28357 tar -c -f archive.2 -l --remove-files file1 file2 file3
28358 echo testing archive.2
28359 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
28361 echo link03.
at:34 >"$at_check_line_file"
28363 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28368 TEST_TAR_FORMAT
=oldgnu
28369 export TEST_TAR_FORMAT
28370 TAR_OPTIONS
="-H oldgnu"
28375 genfile
-l 64 -f file1
28381 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28383 genfile
-l 64 -f file1
28389 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28390 echo testing archive
.2
28391 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28392 ) ) >"$at_stdout" 2>"$at_stder1"
28393 at_func_filter_trace $?
28398 TEST_TAR_FORMAT
=oldgnu
28399 export TEST_TAR_FORMAT
28400 TAR_OPTIONS
="-H oldgnu"
28405 genfile
-l 64 -f file1
28411 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28413 genfile
-l 64 -f file1
28419 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28420 echo testing archive
.2
28421 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28422 ) ) >"$at_stdout" 2>"$at_stderr"
28426 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
28428 $at_diff - "$at_stderr" || at_failed
=:
28429 echo >>"$at_stdout"; $as_echo "archive.1
28435 $at_diff - "$at_stdout" || at_failed
=:
28436 at_func_check_status
0 $at_status "$at_srcdir/link03.at:34"
28438 $at_failed && at_func_log_failure
28442 $as_echo "$at_srcdir/link03.at:34:
28445 TEST_TAR_FORMAT=ustar
28446 export TEST_TAR_FORMAT
28447 TAR_OPTIONS=\"-H ustar\"
28452 genfile -l 64 -f file1
28458 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
28460 genfile -l 64 -f file1
28466 tar -c -f archive.2 -l --remove-files file1 file2 file3
28467 echo testing archive.2
28468 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
28470 echo link03.
at:34 >"$at_check_line_file"
28472 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28477 TEST_TAR_FORMAT
=ustar
28478 export TEST_TAR_FORMAT
28479 TAR_OPTIONS
="-H ustar"
28484 genfile
-l 64 -f file1
28490 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28492 genfile
-l 64 -f file1
28498 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28499 echo testing archive
.2
28500 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28501 ) ) >"$at_stdout" 2>"$at_stder1"
28502 at_func_filter_trace $?
28507 TEST_TAR_FORMAT
=ustar
28508 export TEST_TAR_FORMAT
28509 TAR_OPTIONS
="-H ustar"
28514 genfile
-l 64 -f file1
28520 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28522 genfile
-l 64 -f file1
28528 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28529 echo testing archive
.2
28530 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28531 ) ) >"$at_stdout" 2>"$at_stderr"
28535 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
28537 $at_diff - "$at_stderr" || at_failed
=:
28538 echo >>"$at_stdout"; $as_echo "archive.1
28544 $at_diff - "$at_stdout" || at_failed
=:
28545 at_func_check_status
0 $at_status "$at_srcdir/link03.at:34"
28547 $at_failed && at_func_log_failure
28551 $as_echo "$at_srcdir/link03.at:34:
28554 TEST_TAR_FORMAT=posix
28555 export TEST_TAR_FORMAT
28556 TAR_OPTIONS=\"-H posix\"
28561 genfile -l 64 -f file1
28567 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
28569 genfile -l 64 -f file1
28575 tar -c -f archive.2 -l --remove-files file1 file2 file3
28576 echo testing archive.2
28577 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
28579 echo link03.
at:34 >"$at_check_line_file"
28581 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28586 TEST_TAR_FORMAT
=posix
28587 export TEST_TAR_FORMAT
28588 TAR_OPTIONS
="-H posix"
28593 genfile
-l 64 -f file1
28599 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28601 genfile
-l 64 -f file1
28607 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28608 echo testing archive
.2
28609 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28610 ) ) >"$at_stdout" 2>"$at_stder1"
28611 at_func_filter_trace $?
28616 TEST_TAR_FORMAT
=posix
28617 export TEST_TAR_FORMAT
28618 TAR_OPTIONS
="-H posix"
28623 genfile
-l 64 -f file1
28629 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28631 genfile
-l 64 -f file1
28637 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28638 echo testing archive
.2
28639 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28640 ) ) >"$at_stdout" 2>"$at_stderr"
28644 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
28646 $at_diff - "$at_stderr" || at_failed
=:
28647 echo >>"$at_stdout"; $as_echo "archive.1
28653 $at_diff - "$at_stdout" || at_failed
=:
28654 at_func_check_status
0 $at_status "$at_srcdir/link03.at:34"
28656 $at_failed && at_func_log_failure
28660 $as_echo "$at_srcdir/link03.at:34:
28663 TEST_TAR_FORMAT=gnu
28664 export TEST_TAR_FORMAT
28665 TAR_OPTIONS=\"-H gnu\"
28670 genfile -l 64 -f file1
28676 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
28678 genfile -l 64 -f file1
28684 tar -c -f archive.2 -l --remove-files file1 file2 file3
28685 echo testing archive.2
28686 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
28688 echo link03.
at:34 >"$at_check_line_file"
28690 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28695 TEST_TAR_FORMAT
=gnu
28696 export TEST_TAR_FORMAT
28697 TAR_OPTIONS
="-H gnu"
28702 genfile
-l 64 -f file1
28708 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28710 genfile
-l 64 -f file1
28716 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28717 echo testing archive
.2
28718 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28719 ) ) >"$at_stdout" 2>"$at_stder1"
28720 at_func_filter_trace $?
28725 TEST_TAR_FORMAT
=gnu
28726 export TEST_TAR_FORMAT
28727 TAR_OPTIONS
="-H gnu"
28732 genfile
-l 64 -f file1
28738 tar -c -f archive
.1 -l --remove-files file1 file2 file3 file4
28740 genfile
-l 64 -f file1
28746 tar -c -f archive
.2 -l --remove-files file1 file2 file3
28747 echo testing archive
.2
28748 tar tfv archive
.2 |
sed -n 's/.*file[2-3] link to //p'
28749 ) ) >"$at_stdout" 2>"$at_stderr"
28753 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
28755 $at_diff - "$at_stderr" || at_failed
=:
28756 echo >>"$at_stdout"; $as_echo "archive.1
28762 $at_diff - "$at_stdout" || at_failed
=:
28763 at_func_check_status
0 $at_status "$at_srcdir/link03.at:34"
28765 $at_failed && at_func_log_failure
28772 $at_times_p && times >"$at_times_file"
28773 ) 5>&1 2>&1 |
eval $at_tee_pipe
28774 at_status
=`cat "$at_status_file"`
28777 # 74. link04.at:29: link count is 1 but multiple occurrences
28778 at_setup_line
='link04.at:29'
28779 at_desc
="link count is 1 but multiple occurrences"
28780 $at_quiet $as_echo_n " 74: $at_desc "
28782 test -f $XFAILFILE && at_xfail
=yes
28783 echo "# -*- compilation -*-" >> "$at_group_log"
28785 $as_echo "74. link04.at:29: testing ..."
28793 $as_echo "$at_srcdir/link04.at:32:
28797 export TEST_TAR_FORMAT
28798 TAR_OPTIONS=\"-H v7\"
28803 echo TEST > dir/file
28804 ln -s file dir/symlink || exit 77
28806 tar cf archive dir dir
28807 tar tvf archive | sed '
28808 s,.*[0-9] dir/,dir/,
28813 tar chf archive dir
28814 tar tvf archive | sed '
28815 s,.*[0-9] dir/,dir/,
28820 echo link04.
at:32 >"$at_check_line_file"
28822 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28828 export TEST_TAR_FORMAT
28829 TAR_OPTIONS
="-H v7"
28834 echo TEST
> dir
/file
28835 ln -s file dir
/symlink ||
exit 77
28837 tar cf archive dir dir
28838 tar tvf archive |
sed '
28839 s,.*[0-9] dir/,dir/,
28844 tar chf archive dir
28845 tar tvf archive |
sed '
28846 s,.*[0-9] dir/,dir/,
28850 ) ) >"$at_stdout" 2>"$at_stder1"
28851 at_func_filter_trace $?
28857 export TEST_TAR_FORMAT
28858 TAR_OPTIONS
="-H v7"
28863 echo TEST
> dir
/file
28864 ln -s file dir
/symlink ||
exit 77
28866 tar cf archive dir dir
28867 tar tvf archive |
sed '
28868 s,.*[0-9] dir/,dir/,
28873 tar chf archive dir
28874 tar tvf archive |
sed '
28875 s,.*[0-9] dir/,dir/,
28879 ) ) >"$at_stdout" 2>"$at_stderr"
28883 at_func_diff_devnull
"$at_stderr" || at_failed
=:
28884 echo >>"$at_stdout"; $as_echo "dir/
28887 dir/file link to dir/file
28888 dir/symlink -> file
28889 dir/symlink link to dir/symlink
28893 dir/FOO link to dir/FOO
28895 $at_diff - "$at_stdout" || at_failed
=:
28896 at_func_check_status
0 $at_status "$at_srcdir/link04.at:32"
28898 $at_failed && at_func_log_failure
28902 $as_echo "$at_srcdir/link04.at:32:
28905 TEST_TAR_FORMAT=oldgnu
28906 export TEST_TAR_FORMAT
28907 TAR_OPTIONS=\"-H oldgnu\"
28912 echo TEST > dir/file
28913 ln -s file dir/symlink || exit 77
28915 tar cf archive dir dir
28916 tar tvf archive | sed '
28917 s,.*[0-9] dir/,dir/,
28922 tar chf archive dir
28923 tar tvf archive | sed '
28924 s,.*[0-9] dir/,dir/,
28929 echo link04.
at:32 >"$at_check_line_file"
28931 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28936 TEST_TAR_FORMAT
=oldgnu
28937 export TEST_TAR_FORMAT
28938 TAR_OPTIONS
="-H oldgnu"
28943 echo TEST
> dir
/file
28944 ln -s file dir
/symlink ||
exit 77
28946 tar cf archive dir dir
28947 tar tvf archive |
sed '
28948 s,.*[0-9] dir/,dir/,
28953 tar chf archive dir
28954 tar tvf archive |
sed '
28955 s,.*[0-9] dir/,dir/,
28959 ) ) >"$at_stdout" 2>"$at_stder1"
28960 at_func_filter_trace $?
28965 TEST_TAR_FORMAT
=oldgnu
28966 export TEST_TAR_FORMAT
28967 TAR_OPTIONS
="-H oldgnu"
28972 echo TEST
> dir
/file
28973 ln -s file dir
/symlink ||
exit 77
28975 tar cf archive dir dir
28976 tar tvf archive |
sed '
28977 s,.*[0-9] dir/,dir/,
28982 tar chf archive dir
28983 tar tvf archive |
sed '
28984 s,.*[0-9] dir/,dir/,
28988 ) ) >"$at_stdout" 2>"$at_stderr"
28992 at_func_diff_devnull
"$at_stderr" || at_failed
=:
28993 echo >>"$at_stdout"; $as_echo "dir/
28996 dir/file link to dir/file
28997 dir/symlink -> file
28998 dir/symlink link to dir/symlink
29002 dir/FOO link to dir/FOO
29004 $at_diff - "$at_stdout" || at_failed
=:
29005 at_func_check_status
0 $at_status "$at_srcdir/link04.at:32"
29007 $at_failed && at_func_log_failure
29011 $as_echo "$at_srcdir/link04.at:32:
29014 TEST_TAR_FORMAT=ustar
29015 export TEST_TAR_FORMAT
29016 TAR_OPTIONS=\"-H ustar\"
29021 echo TEST > dir/file
29022 ln -s file dir/symlink || exit 77
29024 tar cf archive dir dir
29025 tar tvf archive | sed '
29026 s,.*[0-9] dir/,dir/,
29031 tar chf archive dir
29032 tar tvf archive | sed '
29033 s,.*[0-9] dir/,dir/,
29038 echo link04.
at:32 >"$at_check_line_file"
29040 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29045 TEST_TAR_FORMAT
=ustar
29046 export TEST_TAR_FORMAT
29047 TAR_OPTIONS
="-H ustar"
29052 echo TEST
> dir
/file
29053 ln -s file dir
/symlink ||
exit 77
29055 tar cf archive dir dir
29056 tar tvf archive |
sed '
29057 s,.*[0-9] dir/,dir/,
29062 tar chf archive dir
29063 tar tvf archive |
sed '
29064 s,.*[0-9] dir/,dir/,
29068 ) ) >"$at_stdout" 2>"$at_stder1"
29069 at_func_filter_trace $?
29074 TEST_TAR_FORMAT
=ustar
29075 export TEST_TAR_FORMAT
29076 TAR_OPTIONS
="-H ustar"
29081 echo TEST
> dir
/file
29082 ln -s file dir
/symlink ||
exit 77
29084 tar cf archive dir dir
29085 tar tvf archive |
sed '
29086 s,.*[0-9] dir/,dir/,
29091 tar chf archive dir
29092 tar tvf archive |
sed '
29093 s,.*[0-9] dir/,dir/,
29097 ) ) >"$at_stdout" 2>"$at_stderr"
29101 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29102 echo >>"$at_stdout"; $as_echo "dir/
29105 dir/file link to dir/file
29106 dir/symlink -> file
29107 dir/symlink link to dir/symlink
29111 dir/FOO link to dir/FOO
29113 $at_diff - "$at_stdout" || at_failed
=:
29114 at_func_check_status
0 $at_status "$at_srcdir/link04.at:32"
29116 $at_failed && at_func_log_failure
29120 $as_echo "$at_srcdir/link04.at:32:
29123 TEST_TAR_FORMAT=posix
29124 export TEST_TAR_FORMAT
29125 TAR_OPTIONS=\"-H posix\"
29130 echo TEST > dir/file
29131 ln -s file dir/symlink || exit 77
29133 tar cf archive dir dir
29134 tar tvf archive | sed '
29135 s,.*[0-9] dir/,dir/,
29140 tar chf archive dir
29141 tar tvf archive | sed '
29142 s,.*[0-9] dir/,dir/,
29147 echo link04.
at:32 >"$at_check_line_file"
29149 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29154 TEST_TAR_FORMAT
=posix
29155 export TEST_TAR_FORMAT
29156 TAR_OPTIONS
="-H posix"
29161 echo TEST
> dir
/file
29162 ln -s file dir
/symlink ||
exit 77
29164 tar cf archive dir dir
29165 tar tvf archive |
sed '
29166 s,.*[0-9] dir/,dir/,
29171 tar chf archive dir
29172 tar tvf archive |
sed '
29173 s,.*[0-9] dir/,dir/,
29177 ) ) >"$at_stdout" 2>"$at_stder1"
29178 at_func_filter_trace $?
29183 TEST_TAR_FORMAT
=posix
29184 export TEST_TAR_FORMAT
29185 TAR_OPTIONS
="-H posix"
29190 echo TEST
> dir
/file
29191 ln -s file dir
/symlink ||
exit 77
29193 tar cf archive dir dir
29194 tar tvf archive |
sed '
29195 s,.*[0-9] dir/,dir/,
29200 tar chf archive dir
29201 tar tvf archive |
sed '
29202 s,.*[0-9] dir/,dir/,
29206 ) ) >"$at_stdout" 2>"$at_stderr"
29210 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29211 echo >>"$at_stdout"; $as_echo "dir/
29214 dir/file link to dir/file
29215 dir/symlink -> file
29216 dir/symlink link to dir/symlink
29220 dir/FOO link to dir/FOO
29222 $at_diff - "$at_stdout" || at_failed
=:
29223 at_func_check_status
0 $at_status "$at_srcdir/link04.at:32"
29225 $at_failed && at_func_log_failure
29229 $as_echo "$at_srcdir/link04.at:32:
29232 TEST_TAR_FORMAT=gnu
29233 export TEST_TAR_FORMAT
29234 TAR_OPTIONS=\"-H gnu\"
29239 echo TEST > dir/file
29240 ln -s file dir/symlink || exit 77
29242 tar cf archive dir dir
29243 tar tvf archive | sed '
29244 s,.*[0-9] dir/,dir/,
29249 tar chf archive dir
29250 tar tvf archive | sed '
29251 s,.*[0-9] dir/,dir/,
29256 echo link04.
at:32 >"$at_check_line_file"
29258 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29263 TEST_TAR_FORMAT
=gnu
29264 export TEST_TAR_FORMAT
29265 TAR_OPTIONS
="-H gnu"
29270 echo TEST
> dir
/file
29271 ln -s file dir
/symlink ||
exit 77
29273 tar cf archive dir dir
29274 tar tvf archive |
sed '
29275 s,.*[0-9] dir/,dir/,
29280 tar chf archive dir
29281 tar tvf archive |
sed '
29282 s,.*[0-9] dir/,dir/,
29286 ) ) >"$at_stdout" 2>"$at_stder1"
29287 at_func_filter_trace $?
29292 TEST_TAR_FORMAT
=gnu
29293 export TEST_TAR_FORMAT
29294 TAR_OPTIONS
="-H gnu"
29299 echo TEST
> dir
/file
29300 ln -s file dir
/symlink ||
exit 77
29302 tar cf archive dir dir
29303 tar tvf archive |
sed '
29304 s,.*[0-9] dir/,dir/,
29309 tar chf archive dir
29310 tar tvf archive |
sed '
29311 s,.*[0-9] dir/,dir/,
29315 ) ) >"$at_stdout" 2>"$at_stderr"
29319 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29320 echo >>"$at_stdout"; $as_echo "dir/
29323 dir/file link to dir/file
29324 dir/symlink -> file
29325 dir/symlink link to dir/symlink
29329 dir/FOO link to dir/FOO
29331 $at_diff - "$at_stdout" || at_failed
=:
29332 at_func_check_status
0 $at_status "$at_srcdir/link04.at:32"
29334 $at_failed && at_func_log_failure
29341 $at_times_p && times >"$at_times_file"
29342 ) 5>&1 2>&1 |
eval $at_tee_pipe
29343 at_status
=`cat "$at_status_file"`
29346 # 75. longv7.at:24: long names in V7 archives
29347 at_setup_line
='longv7.at:24'
29348 at_desc
="long names in V7 archives"
29349 $at_quiet $as_echo_n " 75: $at_desc "
29351 test -f $XFAILFILE && at_xfail
=yes
29352 echo "# -*- compilation -*-" >> "$at_group_log"
29354 $as_echo "75. longv7.at:24: testing ..."
29365 $as_echo "$at_srcdir/longv7.at:30:
29369 export TEST_TAR_FORMAT
29370 TAR_OPTIONS=\"-H v7\"
29374 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
29375 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
29377 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
29381 echo longv7.
at:30 >"$at_check_line_file"
29383 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29389 export TEST_TAR_FORMAT
29390 TAR_OPTIONS
="-H v7"
29394 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
29395 touch this_is_a_very_long_name_for_a_directory_which_causes_problems
/this_is_a_very_long_file_name_which_raises_issues.c
29397 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
29400 ) ) >"$at_stdout" 2>"$at_stder1"
29401 at_func_filter_trace $?
29407 export TEST_TAR_FORMAT
29408 TAR_OPTIONS
="-H v7"
29412 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
29413 touch this_is_a_very_long_name_for_a_directory_which_causes_problems
/this_is_a_very_long_file_name_which_raises_issues.c
29415 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
29418 ) ) >"$at_stdout" 2>"$at_stderr"
29422 echo >>"$at_stderr"; $as_echo "tar: this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c: file name is too long (max 99); not dumped
29423 tar: Exiting with failure status due to previous errors
29425 $at_diff - "$at_stderr" || at_failed
=:
29426 echo >>"$at_stdout"; $as_echo "separator
29427 this_is_a_very_long_name_for_a_directory_which_causes_problems/
29429 $at_diff - "$at_stdout" || at_failed
=:
29430 at_func_check_status
0 $at_status "$at_srcdir/longv7.at:30"
29432 $at_failed && at_func_log_failure
29439 $at_times_p && times >"$at_times_file"
29440 ) 5>&1 2>&1 |
eval $at_tee_pipe
29441 at_status
=`cat "$at_status_file"`
29444 # 76. long01.at:28: long file names divisible by block size
29445 at_setup_line
='long01.at:28'
29446 at_desc
="long file names divisible by block size"
29447 $at_quiet $as_echo_n " 76: $at_desc "
29449 test -f $XFAILFILE && at_xfail
=yes
29450 echo "# -*- compilation -*-" >> "$at_group_log"
29452 $as_echo "76. long01.at:28: testing ..."
29464 $as_echo "$at_srcdir/long01.at:36:
29467 TEST_TAR_FORMAT=gnu
29468 export TEST_TAR_FORMAT
29469 TAR_OPTIONS=\"-H gnu\"
29474 install-sh -d 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde >/dev/null && genfile --file 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde || exit 77
29475 echo test > endfile
29477 tar cf archive 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde endfile
29479 echo long01.
at:36 >"$at_check_line_file"
29481 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29486 TEST_TAR_FORMAT
=gnu
29487 export TEST_TAR_FORMAT
29488 TAR_OPTIONS
="-H gnu"
29493 install-sh
-d 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
>/dev
/null
&& genfile
--file 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde ||
exit 77
29494 echo test > endfile
29496 tar cf archive
0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde endfile
29497 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
29498 at_func_filter_trace $?
29503 TEST_TAR_FORMAT
=gnu
29504 export TEST_TAR_FORMAT
29505 TAR_OPTIONS
="-H gnu"
29510 install-sh
-d 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
>/dev
/null
&& genfile
--file 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde ||
exit 77
29511 echo test > endfile
29513 tar cf archive
0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde endfile
29514 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
29518 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29519 echo >>"$at_stdout"; $as_echo "0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde
29522 $at_diff - "$at_stdout" || at_failed
=:
29523 at_func_check_status
0 $at_status "$at_srcdir/long01.at:36"
29525 $at_failed && at_func_log_failure
29529 $as_echo "$at_srcdir/long01.at:36:
29532 TEST_TAR_FORMAT=oldgnu
29533 export TEST_TAR_FORMAT
29534 TAR_OPTIONS=\"-H oldgnu\"
29539 install-sh -d 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde >/dev/null && genfile --file 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde || exit 77
29540 echo test > endfile
29542 tar cf archive 0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde endfile
29544 echo long01.
at:36 >"$at_check_line_file"
29546 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29551 TEST_TAR_FORMAT
=oldgnu
29552 export TEST_TAR_FORMAT
29553 TAR_OPTIONS
="-H oldgnu"
29558 install-sh
-d 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
>/dev
/null
&& genfile
--file 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde ||
exit 77
29559 echo test > endfile
29561 tar cf archive
0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde endfile
29562 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
29563 at_func_filter_trace $?
29568 TEST_TAR_FORMAT
=oldgnu
29569 export TEST_TAR_FORMAT
29570 TAR_OPTIONS
="-H oldgnu"
29575 install-sh
-d 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
>/dev
/null
&& genfile
--file 0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde ||
exit 77
29576 echo test > endfile
29578 tar cf archive
0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde
/0123456789abcde endfile
29579 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
29583 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29584 echo >>"$at_stdout"; $as_echo "0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde/0123456789abcde
29587 $at_diff - "$at_stdout" || at_failed
=:
29588 at_func_check_status
0 $at_status "$at_srcdir/long01.at:36"
29590 $at_failed && at_func_log_failure
29597 $at_times_p && times >"$at_times_file"
29598 ) 5>&1 2>&1 |
eval $at_tee_pipe
29599 at_status
=`cat "$at_status_file"`
29602 # 77. lustar01.at:21: ustar: unsplittable file name
29603 at_setup_line
='lustar01.at:21'
29604 at_desc
="ustar: unsplittable file name"
29605 $at_quiet $as_echo_n " 77: $at_desc "
29607 test -f $XFAILFILE && at_xfail
=yes
29608 echo "# -*- compilation -*-" >> "$at_group_log"
29610 $as_echo "77. lustar01.at:21: testing ..."
29620 $as_echo "$at_srcdir/lustar01.at:27:
29623 TEST_TAR_FORMAT=ustar
29624 export TEST_TAR_FORMAT
29625 TAR_OPTIONS=\"-H ustar\"
29629 genfile --file=this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix || exit 77
29630 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix
29632 echo lustar01.
at:27 >"$at_check_line_file"
29634 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29639 TEST_TAR_FORMAT
=ustar
29640 export TEST_TAR_FORMAT
29641 TAR_OPTIONS
="-H ustar"
29645 genfile
--file=this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix ||
exit 77
29646 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix
29647 ) ) >"$at_stdout" 2>"$at_stder1"
29648 at_func_filter_trace $?
29653 TEST_TAR_FORMAT
=ustar
29654 export TEST_TAR_FORMAT
29655 TAR_OPTIONS
="-H ustar"
29659 genfile
--file=this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix ||
exit 77
29660 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix
29661 ) ) >"$at_stdout" 2>"$at_stderr"
29665 echo >>"$at_stderr"; $as_echo "tar: this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix: file name is too long (cannot be split); not dumped
29666 tar: Exiting with failure status due to previous errors
29668 $at_diff - "$at_stderr" || at_failed
=:
29669 at_func_diff_devnull
"$at_stdout" || at_failed
=:
29670 at_func_check_status
2 $at_status "$at_srcdir/lustar01.at:27"
29672 $at_failed && at_func_log_failure
29679 $at_times_p && times >"$at_times_file"
29680 ) 5>&1 2>&1 |
eval $at_tee_pipe
29681 at_status
=`cat "$at_status_file"`
29684 # 78. lustar02.at:21: ustar: unsplittable path name
29685 at_setup_line
='lustar02.at:21'
29686 at_desc
="ustar: unsplittable path name"
29687 $at_quiet $as_echo_n " 78: $at_desc "
29689 test -f $XFAILFILE && at_xfail
=yes
29690 echo "# -*- compilation -*-" >> "$at_group_log"
29692 $as_echo "78. lustar02.at:21: testing ..."
29706 $as_echo "$at_srcdir/lustar02.at:32:
29709 TEST_TAR_FORMAT=ustar
29710 export TEST_TAR_FORMAT
29711 TAR_OPTIONS=\"-H ustar\"
29716 install-sh -d this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be >/dev/null && genfile --file this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be/tween_name_and_prefix || exit 77
29717 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29719 echo lustar02.
at:32 >"$at_check_line_file"
29721 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29726 TEST_TAR_FORMAT
=ustar
29727 export TEST_TAR_FORMAT
29728 TAR_OPTIONS
="-H ustar"
29733 install-sh
-d this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
>/dev
/null
&& genfile
--file this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
/tween_name_and_prefix ||
exit 77
29734 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29735 ) ) >"$at_stdout" 2>"$at_stder1"
29736 at_func_filter_trace $?
29741 TEST_TAR_FORMAT
=ustar
29742 export TEST_TAR_FORMAT
29743 TAR_OPTIONS
="-H ustar"
29748 install-sh
-d this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
>/dev
/null
&& genfile
--file this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
/tween_name_and_prefix ||
exit 77
29749 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29750 ) ) >"$at_stdout" 2>"$at_stderr"
29754 echo >>"$at_stderr"; $as_echo "tar: this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be/: file name is too long (cannot be split); not dumped
29755 tar: Exiting with failure status due to previous errors
29757 $at_diff - "$at_stderr" || at_failed
=:
29758 at_func_diff_devnull
"$at_stdout" || at_failed
=:
29759 at_func_check_status
2 $at_status "$at_srcdir/lustar02.at:32"
29761 $at_failed && at_func_log_failure
29768 $at_times_p && times >"$at_times_file"
29769 ) 5>&1 2>&1 |
eval $at_tee_pipe
29770 at_status
=`cat "$at_status_file"`
29773 # 79. lustar03.at:21: ustar: splitting long names
29774 at_setup_line
='lustar03.at:21'
29775 at_desc
="ustar: splitting long names"
29776 $at_quiet $as_echo_n " 79: $at_desc "
29778 test -f $XFAILFILE && at_xfail
=yes
29779 echo "# -*- compilation -*-" >> "$at_group_log"
29781 $as_echo "79. lustar03.at:21: testing ..."
29793 $as_echo "$at_srcdir/lustar03.at:29:
29796 TEST_TAR_FORMAT=ustar
29797 export TEST_TAR_FORMAT
29798 TAR_OPTIONS=\"-H ustar\"
29803 install-sh -d this_is_a_very_long_name_for_a_file_designed_to_test_generation/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be >/dev/null && genfile --file this_is_a_very_long_name_for_a_file_designed_to_test_generation/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be/file || exit 77
29804 echo \"Create archive\"
29805 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29806 echo \"List archive\"
29808 echo lustar03.
at:29 >"$at_check_line_file"
29810 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29815 TEST_TAR_FORMAT
=ustar
29816 export TEST_TAR_FORMAT
29817 TAR_OPTIONS
="-H ustar"
29822 install-sh
-d this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
>/dev
/null
&& genfile
--file this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
/file ||
exit 77
29823 echo "Create archive"
29824 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29825 echo "List archive"
29826 tar tf archive
) ) >"$at_stdout" 2>"$at_stder1"
29827 at_func_filter_trace $?
29832 TEST_TAR_FORMAT
=ustar
29833 export TEST_TAR_FORMAT
29834 TAR_OPTIONS
="-H ustar"
29839 install-sh
-d this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
>/dev
/null
&& genfile
--file this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
/file ||
exit 77
29840 echo "Create archive"
29841 tar cf archive this_is_a_very_long_name_for_a_file_designed_to_test_generation
/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be
29842 echo "List archive"
29843 tar tf archive
) ) >"$at_stdout" 2>"$at_stderr"
29847 at_func_diff_devnull
"$at_stderr" || at_failed
=:
29848 echo >>"$at_stdout"; $as_echo "Create archive
29850 this_is_a_very_long_name_for_a_file_designed_to_test_generation/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be/
29851 this_is_a_very_long_name_for_a_file_designed_to_test_generation/of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_be/file
29853 $at_diff - "$at_stdout" || at_failed
=:
29854 at_func_check_status
0 $at_status "$at_srcdir/lustar03.at:29"
29856 $at_failed && at_func_log_failure
29863 $at_times_p && times >"$at_times_file"
29864 ) 5>&1 2>&1 |
eval $at_tee_pipe
29865 at_status
=`cat "$at_status_file"`
29868 # 80. multiv01.at:23: multivolume dumps from pipes
29869 at_setup_line
='multiv01.at:23'
29870 at_desc
="multivolume dumps from pipes"
29871 $at_quiet $as_echo_n " 80: $at_desc "
29873 test -f $XFAILFILE && at_xfail
=yes
29874 echo "# -*- compilation -*-" >> "$at_group_log"
29876 $as_echo "80. multiv01.at:23: testing ..."
29881 # Fixme: should be configurable
29882 # TRUSS=truss -o /tmp/tr
29888 $as_echo "$at_srcdir/multiv01.at:30:
29891 TEST_TAR_FORMAT=gnu
29892 export TEST_TAR_FORMAT
29893 TAR_OPTIONS=\"-H gnu\"
29898 genfile --length 7168 --file file1
29900 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
29901 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
29902 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
29903 for count in 2 3 4 5 6 7 8 ; do
29904 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
29908 if test \$TEST_TAR_FORMAT = pax; then
29914 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
29915 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29917 mkdir extract-dir-pipe
29918 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29919 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
29920 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
29921 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
29923 cmp file1 extract-dir-pipe/file1
29924 cmp file2 extract-dir-pipe/file2
29926 echo multiv01.
at:30 >"$at_check_line_file"
29928 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
29933 TEST_TAR_FORMAT
=gnu
29934 export TEST_TAR_FORMAT
29935 TAR_OPTIONS
="-H gnu"
29940 genfile
--length 7168 --file file1
29942 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29943 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29944 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29945 for count
in 2 3 4 5 6 7 8 ; do
29946 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29950 if test $TEST_TAR_FORMAT = pax
; then
29956 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29957 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
29959 mkdir extract-dir-pipe
29960 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
29961 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
29962 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
29963 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
29965 cmp file1 extract-dir-pipe
/file1
29966 cmp file2 extract-dir-pipe
/file2
29967 ) ) >"$at_stdout" 2>"$at_stder1"
29968 at_func_filter_trace $?
29973 TEST_TAR_FORMAT
=gnu
29974 export TEST_TAR_FORMAT
29975 TAR_OPTIONS
="-H gnu"
29980 genfile
--length 7168 --file file1
29982 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29983 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29984 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29985 for count
in 2 3 4 5 6 7 8 ; do
29986 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29990 if test $TEST_TAR_FORMAT = pax
; then
29996 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29997 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
29999 mkdir extract-dir-pipe
30000 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
30001 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
30002 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
30003 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
30005 cmp file1 extract-dir-pipe
/file1
30006 cmp file2 extract-dir-pipe
/file2
30007 ) ) >"$at_stdout" 2>"$at_stderr"
30011 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30012 at_func_diff_devnull
"$at_stdout" || at_failed
=:
30013 at_func_check_status
0 $at_status "$at_srcdir/multiv01.at:30"
30015 $at_failed && at_func_log_failure
30019 $as_echo "$at_srcdir/multiv01.at:30:
30022 TEST_TAR_FORMAT=oldgnu
30023 export TEST_TAR_FORMAT
30024 TAR_OPTIONS=\"-H oldgnu\"
30029 genfile --length 7168 --file file1
30031 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
30032 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
30033 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
30034 for count in 2 3 4 5 6 7 8 ; do
30035 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
30039 if test \$TEST_TAR_FORMAT = pax; then
30045 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
30046 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
30048 mkdir extract-dir-pipe
30049 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
30050 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
30051 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
30052 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
30054 cmp file1 extract-dir-pipe/file1
30055 cmp file2 extract-dir-pipe/file2
30057 echo multiv01.
at:30 >"$at_check_line_file"
30059 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
30064 TEST_TAR_FORMAT
=oldgnu
30065 export TEST_TAR_FORMAT
30066 TAR_OPTIONS
="-H oldgnu"
30071 genfile
--length 7168 --file file1
30073 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
30074 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
30075 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30076 for count
in 2 3 4 5 6 7 8 ; do
30077 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30081 if test $TEST_TAR_FORMAT = pax
; then
30087 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
30088 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
30090 mkdir extract-dir-pipe
30091 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
30092 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
30093 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
30094 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
30096 cmp file1 extract-dir-pipe
/file1
30097 cmp file2 extract-dir-pipe
/file2
30098 ) ) >"$at_stdout" 2>"$at_stder1"
30099 at_func_filter_trace $?
30104 TEST_TAR_FORMAT
=oldgnu
30105 export TEST_TAR_FORMAT
30106 TAR_OPTIONS
="-H oldgnu"
30111 genfile
--length 7168 --file file1
30113 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
30114 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
30115 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30116 for count
in 2 3 4 5 6 7 8 ; do
30117 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30121 if test $TEST_TAR_FORMAT = pax
; then
30127 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
30128 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
30130 mkdir extract-dir-pipe
30131 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
30132 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
30133 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
30134 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
30136 cmp file1 extract-dir-pipe
/file1
30137 cmp file2 extract-dir-pipe
/file2
30138 ) ) >"$at_stdout" 2>"$at_stderr"
30142 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30143 at_func_diff_devnull
"$at_stdout" || at_failed
=:
30144 at_func_check_status
0 $at_status "$at_srcdir/multiv01.at:30"
30146 $at_failed && at_func_log_failure
30150 $as_echo "$at_srcdir/multiv01.at:30:
30153 TEST_TAR_FORMAT=pax
30154 export TEST_TAR_FORMAT
30155 TAR_OPTIONS=\"-H pax\"
30160 genfile --length 7168 --file file1
30162 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
30163 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
30164 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
30165 for count in 2 3 4 5 6 7 8 ; do
30166 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
30170 if test \$TEST_TAR_FORMAT = pax; then
30176 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
30177 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
30179 mkdir extract-dir-pipe
30180 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
30181 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
30182 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
30183 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
30185 cmp file1 extract-dir-pipe/file1
30186 cmp file2 extract-dir-pipe/file2
30188 echo multiv01.
at:30 >"$at_check_line_file"
30190 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
30195 TEST_TAR_FORMAT
=pax
30196 export TEST_TAR_FORMAT
30197 TAR_OPTIONS
="-H pax"
30202 genfile
--length 7168 --file file1
30204 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
30205 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
30206 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30207 for count
in 2 3 4 5 6 7 8 ; do
30208 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30212 if test $TEST_TAR_FORMAT = pax
; then
30218 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
30219 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
30221 mkdir extract-dir-pipe
30222 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
30223 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
30224 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
30225 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
30227 cmp file1 extract-dir-pipe
/file1
30228 cmp file2 extract-dir-pipe
/file2
30229 ) ) >"$at_stdout" 2>"$at_stder1"
30230 at_func_filter_trace $?
30235 TEST_TAR_FORMAT
=pax
30236 export TEST_TAR_FORMAT
30237 TAR_OPTIONS
="-H pax"
30242 genfile
--length 7168 --file file1
30244 for block
in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
30245 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
30246 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30247 for count
in 2 3 4 5 6 7 8 ; do
30248 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
30252 if test $TEST_TAR_FORMAT = pax
; then
30258 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
30259 -f t1-pipe.
tar -f t2-pipe.
tar .
/file1 .
/file2 ||
exit 1
30261 mkdir extract-dir-pipe
30262 dd bs
=4096 count
=$TAPE_LENGTH if=t2-pipe.
tar 2>/dev
/null |
30263 PATH
=$PATH ${TRUSS} tar -f t1-pipe.
tar -f - \
30264 -C extract-dir-pipe
-x --multi-volume --warning=no-timestamp \
30265 --tape-length=$TAPE_LENGTH --read-full-records ||
exit 1
30267 cmp file1 extract-dir-pipe
/file1
30268 cmp file2 extract-dir-pipe
/file2
30269 ) ) >"$at_stdout" 2>"$at_stderr"
30273 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30274 at_func_diff_devnull
"$at_stdout" || at_failed
=:
30275 at_func_check_status
0 $at_status "$at_srcdir/multiv01.at:30"
30277 $at_failed && at_func_log_failure
30284 $at_times_p && times >"$at_times_file"
30285 ) 5>&1 2>&1 |
eval $at_tee_pipe
30286 at_status
=`cat "$at_status_file"`
30289 # 81. multiv02.at:28: skipping a straddling member
30290 at_setup_line
='multiv02.at:28'
30291 at_desc
="skipping a straddling member"
30292 $at_quiet $as_echo_n " 81: $at_desc "
30294 test -f $XFAILFILE && at_xfail
=yes
30295 echo "# -*- compilation -*-" >> "$at_group_log"
30297 $as_echo "81. multiv02.at:28: testing ..."
30305 $as_echo "$at_srcdir/multiv02.at:31:
30308 TEST_TAR_FORMAT=gnu
30309 export TEST_TAR_FORMAT
30310 TAR_OPTIONS=\"-H gnu\"
30314 genfile --length 10240 --file en
30315 genfile --length 20000 --file to
30316 genfile --length 20000 --file tre
30317 genfile --length 10240 --file fire
30321 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
30323 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
30325 echo multiv02.
at:31 >"$at_check_line_file"
30327 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30332 TEST_TAR_FORMAT
=gnu
30333 export TEST_TAR_FORMAT
30334 TAR_OPTIONS
="-H gnu"
30338 genfile
--length 10240 --file en
30339 genfile
--length 20000 --file to
30340 genfile
--length 20000 --file tre
30341 genfile
--length 10240 --file fire
30345 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30347 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30348 ) ) >"$at_stdout" 2>"$at_stder1"
30349 at_func_filter_trace $?
30354 TEST_TAR_FORMAT
=gnu
30355 export TEST_TAR_FORMAT
30356 TAR_OPTIONS
="-H gnu"
30360 genfile
--length 10240 --file en
30361 genfile
--length 20000 --file to
30362 genfile
--length 20000 --file tre
30363 genfile
--length 10240 --file fire
30367 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30369 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30370 ) ) >"$at_stdout" 2>"$at_stderr"
30374 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30375 echo >>"$at_stdout"; $as_echo "separator
30378 $at_diff - "$at_stdout" || at_failed
=:
30379 at_func_check_status
0 $at_status "$at_srcdir/multiv02.at:31"
30381 $at_failed && at_func_log_failure
30385 $as_echo "$at_srcdir/multiv02.at:31:
30388 TEST_TAR_FORMAT=oldgnu
30389 export TEST_TAR_FORMAT
30390 TAR_OPTIONS=\"-H oldgnu\"
30394 genfile --length 10240 --file en
30395 genfile --length 20000 --file to
30396 genfile --length 20000 --file tre
30397 genfile --length 10240 --file fire
30401 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
30403 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
30405 echo multiv02.
at:31 >"$at_check_line_file"
30407 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30412 TEST_TAR_FORMAT
=oldgnu
30413 export TEST_TAR_FORMAT
30414 TAR_OPTIONS
="-H oldgnu"
30418 genfile
--length 10240 --file en
30419 genfile
--length 20000 --file to
30420 genfile
--length 20000 --file tre
30421 genfile
--length 10240 --file fire
30425 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30427 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30428 ) ) >"$at_stdout" 2>"$at_stder1"
30429 at_func_filter_trace $?
30434 TEST_TAR_FORMAT
=oldgnu
30435 export TEST_TAR_FORMAT
30436 TAR_OPTIONS
="-H oldgnu"
30440 genfile
--length 10240 --file en
30441 genfile
--length 20000 --file to
30442 genfile
--length 20000 --file tre
30443 genfile
--length 10240 --file fire
30447 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30449 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30450 ) ) >"$at_stdout" 2>"$at_stderr"
30454 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30455 echo >>"$at_stdout"; $as_echo "separator
30458 $at_diff - "$at_stdout" || at_failed
=:
30459 at_func_check_status
0 $at_status "$at_srcdir/multiv02.at:31"
30461 $at_failed && at_func_log_failure
30465 $as_echo "$at_srcdir/multiv02.at:31:
30468 TEST_TAR_FORMAT=pax
30469 export TEST_TAR_FORMAT
30470 TAR_OPTIONS=\"-H pax\"
30474 genfile --length 10240 --file en
30475 genfile --length 20000 --file to
30476 genfile --length 20000 --file tre
30477 genfile --length 10240 --file fire
30481 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
30483 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
30485 echo multiv02.
at:31 >"$at_check_line_file"
30487 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30492 TEST_TAR_FORMAT
=pax
30493 export TEST_TAR_FORMAT
30494 TAR_OPTIONS
="-H pax"
30498 genfile
--length 10240 --file en
30499 genfile
--length 20000 --file to
30500 genfile
--length 20000 --file tre
30501 genfile
--length 10240 --file fire
30505 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30507 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30508 ) ) >"$at_stdout" 2>"$at_stder1"
30509 at_func_filter_trace $?
30514 TEST_TAR_FORMAT
=pax
30515 export TEST_TAR_FORMAT
30516 TAR_OPTIONS
="-H pax"
30520 genfile
--length 10240 --file en
30521 genfile
--length 20000 --file to
30522 genfile
--length 20000 --file tre
30523 genfile
--length 10240 --file fire
30527 tar -c -f A.
tar -f B.
tar -f C.
tar -M -L 30 en to tre fire ||
exit 1
30529 tar -v -x -f A.
tar -f B.
tar -f C.
tar -M en
--warning=no-timestamp ||
exit 1
30530 ) ) >"$at_stdout" 2>"$at_stderr"
30534 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30535 echo >>"$at_stdout"; $as_echo "separator
30538 $at_diff - "$at_stdout" || at_failed
=:
30539 at_func_check_status
0 $at_status "$at_srcdir/multiv02.at:31"
30541 $at_failed && at_func_log_failure
30548 $at_times_p && times >"$at_times_file"
30549 ) 5>&1 2>&1 |
eval $at_tee_pipe
30550 at_status
=`cat "$at_status_file"`
30553 # 82. multiv03.at:30: MV archive & long filenames
30554 at_setup_line
='multiv03.at:30'
30555 at_desc
="MV archive & long filenames"
30556 $at_quiet $as_echo_n " 82: $at_desc "
30558 test -f $XFAILFILE && at_xfail
=yes
30559 echo "# -*- compilation -*-" >> "$at_group_log"
30561 $as_echo "82. multiv03.at:30: testing ..."
30569 $as_echo "$at_srcdir/multiv03.at:33:
30572 TEST_TAR_FORMAT=gnu
30573 export TEST_TAR_FORMAT
30574 TAR_OPTIONS=\"-H gnu\"
30578 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
30579 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
30581 cat > ../experr <<EOF
30582 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
30583 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
30586 cat > ../expout <<EOF
30592 genfile --length 15360 --file \$AFILE
30596 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
30597 tar -tM -f arch.1 -f arch.2 || exit 1
30601 genfile --length 15360 --file \$BFILE
30602 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
30606 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
30609 echo multiv03.
at:33 >"$at_check_line_file"
30611 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
30616 TEST_TAR_FORMAT
=gnu
30617 export TEST_TAR_FORMAT
30618 TAR_OPTIONS
="-H gnu"
30622 AFILE
=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
30623 BFILE
=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
30625 cat > ..
/experr
<<EOF
30626 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
30627 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
30630 cat > ..
/expout
<<EOF
30636 genfile
--length 15360 --file $AFILE
30640 tar -M -L 10 -c -f arch
.1 -f arch
.2 $AFILE ||
exit 1
30641 tar -tM -f arch
.1 -f arch
.2 ||
exit 1
30645 genfile
--length 15360 --file $BFILE
30646 tar -M -L 10 -c -f arch
.1 -f arch
.2 $BFILE ||
exit 1
30650 tar -M -x -f arch
.1 -f arch
.2 --warning=no-timestamp ||
exit 1
30652 ) ) >"$at_stdout" 2>"$at_stder1"
30653 at_func_filter_trace $?
30658 TEST_TAR_FORMAT
=gnu
30659 export TEST_TAR_FORMAT
30660 TAR_OPTIONS
="-H gnu"
30664 AFILE
=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
30665 BFILE
=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
30667 cat > ..
/experr
<<EOF
30668 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
30669 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
30672 cat > ..
/expout
<<EOF
30678 genfile
--length 15360 --file $AFILE
30682 tar -M -L 10 -c -f arch
.1 -f arch
.2 $AFILE ||
exit 1
30683 tar -tM -f arch
.1 -f arch
.2 ||
exit 1
30687 genfile
--length 15360 --file $BFILE
30688 tar -M -L 10 -c -f arch
.1 -f arch
.2 $BFILE ||
exit 1
30692 tar -M -x -f arch
.1 -f arch
.2 --warning=no-timestamp ||
exit 1
30694 ) ) >"$at_stdout" 2>"$at_stderr"
30698 $at_diff experr
"$at_stderr" || at_failed
=:
30699 $at_diff expout
"$at_stdout" || at_failed
=:
30700 at_func_check_status
0 $at_status "$at_srcdir/multiv03.at:33"
30702 $at_failed && at_func_log_failure
30706 $as_echo "$at_srcdir/multiv03.at:33:
30709 TEST_TAR_FORMAT=oldgnu
30710 export TEST_TAR_FORMAT
30711 TAR_OPTIONS=\"-H oldgnu\"
30715 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
30716 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
30718 cat > ../experr <<EOF
30719 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
30720 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
30723 cat > ../expout <<EOF
30729 genfile --length 15360 --file \$AFILE
30733 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
30734 tar -tM -f arch.1 -f arch.2 || exit 1
30738 genfile --length 15360 --file \$BFILE
30739 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
30743 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
30746 echo multiv03.
at:33 >"$at_check_line_file"
30748 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
30753 TEST_TAR_FORMAT
=oldgnu
30754 export TEST_TAR_FORMAT
30755 TAR_OPTIONS
="-H oldgnu"
30759 AFILE
=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
30760 BFILE
=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
30762 cat > ..
/experr
<<EOF
30763 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
30764 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
30767 cat > ..
/expout
<<EOF
30773 genfile
--length 15360 --file $AFILE
30777 tar -M -L 10 -c -f arch
.1 -f arch
.2 $AFILE ||
exit 1
30778 tar -tM -f arch
.1 -f arch
.2 ||
exit 1
30782 genfile
--length 15360 --file $BFILE
30783 tar -M -L 10 -c -f arch
.1 -f arch
.2 $BFILE ||
exit 1
30787 tar -M -x -f arch
.1 -f arch
.2 --warning=no-timestamp ||
exit 1
30789 ) ) >"$at_stdout" 2>"$at_stder1"
30790 at_func_filter_trace $?
30795 TEST_TAR_FORMAT
=oldgnu
30796 export TEST_TAR_FORMAT
30797 TAR_OPTIONS
="-H oldgnu"
30801 AFILE
=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
30802 BFILE
=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
30804 cat > ..
/experr
<<EOF
30805 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
30806 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
30809 cat > ..
/expout
<<EOF
30815 genfile
--length 15360 --file $AFILE
30819 tar -M -L 10 -c -f arch
.1 -f arch
.2 $AFILE ||
exit 1
30820 tar -tM -f arch
.1 -f arch
.2 ||
exit 1
30824 genfile
--length 15360 --file $BFILE
30825 tar -M -L 10 -c -f arch
.1 -f arch
.2 $BFILE ||
exit 1
30829 tar -M -x -f arch
.1 -f arch
.2 --warning=no-timestamp ||
exit 1
30831 ) ) >"$at_stdout" 2>"$at_stderr"
30835 $at_diff experr
"$at_stderr" || at_failed
=:
30836 $at_diff expout
"$at_stdout" || at_failed
=:
30837 at_func_check_status
0 $at_status "$at_srcdir/multiv03.at:33"
30839 $at_failed && at_func_log_failure
30846 $at_times_p && times >"$at_times_file"
30847 ) 5>&1 2>&1 |
eval $at_tee_pipe
30848 at_status
=`cat "$at_status_file"`
30851 # 83. multiv04.at:36: split directory members in a MV archive
30852 at_setup_line
='multiv04.at:36'
30853 at_desc
="split directory members in a MV archive"
30854 $at_quiet $as_echo_n " 83: $at_desc "
30856 test -f $XFAILFILE && at_xfail
=yes
30857 echo "# -*- compilation -*-" >> "$at_group_log"
30859 $as_echo "83. multiv04.at:36: testing ..."
30867 $as_echo "$at_srcdir/multiv04.at:39:
30870 TEST_TAR_FORMAT=gnu
30871 export TEST_TAR_FORMAT
30872 TAR_OPTIONS=\"-H gnu\"
30878 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
30884 tar --listed-incremental=list -c -f archive.a directory
30888 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
30892 tar -MRt -f arc.1 -f arc.2)"
30893 echo multiv04.
at:39 >"$at_check_line_file"
30895 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30900 TEST_TAR_FORMAT
=gnu
30901 export TEST_TAR_FORMAT
30902 TAR_OPTIONS
="-H gnu"
30908 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev
/null | genfile
--files-from -
30914 tar --listed-incremental=list
-c -f archive.a directory
30918 tar --listed-incremental=list
-c --record-size 1024 -L 16 -f arc
.1 -f arc
.2 -v directory
30922 tar -MRt -f arc
.1 -f arc
.2) ) >"$at_stdout" 2>"$at_stder1"
30923 at_func_filter_trace $?
30928 TEST_TAR_FORMAT
=gnu
30929 export TEST_TAR_FORMAT
30930 TAR_OPTIONS
="-H gnu"
30936 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev
/null | genfile
--files-from -
30942 tar --listed-incremental=list
-c -f archive.a directory
30946 tar --listed-incremental=list
-c --record-size 1024 -L 16 -f arc
.1 -f arc
.2 -v directory
30950 tar -MRt -f arc
.1 -f arc
.2) ) >"$at_stdout" 2>"$at_stderr"
30954 at_func_diff_devnull
"$at_stderr" || at_failed
=:
30955 echo >>"$at_stdout"; $as_echo "directory/
30957 block 0: directory/
30958 block 35: ** Block of NULs **
30960 $at_diff - "$at_stdout" || at_failed
=:
30961 at_func_check_status
0 $at_status "$at_srcdir/multiv04.at:39"
30963 $at_failed && at_func_log_failure
30967 $as_echo "$at_srcdir/multiv04.at:39:
30970 TEST_TAR_FORMAT=oldgnu
30971 export TEST_TAR_FORMAT
30972 TAR_OPTIONS=\"-H oldgnu\"
30978 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
30984 tar --listed-incremental=list -c -f archive.a directory
30988 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
30992 tar -MRt -f arc.1 -f arc.2)"
30993 echo multiv04.
at:39 >"$at_check_line_file"
30995 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31000 TEST_TAR_FORMAT
=oldgnu
31001 export TEST_TAR_FORMAT
31002 TAR_OPTIONS
="-H oldgnu"
31008 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev
/null | genfile
--files-from -
31014 tar --listed-incremental=list
-c -f archive.a directory
31018 tar --listed-incremental=list
-c --record-size 1024 -L 16 -f arc
.1 -f arc
.2 -v directory
31022 tar -MRt -f arc
.1 -f arc
.2) ) >"$at_stdout" 2>"$at_stder1"
31023 at_func_filter_trace $?
31028 TEST_TAR_FORMAT
=oldgnu
31029 export TEST_TAR_FORMAT
31030 TAR_OPTIONS
="-H oldgnu"
31036 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev
/null | genfile
--files-from -
31042 tar --listed-incremental=list
-c -f archive.a directory
31046 tar --listed-incremental=list
-c --record-size 1024 -L 16 -f arc
.1 -f arc
.2 -v directory
31050 tar -MRt -f arc
.1 -f arc
.2) ) >"$at_stdout" 2>"$at_stderr"
31054 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31055 echo >>"$at_stdout"; $as_echo "directory/
31057 block 0: directory/
31058 block 35: ** Block of NULs **
31060 $at_diff - "$at_stdout" || at_failed
=:
31061 at_func_check_status
0 $at_status "$at_srcdir/multiv04.at:39"
31063 $at_failed && at_func_log_failure
31070 $at_times_p && times >"$at_times_file"
31071 ) 5>&1 2>&1 |
eval $at_tee_pipe
31072 at_status
=`cat "$at_status_file"`
31075 # 84. multiv05.at:26: Restoring after an out of sync volume
31076 at_setup_line
='multiv05.at:26'
31077 at_desc
="Restoring after an out of sync volume"
31078 $at_quiet $as_echo_n " 84: $at_desc "
31080 test -f $XFAILFILE && at_xfail
=yes
31081 echo "# -*- compilation -*-" >> "$at_group_log"
31083 $as_echo "84. multiv05.at:26: testing ..."
31092 $as_echo "$at_srcdir/multiv05.at:30:
31095 TEST_TAR_FORMAT=gnu
31096 export TEST_TAR_FORMAT
31097 TAR_OPTIONS=\"-H gnu\"
31103 genfile --length 250k --file jeden
31104 genfile --length 250k --file dwa
31105 genfile --length 250k --file trzy
31106 genfile --length 250k --file cztery
31107 genfile --length 250k --file piec
31108 genfile --length 250k --file szesc
31111 echo Creating archive
31112 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
31115 mv jeden dwa trzy cztery piec szesc bak
31116 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
31118 cmp bak/jeden jeden || exit 1
31120 cmp bak/dwa dwa || exit 1
31122 cmp bak/trzy trzy || exit 1
31123 echo Diffing cztery
31124 cmp bak/cztery cztery || exit 1
31126 cmp bak/piec piec || exit 1
31128 cmp bak/szesc szesc || exit 1
31130 echo multiv05.
at:30 >"$at_check_line_file"
31132 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31137 TEST_TAR_FORMAT
=gnu
31138 export TEST_TAR_FORMAT
31139 TAR_OPTIONS
="-H gnu"
31145 genfile
--length 250k
--file jeden
31146 genfile
--length 250k
--file dwa
31147 genfile
--length 250k
--file trzy
31148 genfile
--length 250k
--file cztery
31149 genfile
--length 250k
--file piec
31150 genfile
--length 250k
--file szesc
31153 echo Creating archive
31154 tar -c -M -L 502 -f a.
tar -f b.
tar -f c.
tar jeden dwa trzy cztery piec szesc
31157 mv jeden dwa trzy cztery piec szesc bak
31158 tar -vxM -f a.
tar -f c.
tar -f b.
tar -f c.
tar
31160 cmp bak
/jeden jeden ||
exit 1
31162 cmp bak
/dwa dwa ||
exit 1
31164 cmp bak
/trzy trzy ||
exit 1
31165 echo Diffing cztery
31166 cmp bak
/cztery cztery ||
exit 1
31168 cmp bak
/piec piec ||
exit 1
31170 cmp bak
/szesc szesc ||
exit 1
31171 ) ) >"$at_stdout" 2>"$at_stder1"
31172 at_func_filter_trace $?
31177 TEST_TAR_FORMAT
=gnu
31178 export TEST_TAR_FORMAT
31179 TAR_OPTIONS
="-H gnu"
31185 genfile
--length 250k
--file jeden
31186 genfile
--length 250k
--file dwa
31187 genfile
--length 250k
--file trzy
31188 genfile
--length 250k
--file cztery
31189 genfile
--length 250k
--file piec
31190 genfile
--length 250k
--file szesc
31193 echo Creating archive
31194 tar -c -M -L 502 -f a.
tar -f b.
tar -f c.
tar jeden dwa trzy cztery piec szesc
31197 mv jeden dwa trzy cztery piec szesc bak
31198 tar -vxM -f a.
tar -f c.
tar -f b.
tar -f c.
tar
31200 cmp bak
/jeden jeden ||
exit 1
31202 cmp bak
/dwa dwa ||
exit 1
31204 cmp bak
/trzy trzy ||
exit 1
31205 echo Diffing cztery
31206 cmp bak
/cztery cztery ||
exit 1
31208 cmp bak
/piec piec ||
exit 1
31210 cmp bak
/szesc szesc ||
exit 1
31211 ) ) >"$at_stdout" 2>"$at_stderr"
31215 echo >>"$at_stderr"; $as_echo "tar: \`trzy' is not continued on this volume
31217 $at_diff - "$at_stderr" || at_failed
=:
31218 echo >>"$at_stdout"; $as_echo "Creating archive
31233 $at_diff - "$at_stdout" || at_failed
=:
31234 at_func_check_status
0 $at_status "$at_srcdir/multiv05.at:30"
31236 $at_failed && at_func_log_failure
31243 $at_times_p && times >"$at_times_file"
31244 ) 5>&1 2>&1 |
eval $at_tee_pipe
31245 at_status
=`cat "$at_status_file"`
31248 # 85. multiv06.at:27: Multivolumes with L=record_size
31249 at_setup_line
='multiv06.at:27'
31250 at_desc
="Multivolumes with L=record_size"
31251 $at_quiet $as_echo_n " 85: $at_desc "
31253 test -f $XFAILFILE && at_xfail
=yes
31254 echo "# -*- compilation -*-" >> "$at_group_log"
31256 $as_echo "85. multiv06.at:27: testing ..."
31264 $as_echo "$at_srcdir/multiv06.at:30:
31267 TEST_TAR_FORMAT=gnu
31268 export TEST_TAR_FORMAT
31269 TAR_OPTIONS=\"-H gnu\"
31274 decho Creating file
31275 genfile --length 20139 --file file
31276 decho Creating archive
31277 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31278 decho Testing archive
31279 tar -t -M -farc.1 -farc.2 -farc.3)"
31280 echo multiv06.
at:30 >"$at_check_line_file"
31282 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31287 TEST_TAR_FORMAT
=gnu
31288 export TEST_TAR_FORMAT
31289 TAR_OPTIONS
="-H gnu"
31294 decho Creating
file
31295 genfile
--length 20139 --file file
31296 decho Creating archive
31297 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31298 decho Testing archive
31299 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
31300 at_func_filter_trace $?
31305 TEST_TAR_FORMAT
=gnu
31306 export TEST_TAR_FORMAT
31307 TAR_OPTIONS
="-H gnu"
31312 decho Creating
file
31313 genfile
--length 20139 --file file
31314 decho Creating archive
31315 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31316 decho Testing archive
31317 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
31321 echo >>"$at_stderr"; $as_echo "Creating file
31325 $at_diff - "$at_stderr" || at_failed
=:
31326 echo >>"$at_stdout"; $as_echo "Creating file
31331 $at_diff - "$at_stdout" || at_failed
=:
31332 at_func_check_status
0 $at_status "$at_srcdir/multiv06.at:30"
31334 $at_failed && at_func_log_failure
31338 $as_echo "$at_srcdir/multiv06.at:30:
31341 TEST_TAR_FORMAT=pax
31342 export TEST_TAR_FORMAT
31343 TAR_OPTIONS=\"-H pax\"
31348 decho Creating file
31349 genfile --length 20139 --file file
31350 decho Creating archive
31351 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31352 decho Testing archive
31353 tar -t -M -farc.1 -farc.2 -farc.3)"
31354 echo multiv06.
at:30 >"$at_check_line_file"
31356 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31361 TEST_TAR_FORMAT
=pax
31362 export TEST_TAR_FORMAT
31363 TAR_OPTIONS
="-H pax"
31368 decho Creating
file
31369 genfile
--length 20139 --file file
31370 decho Creating archive
31371 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31372 decho Testing archive
31373 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
31374 at_func_filter_trace $?
31379 TEST_TAR_FORMAT
=pax
31380 export TEST_TAR_FORMAT
31381 TAR_OPTIONS
="-H pax"
31386 decho Creating
file
31387 genfile
--length 20139 --file file
31388 decho Creating archive
31389 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
31390 decho Testing archive
31391 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
31395 echo >>"$at_stderr"; $as_echo "Creating file
31399 $at_diff - "$at_stderr" || at_failed
=:
31400 echo >>"$at_stdout"; $as_echo "Creating file
31405 $at_diff - "$at_stdout" || at_failed
=:
31406 at_func_check_status
0 $at_status "$at_srcdir/multiv06.at:30"
31408 $at_failed && at_func_log_failure
31415 $at_times_p && times >"$at_times_file"
31416 ) 5>&1 2>&1 |
eval $at_tee_pipe
31417 at_status
=`cat "$at_status_file"`
31420 # 86. multiv07.at:26: volumes split at an extended header
31421 at_setup_line
='multiv07.at:26'
31422 at_desc
="volumes split at an extended header"
31423 $at_quiet $as_echo_n " 86: $at_desc "
31425 test -f \
$XFAILFILE && at_xfail
=yes
31426 test -f $XFAILFILE && at_xfail
=yes
31427 test -f $XFAILFILE && at_xfail
=yes
31428 echo "# -*- compilation -*-" >> "$at_group_log"
31430 $as_echo "86. multiv07.at:26: testing ..."
31436 $as_echo "$at_srcdir/multiv07.at:29:
31439 test -z "$TEST_DATA_DIR" && exit 77
31440 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
31442 test -z "$TEST_DATA_DIR" && exit 77
31443 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
31448 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
31450 echo multiv07.
at:29 >"$at_check_line_file"
31452 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31457 test -z "$TEST_DATA_DIR" && exit 77
31458 tarball_prereq xsplit-1.
tar 0e008c84c517e48fbf23ca6a7033cde6
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
31460 test -z "$TEST_DATA_DIR" && exit 77
31461 tarball_prereq xsplit-2.
tar 03150b9852d285458f43734e9e0b9a45
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
31466 tar -t -M -fxsplit-1.
tar -fxsplit-2.
tar
31467 ) >"$at_stdout" 2>"$at_stder1"
31468 at_func_filter_trace $?
31473 test -z "$TEST_DATA_DIR" && exit 77
31474 tarball_prereq xsplit-1.
tar 0e008c84c517e48fbf23ca6a7033cde6
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
31476 test -z "$TEST_DATA_DIR" && exit 77
31477 tarball_prereq xsplit-2.
tar 03150b9852d285458f43734e9e0b9a45
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
31482 tar -t -M -fxsplit-1.
tar -fxsplit-2.
tar
31483 ) >"$at_stdout" 2>"$at_stderr"
31487 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31488 echo >>"$at_stdout"; $as_echo "Archive volumes split at an extended header Volume 1
31492 $at_diff - "$at_stdout" || at_failed
=:
31493 at_func_check_status
0 $at_status "$at_srcdir/multiv07.at:29"
31495 $at_failed && at_func_log_failure
31500 $at_times_p && times >"$at_times_file"
31501 ) 5>&1 2>&1 |
eval $at_tee_pipe
31502 at_status
=`cat "$at_status_file"`
31505 # 87. multiv08.at:23: multivolume header creation
31506 at_setup_line
='multiv08.at:23'
31507 at_desc
="multivolume header creation"
31508 $at_quiet $as_echo_n " 87: $at_desc "
31510 test -f $XFAILFILE && at_xfail
=yes
31511 echo "# -*- compilation -*-" >> "$at_group_log"
31513 $as_echo "87. multiv08.at:23: testing ..."
31521 $as_echo "$at_srcdir/multiv08.at:26:
31524 TEST_TAR_FORMAT=gnu
31525 export TEST_TAR_FORMAT
31526 TAR_OPTIONS=\"-H gnu\"
31530 genfile --length 9472 --file a
31531 genfile --length 9984 --file b
31533 tar -c -M -L10 -f A.tar -f B.tar -f C.tar a b
31535 tar -tMR -f A.tar -f B.tar -f C.tar
31537 echo multiv08.
at:26 >"$at_check_line_file"
31539 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31544 TEST_TAR_FORMAT
=gnu
31545 export TEST_TAR_FORMAT
31546 TAR_OPTIONS
="-H gnu"
31550 genfile
--length 9472 --file a
31551 genfile
--length 9984 --file b
31553 tar -c -M -L10 -f A.
tar -f B.
tar -f C.
tar a b
31555 tar -tMR -f A.
tar -f B.
tar -f C.
tar
31556 ) ) >"$at_stdout" 2>"$at_stder1"
31557 at_func_filter_trace $?
31562 TEST_TAR_FORMAT
=gnu
31563 export TEST_TAR_FORMAT
31564 TAR_OPTIONS
="-H gnu"
31568 genfile
--length 9472 --file a
31569 genfile
--length 9984 --file b
31571 tar -c -M -L10 -f A.
tar -f B.
tar -f C.
tar a b
31573 tar -tMR -f A.
tar -f B.
tar -f C.
tar
31574 ) ) >"$at_stdout" 2>"$at_stderr"
31578 echo >>"$at_stderr"; $as_echo "Creating
31581 $at_diff - "$at_stderr" || at_failed
=:
31582 echo >>"$at_stdout"; $as_echo "Creating
31586 block 43: ** Block of NULs **
31588 $at_diff - "$at_stdout" || at_failed
=:
31589 at_func_check_status
0 $at_status "$at_srcdir/multiv08.at:26"
31591 $at_failed && at_func_log_failure
31598 $at_times_p && times >"$at_times_file"
31599 ) 5>&1 2>&1 |
eval $at_tee_pipe
31600 at_status
=`cat "$at_status_file"`
31603 # 88. old.at:23: old archives
31604 at_setup_line
='old.at:23'
31605 at_desc
="old archives"
31606 $at_quiet $as_echo_n " 88: $at_desc "
31608 echo "# -*- compilation -*-" >> "$at_group_log"
31610 $as_echo "88. old.at:23: testing ..."
31617 $as_echo "$at_srcdir/old.at:27:
31619 tar cfvo archive directory || exit 1
31622 echo old.
at:27 >"$at_check_line_file"
31624 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31628 tar cfvo archive directory ||
exit 1
31630 ) >"$at_stdout" 2>"$at_stder1"
31631 at_func_filter_trace $?
31635 tar cfvo archive directory ||
exit 1
31637 ) >"$at_stdout" 2>"$at_stderr"
31641 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31642 echo >>"$at_stdout"; $as_echo "directory/
31645 $at_diff - "$at_stdout" || at_failed
=:
31646 at_func_check_status
0 $at_status "$at_srcdir/old.at:27"
31648 $at_failed && at_func_log_failure
31653 $at_times_p && times >"$at_times_file"
31654 ) 5>&1 2>&1 |
eval $at_tee_pipe
31655 at_status
=`cat "$at_status_file"`
31658 # 89. recurse.at:21: recurse
31659 at_setup_line
='recurse.at:21'
31661 $at_quiet $as_echo_n " 89: $at_desc "
31663 test -f $XFAILFILE && at_xfail
=yes
31664 echo "# -*- compilation -*-" >> "$at_group_log"
31666 $as_echo "89. recurse.at:21: testing ..."
31674 $as_echo "$at_srcdir/recurse.at:24:
31678 export TEST_TAR_FORMAT
31679 TAR_OPTIONS=\"-H v7\"
31684 touch directory/file
31685 tar --create --file archive --no-recursion directory || exit 1
31688 echo recurse.
at:24 >"$at_check_line_file"
31690 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31696 export TEST_TAR_FORMAT
31697 TAR_OPTIONS
="-H v7"
31702 touch directory
/file
31703 tar --create --file archive
--no-recursion directory ||
exit 1
31705 ) ) >"$at_stdout" 2>"$at_stder1"
31706 at_func_filter_trace $?
31712 export TEST_TAR_FORMAT
31713 TAR_OPTIONS
="-H v7"
31718 touch directory
/file
31719 tar --create --file archive
--no-recursion directory ||
exit 1
31721 ) ) >"$at_stdout" 2>"$at_stderr"
31725 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31726 echo >>"$at_stdout"; $as_echo "directory/
31728 $at_diff - "$at_stdout" || at_failed
=:
31729 at_func_check_status
0 $at_status "$at_srcdir/recurse.at:24"
31731 $at_failed && at_func_log_failure
31735 $as_echo "$at_srcdir/recurse.at:24:
31738 TEST_TAR_FORMAT=oldgnu
31739 export TEST_TAR_FORMAT
31740 TAR_OPTIONS=\"-H oldgnu\"
31745 touch directory/file
31746 tar --create --file archive --no-recursion directory || exit 1
31749 echo recurse.
at:24 >"$at_check_line_file"
31751 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31756 TEST_TAR_FORMAT
=oldgnu
31757 export TEST_TAR_FORMAT
31758 TAR_OPTIONS
="-H oldgnu"
31763 touch directory
/file
31764 tar --create --file archive
--no-recursion directory ||
exit 1
31766 ) ) >"$at_stdout" 2>"$at_stder1"
31767 at_func_filter_trace $?
31772 TEST_TAR_FORMAT
=oldgnu
31773 export TEST_TAR_FORMAT
31774 TAR_OPTIONS
="-H oldgnu"
31779 touch directory
/file
31780 tar --create --file archive
--no-recursion directory ||
exit 1
31782 ) ) >"$at_stdout" 2>"$at_stderr"
31786 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31787 echo >>"$at_stdout"; $as_echo "directory/
31789 $at_diff - "$at_stdout" || at_failed
=:
31790 at_func_check_status
0 $at_status "$at_srcdir/recurse.at:24"
31792 $at_failed && at_func_log_failure
31796 $as_echo "$at_srcdir/recurse.at:24:
31799 TEST_TAR_FORMAT=ustar
31800 export TEST_TAR_FORMAT
31801 TAR_OPTIONS=\"-H ustar\"
31806 touch directory/file
31807 tar --create --file archive --no-recursion directory || exit 1
31810 echo recurse.
at:24 >"$at_check_line_file"
31812 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31817 TEST_TAR_FORMAT
=ustar
31818 export TEST_TAR_FORMAT
31819 TAR_OPTIONS
="-H ustar"
31824 touch directory
/file
31825 tar --create --file archive
--no-recursion directory ||
exit 1
31827 ) ) >"$at_stdout" 2>"$at_stder1"
31828 at_func_filter_trace $?
31833 TEST_TAR_FORMAT
=ustar
31834 export TEST_TAR_FORMAT
31835 TAR_OPTIONS
="-H ustar"
31840 touch directory
/file
31841 tar --create --file archive
--no-recursion directory ||
exit 1
31843 ) ) >"$at_stdout" 2>"$at_stderr"
31847 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31848 echo >>"$at_stdout"; $as_echo "directory/
31850 $at_diff - "$at_stdout" || at_failed
=:
31851 at_func_check_status
0 $at_status "$at_srcdir/recurse.at:24"
31853 $at_failed && at_func_log_failure
31857 $as_echo "$at_srcdir/recurse.at:24:
31860 TEST_TAR_FORMAT=posix
31861 export TEST_TAR_FORMAT
31862 TAR_OPTIONS=\"-H posix\"
31867 touch directory/file
31868 tar --create --file archive --no-recursion directory || exit 1
31871 echo recurse.
at:24 >"$at_check_line_file"
31873 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31878 TEST_TAR_FORMAT
=posix
31879 export TEST_TAR_FORMAT
31880 TAR_OPTIONS
="-H posix"
31885 touch directory
/file
31886 tar --create --file archive
--no-recursion directory ||
exit 1
31888 ) ) >"$at_stdout" 2>"$at_stder1"
31889 at_func_filter_trace $?
31894 TEST_TAR_FORMAT
=posix
31895 export TEST_TAR_FORMAT
31896 TAR_OPTIONS
="-H posix"
31901 touch directory
/file
31902 tar --create --file archive
--no-recursion directory ||
exit 1
31904 ) ) >"$at_stdout" 2>"$at_stderr"
31908 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31909 echo >>"$at_stdout"; $as_echo "directory/
31911 $at_diff - "$at_stdout" || at_failed
=:
31912 at_func_check_status
0 $at_status "$at_srcdir/recurse.at:24"
31914 $at_failed && at_func_log_failure
31918 $as_echo "$at_srcdir/recurse.at:24:
31921 TEST_TAR_FORMAT=gnu
31922 export TEST_TAR_FORMAT
31923 TAR_OPTIONS=\"-H gnu\"
31928 touch directory/file
31929 tar --create --file archive --no-recursion directory || exit 1
31932 echo recurse.
at:24 >"$at_check_line_file"
31934 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31939 TEST_TAR_FORMAT
=gnu
31940 export TEST_TAR_FORMAT
31941 TAR_OPTIONS
="-H gnu"
31946 touch directory
/file
31947 tar --create --file archive
--no-recursion directory ||
exit 1
31949 ) ) >"$at_stdout" 2>"$at_stder1"
31950 at_func_filter_trace $?
31955 TEST_TAR_FORMAT
=gnu
31956 export TEST_TAR_FORMAT
31957 TAR_OPTIONS
="-H gnu"
31962 touch directory
/file
31963 tar --create --file archive
--no-recursion directory ||
exit 1
31965 ) ) >"$at_stdout" 2>"$at_stderr"
31969 at_func_diff_devnull
"$at_stderr" || at_failed
=:
31970 echo >>"$at_stdout"; $as_echo "directory/
31972 $at_diff - "$at_stdout" || at_failed
=:
31973 at_func_check_status
0 $at_status "$at_srcdir/recurse.at:24"
31975 $at_failed && at_func_log_failure
31982 $at_times_p && times >"$at_times_file"
31983 ) 5>&1 2>&1 |
eval $at_tee_pipe
31984 at_status
=`cat "$at_status_file"`
31987 # 90. same-order01.at:26: working -C with --same-order
31988 at_setup_line
='same-order01.at:26'
31989 at_desc
="working -C with --same-order"
31990 $at_quiet $as_echo_n " 90: $at_desc "
31992 test -f $XFAILFILE && at_xfail
=yes
31993 echo "# -*- compilation -*-" >> "$at_group_log"
31995 $as_echo "90. same-order01.at:26: testing ..."
32003 $as_echo "$at_srcdir/same-order01.at:29:
32007 export TEST_TAR_FORMAT
32008 TAR_OPTIONS=\"-H v7\"
32013 test -z "`sort < /dev/null 2>&1`" || exit 77
32016 genfile -l 1024 -f file1
32017 genfile -l 1024 -f file2
32018 tar cf archive file1 file2
32021 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
32025 echo same-order01.
at:29 >"$at_check_line_file"
32027 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32033 export TEST_TAR_FORMAT
32034 TAR_OPTIONS
="-H v7"
32039 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32042 genfile
-l 1024 -f file1
32043 genfile
-l 1024 -f file2
32044 tar cf archive file1 file2
32047 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32050 ) ) >"$at_stdout" 2>"$at_stder1"
32051 at_func_filter_trace $?
32057 export TEST_TAR_FORMAT
32058 TAR_OPTIONS
="-H v7"
32063 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32066 genfile
-l 1024 -f file1
32067 genfile
-l 1024 -f file2
32068 tar cf archive file1 file2
32071 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32074 ) ) >"$at_stdout" 2>"$at_stderr"
32078 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32079 echo >>"$at_stdout"; $as_echo "file1
32082 $at_diff - "$at_stdout" || at_failed
=:
32083 at_func_check_status
0 $at_status "$at_srcdir/same-order01.at:29"
32085 $at_failed && at_func_log_failure
32089 $as_echo "$at_srcdir/same-order01.at:29:
32092 TEST_TAR_FORMAT=oldgnu
32093 export TEST_TAR_FORMAT
32094 TAR_OPTIONS=\"-H oldgnu\"
32099 test -z "`sort < /dev/null 2>&1`" || exit 77
32102 genfile -l 1024 -f file1
32103 genfile -l 1024 -f file2
32104 tar cf archive file1 file2
32107 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
32111 echo same-order01.
at:29 >"$at_check_line_file"
32113 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32118 TEST_TAR_FORMAT
=oldgnu
32119 export TEST_TAR_FORMAT
32120 TAR_OPTIONS
="-H oldgnu"
32125 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32128 genfile
-l 1024 -f file1
32129 genfile
-l 1024 -f file2
32130 tar cf archive file1 file2
32133 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32136 ) ) >"$at_stdout" 2>"$at_stder1"
32137 at_func_filter_trace $?
32142 TEST_TAR_FORMAT
=oldgnu
32143 export TEST_TAR_FORMAT
32144 TAR_OPTIONS
="-H oldgnu"
32149 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32152 genfile
-l 1024 -f file1
32153 genfile
-l 1024 -f file2
32154 tar cf archive file1 file2
32157 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32160 ) ) >"$at_stdout" 2>"$at_stderr"
32164 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32165 echo >>"$at_stdout"; $as_echo "file1
32168 $at_diff - "$at_stdout" || at_failed
=:
32169 at_func_check_status
0 $at_status "$at_srcdir/same-order01.at:29"
32171 $at_failed && at_func_log_failure
32175 $as_echo "$at_srcdir/same-order01.at:29:
32178 TEST_TAR_FORMAT=ustar
32179 export TEST_TAR_FORMAT
32180 TAR_OPTIONS=\"-H ustar\"
32185 test -z "`sort < /dev/null 2>&1`" || exit 77
32188 genfile -l 1024 -f file1
32189 genfile -l 1024 -f file2
32190 tar cf archive file1 file2
32193 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
32197 echo same-order01.
at:29 >"$at_check_line_file"
32199 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32204 TEST_TAR_FORMAT
=ustar
32205 export TEST_TAR_FORMAT
32206 TAR_OPTIONS
="-H ustar"
32211 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32214 genfile
-l 1024 -f file1
32215 genfile
-l 1024 -f file2
32216 tar cf archive file1 file2
32219 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32222 ) ) >"$at_stdout" 2>"$at_stder1"
32223 at_func_filter_trace $?
32228 TEST_TAR_FORMAT
=ustar
32229 export TEST_TAR_FORMAT
32230 TAR_OPTIONS
="-H ustar"
32235 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32238 genfile
-l 1024 -f file1
32239 genfile
-l 1024 -f file2
32240 tar cf archive file1 file2
32243 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32246 ) ) >"$at_stdout" 2>"$at_stderr"
32250 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32251 echo >>"$at_stdout"; $as_echo "file1
32254 $at_diff - "$at_stdout" || at_failed
=:
32255 at_func_check_status
0 $at_status "$at_srcdir/same-order01.at:29"
32257 $at_failed && at_func_log_failure
32261 $as_echo "$at_srcdir/same-order01.at:29:
32264 TEST_TAR_FORMAT=posix
32265 export TEST_TAR_FORMAT
32266 TAR_OPTIONS=\"-H posix\"
32271 test -z "`sort < /dev/null 2>&1`" || exit 77
32274 genfile -l 1024 -f file1
32275 genfile -l 1024 -f file2
32276 tar cf archive file1 file2
32279 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
32283 echo same-order01.
at:29 >"$at_check_line_file"
32285 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32290 TEST_TAR_FORMAT
=posix
32291 export TEST_TAR_FORMAT
32292 TAR_OPTIONS
="-H posix"
32297 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32300 genfile
-l 1024 -f file1
32301 genfile
-l 1024 -f file2
32302 tar cf archive file1 file2
32305 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32308 ) ) >"$at_stdout" 2>"$at_stder1"
32309 at_func_filter_trace $?
32314 TEST_TAR_FORMAT
=posix
32315 export TEST_TAR_FORMAT
32316 TAR_OPTIONS
="-H posix"
32321 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32324 genfile
-l 1024 -f file1
32325 genfile
-l 1024 -f file2
32326 tar cf archive file1 file2
32329 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32332 ) ) >"$at_stdout" 2>"$at_stderr"
32336 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32337 echo >>"$at_stdout"; $as_echo "file1
32340 $at_diff - "$at_stdout" || at_failed
=:
32341 at_func_check_status
0 $at_status "$at_srcdir/same-order01.at:29"
32343 $at_failed && at_func_log_failure
32347 $as_echo "$at_srcdir/same-order01.at:29:
32350 TEST_TAR_FORMAT=gnu
32351 export TEST_TAR_FORMAT
32352 TAR_OPTIONS=\"-H gnu\"
32357 test -z "`sort < /dev/null 2>&1`" || exit 77
32360 genfile -l 1024 -f file1
32361 genfile -l 1024 -f file2
32362 tar cf archive file1 file2
32365 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
32369 echo same-order01.
at:29 >"$at_check_line_file"
32371 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32376 TEST_TAR_FORMAT
=gnu
32377 export TEST_TAR_FORMAT
32378 TAR_OPTIONS
="-H gnu"
32383 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32386 genfile
-l 1024 -f file1
32387 genfile
-l 1024 -f file2
32388 tar cf archive file1 file2
32391 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32394 ) ) >"$at_stdout" 2>"$at_stder1"
32395 at_func_filter_trace $?
32400 TEST_TAR_FORMAT
=gnu
32401 export TEST_TAR_FORMAT
32402 TAR_OPTIONS
="-H gnu"
32407 test -z "`sort < /dev/null 2>&1`" ||
exit 77
32410 genfile
-l 1024 -f file1
32411 genfile
-l 1024 -f file2
32412 tar cf archive file1 file2
32415 tar -xf archive
--same-order -C directory
--warning=no-timestamp ||
exit 1
32418 ) ) >"$at_stdout" 2>"$at_stderr"
32422 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32423 echo >>"$at_stdout"; $as_echo "file1
32426 $at_diff - "$at_stdout" || at_failed
=:
32427 at_func_check_status
0 $at_status "$at_srcdir/same-order01.at:29"
32429 $at_failed && at_func_log_failure
32436 $at_times_p && times >"$at_times_file"
32437 ) 5>&1 2>&1 |
eval $at_tee_pipe
32438 at_status
=`cat "$at_status_file"`
32441 # 91. same-order02.at:25: multiple -C options
32442 at_setup_line
='same-order02.at:25'
32443 at_desc
="multiple -C options"
32444 $at_quiet $as_echo_n " 91: $at_desc "
32446 test -f $XFAILFILE && at_xfail
=yes
32447 echo "# -*- compilation -*-" >> "$at_group_log"
32449 $as_echo "91. same-order02.at:25: testing ..."
32457 $as_echo "$at_srcdir/same-order02.at:28:
32461 export TEST_TAR_FORMAT
32462 TAR_OPTIONS=\"-H v7\"
32466 genfile -l 1024 -f file1
32467 genfile -l 1024 -f file2
32468 tar cf archive file1 file2
32474 tar -xf archive --same-order --warning=no-timestamp \\
32475 -C \$HERE/en file1 \\
32476 -C \$HERE/to file2 || exit 1
32482 echo same-order02.
at:28 >"$at_check_line_file"
32484 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
32490 export TEST_TAR_FORMAT
32491 TAR_OPTIONS
="-H v7"
32495 genfile
-l 1024 -f file1
32496 genfile
-l 1024 -f file2
32497 tar cf archive file1 file2
32503 tar -xf archive
--same-order --warning=no-timestamp \
32504 -C $HERE/en file1 \
32505 -C $HERE/to file2 ||
exit 1
32510 ) ) >"$at_stdout" 2>"$at_stder1"
32511 at_func_filter_trace $?
32517 export TEST_TAR_FORMAT
32518 TAR_OPTIONS
="-H v7"
32522 genfile
-l 1024 -f file1
32523 genfile
-l 1024 -f file2
32524 tar cf archive file1 file2
32530 tar -xf archive
--same-order --warning=no-timestamp \
32531 -C $HERE/en file1 \
32532 -C $HERE/to file2 ||
exit 1
32537 ) ) >"$at_stdout" 2>"$at_stderr"
32541 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32542 echo >>"$at_stdout"; $as_echo "file1
32546 $at_diff - "$at_stdout" || at_failed
=:
32547 at_func_check_status
0 $at_status "$at_srcdir/same-order02.at:28"
32549 $at_failed && at_func_log_failure
32553 $as_echo "$at_srcdir/same-order02.at:28:
32556 TEST_TAR_FORMAT=oldgnu
32557 export TEST_TAR_FORMAT
32558 TAR_OPTIONS=\"-H oldgnu\"
32562 genfile -l 1024 -f file1
32563 genfile -l 1024 -f file2
32564 tar cf archive file1 file2
32570 tar -xf archive --same-order --warning=no-timestamp \\
32571 -C \$HERE/en file1 \\
32572 -C \$HERE/to file2 || exit 1
32578 echo same-order02.
at:28 >"$at_check_line_file"
32580 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
32585 TEST_TAR_FORMAT
=oldgnu
32586 export TEST_TAR_FORMAT
32587 TAR_OPTIONS
="-H oldgnu"
32591 genfile
-l 1024 -f file1
32592 genfile
-l 1024 -f file2
32593 tar cf archive file1 file2
32599 tar -xf archive
--same-order --warning=no-timestamp \
32600 -C $HERE/en file1 \
32601 -C $HERE/to file2 ||
exit 1
32606 ) ) >"$at_stdout" 2>"$at_stder1"
32607 at_func_filter_trace $?
32612 TEST_TAR_FORMAT
=oldgnu
32613 export TEST_TAR_FORMAT
32614 TAR_OPTIONS
="-H oldgnu"
32618 genfile
-l 1024 -f file1
32619 genfile
-l 1024 -f file2
32620 tar cf archive file1 file2
32626 tar -xf archive
--same-order --warning=no-timestamp \
32627 -C $HERE/en file1 \
32628 -C $HERE/to file2 ||
exit 1
32633 ) ) >"$at_stdout" 2>"$at_stderr"
32637 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32638 echo >>"$at_stdout"; $as_echo "file1
32642 $at_diff - "$at_stdout" || at_failed
=:
32643 at_func_check_status
0 $at_status "$at_srcdir/same-order02.at:28"
32645 $at_failed && at_func_log_failure
32649 $as_echo "$at_srcdir/same-order02.at:28:
32652 TEST_TAR_FORMAT=ustar
32653 export TEST_TAR_FORMAT
32654 TAR_OPTIONS=\"-H ustar\"
32658 genfile -l 1024 -f file1
32659 genfile -l 1024 -f file2
32660 tar cf archive file1 file2
32666 tar -xf archive --same-order --warning=no-timestamp \\
32667 -C \$HERE/en file1 \\
32668 -C \$HERE/to file2 || exit 1
32674 echo same-order02.
at:28 >"$at_check_line_file"
32676 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
32681 TEST_TAR_FORMAT
=ustar
32682 export TEST_TAR_FORMAT
32683 TAR_OPTIONS
="-H ustar"
32687 genfile
-l 1024 -f file1
32688 genfile
-l 1024 -f file2
32689 tar cf archive file1 file2
32695 tar -xf archive
--same-order --warning=no-timestamp \
32696 -C $HERE/en file1 \
32697 -C $HERE/to file2 ||
exit 1
32702 ) ) >"$at_stdout" 2>"$at_stder1"
32703 at_func_filter_trace $?
32708 TEST_TAR_FORMAT
=ustar
32709 export TEST_TAR_FORMAT
32710 TAR_OPTIONS
="-H ustar"
32714 genfile
-l 1024 -f file1
32715 genfile
-l 1024 -f file2
32716 tar cf archive file1 file2
32722 tar -xf archive
--same-order --warning=no-timestamp \
32723 -C $HERE/en file1 \
32724 -C $HERE/to file2 ||
exit 1
32729 ) ) >"$at_stdout" 2>"$at_stderr"
32733 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32734 echo >>"$at_stdout"; $as_echo "file1
32738 $at_diff - "$at_stdout" || at_failed
=:
32739 at_func_check_status
0 $at_status "$at_srcdir/same-order02.at:28"
32741 $at_failed && at_func_log_failure
32745 $as_echo "$at_srcdir/same-order02.at:28:
32748 TEST_TAR_FORMAT=posix
32749 export TEST_TAR_FORMAT
32750 TAR_OPTIONS=\"-H posix\"
32754 genfile -l 1024 -f file1
32755 genfile -l 1024 -f file2
32756 tar cf archive file1 file2
32762 tar -xf archive --same-order --warning=no-timestamp \\
32763 -C \$HERE/en file1 \\
32764 -C \$HERE/to file2 || exit 1
32770 echo same-order02.
at:28 >"$at_check_line_file"
32772 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
32777 TEST_TAR_FORMAT
=posix
32778 export TEST_TAR_FORMAT
32779 TAR_OPTIONS
="-H posix"
32783 genfile
-l 1024 -f file1
32784 genfile
-l 1024 -f file2
32785 tar cf archive file1 file2
32791 tar -xf archive
--same-order --warning=no-timestamp \
32792 -C $HERE/en file1 \
32793 -C $HERE/to file2 ||
exit 1
32798 ) ) >"$at_stdout" 2>"$at_stder1"
32799 at_func_filter_trace $?
32804 TEST_TAR_FORMAT
=posix
32805 export TEST_TAR_FORMAT
32806 TAR_OPTIONS
="-H posix"
32810 genfile
-l 1024 -f file1
32811 genfile
-l 1024 -f file2
32812 tar cf archive file1 file2
32818 tar -xf archive
--same-order --warning=no-timestamp \
32819 -C $HERE/en file1 \
32820 -C $HERE/to file2 ||
exit 1
32825 ) ) >"$at_stdout" 2>"$at_stderr"
32829 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32830 echo >>"$at_stdout"; $as_echo "file1
32834 $at_diff - "$at_stdout" || at_failed
=:
32835 at_func_check_status
0 $at_status "$at_srcdir/same-order02.at:28"
32837 $at_failed && at_func_log_failure
32841 $as_echo "$at_srcdir/same-order02.at:28:
32844 TEST_TAR_FORMAT=gnu
32845 export TEST_TAR_FORMAT
32846 TAR_OPTIONS=\"-H gnu\"
32850 genfile -l 1024 -f file1
32851 genfile -l 1024 -f file2
32852 tar cf archive file1 file2
32858 tar -xf archive --same-order --warning=no-timestamp \\
32859 -C \$HERE/en file1 \\
32860 -C \$HERE/to file2 || exit 1
32866 echo same-order02.
at:28 >"$at_check_line_file"
32868 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
32873 TEST_TAR_FORMAT
=gnu
32874 export TEST_TAR_FORMAT
32875 TAR_OPTIONS
="-H gnu"
32879 genfile
-l 1024 -f file1
32880 genfile
-l 1024 -f file2
32881 tar cf archive file1 file2
32887 tar -xf archive
--same-order --warning=no-timestamp \
32888 -C $HERE/en file1 \
32889 -C $HERE/to file2 ||
exit 1
32894 ) ) >"$at_stdout" 2>"$at_stder1"
32895 at_func_filter_trace $?
32900 TEST_TAR_FORMAT
=gnu
32901 export TEST_TAR_FORMAT
32902 TAR_OPTIONS
="-H gnu"
32906 genfile
-l 1024 -f file1
32907 genfile
-l 1024 -f file2
32908 tar cf archive file1 file2
32914 tar -xf archive
--same-order --warning=no-timestamp \
32915 -C $HERE/en file1 \
32916 -C $HERE/to file2 ||
exit 1
32921 ) ) >"$at_stdout" 2>"$at_stderr"
32925 at_func_diff_devnull
"$at_stderr" || at_failed
=:
32926 echo >>"$at_stdout"; $as_echo "file1
32930 $at_diff - "$at_stdout" || at_failed
=:
32931 at_func_check_status
0 $at_status "$at_srcdir/same-order02.at:28"
32933 $at_failed && at_func_log_failure
32940 $at_times_p && times >"$at_times_file"
32941 ) 5>&1 2>&1 |
eval $at_tee_pipe
32942 at_status
=`cat "$at_status_file"`
32945 # 92. shortrec.at:25: short records
32946 at_setup_line
='shortrec.at:25'
32947 at_desc
="short records"
32948 $at_quiet $as_echo_n " 92: $at_desc "
32950 test -f $XFAILFILE && at_xfail
=yes
32951 echo "# -*- compilation -*-" >> "$at_group_log"
32953 $as_echo "92. shortrec.at:25: testing ..."
32961 $as_echo "$at_srcdir/shortrec.at:28:
32965 export TEST_TAR_FORMAT
32966 TAR_OPTIONS=\"-H v7\"
32971 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32972 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32973 tar -c -b 1 -f archive directory
32974 tar -t -f archive > /dev/null
32975 tar -t -f - < archive > /dev/null
32979 echo shortrec.
at:28 >"$at_check_line_file"
32981 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32987 export TEST_TAR_FORMAT
32988 TAR_OPTIONS
="-H v7"
32993 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
32994 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
32995 tar -c -b 1 -f archive directory
32996 tar -t -f archive
> /dev
/null
32997 tar -t -f - < archive
> /dev
/null
33000 ) ) >"$at_stdout" 2>"$at_stder1"
33001 at_func_filter_trace $?
33007 export TEST_TAR_FORMAT
33008 TAR_OPTIONS
="-H v7"
33013 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33014 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33015 tar -c -b 1 -f archive directory
33016 tar -t -f archive
> /dev
/null
33017 tar -t -f - < archive
> /dev
/null
33020 ) ) >"$at_stdout" 2>"$at_stderr"
33024 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33025 at_func_diff_devnull
"$at_stdout" || at_failed
=:
33026 at_func_check_status
0 $at_status "$at_srcdir/shortrec.at:28"
33028 $at_failed && at_func_log_failure
33032 $as_echo "$at_srcdir/shortrec.at:28:
33035 TEST_TAR_FORMAT=oldgnu
33036 export TEST_TAR_FORMAT
33037 TAR_OPTIONS=\"-H oldgnu\"
33042 (cd directory && touch a b c d e f g h i j k l m n o p q r)
33043 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
33044 tar -c -b 1 -f archive directory
33045 tar -t -f archive > /dev/null
33046 tar -t -f - < archive > /dev/null
33050 echo shortrec.
at:28 >"$at_check_line_file"
33052 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33057 TEST_TAR_FORMAT
=oldgnu
33058 export TEST_TAR_FORMAT
33059 TAR_OPTIONS
="-H oldgnu"
33064 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33065 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33066 tar -c -b 1 -f archive directory
33067 tar -t -f archive
> /dev
/null
33068 tar -t -f - < archive
> /dev
/null
33071 ) ) >"$at_stdout" 2>"$at_stder1"
33072 at_func_filter_trace $?
33077 TEST_TAR_FORMAT
=oldgnu
33078 export TEST_TAR_FORMAT
33079 TAR_OPTIONS
="-H oldgnu"
33084 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33085 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33086 tar -c -b 1 -f archive directory
33087 tar -t -f archive
> /dev
/null
33088 tar -t -f - < archive
> /dev
/null
33091 ) ) >"$at_stdout" 2>"$at_stderr"
33095 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33096 at_func_diff_devnull
"$at_stdout" || at_failed
=:
33097 at_func_check_status
0 $at_status "$at_srcdir/shortrec.at:28"
33099 $at_failed && at_func_log_failure
33103 $as_echo "$at_srcdir/shortrec.at:28:
33106 TEST_TAR_FORMAT=ustar
33107 export TEST_TAR_FORMAT
33108 TAR_OPTIONS=\"-H ustar\"
33113 (cd directory && touch a b c d e f g h i j k l m n o p q r)
33114 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
33115 tar -c -b 1 -f archive directory
33116 tar -t -f archive > /dev/null
33117 tar -t -f - < archive > /dev/null
33121 echo shortrec.
at:28 >"$at_check_line_file"
33123 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33128 TEST_TAR_FORMAT
=ustar
33129 export TEST_TAR_FORMAT
33130 TAR_OPTIONS
="-H ustar"
33135 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33136 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33137 tar -c -b 1 -f archive directory
33138 tar -t -f archive
> /dev
/null
33139 tar -t -f - < archive
> /dev
/null
33142 ) ) >"$at_stdout" 2>"$at_stder1"
33143 at_func_filter_trace $?
33148 TEST_TAR_FORMAT
=ustar
33149 export TEST_TAR_FORMAT
33150 TAR_OPTIONS
="-H ustar"
33155 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33156 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33157 tar -c -b 1 -f archive directory
33158 tar -t -f archive
> /dev
/null
33159 tar -t -f - < archive
> /dev
/null
33162 ) ) >"$at_stdout" 2>"$at_stderr"
33166 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33167 at_func_diff_devnull
"$at_stdout" || at_failed
=:
33168 at_func_check_status
0 $at_status "$at_srcdir/shortrec.at:28"
33170 $at_failed && at_func_log_failure
33174 $as_echo "$at_srcdir/shortrec.at:28:
33177 TEST_TAR_FORMAT=posix
33178 export TEST_TAR_FORMAT
33179 TAR_OPTIONS=\"-H posix\"
33184 (cd directory && touch a b c d e f g h i j k l m n o p q r)
33185 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
33186 tar -c -b 1 -f archive directory
33187 tar -t -f archive > /dev/null
33188 tar -t -f - < archive > /dev/null
33192 echo shortrec.
at:28 >"$at_check_line_file"
33194 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33199 TEST_TAR_FORMAT
=posix
33200 export TEST_TAR_FORMAT
33201 TAR_OPTIONS
="-H posix"
33206 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33207 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33208 tar -c -b 1 -f archive directory
33209 tar -t -f archive
> /dev
/null
33210 tar -t -f - < archive
> /dev
/null
33213 ) ) >"$at_stdout" 2>"$at_stder1"
33214 at_func_filter_trace $?
33219 TEST_TAR_FORMAT
=posix
33220 export TEST_TAR_FORMAT
33221 TAR_OPTIONS
="-H posix"
33226 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33227 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33228 tar -c -b 1 -f archive directory
33229 tar -t -f archive
> /dev
/null
33230 tar -t -f - < archive
> /dev
/null
33233 ) ) >"$at_stdout" 2>"$at_stderr"
33237 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33238 at_func_diff_devnull
"$at_stdout" || at_failed
=:
33239 at_func_check_status
0 $at_status "$at_srcdir/shortrec.at:28"
33241 $at_failed && at_func_log_failure
33245 $as_echo "$at_srcdir/shortrec.at:28:
33248 TEST_TAR_FORMAT=gnu
33249 export TEST_TAR_FORMAT
33250 TAR_OPTIONS=\"-H gnu\"
33255 (cd directory && touch a b c d e f g h i j k l m n o p q r)
33256 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
33257 tar -c -b 1 -f archive directory
33258 tar -t -f archive > /dev/null
33259 tar -t -f - < archive > /dev/null
33263 echo shortrec.
at:28 >"$at_check_line_file"
33265 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33270 TEST_TAR_FORMAT
=gnu
33271 export TEST_TAR_FORMAT
33272 TAR_OPTIONS
="-H gnu"
33277 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33278 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33279 tar -c -b 1 -f archive directory
33280 tar -t -f archive
> /dev
/null
33281 tar -t -f - < archive
> /dev
/null
33284 ) ) >"$at_stdout" 2>"$at_stder1"
33285 at_func_filter_trace $?
33290 TEST_TAR_FORMAT
=gnu
33291 export TEST_TAR_FORMAT
33292 TAR_OPTIONS
="-H gnu"
33297 (cd directory
&& touch a b c d e f g h i j k l m n o p q r
)
33298 tar -c -b 1 -f - directory |
tar -t -f - > /dev
/null
33299 tar -c -b 1 -f archive directory
33300 tar -t -f archive
> /dev
/null
33301 tar -t -f - < archive
> /dev
/null
33304 ) ) >"$at_stdout" 2>"$at_stderr"
33308 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33309 at_func_diff_devnull
"$at_stdout" || at_failed
=:
33310 at_func_check_status
0 $at_status "$at_srcdir/shortrec.at:28"
33312 $at_failed && at_func_log_failure
33319 $at_times_p && times >"$at_times_file"
33320 ) 5>&1 2>&1 |
eval $at_tee_pipe
33321 at_status
=`cat "$at_status_file"`
33324 # 93. sparse01.at:21: sparse files
33325 at_setup_line
='sparse01.at:21'
33326 at_desc
="sparse files"
33327 $at_quiet $as_echo_n " 93: $at_desc "
33329 test -f $XFAILFILE && at_xfail
=yes
33330 echo "# -*- compilation -*-" >> "$at_group_log"
33332 $as_echo "93. sparse01.at:21: testing ..."
33340 $as_echo "$at_srcdir/sparse01.at:24:
33343 TEST_TAR_FORMAT=posix
33344 export TEST_TAR_FORMAT
33345 TAR_OPTIONS=\"-H posix\"
33349 genfile --length 1000 -f begin
33350 genfile --length 1000 -f end
33351 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33352 tar -c -f archive --sparse begin sparsefile end || exit 1
33358 tar Cxf directory archive --warning=no-timestamp
33359 genfile --stat=name,size sparsefile
33360 cmp sparsefile directory/sparsefile
33362 echo sparse01.
at:24 >"$at_check_line_file"
33364 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33369 TEST_TAR_FORMAT
=posix
33370 export TEST_TAR_FORMAT
33371 TAR_OPTIONS
="-H posix"
33375 genfile
--length 1000 -f begin
33376 genfile
--length 1000 -f end
33377 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33378 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33384 tar Cxf directory archive
--warning=no-timestamp
33385 genfile
--stat=name
,size sparsefile
33386 cmp sparsefile directory
/sparsefile
33387 ) ) >"$at_stdout" 2>"$at_stder1"
33388 at_func_filter_trace $?
33393 TEST_TAR_FORMAT
=posix
33394 export TEST_TAR_FORMAT
33395 TAR_OPTIONS
="-H posix"
33399 genfile
--length 1000 -f begin
33400 genfile
--length 1000 -f end
33401 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33402 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33408 tar Cxf directory archive
--warning=no-timestamp
33409 genfile
--stat=name
,size sparsefile
33410 cmp sparsefile directory
/sparsefile
33411 ) ) >"$at_stdout" 2>"$at_stderr"
33415 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33416 echo stdout
:; tee stdout
<"$at_stdout"
33417 at_func_check_status
0 $at_status "$at_srcdir/sparse01.at:24"
33419 $at_failed && at_func_log_failure
33423 $as_echo "$at_srcdir/sparse01.at:24:
33426 TEST_TAR_FORMAT=gnu
33427 export TEST_TAR_FORMAT
33428 TAR_OPTIONS=\"-H gnu\"
33432 genfile --length 1000 -f begin
33433 genfile --length 1000 -f end
33434 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33435 tar -c -f archive --sparse begin sparsefile end || exit 1
33441 tar Cxf directory archive --warning=no-timestamp
33442 genfile --stat=name,size sparsefile
33443 cmp sparsefile directory/sparsefile
33445 echo sparse01.
at:24 >"$at_check_line_file"
33447 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33452 TEST_TAR_FORMAT
=gnu
33453 export TEST_TAR_FORMAT
33454 TAR_OPTIONS
="-H gnu"
33458 genfile
--length 1000 -f begin
33459 genfile
--length 1000 -f end
33460 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33461 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33467 tar Cxf directory archive
--warning=no-timestamp
33468 genfile
--stat=name
,size sparsefile
33469 cmp sparsefile directory
/sparsefile
33470 ) ) >"$at_stdout" 2>"$at_stder1"
33471 at_func_filter_trace $?
33476 TEST_TAR_FORMAT
=gnu
33477 export TEST_TAR_FORMAT
33478 TAR_OPTIONS
="-H gnu"
33482 genfile
--length 1000 -f begin
33483 genfile
--length 1000 -f end
33484 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33485 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33491 tar Cxf directory archive
--warning=no-timestamp
33492 genfile
--stat=name
,size sparsefile
33493 cmp sparsefile directory
/sparsefile
33494 ) ) >"$at_stdout" 2>"$at_stderr"
33498 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33499 echo stdout
:; tee stdout
<"$at_stdout"
33500 at_func_check_status
0 $at_status "$at_srcdir/sparse01.at:24"
33502 $at_failed && at_func_log_failure
33506 $as_echo "$at_srcdir/sparse01.at:24:
33509 TEST_TAR_FORMAT=oldgnu
33510 export TEST_TAR_FORMAT
33511 TAR_OPTIONS=\"-H oldgnu\"
33515 genfile --length 1000 -f begin
33516 genfile --length 1000 -f end
33517 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33518 tar -c -f archive --sparse begin sparsefile end || exit 1
33524 tar Cxf directory archive --warning=no-timestamp
33525 genfile --stat=name,size sparsefile
33526 cmp sparsefile directory/sparsefile
33528 echo sparse01.
at:24 >"$at_check_line_file"
33530 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33535 TEST_TAR_FORMAT
=oldgnu
33536 export TEST_TAR_FORMAT
33537 TAR_OPTIONS
="-H oldgnu"
33541 genfile
--length 1000 -f begin
33542 genfile
--length 1000 -f end
33543 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33544 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33550 tar Cxf directory archive
--warning=no-timestamp
33551 genfile
--stat=name
,size sparsefile
33552 cmp sparsefile directory
/sparsefile
33553 ) ) >"$at_stdout" 2>"$at_stder1"
33554 at_func_filter_trace $?
33559 TEST_TAR_FORMAT
=oldgnu
33560 export TEST_TAR_FORMAT
33561 TAR_OPTIONS
="-H oldgnu"
33565 genfile
--length 1000 -f begin
33566 genfile
--length 1000 -f end
33567 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33568 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33574 tar Cxf directory archive
--warning=no-timestamp
33575 genfile
--stat=name
,size sparsefile
33576 cmp sparsefile directory
/sparsefile
33577 ) ) >"$at_stdout" 2>"$at_stderr"
33581 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33582 echo stdout
:; tee stdout
<"$at_stdout"
33583 at_func_check_status
0 $at_status "$at_srcdir/sparse01.at:24"
33585 $at_failed && at_func_log_failure
33592 cat >stdout.re
<<'_ATEOF'
33594 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
33595 -rw-r--r-- ^ ^ * *10344448 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
33596 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
33598 sparsefile 10344448
33601 awk '{print NR " " $0}' stdout
> $$
.1
33602 awk '{print NR " " $0}' stdout.re |
join - $$
.1 |
33603 while read NUM RE LINE
33605 echo "$LINE" |
grep -- "$RE" >/dev
/null ||
exit 1
33610 $at_times_p && times >"$at_times_file"
33611 ) 5>&1 2>&1 |
eval $at_tee_pipe
33612 at_status
=`cat "$at_status_file"`
33615 # 94. sparse02.at:21: extracting sparse file over a pipe
33616 at_setup_line
='sparse02.at:21'
33617 at_desc
="extracting sparse file over a pipe"
33618 $at_quiet $as_echo_n " 94: $at_desc "
33620 test -f $XFAILFILE && at_xfail
=yes
33621 echo "# -*- compilation -*-" >> "$at_group_log"
33623 $as_echo "94. sparse02.at:21: testing ..."
33628 # Tar 1.14 - 1.15.1 was unable to extract sparse files to a pipe.
33629 # References: <16896.21739.460782.124775@jik.kamens.brookline.ma.us>
33630 # http://lists.gnu.org/archive/html/bug-tar/2005-02/msg00003.html
33635 $as_echo "$at_srcdir/sparse02.at:28:
33638 TEST_TAR_FORMAT=posix
33639 export TEST_TAR_FORMAT
33640 TAR_OPTIONS=\"-H posix\"
33644 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33645 tar -c -f archive --sparse sparsefile || exit 1
33648 tar xfO archive | cat - > sparsecopy || exit 1
33649 cmp sparsefile sparsecopy
33651 echo sparse02.
at:28 >"$at_check_line_file"
33653 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33658 TEST_TAR_FORMAT
=posix
33659 export TEST_TAR_FORMAT
33660 TAR_OPTIONS
="-H posix"
33664 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33665 tar -c -f archive
--sparse sparsefile ||
exit 1
33668 tar xfO archive |
cat - > sparsecopy ||
exit 1
33669 cmp sparsefile sparsecopy
33670 ) ) >"$at_stdout" 2>"$at_stder1"
33671 at_func_filter_trace $?
33676 TEST_TAR_FORMAT
=posix
33677 export TEST_TAR_FORMAT
33678 TAR_OPTIONS
="-H posix"
33682 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33683 tar -c -f archive
--sparse sparsefile ||
exit 1
33686 tar xfO archive |
cat - > sparsecopy ||
exit 1
33687 cmp sparsefile sparsecopy
33688 ) ) >"$at_stdout" 2>"$at_stderr"
33692 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33693 echo >>"$at_stdout"; $as_echo "separator
33695 $at_diff - "$at_stdout" || at_failed
=:
33696 at_func_check_status
0 $at_status "$at_srcdir/sparse02.at:28"
33698 $at_failed && at_func_log_failure
33702 $as_echo "$at_srcdir/sparse02.at:28:
33705 TEST_TAR_FORMAT=gnu
33706 export TEST_TAR_FORMAT
33707 TAR_OPTIONS=\"-H gnu\"
33711 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33712 tar -c -f archive --sparse sparsefile || exit 1
33715 tar xfO archive | cat - > sparsecopy || exit 1
33716 cmp sparsefile sparsecopy
33718 echo sparse02.
at:28 >"$at_check_line_file"
33720 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33725 TEST_TAR_FORMAT
=gnu
33726 export TEST_TAR_FORMAT
33727 TAR_OPTIONS
="-H gnu"
33731 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33732 tar -c -f archive
--sparse sparsefile ||
exit 1
33735 tar xfO archive |
cat - > sparsecopy ||
exit 1
33736 cmp sparsefile sparsecopy
33737 ) ) >"$at_stdout" 2>"$at_stder1"
33738 at_func_filter_trace $?
33743 TEST_TAR_FORMAT
=gnu
33744 export TEST_TAR_FORMAT
33745 TAR_OPTIONS
="-H gnu"
33749 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33750 tar -c -f archive
--sparse sparsefile ||
exit 1
33753 tar xfO archive |
cat - > sparsecopy ||
exit 1
33754 cmp sparsefile sparsecopy
33755 ) ) >"$at_stdout" 2>"$at_stderr"
33759 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33760 echo >>"$at_stdout"; $as_echo "separator
33762 $at_diff - "$at_stdout" || at_failed
=:
33763 at_func_check_status
0 $at_status "$at_srcdir/sparse02.at:28"
33765 $at_failed && at_func_log_failure
33769 $as_echo "$at_srcdir/sparse02.at:28:
33772 TEST_TAR_FORMAT=oldgnu
33773 export TEST_TAR_FORMAT
33774 TAR_OPTIONS=\"-H oldgnu\"
33778 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
33779 tar -c -f archive --sparse sparsefile || exit 1
33782 tar xfO archive | cat - > sparsecopy || exit 1
33783 cmp sparsefile sparsecopy
33785 echo sparse02.
at:28 >"$at_check_line_file"
33787 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33792 TEST_TAR_FORMAT
=oldgnu
33793 export TEST_TAR_FORMAT
33794 TAR_OPTIONS
="-H oldgnu"
33798 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33799 tar -c -f archive
--sparse sparsefile ||
exit 1
33802 tar xfO archive |
cat - > sparsecopy ||
exit 1
33803 cmp sparsefile sparsecopy
33804 ) ) >"$at_stdout" 2>"$at_stder1"
33805 at_func_filter_trace $?
33810 TEST_TAR_FORMAT
=oldgnu
33811 export TEST_TAR_FORMAT
33812 TAR_OPTIONS
="-H oldgnu"
33816 genfile
--sparse --file sparsefile
--block-size 512 0 ABCD
1M EFGH
2000K IJKL ||
exit 77
33817 tar -c -f archive
--sparse sparsefile ||
exit 1
33820 tar xfO archive |
cat - > sparsecopy ||
exit 1
33821 cmp sparsefile sparsecopy
33822 ) ) >"$at_stdout" 2>"$at_stderr"
33826 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33827 echo >>"$at_stdout"; $as_echo "separator
33829 $at_diff - "$at_stdout" || at_failed
=:
33830 at_func_check_status
0 $at_status "$at_srcdir/sparse02.at:28"
33832 $at_failed && at_func_log_failure
33839 $at_times_p && times >"$at_times_file"
33840 ) 5>&1 2>&1 |
eval $at_tee_pipe
33841 at_status
=`cat "$at_status_file"`
33844 # 95. sparse03.at:21: storing sparse files > 8G
33845 at_setup_line
='sparse03.at:21'
33846 at_desc
="storing sparse files > 8G"
33847 $at_quiet $as_echo_n " 95: $at_desc "
33849 test -f $XFAILFILE && at_xfail
=yes
33850 echo "# -*- compilation -*-" >> "$at_group_log"
33852 $as_echo "95. sparse03.at:21: testing ..."
33857 # Tar 1.15.1 incorrectly computed sparse member size if the extended
33858 # PAX header contained size keyword.
33859 # References: <87vf46nb36.fsf@penguin.cs.ucla.edu>
33860 # http://lists.gnu.org/archive/html/bug-tar/2005-06/msg00040.html
33865 $as_echo "$at_srcdir/sparse03.at:29:
33868 TEST_TAR_FORMAT=posix
33869 export TEST_TAR_FORMAT
33870 TAR_OPTIONS=\"-H posix\"
33874 genfile --length 1000 --file begin
33875 genfile --length 1000 --file end
33876 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
33877 tar -c -f archive --sparse begin sparsefile end || exit 1
33883 tar Cxf directory archive
33884 genfile --stat=name,size sparsefile
33885 cmp sparsefile directory/sparsefile
33887 echo sparse03.
at:29 >"$at_check_line_file"
33889 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33894 TEST_TAR_FORMAT
=posix
33895 export TEST_TAR_FORMAT
33896 TAR_OPTIONS
="-H posix"
33900 genfile
--length 1000 --file begin
33901 genfile
--length 1000 --file end
33902 genfile
--sparse --file sparsefile
--block-size 512 8G A ||
exit 77
33903 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33909 tar Cxf directory archive
33910 genfile
--stat=name
,size sparsefile
33911 cmp sparsefile directory
/sparsefile
33912 ) ) >"$at_stdout" 2>"$at_stder1"
33913 at_func_filter_trace $?
33918 TEST_TAR_FORMAT
=posix
33919 export TEST_TAR_FORMAT
33920 TAR_OPTIONS
="-H posix"
33924 genfile
--length 1000 --file begin
33925 genfile
--length 1000 --file end
33926 genfile
--sparse --file sparsefile
--block-size 512 8G A ||
exit 77
33927 tar -c -f archive
--sparse begin sparsefile end ||
exit 1
33933 tar Cxf directory archive
33934 genfile
--stat=name
,size sparsefile
33935 cmp sparsefile directory
/sparsefile
33936 ) ) >"$at_stdout" 2>"$at_stderr"
33940 at_func_diff_devnull
"$at_stderr" || at_failed
=:
33941 echo stdout
:; tee stdout
<"$at_stdout"
33942 at_func_check_status
0 $at_status "$at_srcdir/sparse03.at:29"
33944 $at_failed && at_func_log_failure
33951 cat >stdout.re
<<'_ATEOF'
33953 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
33954 -rw-r--r-- ^ ^ * *8589935104 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
33955 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
33957 sparsefile 8589935104
33960 awk '{print NR " " $0}' stdout
> $$
.1
33961 awk '{print NR " " $0}' stdout.re |
join - $$
.1 |
33962 while read NUM RE LINE
33964 echo "$LINE" |
grep -- "$RE" >/dev
/null ||
exit 1
33969 $at_times_p && times >"$at_times_file"
33970 ) 5>&1 2>&1 |
eval $at_tee_pipe
33971 at_status
=`cat "$at_status_file"`
33974 # 96. sparse04.at:21: storing long sparse file names
33975 at_setup_line
='sparse04.at:21'
33976 at_desc
="storing long sparse file names"
33977 $at_quiet $as_echo_n " 96: $at_desc "
33979 test -f $XFAILFILE && at_xfail
=yes
33980 echo "# -*- compilation -*-" >> "$at_group_log"
33982 $as_echo "96. sparse04.at:21: testing ..."
33987 # Description: Tar versions from 1.15.92 to 1.25 would incorrectly
33988 # store sparse file names longer than 100 characters in pax mode.
33989 # Namely, the `path' keyword of the produced PAX header would contain the
33990 # crafted name of the header itself, instead of that of the file.
33991 # Reported by: Kamil Dudka <kdudka@redhat.com>
33992 # References: <201011250026.44908.kdudka@redhat.com>,
33993 # http://lists.gnu.org/archive/html/bug-tar/2010-11/msg00099.html
34000 $as_echo "$at_srcdir/sparse04.at:35:
34003 TEST_TAR_FORMAT=pax
34004 export TEST_TAR_FORMAT
34005 TAR_OPTIONS=\"-H pax\"
34009 genfile --sparse --file 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 --block-size 512 8M A || exit 77
34010 tar -c --sparse --posix 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | tar t
34012 echo sparse04.
at:35 >"$at_check_line_file"
34014 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34019 TEST_TAR_FORMAT
=pax
34020 export TEST_TAR_FORMAT
34021 TAR_OPTIONS
="-H pax"
34025 genfile
--sparse --file 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 --block-size 512 8M A ||
exit 77
34026 tar -c --sparse --posix 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
tar t
34027 ) ) >"$at_stdout" 2>"$at_stder1"
34028 at_func_filter_trace $?
34033 TEST_TAR_FORMAT
=pax
34034 export TEST_TAR_FORMAT
34035 TAR_OPTIONS
="-H pax"
34039 genfile
--sparse --file 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 --block-size 512 8M A ||
exit 77
34040 tar -c --sparse --posix 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
tar t
34041 ) ) >"$at_stdout" 2>"$at_stderr"
34045 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34046 echo >>"$at_stdout"; $as_echo "123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
34048 $at_diff - "$at_stdout" || at_failed
=:
34049 at_func_check_status
0 $at_status "$at_srcdir/sparse04.at:35"
34051 $at_failed && at_func_log_failure
34058 $at_times_p && times >"$at_times_file"
34059 ) 5>&1 2>&1 |
eval $at_tee_pipe
34060 at_status
=`cat "$at_status_file"`
34063 # 97. sparsemv.at:21: sparse files in MV archives
34064 at_setup_line
='sparsemv.at:21'
34065 at_desc
="sparse files in MV archives"
34066 $at_quiet $as_echo_n " 97: $at_desc "
34068 test -f $XFAILFILE && at_xfail
=yes
34069 echo "# -*- compilation -*-" >> "$at_group_log"
34071 $as_echo "97. sparsemv.at:21: testing ..."
34076 # Check if sparse files are correctly split between GNU multi-volume
34078 # There are two cases: the file can be split within an empty (null) block,
34079 # or within a data block. Since null blocks are not archived, the first
34080 # case means the file is split between two consecutive data blocks.
34086 $as_echo "$at_srcdir/sparsemv.at:31:
34089 TEST_TAR_FORMAT=gnu
34090 export TEST_TAR_FORMAT
34091 TAR_OPTIONS=\"-H gnu\"
34096 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
34097 echo \"Pass 1: Split between data blocks\"
34098 echo \"Create archive\"
34099 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
34100 echo \"Test archive\"
34101 tar --record-size=512 -t -M -f arc.1 -f arc.2
34102 echo \"Compare archive\"
34103 tar --record-size=512 -d -M -f arc.1 -f arc.2
34105 echo \"Pass 2: Split within a data block\"
34106 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
34107 echo \"Create archive\"
34108 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
34109 echo \"Test archive\"
34110 tar --record-size=512 -t -M -f arc.1 -f arc.2
34111 echo \"Compare archive\"
34112 tar --record-size=512 -d -M -f arc.1 -f arc.2
34114 echo sparsemv.
at:31 >"$at_check_line_file"
34116 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34121 TEST_TAR_FORMAT
=gnu
34122 export TEST_TAR_FORMAT
34123 TAR_OPTIONS
="-H gnu"
34128 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34129 echo "Pass 1: Split between data blocks"
34130 echo "Create archive"
34131 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34132 echo "Test archive"
34133 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34134 echo "Compare archive"
34135 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34137 echo "Pass 2: Split within a data block"
34138 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34139 echo "Create archive"
34140 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34141 echo "Test archive"
34142 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34143 echo "Compare archive"
34144 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34145 ) ) >"$at_stdout" 2>"$at_stder1"
34146 at_func_filter_trace $?
34151 TEST_TAR_FORMAT
=gnu
34152 export TEST_TAR_FORMAT
34153 TAR_OPTIONS
="-H gnu"
34158 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34159 echo "Pass 1: Split between data blocks"
34160 echo "Create archive"
34161 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34162 echo "Test archive"
34163 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34164 echo "Compare archive"
34165 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34167 echo "Pass 2: Split within a data block"
34168 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34169 echo "Create archive"
34170 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34171 echo "Test archive"
34172 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34173 echo "Compare archive"
34174 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34175 ) ) >"$at_stdout" 2>"$at_stderr"
34179 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34180 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
34185 Pass 2: Split within a data block
34191 $at_diff - "$at_stdout" || at_failed
=:
34192 at_func_check_status
0 $at_status "$at_srcdir/sparsemv.at:31"
34194 $at_failed && at_func_log_failure
34198 $as_echo "$at_srcdir/sparsemv.at:31:
34201 TEST_TAR_FORMAT=oldgnu
34202 export TEST_TAR_FORMAT
34203 TAR_OPTIONS=\"-H oldgnu\"
34208 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
34209 echo \"Pass 1: Split between data blocks\"
34210 echo \"Create archive\"
34211 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
34212 echo \"Test archive\"
34213 tar --record-size=512 -t -M -f arc.1 -f arc.2
34214 echo \"Compare archive\"
34215 tar --record-size=512 -d -M -f arc.1 -f arc.2
34217 echo \"Pass 2: Split within a data block\"
34218 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
34219 echo \"Create archive\"
34220 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
34221 echo \"Test archive\"
34222 tar --record-size=512 -t -M -f arc.1 -f arc.2
34223 echo \"Compare archive\"
34224 tar --record-size=512 -d -M -f arc.1 -f arc.2
34226 echo sparsemv.
at:31 >"$at_check_line_file"
34228 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34233 TEST_TAR_FORMAT
=oldgnu
34234 export TEST_TAR_FORMAT
34235 TAR_OPTIONS
="-H oldgnu"
34240 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34241 echo "Pass 1: Split between data blocks"
34242 echo "Create archive"
34243 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34244 echo "Test archive"
34245 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34246 echo "Compare archive"
34247 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34249 echo "Pass 2: Split within a data block"
34250 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34251 echo "Create archive"
34252 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34253 echo "Test archive"
34254 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34255 echo "Compare archive"
34256 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34257 ) ) >"$at_stdout" 2>"$at_stder1"
34258 at_func_filter_trace $?
34263 TEST_TAR_FORMAT
=oldgnu
34264 export TEST_TAR_FORMAT
34265 TAR_OPTIONS
="-H oldgnu"
34270 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34271 echo "Pass 1: Split between data blocks"
34272 echo "Create archive"
34273 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34274 echo "Test archive"
34275 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34276 echo "Compare archive"
34277 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34279 echo "Pass 2: Split within a data block"
34280 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34281 echo "Create archive"
34282 tar --sparse -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 sparsefile ||
exit 1
34283 echo "Test archive"
34284 tar --record-size=512 -t -M -f arc
.1 -f arc
.2
34285 echo "Compare archive"
34286 tar --record-size=512 -d -M -f arc
.1 -f arc
.2
34287 ) ) >"$at_stdout" 2>"$at_stderr"
34291 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34292 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
34297 Pass 2: Split within a data block
34303 $at_diff - "$at_stdout" || at_failed
=:
34304 at_func_check_status
0 $at_status "$at_srcdir/sparsemv.at:31"
34306 $at_failed && at_func_log_failure
34313 $at_times_p && times >"$at_times_file"
34314 ) 5>&1 2>&1 |
eval $at_tee_pipe
34315 at_status
=`cat "$at_status_file"`
34318 # 98. spmvp00.at:21: sparse files in PAX MV archives, v.0.0
34319 at_setup_line
='spmvp00.at:21'
34320 at_desc
="sparse files in PAX MV archives, v.0.0"
34321 $at_quiet $as_echo_n " 98: $at_desc "
34323 test -f $XFAILFILE && at_xfail
=yes
34324 echo "# -*- compilation -*-" >> "$at_group_log"
34326 $as_echo "98. spmvp00.at:21: testing ..."
34335 $as_echo "$at_srcdir/spmvp00.at:24:
34338 TEST_TAR_FORMAT=pax
34339 export TEST_TAR_FORMAT
34340 TAR_OPTIONS=\"-H pax\"
34345 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
34346 echo \"Pass 1: Split between data blocks\"
34347 echo \"Create archive\"
34348 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34349 echo \"Test archive\"
34350 tar -t -M -f arc.1 -f arc.2 -f arc.3
34351 echo \"Compare archive\"
34352 tar -d -M -f arc.1 -f arc.2 -f arc.3
34354 echo \"Pass 2: Split within a data block\"
34355 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
34356 echo \"Create archive\"
34357 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34358 echo \"Test archive\"
34359 tar -t -M -f arc.1 -f arc.2 -f arc.3
34360 echo \"Compare archive\"
34361 tar -d -M -f arc.1 -f arc.2 -f arc.3
34363 echo spmvp00.
at:24 >"$at_check_line_file"
34365 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34370 TEST_TAR_FORMAT
=pax
34371 export TEST_TAR_FORMAT
34372 TAR_OPTIONS
="-H pax"
34377 genfile
--sparse --file sparsefile
0 ABCDEFGHI
1M ABCDEFGHI ||
exit 77
34378 echo "Pass 1: Split between data blocks"
34379 echo "Create archive"
34380 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34381 echo "Test archive"
34382 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34383 echo "Compare archive"
34384 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34386 echo "Pass 2: Split within a data block"
34387 genfile
--sparse --file sparsefile
0 ABCDEFGH
1M ABCDEFGHI ||
exit 77
34388 echo "Create archive"
34389 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34390 echo "Test archive"
34391 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34392 echo "Compare archive"
34393 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34394 ) ) >"$at_stdout" 2>"$at_stder1"
34395 at_func_filter_trace $?
34400 TEST_TAR_FORMAT
=pax
34401 export TEST_TAR_FORMAT
34402 TAR_OPTIONS
="-H pax"
34407 genfile
--sparse --file sparsefile
0 ABCDEFGHI
1M ABCDEFGHI ||
exit 77
34408 echo "Pass 1: Split between data blocks"
34409 echo "Create archive"
34410 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34411 echo "Test archive"
34412 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34413 echo "Compare archive"
34414 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34416 echo "Pass 2: Split within a data block"
34417 genfile
--sparse --file sparsefile
0 ABCDEFGH
1M ABCDEFGHI ||
exit 77
34418 echo "Create archive"
34419 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34420 echo "Test archive"
34421 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34422 echo "Compare archive"
34423 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34424 ) ) >"$at_stdout" 2>"$at_stderr"
34428 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34429 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
34434 Pass 2: Split within a data block
34440 $at_diff - "$at_stdout" || at_failed
=:
34441 at_func_check_status
0 $at_status "$at_srcdir/spmvp00.at:24"
34443 $at_failed && at_func_log_failure
34450 $at_times_p && times >"$at_times_file"
34451 ) 5>&1 2>&1 |
eval $at_tee_pipe
34452 at_status
=`cat "$at_status_file"`
34455 # 99. spmvp01.at:21: sparse files in PAX MV archives, v.0.1
34456 at_setup_line
='spmvp01.at:21'
34457 at_desc
="sparse files in PAX MV archives, v.0.1"
34458 $at_quiet $as_echo_n " 99: $at_desc "
34460 test -f $XFAILFILE && at_xfail
=yes
34461 echo "# -*- compilation -*-" >> "$at_group_log"
34463 $as_echo "99. spmvp01.at:21: testing ..."
34472 $as_echo "$at_srcdir/spmvp01.at:24:
34475 TEST_TAR_FORMAT=pax
34476 export TEST_TAR_FORMAT
34477 TAR_OPTIONS=\"-H pax\"
34482 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
34483 echo \"Pass 1: Split between data blocks\"
34484 echo \"Create archive\"
34485 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34486 echo \"Test archive\"
34487 tar -t -M -f arc.1 -f arc.2 -f arc.3
34488 echo \"Compare archive\"
34489 tar -d -M -f arc.1 -f arc.2 -f arc.3
34491 echo \"Pass 2: Split within a data block\"
34492 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
34493 echo \"Create archive\"
34494 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34495 echo \"Test archive\"
34496 tar -t -M -f arc.1 -f arc.2 -f arc.3
34497 echo \"Compare archive\"
34498 tar -d -M -f arc.1 -f arc.2 -f arc.3
34500 echo spmvp01.
at:24 >"$at_check_line_file"
34502 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34507 TEST_TAR_FORMAT
=pax
34508 export TEST_TAR_FORMAT
34509 TAR_OPTIONS
="-H pax"
34514 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34515 echo "Pass 1: Split between data blocks"
34516 echo "Create archive"
34517 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34518 echo "Test archive"
34519 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34520 echo "Compare archive"
34521 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34523 echo "Pass 2: Split within a data block"
34524 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34525 echo "Create archive"
34526 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34527 echo "Test archive"
34528 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34529 echo "Compare archive"
34530 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34531 ) ) >"$at_stdout" 2>"$at_stder1"
34532 at_func_filter_trace $?
34537 TEST_TAR_FORMAT
=pax
34538 export TEST_TAR_FORMAT
34539 TAR_OPTIONS
="-H pax"
34544 genfile
--sparse --file sparsefile
0 ABCDEFGHIJK
1M ABCDEFGHI ||
exit 77
34545 echo "Pass 1: Split between data blocks"
34546 echo "Create archive"
34547 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34548 echo "Test archive"
34549 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34550 echo "Compare archive"
34551 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34553 echo "Pass 2: Split within a data block"
34554 genfile
--sparse --file sparsefile
0 ABCDEFGHIJ
1M ABCDEFGHI ||
exit 77
34555 echo "Create archive"
34556 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34557 echo "Test archive"
34558 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34559 echo "Compare archive"
34560 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34561 ) ) >"$at_stdout" 2>"$at_stderr"
34565 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34566 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
34571 Pass 2: Split within a data block
34577 $at_diff - "$at_stdout" || at_failed
=:
34578 at_func_check_status
0 $at_status "$at_srcdir/spmvp01.at:24"
34580 $at_failed && at_func_log_failure
34587 $at_times_p && times >"$at_times_file"
34588 ) 5>&1 2>&1 |
eval $at_tee_pipe
34589 at_status
=`cat "$at_status_file"`
34592 # 100. spmvp10.at:21: sparse files in PAX MV archives, v.1.0
34593 at_setup_line
='spmvp10.at:21'
34594 at_desc
="sparse files in PAX MV archives, v.1.0"
34595 $at_quiet $as_echo_n "100: $at_desc "
34597 test -f $XFAILFILE && at_xfail
=yes
34598 echo "# -*- compilation -*-" >> "$at_group_log"
34600 $as_echo "100. spmvp10.at:21: testing ..."
34609 $as_echo "$at_srcdir/spmvp10.at:24:
34612 TEST_TAR_FORMAT=pax
34613 export TEST_TAR_FORMAT
34614 TAR_OPTIONS=\"-H pax\"
34619 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
34620 echo \"Pass 1: Split between data blocks\"
34621 echo \"Create archive\"
34622 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34623 echo \"Test archive\"
34624 tar -t -M -f arc.1 -f arc.2 -f arc.3
34625 echo \"Compare archive\"
34626 tar -d -M -f arc.1 -f arc.2 -f arc.3
34628 echo \"Pass 2: Split within a data block\"
34629 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
34630 echo \"Create archive\"
34631 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
34632 echo \"Test archive\"
34633 tar -t -M -f arc.1 -f arc.2 -f arc.3
34634 echo \"Compare archive\"
34635 tar -d -M -f arc.1 -f arc.2 -f arc.3
34637 echo spmvp10.
at:24 >"$at_check_line_file"
34639 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34644 TEST_TAR_FORMAT
=pax
34645 export TEST_TAR_FORMAT
34646 TAR_OPTIONS
="-H pax"
34651 genfile
--sparse --file sparsefile
0 ABCDEFGH
1M ABCDEFGHI ||
exit 77
34652 echo "Pass 1: Split between data blocks"
34653 echo "Create archive"
34654 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34655 echo "Test archive"
34656 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34657 echo "Compare archive"
34658 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34660 echo "Pass 2: Split within a data block"
34661 genfile
--sparse --file sparsefile
0 ABCDEFG
1M ABCDEFGHI ||
exit 77
34662 echo "Create archive"
34663 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34664 echo "Test archive"
34665 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34666 echo "Compare archive"
34667 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34668 ) ) >"$at_stdout" 2>"$at_stder1"
34669 at_func_filter_trace $?
34674 TEST_TAR_FORMAT
=pax
34675 export TEST_TAR_FORMAT
34676 TAR_OPTIONS
="-H pax"
34681 genfile
--sparse --file sparsefile
0 ABCDEFGH
1M ABCDEFGHI ||
exit 77
34682 echo "Pass 1: Split between data blocks"
34683 echo "Create archive"
34684 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34685 echo "Test archive"
34686 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34687 echo "Compare archive"
34688 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34690 echo "Pass 2: Split within a data block"
34691 genfile
--sparse --file sparsefile
0 ABCDEFG
1M ABCDEFGHI ||
exit 77
34692 echo "Create archive"
34693 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc
.1 -f arc
.2 -f arc
.3 sparsefile
34694 echo "Test archive"
34695 tar -t -M -f arc
.1 -f arc
.2 -f arc
.3
34696 echo "Compare archive"
34697 tar -d -M -f arc
.1 -f arc
.2 -f arc
.3
34698 ) ) >"$at_stdout" 2>"$at_stderr"
34702 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34703 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
34708 Pass 2: Split within a data block
34714 $at_diff - "$at_stdout" || at_failed
=:
34715 at_func_check_status
0 $at_status "$at_srcdir/spmvp10.at:24"
34717 $at_failed && at_func_log_failure
34724 $at_times_p && times >"$at_times_file"
34725 ) 5>&1 2>&1 |
eval $at_tee_pipe
34726 at_status
=`cat "$at_status_file"`
34729 # 101. update.at:28: update unchanged directories
34730 at_setup_line
='update.at:28'
34731 at_desc
="update unchanged directories"
34732 $at_quiet $as_echo_n "101: $at_desc "
34734 test -f $XFAILFILE && at_xfail
=yes
34735 echo "# -*- compilation -*-" >> "$at_group_log"
34737 $as_echo "101. update.at:28: testing ..."
34745 $as_echo "$at_srcdir/update.at:31:
34749 export TEST_TAR_FORMAT
34750 TAR_OPTIONS=\"-H v7\"
34755 test -z "`sort < /dev/null 2>&1`" || exit 77
34758 genfile --length 10240 --pattern zeros --file directory/file1
34759 genfile --length 10240 --pattern default --file directory/file2
34761 tar cf archive directory || exit 1
34763 tar uf archive directory || exit 1
34765 tar tf archive | sort || exit 1
34767 echo update.
at:31 >"$at_check_line_file"
34769 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34775 export TEST_TAR_FORMAT
34776 TAR_OPTIONS
="-H v7"
34781 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34784 genfile
--length 10240 --pattern zeros
--file directory
/file1
34785 genfile
--length 10240 --pattern default
--file directory
/file2
34787 tar cf archive directory ||
exit 1
34789 tar uf archive directory ||
exit 1
34791 tar tf archive |
sort ||
exit 1
34792 ) ) >"$at_stdout" 2>"$at_stder1"
34793 at_func_filter_trace $?
34799 export TEST_TAR_FORMAT
34800 TAR_OPTIONS
="-H v7"
34805 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34808 genfile
--length 10240 --pattern zeros
--file directory
/file1
34809 genfile
--length 10240 --pattern default
--file directory
/file2
34811 tar cf archive directory ||
exit 1
34813 tar uf archive directory ||
exit 1
34815 tar tf archive |
sort ||
exit 1
34816 ) ) >"$at_stdout" 2>"$at_stderr"
34820 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34821 echo >>"$at_stdout"; $as_echo "separator
34827 $at_diff - "$at_stdout" || at_failed
=:
34828 at_func_check_status
0 $at_status "$at_srcdir/update.at:31"
34830 $at_failed && at_func_log_failure
34834 $as_echo "$at_srcdir/update.at:31:
34837 TEST_TAR_FORMAT=oldgnu
34838 export TEST_TAR_FORMAT
34839 TAR_OPTIONS=\"-H oldgnu\"
34844 test -z "`sort < /dev/null 2>&1`" || exit 77
34847 genfile --length 10240 --pattern zeros --file directory/file1
34848 genfile --length 10240 --pattern default --file directory/file2
34850 tar cf archive directory || exit 1
34852 tar uf archive directory || exit 1
34854 tar tf archive | sort || exit 1
34856 echo update.
at:31 >"$at_check_line_file"
34858 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34863 TEST_TAR_FORMAT
=oldgnu
34864 export TEST_TAR_FORMAT
34865 TAR_OPTIONS
="-H oldgnu"
34870 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34873 genfile
--length 10240 --pattern zeros
--file directory
/file1
34874 genfile
--length 10240 --pattern default
--file directory
/file2
34876 tar cf archive directory ||
exit 1
34878 tar uf archive directory ||
exit 1
34880 tar tf archive |
sort ||
exit 1
34881 ) ) >"$at_stdout" 2>"$at_stder1"
34882 at_func_filter_trace $?
34887 TEST_TAR_FORMAT
=oldgnu
34888 export TEST_TAR_FORMAT
34889 TAR_OPTIONS
="-H oldgnu"
34894 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34897 genfile
--length 10240 --pattern zeros
--file directory
/file1
34898 genfile
--length 10240 --pattern default
--file directory
/file2
34900 tar cf archive directory ||
exit 1
34902 tar uf archive directory ||
exit 1
34904 tar tf archive |
sort ||
exit 1
34905 ) ) >"$at_stdout" 2>"$at_stderr"
34909 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34910 echo >>"$at_stdout"; $as_echo "separator
34916 $at_diff - "$at_stdout" || at_failed
=:
34917 at_func_check_status
0 $at_status "$at_srcdir/update.at:31"
34919 $at_failed && at_func_log_failure
34923 $as_echo "$at_srcdir/update.at:31:
34926 TEST_TAR_FORMAT=ustar
34927 export TEST_TAR_FORMAT
34928 TAR_OPTIONS=\"-H ustar\"
34933 test -z "`sort < /dev/null 2>&1`" || exit 77
34936 genfile --length 10240 --pattern zeros --file directory/file1
34937 genfile --length 10240 --pattern default --file directory/file2
34939 tar cf archive directory || exit 1
34941 tar uf archive directory || exit 1
34943 tar tf archive | sort || exit 1
34945 echo update.
at:31 >"$at_check_line_file"
34947 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34952 TEST_TAR_FORMAT
=ustar
34953 export TEST_TAR_FORMAT
34954 TAR_OPTIONS
="-H ustar"
34959 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34962 genfile
--length 10240 --pattern zeros
--file directory
/file1
34963 genfile
--length 10240 --pattern default
--file directory
/file2
34965 tar cf archive directory ||
exit 1
34967 tar uf archive directory ||
exit 1
34969 tar tf archive |
sort ||
exit 1
34970 ) ) >"$at_stdout" 2>"$at_stder1"
34971 at_func_filter_trace $?
34976 TEST_TAR_FORMAT
=ustar
34977 export TEST_TAR_FORMAT
34978 TAR_OPTIONS
="-H ustar"
34983 test -z "`sort < /dev/null 2>&1`" ||
exit 77
34986 genfile
--length 10240 --pattern zeros
--file directory
/file1
34987 genfile
--length 10240 --pattern default
--file directory
/file2
34989 tar cf archive directory ||
exit 1
34991 tar uf archive directory ||
exit 1
34993 tar tf archive |
sort ||
exit 1
34994 ) ) >"$at_stdout" 2>"$at_stderr"
34998 at_func_diff_devnull
"$at_stderr" || at_failed
=:
34999 echo >>"$at_stdout"; $as_echo "separator
35005 $at_diff - "$at_stdout" || at_failed
=:
35006 at_func_check_status
0 $at_status "$at_srcdir/update.at:31"
35008 $at_failed && at_func_log_failure
35012 $as_echo "$at_srcdir/update.at:31:
35015 TEST_TAR_FORMAT=posix
35016 export TEST_TAR_FORMAT
35017 TAR_OPTIONS=\"-H posix\"
35022 test -z "`sort < /dev/null 2>&1`" || exit 77
35025 genfile --length 10240 --pattern zeros --file directory/file1
35026 genfile --length 10240 --pattern default --file directory/file2
35028 tar cf archive directory || exit 1
35030 tar uf archive directory || exit 1
35032 tar tf archive | sort || exit 1
35034 echo update.
at:31 >"$at_check_line_file"
35036 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35041 TEST_TAR_FORMAT
=posix
35042 export TEST_TAR_FORMAT
35043 TAR_OPTIONS
="-H posix"
35048 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35051 genfile
--length 10240 --pattern zeros
--file directory
/file1
35052 genfile
--length 10240 --pattern default
--file directory
/file2
35054 tar cf archive directory ||
exit 1
35056 tar uf archive directory ||
exit 1
35058 tar tf archive |
sort ||
exit 1
35059 ) ) >"$at_stdout" 2>"$at_stder1"
35060 at_func_filter_trace $?
35065 TEST_TAR_FORMAT
=posix
35066 export TEST_TAR_FORMAT
35067 TAR_OPTIONS
="-H posix"
35072 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35075 genfile
--length 10240 --pattern zeros
--file directory
/file1
35076 genfile
--length 10240 --pattern default
--file directory
/file2
35078 tar cf archive directory ||
exit 1
35080 tar uf archive directory ||
exit 1
35082 tar tf archive |
sort ||
exit 1
35083 ) ) >"$at_stdout" 2>"$at_stderr"
35087 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35088 echo >>"$at_stdout"; $as_echo "separator
35094 $at_diff - "$at_stdout" || at_failed
=:
35095 at_func_check_status
0 $at_status "$at_srcdir/update.at:31"
35097 $at_failed && at_func_log_failure
35101 $as_echo "$at_srcdir/update.at:31:
35104 TEST_TAR_FORMAT=gnu
35105 export TEST_TAR_FORMAT
35106 TAR_OPTIONS=\"-H gnu\"
35111 test -z "`sort < /dev/null 2>&1`" || exit 77
35114 genfile --length 10240 --pattern zeros --file directory/file1
35115 genfile --length 10240 --pattern default --file directory/file2
35117 tar cf archive directory || exit 1
35119 tar uf archive directory || exit 1
35121 tar tf archive | sort || exit 1
35123 echo update.
at:31 >"$at_check_line_file"
35125 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35130 TEST_TAR_FORMAT
=gnu
35131 export TEST_TAR_FORMAT
35132 TAR_OPTIONS
="-H gnu"
35137 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35140 genfile
--length 10240 --pattern zeros
--file directory
/file1
35141 genfile
--length 10240 --pattern default
--file directory
/file2
35143 tar cf archive directory ||
exit 1
35145 tar uf archive directory ||
exit 1
35147 tar tf archive |
sort ||
exit 1
35148 ) ) >"$at_stdout" 2>"$at_stder1"
35149 at_func_filter_trace $?
35154 TEST_TAR_FORMAT
=gnu
35155 export TEST_TAR_FORMAT
35156 TAR_OPTIONS
="-H gnu"
35161 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35164 genfile
--length 10240 --pattern zeros
--file directory
/file1
35165 genfile
--length 10240 --pattern default
--file directory
/file2
35167 tar cf archive directory ||
exit 1
35169 tar uf archive directory ||
exit 1
35171 tar tf archive |
sort ||
exit 1
35172 ) ) >"$at_stdout" 2>"$at_stderr"
35176 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35177 echo >>"$at_stdout"; $as_echo "separator
35183 $at_diff - "$at_stdout" || at_failed
=:
35184 at_func_check_status
0 $at_status "$at_srcdir/update.at:31"
35186 $at_failed && at_func_log_failure
35193 $at_times_p && times >"$at_times_file"
35194 ) 5>&1 2>&1 |
eval $at_tee_pipe
35195 at_status
=`cat "$at_status_file"`
35198 # 102. update01.at:29: update directories
35199 at_setup_line
='update01.at:29'
35200 at_desc
="update directories"
35201 $at_quiet $as_echo_n "102: $at_desc "
35203 test -f $XFAILFILE && at_xfail
=yes
35204 echo "# -*- compilation -*-" >> "$at_group_log"
35206 $as_echo "102. update01.at:29: testing ..."
35214 $as_echo "$at_srcdir/update01.at:32:
35218 export TEST_TAR_FORMAT
35219 TAR_OPTIONS=\"-H v7\"
35224 test -z "`sort < /dev/null 2>&1`" || exit 77
35238 tar tf arc | sort || exit 1
35240 echo update01.
at:32 >"$at_check_line_file"
35242 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35248 export TEST_TAR_FORMAT
35249 TAR_OPTIONS
="-H v7"
35254 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35268 tar tf arc |
sort ||
exit 1
35269 ) ) >"$at_stdout" 2>"$at_stder1"
35270 at_func_filter_trace $?
35276 export TEST_TAR_FORMAT
35277 TAR_OPTIONS
="-H v7"
35282 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35296 tar tf arc |
sort ||
exit 1
35297 ) ) >"$at_stdout" 2>"$at_stderr"
35301 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35302 echo >>"$at_stdout"; $as_echo "separator
35309 $at_diff - "$at_stdout" || at_failed
=:
35310 at_func_check_status
0 $at_status "$at_srcdir/update01.at:32"
35312 $at_failed && at_func_log_failure
35316 $as_echo "$at_srcdir/update01.at:32:
35319 TEST_TAR_FORMAT=oldgnu
35320 export TEST_TAR_FORMAT
35321 TAR_OPTIONS=\"-H oldgnu\"
35326 test -z "`sort < /dev/null 2>&1`" || exit 77
35340 tar tf arc | sort || exit 1
35342 echo update01.
at:32 >"$at_check_line_file"
35344 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35349 TEST_TAR_FORMAT
=oldgnu
35350 export TEST_TAR_FORMAT
35351 TAR_OPTIONS
="-H oldgnu"
35356 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35370 tar tf arc |
sort ||
exit 1
35371 ) ) >"$at_stdout" 2>"$at_stder1"
35372 at_func_filter_trace $?
35377 TEST_TAR_FORMAT
=oldgnu
35378 export TEST_TAR_FORMAT
35379 TAR_OPTIONS
="-H oldgnu"
35384 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35398 tar tf arc |
sort ||
exit 1
35399 ) ) >"$at_stdout" 2>"$at_stderr"
35403 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35404 echo >>"$at_stdout"; $as_echo "separator
35411 $at_diff - "$at_stdout" || at_failed
=:
35412 at_func_check_status
0 $at_status "$at_srcdir/update01.at:32"
35414 $at_failed && at_func_log_failure
35418 $as_echo "$at_srcdir/update01.at:32:
35421 TEST_TAR_FORMAT=ustar
35422 export TEST_TAR_FORMAT
35423 TAR_OPTIONS=\"-H ustar\"
35428 test -z "`sort < /dev/null 2>&1`" || exit 77
35442 tar tf arc | sort || exit 1
35444 echo update01.
at:32 >"$at_check_line_file"
35446 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35451 TEST_TAR_FORMAT
=ustar
35452 export TEST_TAR_FORMAT
35453 TAR_OPTIONS
="-H ustar"
35458 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35472 tar tf arc |
sort ||
exit 1
35473 ) ) >"$at_stdout" 2>"$at_stder1"
35474 at_func_filter_trace $?
35479 TEST_TAR_FORMAT
=ustar
35480 export TEST_TAR_FORMAT
35481 TAR_OPTIONS
="-H ustar"
35486 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35500 tar tf arc |
sort ||
exit 1
35501 ) ) >"$at_stdout" 2>"$at_stderr"
35505 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35506 echo >>"$at_stdout"; $as_echo "separator
35513 $at_diff - "$at_stdout" || at_failed
=:
35514 at_func_check_status
0 $at_status "$at_srcdir/update01.at:32"
35516 $at_failed && at_func_log_failure
35520 $as_echo "$at_srcdir/update01.at:32:
35523 TEST_TAR_FORMAT=posix
35524 export TEST_TAR_FORMAT
35525 TAR_OPTIONS=\"-H posix\"
35530 test -z "`sort < /dev/null 2>&1`" || exit 77
35544 tar tf arc | sort || exit 1
35546 echo update01.
at:32 >"$at_check_line_file"
35548 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35553 TEST_TAR_FORMAT
=posix
35554 export TEST_TAR_FORMAT
35555 TAR_OPTIONS
="-H posix"
35560 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35574 tar tf arc |
sort ||
exit 1
35575 ) ) >"$at_stdout" 2>"$at_stder1"
35576 at_func_filter_trace $?
35581 TEST_TAR_FORMAT
=posix
35582 export TEST_TAR_FORMAT
35583 TAR_OPTIONS
="-H posix"
35588 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35602 tar tf arc |
sort ||
exit 1
35603 ) ) >"$at_stdout" 2>"$at_stderr"
35607 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35608 echo >>"$at_stdout"; $as_echo "separator
35615 $at_diff - "$at_stdout" || at_failed
=:
35616 at_func_check_status
0 $at_status "$at_srcdir/update01.at:32"
35618 $at_failed && at_func_log_failure
35622 $as_echo "$at_srcdir/update01.at:32:
35625 TEST_TAR_FORMAT=gnu
35626 export TEST_TAR_FORMAT
35627 TAR_OPTIONS=\"-H gnu\"
35632 test -z "`sort < /dev/null 2>&1`" || exit 77
35646 tar tf arc | sort || exit 1
35648 echo update01.
at:32 >"$at_check_line_file"
35650 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35655 TEST_TAR_FORMAT
=gnu
35656 export TEST_TAR_FORMAT
35657 TAR_OPTIONS
="-H gnu"
35662 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35676 tar tf arc |
sort ||
exit 1
35677 ) ) >"$at_stdout" 2>"$at_stder1"
35678 at_func_filter_trace $?
35683 TEST_TAR_FORMAT
=gnu
35684 export TEST_TAR_FORMAT
35685 TAR_OPTIONS
="-H gnu"
35690 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35704 tar tf arc |
sort ||
exit 1
35705 ) ) >"$at_stdout" 2>"$at_stderr"
35709 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35710 echo >>"$at_stdout"; $as_echo "separator
35717 $at_diff - "$at_stdout" || at_failed
=:
35718 at_func_check_status
0 $at_status "$at_srcdir/update01.at:32"
35720 $at_failed && at_func_log_failure
35727 $at_times_p && times >"$at_times_file"
35728 ) 5>&1 2>&1 |
eval $at_tee_pipe
35729 at_status
=`cat "$at_status_file"`
35732 # 103. update02.at:26: update changed files
35733 at_setup_line
='update02.at:26'
35734 at_desc
="update changed files"
35735 $at_quiet $as_echo_n "103: $at_desc "
35737 test -f $XFAILFILE && at_xfail
=yes
35738 echo "# -*- compilation -*-" >> "$at_group_log"
35740 $as_echo "103. update02.at:26: testing ..."
35748 $as_echo "$at_srcdir/update02.at:29:
35752 export TEST_TAR_FORMAT
35753 TAR_OPTIONS=\"-H v7\"
35758 test -z "`sort < /dev/null 2>&1`" || exit 77
35772 tar tf arc | sort || exit 1
35774 echo update02.
at:29 >"$at_check_line_file"
35776 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35782 export TEST_TAR_FORMAT
35783 TAR_OPTIONS
="-H v7"
35788 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35802 tar tf arc |
sort ||
exit 1
35803 ) ) >"$at_stdout" 2>"$at_stder1"
35804 at_func_filter_trace $?
35810 export TEST_TAR_FORMAT
35811 TAR_OPTIONS
="-H v7"
35816 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35830 tar tf arc |
sort ||
exit 1
35831 ) ) >"$at_stdout" 2>"$at_stderr"
35835 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35836 echo >>"$at_stdout"; $as_echo "separator
35843 $at_diff - "$at_stdout" || at_failed
=:
35844 at_func_check_status
0 $at_status "$at_srcdir/update02.at:29"
35846 $at_failed && at_func_log_failure
35850 $as_echo "$at_srcdir/update02.at:29:
35853 TEST_TAR_FORMAT=oldgnu
35854 export TEST_TAR_FORMAT
35855 TAR_OPTIONS=\"-H oldgnu\"
35860 test -z "`sort < /dev/null 2>&1`" || exit 77
35874 tar tf arc | sort || exit 1
35876 echo update02.
at:29 >"$at_check_line_file"
35878 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35883 TEST_TAR_FORMAT
=oldgnu
35884 export TEST_TAR_FORMAT
35885 TAR_OPTIONS
="-H oldgnu"
35890 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35904 tar tf arc |
sort ||
exit 1
35905 ) ) >"$at_stdout" 2>"$at_stder1"
35906 at_func_filter_trace $?
35911 TEST_TAR_FORMAT
=oldgnu
35912 export TEST_TAR_FORMAT
35913 TAR_OPTIONS
="-H oldgnu"
35918 test -z "`sort < /dev/null 2>&1`" ||
exit 77
35932 tar tf arc |
sort ||
exit 1
35933 ) ) >"$at_stdout" 2>"$at_stderr"
35937 at_func_diff_devnull
"$at_stderr" || at_failed
=:
35938 echo >>"$at_stdout"; $as_echo "separator
35945 $at_diff - "$at_stdout" || at_failed
=:
35946 at_func_check_status
0 $at_status "$at_srcdir/update02.at:29"
35948 $at_failed && at_func_log_failure
35952 $as_echo "$at_srcdir/update02.at:29:
35955 TEST_TAR_FORMAT=ustar
35956 export TEST_TAR_FORMAT
35957 TAR_OPTIONS=\"-H ustar\"
35962 test -z "`sort < /dev/null 2>&1`" || exit 77
35976 tar tf arc | sort || exit 1
35978 echo update02.
at:29 >"$at_check_line_file"
35980 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35985 TEST_TAR_FORMAT
=ustar
35986 export TEST_TAR_FORMAT
35987 TAR_OPTIONS
="-H ustar"
35992 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36006 tar tf arc |
sort ||
exit 1
36007 ) ) >"$at_stdout" 2>"$at_stder1"
36008 at_func_filter_trace $?
36013 TEST_TAR_FORMAT
=ustar
36014 export TEST_TAR_FORMAT
36015 TAR_OPTIONS
="-H ustar"
36020 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36034 tar tf arc |
sort ||
exit 1
36035 ) ) >"$at_stdout" 2>"$at_stderr"
36039 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36040 echo >>"$at_stdout"; $as_echo "separator
36047 $at_diff - "$at_stdout" || at_failed
=:
36048 at_func_check_status
0 $at_status "$at_srcdir/update02.at:29"
36050 $at_failed && at_func_log_failure
36054 $as_echo "$at_srcdir/update02.at:29:
36057 TEST_TAR_FORMAT=posix
36058 export TEST_TAR_FORMAT
36059 TAR_OPTIONS=\"-H posix\"
36064 test -z "`sort < /dev/null 2>&1`" || exit 77
36078 tar tf arc | sort || exit 1
36080 echo update02.
at:29 >"$at_check_line_file"
36082 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36087 TEST_TAR_FORMAT
=posix
36088 export TEST_TAR_FORMAT
36089 TAR_OPTIONS
="-H posix"
36094 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36108 tar tf arc |
sort ||
exit 1
36109 ) ) >"$at_stdout" 2>"$at_stder1"
36110 at_func_filter_trace $?
36115 TEST_TAR_FORMAT
=posix
36116 export TEST_TAR_FORMAT
36117 TAR_OPTIONS
="-H posix"
36122 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36136 tar tf arc |
sort ||
exit 1
36137 ) ) >"$at_stdout" 2>"$at_stderr"
36141 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36142 echo >>"$at_stdout"; $as_echo "separator
36149 $at_diff - "$at_stdout" || at_failed
=:
36150 at_func_check_status
0 $at_status "$at_srcdir/update02.at:29"
36152 $at_failed && at_func_log_failure
36156 $as_echo "$at_srcdir/update02.at:29:
36159 TEST_TAR_FORMAT=gnu
36160 export TEST_TAR_FORMAT
36161 TAR_OPTIONS=\"-H gnu\"
36166 test -z "`sort < /dev/null 2>&1`" || exit 77
36180 tar tf arc | sort || exit 1
36182 echo update02.
at:29 >"$at_check_line_file"
36184 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36189 TEST_TAR_FORMAT
=gnu
36190 export TEST_TAR_FORMAT
36191 TAR_OPTIONS
="-H gnu"
36196 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36210 tar tf arc |
sort ||
exit 1
36211 ) ) >"$at_stdout" 2>"$at_stder1"
36212 at_func_filter_trace $?
36217 TEST_TAR_FORMAT
=gnu
36218 export TEST_TAR_FORMAT
36219 TAR_OPTIONS
="-H gnu"
36224 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36238 tar tf arc |
sort ||
exit 1
36239 ) ) >"$at_stdout" 2>"$at_stderr"
36243 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36244 echo >>"$at_stdout"; $as_echo "separator
36251 $at_diff - "$at_stdout" || at_failed
=:
36252 at_func_check_status
0 $at_status "$at_srcdir/update02.at:29"
36254 $at_failed && at_func_log_failure
36261 $at_times_p && times >"$at_times_file"
36262 ) 5>&1 2>&1 |
eval $at_tee_pipe
36263 at_status
=`cat "$at_status_file"`
36266 # 104. verify.at:25: verify
36267 at_setup_line
='verify.at:25'
36269 $at_quiet $as_echo_n "104: $at_desc "
36271 test -f $XFAILFILE && at_xfail
=yes
36272 echo "# -*- compilation -*-" >> "$at_group_log"
36274 $as_echo "104. verify.at:25: testing ..."
36282 $as_echo "$at_srcdir/verify.at:28:
36286 export TEST_TAR_FORMAT
36287 TAR_OPTIONS=\"-H v7\"
36292 tar -cvf archive.tar --verify foo
36294 echo verify.
at:28 >"$at_check_line_file"
36296 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36302 export TEST_TAR_FORMAT
36303 TAR_OPTIONS
="-H v7"
36308 tar -cvf archive.
tar --verify foo
36309 ) ) >"$at_stdout" 2>"$at_stder1"
36310 at_func_filter_trace $?
36316 export TEST_TAR_FORMAT
36317 TAR_OPTIONS
="-H v7"
36322 tar -cvf archive.
tar --verify foo
36323 ) ) >"$at_stdout" 2>"$at_stderr"
36327 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36328 echo >>"$at_stdout"; $as_echo "foo
36331 $at_diff - "$at_stdout" || at_failed
=:
36332 at_func_check_status
0 $at_status "$at_srcdir/verify.at:28"
36334 $at_failed && at_func_log_failure
36338 $as_echo "$at_srcdir/verify.at:28:
36341 TEST_TAR_FORMAT=oldgnu
36342 export TEST_TAR_FORMAT
36343 TAR_OPTIONS=\"-H oldgnu\"
36348 tar -cvf archive.tar --verify foo
36350 echo verify.
at:28 >"$at_check_line_file"
36352 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36357 TEST_TAR_FORMAT
=oldgnu
36358 export TEST_TAR_FORMAT
36359 TAR_OPTIONS
="-H oldgnu"
36364 tar -cvf archive.
tar --verify foo
36365 ) ) >"$at_stdout" 2>"$at_stder1"
36366 at_func_filter_trace $?
36371 TEST_TAR_FORMAT
=oldgnu
36372 export TEST_TAR_FORMAT
36373 TAR_OPTIONS
="-H oldgnu"
36378 tar -cvf archive.
tar --verify foo
36379 ) ) >"$at_stdout" 2>"$at_stderr"
36383 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36384 echo >>"$at_stdout"; $as_echo "foo
36387 $at_diff - "$at_stdout" || at_failed
=:
36388 at_func_check_status
0 $at_status "$at_srcdir/verify.at:28"
36390 $at_failed && at_func_log_failure
36394 $as_echo "$at_srcdir/verify.at:28:
36397 TEST_TAR_FORMAT=ustar
36398 export TEST_TAR_FORMAT
36399 TAR_OPTIONS=\"-H ustar\"
36404 tar -cvf archive.tar --verify foo
36406 echo verify.
at:28 >"$at_check_line_file"
36408 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36413 TEST_TAR_FORMAT
=ustar
36414 export TEST_TAR_FORMAT
36415 TAR_OPTIONS
="-H ustar"
36420 tar -cvf archive.
tar --verify foo
36421 ) ) >"$at_stdout" 2>"$at_stder1"
36422 at_func_filter_trace $?
36427 TEST_TAR_FORMAT
=ustar
36428 export TEST_TAR_FORMAT
36429 TAR_OPTIONS
="-H ustar"
36434 tar -cvf archive.
tar --verify foo
36435 ) ) >"$at_stdout" 2>"$at_stderr"
36439 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36440 echo >>"$at_stdout"; $as_echo "foo
36443 $at_diff - "$at_stdout" || at_failed
=:
36444 at_func_check_status
0 $at_status "$at_srcdir/verify.at:28"
36446 $at_failed && at_func_log_failure
36450 $as_echo "$at_srcdir/verify.at:28:
36453 TEST_TAR_FORMAT=posix
36454 export TEST_TAR_FORMAT
36455 TAR_OPTIONS=\"-H posix\"
36460 tar -cvf archive.tar --verify foo
36462 echo verify.
at:28 >"$at_check_line_file"
36464 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36469 TEST_TAR_FORMAT
=posix
36470 export TEST_TAR_FORMAT
36471 TAR_OPTIONS
="-H posix"
36476 tar -cvf archive.
tar --verify foo
36477 ) ) >"$at_stdout" 2>"$at_stder1"
36478 at_func_filter_trace $?
36483 TEST_TAR_FORMAT
=posix
36484 export TEST_TAR_FORMAT
36485 TAR_OPTIONS
="-H posix"
36490 tar -cvf archive.
tar --verify foo
36491 ) ) >"$at_stdout" 2>"$at_stderr"
36495 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36496 echo >>"$at_stdout"; $as_echo "foo
36499 $at_diff - "$at_stdout" || at_failed
=:
36500 at_func_check_status
0 $at_status "$at_srcdir/verify.at:28"
36502 $at_failed && at_func_log_failure
36506 $as_echo "$at_srcdir/verify.at:28:
36509 TEST_TAR_FORMAT=gnu
36510 export TEST_TAR_FORMAT
36511 TAR_OPTIONS=\"-H gnu\"
36516 tar -cvf archive.tar --verify foo
36518 echo verify.
at:28 >"$at_check_line_file"
36520 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36525 TEST_TAR_FORMAT
=gnu
36526 export TEST_TAR_FORMAT
36527 TAR_OPTIONS
="-H gnu"
36532 tar -cvf archive.
tar --verify foo
36533 ) ) >"$at_stdout" 2>"$at_stder1"
36534 at_func_filter_trace $?
36539 TEST_TAR_FORMAT
=gnu
36540 export TEST_TAR_FORMAT
36541 TAR_OPTIONS
="-H gnu"
36546 tar -cvf archive.
tar --verify foo
36547 ) ) >"$at_stdout" 2>"$at_stderr"
36551 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36552 echo >>"$at_stdout"; $as_echo "foo
36555 $at_diff - "$at_stdout" || at_failed
=:
36556 at_func_check_status
0 $at_status "$at_srcdir/verify.at:28"
36558 $at_failed && at_func_log_failure
36565 $at_times_p && times >"$at_times_file"
36566 ) 5>&1 2>&1 |
eval $at_tee_pipe
36567 at_status
=`cat "$at_status_file"`
36570 # 105. volume.at:23: volume
36571 at_setup_line
='volume.at:23'
36573 $at_quiet $as_echo_n "105: $at_desc "
36575 test -f $XFAILFILE && at_xfail
=yes
36576 echo "# -*- compilation -*-" >> "$at_group_log"
36578 $as_echo "105. volume.at:23: testing ..."
36586 $as_echo "$at_srcdir/volume.at:26:
36589 TEST_TAR_FORMAT=gnu
36590 export TEST_TAR_FORMAT
36591 TAR_OPTIONS=\"-H gnu\"
36595 tar -cf archive -V label -T /dev/null || exit 1
36597 tar xfV archive label || exit 1
36598 tar xfV archive 'la?el' || exit 1
36599 tar xfV archive 'l*l' || exit 1
36602 tar xfV archive lab
36603 test \$? = 2 || exit 1
36605 tar xfV archive bel
36606 test \$? = 2 || exit 1
36608 tar xfV archive babel
36611 echo volume.
at:26 >"$at_check_line_file"
36613 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36618 TEST_TAR_FORMAT
=gnu
36619 export TEST_TAR_FORMAT
36620 TAR_OPTIONS
="-H gnu"
36624 tar -cf archive
-V label
-T /dev
/null ||
exit 1
36626 tar xfV archive label ||
exit 1
36627 tar xfV archive
'la?el' ||
exit 1
36628 tar xfV archive
'l*l' ||
exit 1
36631 tar xfV archive lab
36632 test $?
= 2 ||
exit 1
36634 tar xfV archive bel
36635 test $?
= 2 ||
exit 1
36637 tar xfV archive babel
36639 ) ) >"$at_stdout" 2>"$at_stder1"
36640 at_func_filter_trace $?
36645 TEST_TAR_FORMAT
=gnu
36646 export TEST_TAR_FORMAT
36647 TAR_OPTIONS
="-H gnu"
36651 tar -cf archive
-V label
-T /dev
/null ||
exit 1
36653 tar xfV archive label ||
exit 1
36654 tar xfV archive
'la?el' ||
exit 1
36655 tar xfV archive
'l*l' ||
exit 1
36658 tar xfV archive lab
36659 test $?
= 2 ||
exit 1
36661 tar xfV archive bel
36662 test $?
= 2 ||
exit 1
36664 tar xfV archive babel
36666 ) ) >"$at_stdout" 2>"$at_stderr"
36670 echo >>"$at_stderr"; $as_echo "-----
36671 tar: Volume \`label' does not match \`lab'
36672 tar: Error is not recoverable: exiting now
36674 tar: Volume \`label' does not match \`bel'
36675 tar: Error is not recoverable: exiting now
36677 tar: Volume \`label' does not match \`babel'
36678 tar: Error is not recoverable: exiting now
36680 $at_diff - "$at_stderr" || at_failed
=:
36681 at_func_diff_devnull
"$at_stdout" || at_failed
=:
36682 at_func_check_status
0 $at_status "$at_srcdir/volume.at:26"
36684 $at_failed && at_func_log_failure
36688 $as_echo "$at_srcdir/volume.at:26:
36691 TEST_TAR_FORMAT=oldgnu
36692 export TEST_TAR_FORMAT
36693 TAR_OPTIONS=\"-H oldgnu\"
36697 tar -cf archive -V label -T /dev/null || exit 1
36699 tar xfV archive label || exit 1
36700 tar xfV archive 'la?el' || exit 1
36701 tar xfV archive 'l*l' || exit 1
36704 tar xfV archive lab
36705 test \$? = 2 || exit 1
36707 tar xfV archive bel
36708 test \$? = 2 || exit 1
36710 tar xfV archive babel
36713 echo volume.
at:26 >"$at_check_line_file"
36715 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36720 TEST_TAR_FORMAT
=oldgnu
36721 export TEST_TAR_FORMAT
36722 TAR_OPTIONS
="-H oldgnu"
36726 tar -cf archive
-V label
-T /dev
/null ||
exit 1
36728 tar xfV archive label ||
exit 1
36729 tar xfV archive
'la?el' ||
exit 1
36730 tar xfV archive
'l*l' ||
exit 1
36733 tar xfV archive lab
36734 test $?
= 2 ||
exit 1
36736 tar xfV archive bel
36737 test $?
= 2 ||
exit 1
36739 tar xfV archive babel
36741 ) ) >"$at_stdout" 2>"$at_stder1"
36742 at_func_filter_trace $?
36747 TEST_TAR_FORMAT
=oldgnu
36748 export TEST_TAR_FORMAT
36749 TAR_OPTIONS
="-H oldgnu"
36753 tar -cf archive
-V label
-T /dev
/null ||
exit 1
36755 tar xfV archive label ||
exit 1
36756 tar xfV archive
'la?el' ||
exit 1
36757 tar xfV archive
'l*l' ||
exit 1
36760 tar xfV archive lab
36761 test $?
= 2 ||
exit 1
36763 tar xfV archive bel
36764 test $?
= 2 ||
exit 1
36766 tar xfV archive babel
36768 ) ) >"$at_stdout" 2>"$at_stderr"
36772 echo >>"$at_stderr"; $as_echo "-----
36773 tar: Volume \`label' does not match \`lab'
36774 tar: Error is not recoverable: exiting now
36776 tar: Volume \`label' does not match \`bel'
36777 tar: Error is not recoverable: exiting now
36779 tar: Volume \`label' does not match \`babel'
36780 tar: Error is not recoverable: exiting now
36782 $at_diff - "$at_stderr" || at_failed
=:
36783 at_func_diff_devnull
"$at_stdout" || at_failed
=:
36784 at_func_check_status
0 $at_status "$at_srcdir/volume.at:26"
36786 $at_failed && at_func_log_failure
36793 $at_times_p && times >"$at_times_file"
36794 ) 5>&1 2>&1 |
eval $at_tee_pipe
36795 at_status
=`cat "$at_status_file"`
36798 # 106. volsize.at:29: volume header size
36799 at_setup_line
='volsize.at:29'
36800 at_desc
="volume header size"
36801 $at_quiet $as_echo_n "106: $at_desc "
36803 test -f $XFAILFILE && at_xfail
=yes
36804 echo "# -*- compilation -*-" >> "$at_group_log"
36806 $as_echo "106. volsize.at:29: testing ..."
36814 $as_echo "$at_srcdir/volsize.at:32:
36818 export TEST_TAR_FORMAT
36819 TAR_OPTIONS=\"-H v7\"
36824 test -z "`sort < /dev/null 2>&1`" || exit 77
36827 test -z "$TEST_DATA_DIR" && exit 77
36828 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
36831 tar tf \$TEST_DATA_DIR/abc.tar
36832 echo Verbose Listing
36833 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
36834 echo Extracted directory
36835 tar xf \$TEST_DATA_DIR/abc.tar
36838 echo volsize.
at:32 >"$at_check_line_file"
36840 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36846 export TEST_TAR_FORMAT
36847 TAR_OPTIONS
="-H v7"
36852 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36855 test -z "$TEST_DATA_DIR" && exit 77
36856 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
36859 tar tf
$TEST_DATA_DIR/abc.
tar
36860 echo Verbose Listing
36861 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
36862 echo Extracted directory
36863 tar xf
$TEST_DATA_DIR/abc.
tar
36865 ) ) >"$at_stdout" 2>"$at_stder1"
36866 at_func_filter_trace $?
36872 export TEST_TAR_FORMAT
36873 TAR_OPTIONS
="-H v7"
36878 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36881 test -z "$TEST_DATA_DIR" && exit 77
36882 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
36885 tar tf
$TEST_DATA_DIR/abc.
tar
36886 echo Verbose Listing
36887 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
36888 echo Extracted directory
36889 tar xf
$TEST_DATA_DIR/abc.
tar
36891 ) ) >"$at_stdout" 2>"$at_stderr"
36895 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36896 echo >>"$at_stdout"; $as_echo "Short Listing
36900 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
36901 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
36902 Extracted directory
36906 $at_diff - "$at_stdout" || at_failed
=:
36907 at_func_check_status
0 $at_status "$at_srcdir/volsize.at:32"
36909 $at_failed && at_func_log_failure
36913 $as_echo "$at_srcdir/volsize.at:32:
36916 TEST_TAR_FORMAT=oldgnu
36917 export TEST_TAR_FORMAT
36918 TAR_OPTIONS=\"-H oldgnu\"
36923 test -z "`sort < /dev/null 2>&1`" || exit 77
36926 test -z "$TEST_DATA_DIR" && exit 77
36927 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
36930 tar tf \$TEST_DATA_DIR/abc.tar
36931 echo Verbose Listing
36932 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
36933 echo Extracted directory
36934 tar xf \$TEST_DATA_DIR/abc.tar
36937 echo volsize.
at:32 >"$at_check_line_file"
36939 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36944 TEST_TAR_FORMAT
=oldgnu
36945 export TEST_TAR_FORMAT
36946 TAR_OPTIONS
="-H oldgnu"
36951 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36954 test -z "$TEST_DATA_DIR" && exit 77
36955 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
36958 tar tf
$TEST_DATA_DIR/abc.
tar
36959 echo Verbose Listing
36960 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
36961 echo Extracted directory
36962 tar xf
$TEST_DATA_DIR/abc.
tar
36964 ) ) >"$at_stdout" 2>"$at_stder1"
36965 at_func_filter_trace $?
36970 TEST_TAR_FORMAT
=oldgnu
36971 export TEST_TAR_FORMAT
36972 TAR_OPTIONS
="-H oldgnu"
36977 test -z "`sort < /dev/null 2>&1`" ||
exit 77
36980 test -z "$TEST_DATA_DIR" && exit 77
36981 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
36984 tar tf
$TEST_DATA_DIR/abc.
tar
36985 echo Verbose Listing
36986 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
36987 echo Extracted directory
36988 tar xf
$TEST_DATA_DIR/abc.
tar
36990 ) ) >"$at_stdout" 2>"$at_stderr"
36994 at_func_diff_devnull
"$at_stderr" || at_failed
=:
36995 echo >>"$at_stdout"; $as_echo "Short Listing
36999 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
37000 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
37001 Extracted directory
37005 $at_diff - "$at_stdout" || at_failed
=:
37006 at_func_check_status
0 $at_status "$at_srcdir/volsize.at:32"
37008 $at_failed && at_func_log_failure
37012 $as_echo "$at_srcdir/volsize.at:32:
37015 TEST_TAR_FORMAT=ustar
37016 export TEST_TAR_FORMAT
37017 TAR_OPTIONS=\"-H ustar\"
37022 test -z "`sort < /dev/null 2>&1`" || exit 77
37025 test -z "$TEST_DATA_DIR" && exit 77
37026 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
37029 tar tf \$TEST_DATA_DIR/abc.tar
37030 echo Verbose Listing
37031 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
37032 echo Extracted directory
37033 tar xf \$TEST_DATA_DIR/abc.tar
37036 echo volsize.
at:32 >"$at_check_line_file"
37038 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37043 TEST_TAR_FORMAT
=ustar
37044 export TEST_TAR_FORMAT
37045 TAR_OPTIONS
="-H ustar"
37050 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37053 test -z "$TEST_DATA_DIR" && exit 77
37054 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37057 tar tf
$TEST_DATA_DIR/abc.
tar
37058 echo Verbose Listing
37059 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37060 echo Extracted directory
37061 tar xf
$TEST_DATA_DIR/abc.
tar
37063 ) ) >"$at_stdout" 2>"$at_stder1"
37064 at_func_filter_trace $?
37069 TEST_TAR_FORMAT
=ustar
37070 export TEST_TAR_FORMAT
37071 TAR_OPTIONS
="-H ustar"
37076 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37079 test -z "$TEST_DATA_DIR" && exit 77
37080 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37083 tar tf
$TEST_DATA_DIR/abc.
tar
37084 echo Verbose Listing
37085 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37086 echo Extracted directory
37087 tar xf
$TEST_DATA_DIR/abc.
tar
37089 ) ) >"$at_stdout" 2>"$at_stderr"
37093 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37094 echo >>"$at_stdout"; $as_echo "Short Listing
37098 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
37099 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
37100 Extracted directory
37104 $at_diff - "$at_stdout" || at_failed
=:
37105 at_func_check_status
0 $at_status "$at_srcdir/volsize.at:32"
37107 $at_failed && at_func_log_failure
37111 $as_echo "$at_srcdir/volsize.at:32:
37114 TEST_TAR_FORMAT=posix
37115 export TEST_TAR_FORMAT
37116 TAR_OPTIONS=\"-H posix\"
37121 test -z "`sort < /dev/null 2>&1`" || exit 77
37124 test -z "$TEST_DATA_DIR" && exit 77
37125 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
37128 tar tf \$TEST_DATA_DIR/abc.tar
37129 echo Verbose Listing
37130 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
37131 echo Extracted directory
37132 tar xf \$TEST_DATA_DIR/abc.tar
37135 echo volsize.
at:32 >"$at_check_line_file"
37137 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37142 TEST_TAR_FORMAT
=posix
37143 export TEST_TAR_FORMAT
37144 TAR_OPTIONS
="-H posix"
37149 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37152 test -z "$TEST_DATA_DIR" && exit 77
37153 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37156 tar tf
$TEST_DATA_DIR/abc.
tar
37157 echo Verbose Listing
37158 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37159 echo Extracted directory
37160 tar xf
$TEST_DATA_DIR/abc.
tar
37162 ) ) >"$at_stdout" 2>"$at_stder1"
37163 at_func_filter_trace $?
37168 TEST_TAR_FORMAT
=posix
37169 export TEST_TAR_FORMAT
37170 TAR_OPTIONS
="-H posix"
37175 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37178 test -z "$TEST_DATA_DIR" && exit 77
37179 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37182 tar tf
$TEST_DATA_DIR/abc.
tar
37183 echo Verbose Listing
37184 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37185 echo Extracted directory
37186 tar xf
$TEST_DATA_DIR/abc.
tar
37188 ) ) >"$at_stdout" 2>"$at_stderr"
37192 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37193 echo >>"$at_stdout"; $as_echo "Short Listing
37197 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
37198 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
37199 Extracted directory
37203 $at_diff - "$at_stdout" || at_failed
=:
37204 at_func_check_status
0 $at_status "$at_srcdir/volsize.at:32"
37206 $at_failed && at_func_log_failure
37210 $as_echo "$at_srcdir/volsize.at:32:
37213 TEST_TAR_FORMAT=gnu
37214 export TEST_TAR_FORMAT
37215 TAR_OPTIONS=\"-H gnu\"
37220 test -z "`sort < /dev/null 2>&1`" || exit 77
37223 test -z "$TEST_DATA_DIR" && exit 77
37224 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
37227 tar tf \$TEST_DATA_DIR/abc.tar
37228 echo Verbose Listing
37229 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
37230 echo Extracted directory
37231 tar xf \$TEST_DATA_DIR/abc.tar
37234 echo volsize.
at:32 >"$at_check_line_file"
37236 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37241 TEST_TAR_FORMAT
=gnu
37242 export TEST_TAR_FORMAT
37243 TAR_OPTIONS
="-H gnu"
37248 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37251 test -z "$TEST_DATA_DIR" && exit 77
37252 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37255 tar tf
$TEST_DATA_DIR/abc.
tar
37256 echo Verbose Listing
37257 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37258 echo Extracted directory
37259 tar xf
$TEST_DATA_DIR/abc.
tar
37261 ) ) >"$at_stdout" 2>"$at_stder1"
37262 at_func_filter_trace $?
37267 TEST_TAR_FORMAT
=gnu
37268 export TEST_TAR_FORMAT
37269 TAR_OPTIONS
="-H gnu"
37274 test -z "`sort < /dev/null 2>&1`" ||
exit 77
37277 test -z "$TEST_DATA_DIR" && exit 77
37278 tarball_prereq abc.
tar 540f196ceddcad9e7bd2f2d7533d0474
$TEST_DATA_DIR $TEST_DATA_URL ||
exit 77
37281 tar tf
$TEST_DATA_DIR/abc.
tar
37282 echo Verbose Listing
37283 tar --utc -tvf $TEST_DATA_DIR/abc.
tar
37284 echo Extracted directory
37285 tar xf
$TEST_DATA_DIR/abc.
tar
37287 ) ) >"$at_stdout" 2>"$at_stderr"
37291 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37292 echo >>"$at_stdout"; $as_echo "Short Listing
37296 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
37297 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
37298 Extracted directory
37302 $at_diff - "$at_stdout" || at_failed
=:
37303 at_func_check_status
0 $at_status "$at_srcdir/volsize.at:32"
37305 $at_failed && at_func_log_failure
37312 $at_times_p && times >"$at_times_file"
37313 ) 5>&1 2>&1 |
eval $at_tee_pipe
37314 at_status
=`cat "$at_status_file"`
37317 # 107. comprec.at:21: compressed format recognition
37318 at_setup_line
='comprec.at:21'
37319 at_desc
="compressed format recognition"
37320 $at_quiet $as_echo_n "107: $at_desc "
37322 test -f $XFAILFILE && at_xfail
=yes
37323 echo "# -*- compilation -*-" >> "$at_group_log"
37325 $as_echo "107. comprec.at:21: testing ..."
37334 $as_echo "$at_srcdir/comprec.at:25:
37338 export TEST_TAR_FORMAT
37339 TAR_OPTIONS=\"-H v7\"
37344 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37346 genfile --length 10240 --file file1
37348 tar cfz archive file1
37351 tar xfv archive --warning=no-timestamp
37354 echo comprec.
at:25 >"$at_check_line_file"
37356 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37362 export TEST_TAR_FORMAT
37363 TAR_OPTIONS
="-H v7"
37368 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37370 genfile
--length 10240 --file file1
37372 tar cfz archive file1
37375 tar xfv archive
--warning=no-timestamp
37377 ) ) >"$at_stdout" 2>"$at_stder1"
37378 at_func_filter_trace $?
37384 export TEST_TAR_FORMAT
37385 TAR_OPTIONS
="-H v7"
37390 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37392 genfile
--length 10240 --file file1
37394 tar cfz archive file1
37397 tar xfv archive
--warning=no-timestamp
37399 ) ) >"$at_stdout" 2>"$at_stderr"
37403 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37404 echo >>"$at_stdout"; $as_echo "separator
37408 $at_diff - "$at_stdout" || at_failed
=:
37409 at_func_check_status
0 $at_status "$at_srcdir/comprec.at:25"
37411 $at_failed && at_func_log_failure
37415 $as_echo "$at_srcdir/comprec.at:25:
37418 TEST_TAR_FORMAT=oldgnu
37419 export TEST_TAR_FORMAT
37420 TAR_OPTIONS=\"-H oldgnu\"
37425 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37427 genfile --length 10240 --file file1
37429 tar cfz archive file1
37432 tar xfv archive --warning=no-timestamp
37435 echo comprec.
at:25 >"$at_check_line_file"
37437 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37442 TEST_TAR_FORMAT
=oldgnu
37443 export TEST_TAR_FORMAT
37444 TAR_OPTIONS
="-H oldgnu"
37449 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37451 genfile
--length 10240 --file file1
37453 tar cfz archive file1
37456 tar xfv archive
--warning=no-timestamp
37458 ) ) >"$at_stdout" 2>"$at_stder1"
37459 at_func_filter_trace $?
37464 TEST_TAR_FORMAT
=oldgnu
37465 export TEST_TAR_FORMAT
37466 TAR_OPTIONS
="-H oldgnu"
37471 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37473 genfile
--length 10240 --file file1
37475 tar cfz archive file1
37478 tar xfv archive
--warning=no-timestamp
37480 ) ) >"$at_stdout" 2>"$at_stderr"
37484 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37485 echo >>"$at_stdout"; $as_echo "separator
37489 $at_diff - "$at_stdout" || at_failed
=:
37490 at_func_check_status
0 $at_status "$at_srcdir/comprec.at:25"
37492 $at_failed && at_func_log_failure
37496 $as_echo "$at_srcdir/comprec.at:25:
37499 TEST_TAR_FORMAT=ustar
37500 export TEST_TAR_FORMAT
37501 TAR_OPTIONS=\"-H ustar\"
37506 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37508 genfile --length 10240 --file file1
37510 tar cfz archive file1
37513 tar xfv archive --warning=no-timestamp
37516 echo comprec.
at:25 >"$at_check_line_file"
37518 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37523 TEST_TAR_FORMAT
=ustar
37524 export TEST_TAR_FORMAT
37525 TAR_OPTIONS
="-H ustar"
37530 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37532 genfile
--length 10240 --file file1
37534 tar cfz archive file1
37537 tar xfv archive
--warning=no-timestamp
37539 ) ) >"$at_stdout" 2>"$at_stder1"
37540 at_func_filter_trace $?
37545 TEST_TAR_FORMAT
=ustar
37546 export TEST_TAR_FORMAT
37547 TAR_OPTIONS
="-H ustar"
37552 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37554 genfile
--length 10240 --file file1
37556 tar cfz archive file1
37559 tar xfv archive
--warning=no-timestamp
37561 ) ) >"$at_stdout" 2>"$at_stderr"
37565 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37566 echo >>"$at_stdout"; $as_echo "separator
37570 $at_diff - "$at_stdout" || at_failed
=:
37571 at_func_check_status
0 $at_status "$at_srcdir/comprec.at:25"
37573 $at_failed && at_func_log_failure
37577 $as_echo "$at_srcdir/comprec.at:25:
37580 TEST_TAR_FORMAT=posix
37581 export TEST_TAR_FORMAT
37582 TAR_OPTIONS=\"-H posix\"
37587 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37589 genfile --length 10240 --file file1
37591 tar cfz archive file1
37594 tar xfv archive --warning=no-timestamp
37597 echo comprec.
at:25 >"$at_check_line_file"
37599 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37604 TEST_TAR_FORMAT
=posix
37605 export TEST_TAR_FORMAT
37606 TAR_OPTIONS
="-H posix"
37611 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37613 genfile
--length 10240 --file file1
37615 tar cfz archive file1
37618 tar xfv archive
--warning=no-timestamp
37620 ) ) >"$at_stdout" 2>"$at_stder1"
37621 at_func_filter_trace $?
37626 TEST_TAR_FORMAT
=posix
37627 export TEST_TAR_FORMAT
37628 TAR_OPTIONS
="-H posix"
37633 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37635 genfile
--length 10240 --file file1
37637 tar cfz archive file1
37640 tar xfv archive
--warning=no-timestamp
37642 ) ) >"$at_stdout" 2>"$at_stderr"
37646 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37647 echo >>"$at_stdout"; $as_echo "separator
37651 $at_diff - "$at_stdout" || at_failed
=:
37652 at_func_check_status
0 $at_status "$at_srcdir/comprec.at:25"
37654 $at_failed && at_func_log_failure
37658 $as_echo "$at_srcdir/comprec.at:25:
37661 TEST_TAR_FORMAT=gnu
37662 export TEST_TAR_FORMAT
37663 TAR_OPTIONS=\"-H gnu\"
37668 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37670 genfile --length 10240 --file file1
37672 tar cfz archive file1
37675 tar xfv archive --warning=no-timestamp
37678 echo comprec.
at:25 >"$at_check_line_file"
37680 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37685 TEST_TAR_FORMAT
=gnu
37686 export TEST_TAR_FORMAT
37687 TAR_OPTIONS
="-H gnu"
37692 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37694 genfile
--length 10240 --file file1
37696 tar cfz archive file1
37699 tar xfv archive
--warning=no-timestamp
37701 ) ) >"$at_stdout" 2>"$at_stder1"
37702 at_func_filter_trace $?
37707 TEST_TAR_FORMAT
=gnu
37708 export TEST_TAR_FORMAT
37709 TAR_OPTIONS
="-H gnu"
37714 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
37716 genfile
--length 10240 --file file1
37718 tar cfz archive file1
37721 tar xfv archive
--warning=no-timestamp
37723 ) ) >"$at_stdout" 2>"$at_stderr"
37727 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37728 echo >>"$at_stdout"; $as_echo "separator
37732 $at_diff - "$at_stdout" || at_failed
=:
37733 at_func_check_status
0 $at_status "$at_srcdir/comprec.at:25"
37735 $at_failed && at_func_log_failure
37742 $at_times_p && times >"$at_times_file"
37743 ) 5>&1 2>&1 |
eval $at_tee_pipe
37744 at_status
=`cat "$at_status_file"`
37747 # 108. shortfile.at:26: short input files
37748 at_setup_line
='shortfile.at:26'
37749 at_desc
="short input files"
37750 $at_quiet $as_echo_n "108: $at_desc "
37752 test -f $XFAILFILE && at_xfail
=yes
37753 echo "# -*- compilation -*-" >> "$at_group_log"
37755 $as_echo "108. shortfile.at:26: testing ..."
37763 $as_echo "$at_srcdir/shortfile.at:29:
37766 TEST_TAR_FORMAT=gnu
37767 export TEST_TAR_FORMAT
37768 TAR_OPTIONS=\"-H gnu\"
37772 genfile --length 511 --file foo || exit 5
37775 echo shortfile.
at:29 >"$at_check_line_file"
37777 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37782 TEST_TAR_FORMAT
=gnu
37783 export TEST_TAR_FORMAT
37784 TAR_OPTIONS
="-H gnu"
37788 genfile
--length 511 --file foo ||
exit 5
37790 ) ) >"$at_stdout" 2>"$at_stder1"
37791 at_func_filter_trace $?
37796 TEST_TAR_FORMAT
=gnu
37797 export TEST_TAR_FORMAT
37798 TAR_OPTIONS
="-H gnu"
37802 genfile
--length 511 --file foo ||
exit 5
37804 ) ) >"$at_stdout" 2>"$at_stderr"
37808 echo >>"$at_stderr"; $as_echo "tar: This does not look like a tar archive
37809 tar: Exiting with failure status due to previous errors
37811 $at_diff - "$at_stderr" || at_failed
=:
37812 at_func_diff_devnull
"$at_stdout" || at_failed
=:
37813 at_func_check_status
2 $at_status "$at_srcdir/shortfile.at:29"
37815 $at_failed && at_func_log_failure
37822 $at_times_p && times >"$at_times_file"
37823 ) 5>&1 2>&1 |
eval $at_tee_pipe
37824 at_status
=`cat "$at_status_file"`
37827 # 109. shortupd.at:29: updating short archives
37828 at_setup_line
='shortupd.at:29'
37829 at_desc
="updating short archives"
37830 $at_quiet $as_echo_n "109: $at_desc "
37832 test -f $XFAILFILE && at_xfail
=yes
37833 echo "# -*- compilation -*-" >> "$at_group_log"
37835 $as_echo "109. shortupd.at:29: testing ..."
37843 $as_echo "$at_srcdir/shortupd.at:32:
37847 export TEST_TAR_FORMAT
37848 TAR_OPTIONS=\"-H v7\"
37855 echo shortupd.
at:32 >"$at_check_line_file"
37857 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37863 export TEST_TAR_FORMAT
37864 TAR_OPTIONS
="-H v7"
37870 ) ) >"$at_stdout" 2>"$at_stder1"
37871 at_func_filter_trace $?
37877 export TEST_TAR_FORMAT
37878 TAR_OPTIONS
="-H v7"
37884 ) ) >"$at_stdout" 2>"$at_stderr"
37888 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37889 at_func_diff_devnull
"$at_stdout" || at_failed
=:
37890 at_func_check_status
0 $at_status "$at_srcdir/shortupd.at:32"
37892 $at_failed && at_func_log_failure
37896 $as_echo "$at_srcdir/shortupd.at:32:
37899 TEST_TAR_FORMAT=oldgnu
37900 export TEST_TAR_FORMAT
37901 TAR_OPTIONS=\"-H oldgnu\"
37908 echo shortupd.
at:32 >"$at_check_line_file"
37910 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37915 TEST_TAR_FORMAT
=oldgnu
37916 export TEST_TAR_FORMAT
37917 TAR_OPTIONS
="-H oldgnu"
37923 ) ) >"$at_stdout" 2>"$at_stder1"
37924 at_func_filter_trace $?
37929 TEST_TAR_FORMAT
=oldgnu
37930 export TEST_TAR_FORMAT
37931 TAR_OPTIONS
="-H oldgnu"
37937 ) ) >"$at_stdout" 2>"$at_stderr"
37941 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37942 at_func_diff_devnull
"$at_stdout" || at_failed
=:
37943 at_func_check_status
0 $at_status "$at_srcdir/shortupd.at:32"
37945 $at_failed && at_func_log_failure
37949 $as_echo "$at_srcdir/shortupd.at:32:
37952 TEST_TAR_FORMAT=ustar
37953 export TEST_TAR_FORMAT
37954 TAR_OPTIONS=\"-H ustar\"
37961 echo shortupd.
at:32 >"$at_check_line_file"
37963 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37968 TEST_TAR_FORMAT
=ustar
37969 export TEST_TAR_FORMAT
37970 TAR_OPTIONS
="-H ustar"
37976 ) ) >"$at_stdout" 2>"$at_stder1"
37977 at_func_filter_trace $?
37982 TEST_TAR_FORMAT
=ustar
37983 export TEST_TAR_FORMAT
37984 TAR_OPTIONS
="-H ustar"
37990 ) ) >"$at_stdout" 2>"$at_stderr"
37994 at_func_diff_devnull
"$at_stderr" || at_failed
=:
37995 at_func_diff_devnull
"$at_stdout" || at_failed
=:
37996 at_func_check_status
0 $at_status "$at_srcdir/shortupd.at:32"
37998 $at_failed && at_func_log_failure
38002 $as_echo "$at_srcdir/shortupd.at:32:
38005 TEST_TAR_FORMAT=posix
38006 export TEST_TAR_FORMAT
38007 TAR_OPTIONS=\"-H posix\"
38014 echo shortupd.
at:32 >"$at_check_line_file"
38016 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38021 TEST_TAR_FORMAT
=posix
38022 export TEST_TAR_FORMAT
38023 TAR_OPTIONS
="-H posix"
38029 ) ) >"$at_stdout" 2>"$at_stder1"
38030 at_func_filter_trace $?
38035 TEST_TAR_FORMAT
=posix
38036 export TEST_TAR_FORMAT
38037 TAR_OPTIONS
="-H posix"
38043 ) ) >"$at_stdout" 2>"$at_stderr"
38047 at_func_diff_devnull
"$at_stderr" || at_failed
=:
38048 at_func_diff_devnull
"$at_stdout" || at_failed
=:
38049 at_func_check_status
0 $at_status "$at_srcdir/shortupd.at:32"
38051 $at_failed && at_func_log_failure
38055 $as_echo "$at_srcdir/shortupd.at:32:
38058 TEST_TAR_FORMAT=gnu
38059 export TEST_TAR_FORMAT
38060 TAR_OPTIONS=\"-H gnu\"
38067 echo shortupd.
at:32 >"$at_check_line_file"
38069 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38074 TEST_TAR_FORMAT
=gnu
38075 export TEST_TAR_FORMAT
38076 TAR_OPTIONS
="-H gnu"
38082 ) ) >"$at_stdout" 2>"$at_stder1"
38083 at_func_filter_trace $?
38088 TEST_TAR_FORMAT
=gnu
38089 export TEST_TAR_FORMAT
38090 TAR_OPTIONS
="-H gnu"
38096 ) ) >"$at_stdout" 2>"$at_stderr"
38100 at_func_diff_devnull
"$at_stderr" || at_failed
=:
38101 at_func_diff_devnull
"$at_stdout" || at_failed
=:
38102 at_func_check_status
0 $at_status "$at_srcdir/shortupd.at:32"
38104 $at_failed && at_func_log_failure
38111 $at_times_p && times >"$at_times_file"
38112 ) 5>&1 2>&1 |
eval $at_tee_pipe
38113 at_status
=`cat "$at_status_file"`
38116 # 110. truncate.at:29: truncate
38117 at_setup_line
='truncate.at:29'
38119 $at_quiet $as_echo_n "110: $at_desc "
38121 test -f $XFAILFILE && at_xfail
=yes
38122 echo "# -*- compilation -*-" >> "$at_group_log"
38124 $as_echo "110. truncate.at:29: testing ..."
38132 $as_echo "$at_srcdir/truncate.at:32:
38136 export TEST_TAR_FORMAT
38137 TAR_OPTIONS=\"-H v7\"
38141 genfile --file foo --length 200k
38143 genfile --run --checkpoint 10 --length 195k --truncate foo -- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38144 echo Exit status: \$?
38146 genfile --file foo --seek 195k --length 5k --pattern=zeros
38148 echo truncate.
at:32 >"$at_check_line_file"
38150 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38156 export TEST_TAR_FORMAT
38157 TAR_OPTIONS
="-H v7"
38161 genfile
--file foo
--length 200k
38163 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38164 echo Exit status
: $?
38166 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38167 tar dvf bar
) ) >"$at_stdout" 2>"$at_stder1"
38168 at_func_filter_trace $?
38174 export TEST_TAR_FORMAT
38175 TAR_OPTIONS
="-H v7"
38179 genfile
--file foo
--length 200k
38181 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38182 echo Exit status
: $?
38184 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38185 tar dvf bar
) ) >"$at_stdout" 2>"$at_stderr"
38189 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
38191 $at_diff - "$at_stderr" || at_failed
=:
38192 echo >>"$at_stdout"; $as_echo "foo
38197 foo: Mod time differs
38200 $at_diff - "$at_stdout" || at_failed
=:
38201 at_func_check_status
1 $at_status "$at_srcdir/truncate.at:32"
38203 $at_failed && at_func_log_failure
38207 $as_echo "$at_srcdir/truncate.at:32:
38210 TEST_TAR_FORMAT=oldgnu
38211 export TEST_TAR_FORMAT
38212 TAR_OPTIONS=\"-H oldgnu\"
38216 genfile --file foo --length 200k
38218 genfile --run --checkpoint 10 --length 195k --truncate foo -- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38219 echo Exit status: \$?
38221 genfile --file foo --seek 195k --length 5k --pattern=zeros
38223 echo truncate.
at:32 >"$at_check_line_file"
38225 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38230 TEST_TAR_FORMAT
=oldgnu
38231 export TEST_TAR_FORMAT
38232 TAR_OPTIONS
="-H oldgnu"
38236 genfile
--file foo
--length 200k
38238 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38239 echo Exit status
: $?
38241 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38242 tar dvf bar
) ) >"$at_stdout" 2>"$at_stder1"
38243 at_func_filter_trace $?
38248 TEST_TAR_FORMAT
=oldgnu
38249 export TEST_TAR_FORMAT
38250 TAR_OPTIONS
="-H oldgnu"
38254 genfile
--file foo
--length 200k
38256 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38257 echo Exit status
: $?
38259 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38260 tar dvf bar
) ) >"$at_stdout" 2>"$at_stderr"
38264 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
38266 $at_diff - "$at_stderr" || at_failed
=:
38267 echo >>"$at_stdout"; $as_echo "foo
38272 foo: Mod time differs
38275 $at_diff - "$at_stdout" || at_failed
=:
38276 at_func_check_status
1 $at_status "$at_srcdir/truncate.at:32"
38278 $at_failed && at_func_log_failure
38282 $as_echo "$at_srcdir/truncate.at:32:
38285 TEST_TAR_FORMAT=ustar
38286 export TEST_TAR_FORMAT
38287 TAR_OPTIONS=\"-H ustar\"
38291 genfile --file foo --length 200k
38293 genfile --run --checkpoint 10 --length 195k --truncate foo -- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38294 echo Exit status: \$?
38296 genfile --file foo --seek 195k --length 5k --pattern=zeros
38298 echo truncate.
at:32 >"$at_check_line_file"
38300 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38305 TEST_TAR_FORMAT
=ustar
38306 export TEST_TAR_FORMAT
38307 TAR_OPTIONS
="-H ustar"
38311 genfile
--file foo
--length 200k
38313 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38314 echo Exit status
: $?
38316 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38317 tar dvf bar
) ) >"$at_stdout" 2>"$at_stder1"
38318 at_func_filter_trace $?
38323 TEST_TAR_FORMAT
=ustar
38324 export TEST_TAR_FORMAT
38325 TAR_OPTIONS
="-H ustar"
38329 genfile
--file foo
--length 200k
38331 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38332 echo Exit status
: $?
38334 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38335 tar dvf bar
) ) >"$at_stdout" 2>"$at_stderr"
38339 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
38341 $at_diff - "$at_stderr" || at_failed
=:
38342 echo >>"$at_stdout"; $as_echo "foo
38347 foo: Mod time differs
38350 $at_diff - "$at_stdout" || at_failed
=:
38351 at_func_check_status
1 $at_status "$at_srcdir/truncate.at:32"
38353 $at_failed && at_func_log_failure
38357 $as_echo "$at_srcdir/truncate.at:32:
38360 TEST_TAR_FORMAT=posix
38361 export TEST_TAR_FORMAT
38362 TAR_OPTIONS=\"-H posix\"
38366 genfile --file foo --length 200k
38368 genfile --run --checkpoint 10 --length 195k --truncate foo -- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38369 echo Exit status: \$?
38371 genfile --file foo --seek 195k --length 5k --pattern=zeros
38373 echo truncate.
at:32 >"$at_check_line_file"
38375 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38380 TEST_TAR_FORMAT
=posix
38381 export TEST_TAR_FORMAT
38382 TAR_OPTIONS
="-H posix"
38386 genfile
--file foo
--length 200k
38388 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38389 echo Exit status
: $?
38391 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38392 tar dvf bar
) ) >"$at_stdout" 2>"$at_stder1"
38393 at_func_filter_trace $?
38398 TEST_TAR_FORMAT
=posix
38399 export TEST_TAR_FORMAT
38400 TAR_OPTIONS
="-H posix"
38404 genfile
--file foo
--length 200k
38406 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38407 echo Exit status
: $?
38409 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38410 tar dvf bar
) ) >"$at_stdout" 2>"$at_stderr"
38414 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
38416 $at_diff - "$at_stderr" || at_failed
=:
38417 echo >>"$at_stdout"; $as_echo "foo
38422 foo: Mod time differs
38425 $at_diff - "$at_stdout" || at_failed
=:
38426 at_func_check_status
1 $at_status "$at_srcdir/truncate.at:32"
38428 $at_failed && at_func_log_failure
38432 $as_echo "$at_srcdir/truncate.at:32:
38435 TEST_TAR_FORMAT=gnu
38436 export TEST_TAR_FORMAT
38437 TAR_OPTIONS=\"-H gnu\"
38441 genfile --file foo --length 200k
38443 genfile --run --checkpoint 10 --length 195k --truncate foo -- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38444 echo Exit status: \$?
38446 genfile --file foo --seek 195k --length 5k --pattern=zeros
38448 echo truncate.
at:32 >"$at_check_line_file"
38450 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38455 TEST_TAR_FORMAT
=gnu
38456 export TEST_TAR_FORMAT
38457 TAR_OPTIONS
="-H gnu"
38461 genfile
--file foo
--length 200k
38463 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38464 echo Exit status
: $?
38466 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38467 tar dvf bar
) ) >"$at_stdout" 2>"$at_stder1"
38468 at_func_filter_trace $?
38473 TEST_TAR_FORMAT
=gnu
38474 export TEST_TAR_FORMAT
38475 TAR_OPTIONS
="-H gnu"
38479 genfile
--file foo
--length 200k
38481 genfile
--run --checkpoint 10 --length 195k
--truncate foo
-- tar --checkpoint --checkpoint-action=echo --checkpoint-action=sleep=1 -vcf bar foo baz
38482 echo Exit status
: $?
38484 genfile
--file foo
--seek 195k
--length 5k
--pattern=zeros
38485 tar dvf bar
) ) >"$at_stdout" 2>"$at_stderr"
38489 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
38491 $at_diff - "$at_stderr" || at_failed
=:
38492 echo >>"$at_stdout"; $as_echo "foo
38497 foo: Mod time differs
38500 $at_diff - "$at_stdout" || at_failed
=:
38501 at_func_check_status
1 $at_status "$at_srcdir/truncate.at:32"
38503 $at_failed && at_func_log_failure
38510 $at_times_p && times >"$at_times_file"
38511 ) 5>&1 2>&1 |
eval $at_tee_pipe
38512 at_status
=`cat "$at_status_file"`
38515 # 111. grow.at:24: grow
38516 at_setup_line
='grow.at:24'
38518 $at_quiet $as_echo_n "111: $at_desc "
38520 test -f $XFAILFILE && at_xfail
=yes
38521 echo "# -*- compilation -*-" >> "$at_group_log"
38523 $as_echo "111. grow.at:24: testing ..."
38531 $as_echo "$at_srcdir/grow.at:27:
38535 export TEST_TAR_FORMAT
38536 TAR_OPTIONS=\"-H v7\"
38540 genfile --file foo --length 50000k
38542 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
38544 echo grow.
at:27 >"$at_check_line_file"
38546 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38552 export TEST_TAR_FORMAT
38553 TAR_OPTIONS
="-H v7"
38557 genfile
--file foo
--length 50000k
38559 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38560 ) ) >"$at_stdout" 2>"$at_stder1"
38561 at_func_filter_trace $?
38567 export TEST_TAR_FORMAT
38568 TAR_OPTIONS
="-H v7"
38572 genfile
--file foo
--length 50000k
38574 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38575 ) ) >"$at_stdout" 2>"$at_stderr"
38579 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
38581 $at_diff - "$at_stderr" || at_failed
=:
38582 echo >>"$at_stdout"; $as_echo "foo
38585 $at_diff - "$at_stdout" || at_failed
=:
38586 at_func_check_status
1 $at_status "$at_srcdir/grow.at:27"
38588 $at_failed && at_func_log_failure
38592 $as_echo "$at_srcdir/grow.at:27:
38595 TEST_TAR_FORMAT=oldgnu
38596 export TEST_TAR_FORMAT
38597 TAR_OPTIONS=\"-H oldgnu\"
38601 genfile --file foo --length 50000k
38603 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
38605 echo grow.
at:27 >"$at_check_line_file"
38607 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38612 TEST_TAR_FORMAT
=oldgnu
38613 export TEST_TAR_FORMAT
38614 TAR_OPTIONS
="-H oldgnu"
38618 genfile
--file foo
--length 50000k
38620 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38621 ) ) >"$at_stdout" 2>"$at_stder1"
38622 at_func_filter_trace $?
38627 TEST_TAR_FORMAT
=oldgnu
38628 export TEST_TAR_FORMAT
38629 TAR_OPTIONS
="-H oldgnu"
38633 genfile
--file foo
--length 50000k
38635 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38636 ) ) >"$at_stdout" 2>"$at_stderr"
38640 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
38642 $at_diff - "$at_stderr" || at_failed
=:
38643 echo >>"$at_stdout"; $as_echo "foo
38646 $at_diff - "$at_stdout" || at_failed
=:
38647 at_func_check_status
1 $at_status "$at_srcdir/grow.at:27"
38649 $at_failed && at_func_log_failure
38653 $as_echo "$at_srcdir/grow.at:27:
38656 TEST_TAR_FORMAT=ustar
38657 export TEST_TAR_FORMAT
38658 TAR_OPTIONS=\"-H ustar\"
38662 genfile --file foo --length 50000k
38664 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
38666 echo grow.
at:27 >"$at_check_line_file"
38668 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38673 TEST_TAR_FORMAT
=ustar
38674 export TEST_TAR_FORMAT
38675 TAR_OPTIONS
="-H ustar"
38679 genfile
--file foo
--length 50000k
38681 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38682 ) ) >"$at_stdout" 2>"$at_stder1"
38683 at_func_filter_trace $?
38688 TEST_TAR_FORMAT
=ustar
38689 export TEST_TAR_FORMAT
38690 TAR_OPTIONS
="-H ustar"
38694 genfile
--file foo
--length 50000k
38696 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38697 ) ) >"$at_stdout" 2>"$at_stderr"
38701 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
38703 $at_diff - "$at_stderr" || at_failed
=:
38704 echo >>"$at_stdout"; $as_echo "foo
38707 $at_diff - "$at_stdout" || at_failed
=:
38708 at_func_check_status
1 $at_status "$at_srcdir/grow.at:27"
38710 $at_failed && at_func_log_failure
38714 $as_echo "$at_srcdir/grow.at:27:
38717 TEST_TAR_FORMAT=posix
38718 export TEST_TAR_FORMAT
38719 TAR_OPTIONS=\"-H posix\"
38723 genfile --file foo --length 50000k
38725 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
38727 echo grow.
at:27 >"$at_check_line_file"
38729 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38734 TEST_TAR_FORMAT
=posix
38735 export TEST_TAR_FORMAT
38736 TAR_OPTIONS
="-H posix"
38740 genfile
--file foo
--length 50000k
38742 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38743 ) ) >"$at_stdout" 2>"$at_stder1"
38744 at_func_filter_trace $?
38749 TEST_TAR_FORMAT
=posix
38750 export TEST_TAR_FORMAT
38751 TAR_OPTIONS
="-H posix"
38755 genfile
--file foo
--length 50000k
38757 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38758 ) ) >"$at_stdout" 2>"$at_stderr"
38762 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
38764 $at_diff - "$at_stderr" || at_failed
=:
38765 echo >>"$at_stdout"; $as_echo "foo
38768 $at_diff - "$at_stdout" || at_failed
=:
38769 at_func_check_status
1 $at_status "$at_srcdir/grow.at:27"
38771 $at_failed && at_func_log_failure
38775 $as_echo "$at_srcdir/grow.at:27:
38778 TEST_TAR_FORMAT=gnu
38779 export TEST_TAR_FORMAT
38780 TAR_OPTIONS=\"-H gnu\"
38784 genfile --file foo --length 50000k
38786 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
38788 echo grow.
at:27 >"$at_check_line_file"
38790 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38795 TEST_TAR_FORMAT
=gnu
38796 export TEST_TAR_FORMAT
38797 TAR_OPTIONS
="-H gnu"
38801 genfile
--file foo
--length 50000k
38803 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38804 ) ) >"$at_stdout" 2>"$at_stder1"
38805 at_func_filter_trace $?
38810 TEST_TAR_FORMAT
=gnu
38811 export TEST_TAR_FORMAT
38812 TAR_OPTIONS
="-H gnu"
38816 genfile
--file foo
--length 50000k
38818 genfile
--run --checkpoint 10 --length 1024 --append foo
-- tar --checkpoint -vcf bar foo baz
38819 ) ) >"$at_stdout" 2>"$at_stderr"
38823 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
38825 $at_diff - "$at_stderr" || at_failed
=:
38826 echo >>"$at_stdout"; $as_echo "foo
38829 $at_diff - "$at_stdout" || at_failed
=:
38830 at_func_check_status
1 $at_status "$at_srcdir/grow.at:27"
38832 $at_failed && at_func_log_failure
38839 $at_times_p && times >"$at_times_file"
38840 ) 5>&1 2>&1 |
eval $at_tee_pipe
38841 at_status
=`cat "$at_status_file"`
38844 # 112. remfiles01.at:28: remove-files with compression
38845 at_setup_line
='remfiles01.at:28'
38846 at_desc
="remove-files with compression"
38847 $at_quiet $as_echo_n "112: $at_desc "
38849 echo "# -*- compilation -*-" >> "$at_group_log"
38851 $as_echo "112. remfiles01.at:28: testing ..."
38858 $as_echo "$at_srcdir/remfiles01.at:32:
38862 cat $$ > /dev/null 2>&1
38865 test $result -eq 0 && exit 77
38868 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
38871 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
38876 test -z "`sort < /dev/null 2>&1`" || exit 77
38881 genfile --file a --length 0
38886 # Depending on when the SIGPIPE gets delivered, the invocation below
38887 # may finish with either
38888 # tar: a: Cannot write: Broken pipe
38890 # tar: Child returned status 2
38892 # Discard diagnostics that some shells generate about broken pipes,
38893 # and discard all of tar's diagnostics except for the ones saying \"(child)\".
38894 # Gzip's exit code is propagated to the shell. Usually it is 141.
38895 # Convert all non-zero exits to 2 to make it predictable.
38896 (tar -c -f a -z --remove-files b c 2>err || (exit 2) ) 2>/dev/null
38898 sed -n '/(child)/p' err >&2
38903 echo remfiles01.
at:32 >"$at_check_line_file"
38905 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38911 cat $$
> /dev
/null
2>&1
38914 test $result -eq 0 && exit 77
38917 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
38920 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
38925 test -z "`sort < /dev/null 2>&1`" ||
exit 77
38930 genfile
--file a
--length 0
38935 # Depending on when the SIGPIPE gets delivered, the invocation below
38936 # may finish with either
38937 # tar: a: Cannot write: Broken pipe
38939 # tar: Child returned status 2
38941 # Discard diagnostics that some shells generate about broken pipes,
38942 # and discard all of tar's diagnostics except for the ones saying "(child)".
38943 # Gzip's exit code is propagated to the shell. Usually it is 141.
38944 # Convert all non-zero exits to 2 to make it predictable.
38945 (tar -c -f a
-z --remove-files b c
2>err ||
(exit 2) ) 2>/dev
/null
38947 sed -n '/(child)/p' err
>&2
38951 ) >"$at_stdout" 2>"$at_stder1"
38952 at_func_filter_trace $?
38958 cat $$
> /dev
/null
2>&1
38961 test $result -eq 0 && exit 77
38964 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
38967 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
38972 test -z "`sort < /dev/null 2>&1`" ||
exit 77
38977 genfile
--file a
--length 0
38982 # Depending on when the SIGPIPE gets delivered, the invocation below
38983 # may finish with either
38984 # tar: a: Cannot write: Broken pipe
38986 # tar: Child returned status 2
38988 # Discard diagnostics that some shells generate about broken pipes,
38989 # and discard all of tar's diagnostics except for the ones saying "(child)".
38990 # Gzip's exit code is propagated to the shell. Usually it is 141.
38991 # Convert all non-zero exits to 2 to make it predictable.
38992 (tar -c -f a
-z --remove-files b c
2>err ||
(exit 2) ) 2>/dev
/null
38994 sed -n '/(child)/p' err
>&2
38998 ) >"$at_stdout" 2>"$at_stderr"
39002 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Permission denied
39003 tar (child): Error is not recoverable: exiting now
39005 $at_diff - "$at_stderr" || at_failed
=:
39006 echo >>"$at_stdout"; $as_echo ".
39011 $at_diff - "$at_stdout" || at_failed
=:
39012 at_func_check_status
2 $at_status "$at_srcdir/remfiles01.at:32"
39014 $at_failed && at_func_log_failure
39019 $at_times_p && times >"$at_times_file"
39020 ) 5>&1 2>&1 |
eval $at_tee_pipe
39021 at_status
=`cat "$at_status_file"`
39024 # 113. remfiles02.at:28: remove-files with compression: grand-child
39025 at_setup_line
='remfiles02.at:28'
39026 at_desc
="remove-files with compression: grand-child"
39027 $at_quiet $as_echo_n "113: $at_desc "
39029 echo "# -*- compilation -*-" >> "$at_group_log"
39031 $as_echo "113. remfiles02.at:28: testing ..."
39038 $as_echo "$at_srcdir/remfiles02.at:32:
39040 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
39043 test -z "`sort < /dev/null 2>&1`" || exit 77
39052 tar -c -f a -z --remove-files b c 2>err
39054 sed -n '/(child)/p' err >&2
39059 echo remfiles02.
at:32 >"$at_check_line_file"
39061 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39065 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
39068 test -z "`sort < /dev/null 2>&1`" ||
exit 77
39077 tar -c -f a
-z --remove-files b c
2>err
39079 sed -n '/(child)/p' err
>&2
39083 ) >"$at_stdout" 2>"$at_stder1"
39084 at_func_filter_trace $?
39088 cat /dev
/null |
gzip - > /dev
/null
2>&1 ||
exit 77
39091 test -z "`sort < /dev/null 2>&1`" ||
exit 77
39100 tar -c -f a
-z --remove-files b c
2>err
39102 sed -n '/(child)/p' err
>&2
39106 ) >"$at_stdout" 2>"$at_stderr"
39110 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Is a directory
39111 tar (child): Error is not recoverable: exiting now
39113 $at_diff - "$at_stderr" || at_failed
=:
39114 echo >>"$at_stdout"; $as_echo ".
39119 $at_diff - "$at_stdout" || at_failed
=:
39120 at_func_check_status
2 $at_status "$at_srcdir/remfiles02.at:32"
39122 $at_failed && at_func_log_failure
39127 $at_times_p && times >"$at_times_file"
39128 ) 5>&1 2>&1 |
eval $at_tee_pipe
39129 at_status
=`cat "$at_status_file"`
39132 # 114. remfiles03.at:28: remove-files with symbolic links
39133 at_setup_line
='remfiles03.at:28'
39134 at_desc
="remove-files with symbolic links"
39135 $at_quiet $as_echo_n "114: $at_desc "
39137 echo "# -*- compilation -*-" >> "$at_group_log"
39139 $as_echo "114. remfiles03.at:28: testing ..."
39145 $as_echo "$at_srcdir/remfiles03.at:31:
39148 ln -s b a/c || exit 77
39149 tar --remove-files -cf a.tar a
39152 echo remfiles03.
at:31 >"$at_check_line_file"
39154 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39159 ln -s b a
/c ||
exit 77
39160 tar --remove-files -cf a.
tar a
39162 ) >"$at_stdout" 2>"$at_stder1"
39163 at_func_filter_trace $?
39168 ln -s b a
/c ||
exit 77
39169 tar --remove-files -cf a.
tar a
39171 ) >"$at_stdout" 2>"$at_stderr"
39175 echo >>"$at_stderr"; $as_echo "genfile: stat(a) failed: No such file or directory
39177 $at_diff - "$at_stderr" || at_failed
=:
39178 at_func_diff_devnull
"$at_stdout" || at_failed
=:
39179 at_func_check_status
0 $at_status "$at_srcdir/remfiles03.at:31"
39181 $at_failed && at_func_log_failure
39186 $at_times_p && times >"$at_times_file"
39187 ) 5>&1 2>&1 |
eval $at_tee_pipe
39188 at_status
=`cat "$at_status_file"`
39191 # 115. sigpipe.at:19: sigpipe handling
39192 at_setup_line
='sigpipe.at:19'
39193 at_desc
="sigpipe handling"
39194 $at_quiet $as_echo_n "115: $at_desc "
39196 echo "# -*- compilation -*-" >> "$at_group_log"
39198 $as_echo "115. sigpipe.at:19: testing ..."
39203 # Description: Tar 1.23 ignored sigpipe which lead to spurious "write
39204 # error" diagnostics when piping output to another programs.
39205 # Reported-by: "Dmitry V. Levin" <ldv@altlinux.org>
39206 # References: http://lists.gnu.org/archive/html/bug-tar/2010-03/msg00039.html
39207 # <20100319184141.GC30047@wo.int.altlinux.org>
39210 $as_echo "$at_srcdir/sigpipe.at:28:
39212 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
39217 genfile --length 2048 --file first
39218 genfile --length 2048 --file second
39219 genfile --length 2049 --file third
39221 tar cf archive first second third
39223 # Discard diagnostics that some shells generate about broken pipes.
39224 (tar tf archive 2>&3 | :) 3>&2 2>/dev/null
39226 echo sigpipe.
at:28 >"$at_check_line_file"
39228 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39232 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
39237 genfile
--length 2048 --file first
39238 genfile
--length 2048 --file second
39239 genfile
--length 2049 --file third
39241 tar cf archive first second third
39243 # Discard diagnostics that some shells generate about broken pipes.
39244 (tar tf archive
2>&3 |
:) 3>&2 2>/dev
/null
39245 ) >"$at_stdout" 2>"$at_stder1"
39246 at_func_filter_trace $?
39250 case `(cat "$at_myself" 2>&3 | :) 3>&1 >/dev/null` in #(
39255 genfile
--length 2048 --file first
39256 genfile
--length 2048 --file second
39257 genfile
--length 2049 --file third
39259 tar cf archive first second third
39261 # Discard diagnostics that some shells generate about broken pipes.
39262 (tar tf archive
2>&3 |
:) 3>&2 2>/dev
/null
39263 ) >"$at_stdout" 2>"$at_stderr"
39267 at_func_diff_devnull
"$at_stderr" || at_failed
=:
39268 at_func_diff_devnull
"$at_stdout" || at_failed
=:
39269 at_func_check_status
0 $at_status "$at_srcdir/sigpipe.at:28"
39271 $at_failed && at_func_log_failure
39276 $at_times_p && times >"$at_times_file"
39277 ) 5>&1 2>&1 |
eval $at_tee_pipe
39278 at_status
=`cat "$at_status_file"`
39281 # 116. gtarfail.at:21: gtarfail
39282 at_setup_line
='gtarfail.at:21'
39284 $at_quiet $as_echo_n "116: $at_desc "
39286 echo "# -*- compilation -*-" >> "$at_group_log"
39288 $as_echo "116. gtarfail.at:21: testing ..."
39296 $as_echo "$at_srcdir/gtarfail.at:26:
39298 test -z "$STAR_TESTSCRIPTS" && exit 77
39299 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39302 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail.tar
39304 echo gtarfail.
at:26 >"$at_check_line_file"
39306 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39310 test -z "$STAR_TESTSCRIPTS" && exit 77
39311 tarball_prereq gtarfail.
tar bf7612e401aaa679edbb07ae1183811b
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39314 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.
tar
39315 ) >"$at_stdout" 2>"$at_stder1"
39316 at_func_filter_trace $?
39320 test -z "$STAR_TESTSCRIPTS" && exit 77
39321 tarball_prereq gtarfail.
tar bf7612e401aaa679edbb07ae1183811b
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39324 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.
tar
39325 ) >"$at_stdout" 2>"$at_stderr"
39329 at_func_diff_devnull
"$at_stderr" || at_failed
=:
39330 echo >>"$at_stdout"; $as_echo "-rw-r--r-- jes/glone 518 2001-05-25 14:41 vedpowered.gif
39331 -rw-r--r-- jes/glone 6825 1997-04-29 00:19 cd.gif
39332 -rw-r--r-- jes/glone 33354 1999-06-22 12:17 DSCN0049c.JPG
39333 -rw-r--r-- jes/glone 86159 2001-06-05 18:16 Window1.jpg
39334 -rw-r--r-- jes/glone 1310 2001-05-25 13:05 vipower.gif
39335 -rw-rw-rw- jes/glone 148753 1998-09-15 13:08 billyboy.jpg
39337 $at_diff - "$at_stdout" || at_failed
=:
39338 at_func_check_status
0 $at_status "$at_srcdir/gtarfail.at:26"
39340 $at_failed && at_func_log_failure
39345 $at_times_p && times >"$at_times_file"
39346 ) 5>&1 2>&1 |
eval $at_tee_pipe
39347 at_status
=`cat "$at_status_file"`
39350 # 117. gtarfail2.at:21: gtarfail2
39351 at_setup_line
='gtarfail2.at:21'
39352 at_desc
="gtarfail2"
39353 $at_quiet $as_echo_n "117: $at_desc "
39355 echo "# -*- compilation -*-" >> "$at_group_log"
39357 $as_echo "117. gtarfail2.at:21: testing ..."
39365 $as_echo "$at_srcdir/gtarfail2.at:26:
39367 test -z "$STAR_TESTSCRIPTS" && exit 77
39368 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39370 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail2.tar
39372 echo gtarfail2.
at:26 >"$at_check_line_file"
39374 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39378 test -z "$STAR_TESTSCRIPTS" && exit 77
39379 tarball_prereq gtarfail2.
tar 6b607d1faec14b82f69525d9c5b66e53
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39381 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.
tar
39382 ) >"$at_stdout" 2>"$at_stder1"
39383 at_func_filter_trace $?
39387 test -z "$STAR_TESTSCRIPTS" && exit 77
39388 tarball_prereq gtarfail2.
tar 6b607d1faec14b82f69525d9c5b66e53
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39390 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.
tar
39391 ) >"$at_stdout" 2>"$at_stderr"
39395 at_func_diff_devnull
"$at_stderr" || at_failed
=:
39396 echo >>"$at_stdout"; $as_echo "-rwxr-xr-x jes/glone 214 2001-09-21 14:08 .clean
39397 lrwxrwxrwx jes/cats 0 1998-05-07 12:39 RULES -> makefiles/RULES
39398 drwxr-sr-x jes/glone 0 2001-12-10 00:00 build/
39399 -rw-r--r-- jes/glone 312019 2001-12-10 00:00 build/smake-1.2.tar.gz
39400 drwxr-sr-x jes/glone 0 2001-11-09 18:20 build/psmake/
39401 -rwxr-xr-x jes/glone 259 2000-01-09 16:36 build/psmake/MAKE
39402 -rwxr-xr-x jes/glone 4820 2001-02-25 22:45 build/psmake/MAKE.sh
39403 -rw-r--r-- jes/glone 647 2001-02-25 23:50 build/psmake/Makefile
39404 lrwxrwxrwx jes/glone 0 2001-08-29 10:53 build/psmake/archconf.c -> ../archconf.c
39405 lrwxrwxrwx jes/glone 0 2001-08-29 10:54 build/psmake/astoi.c -> ../../lib/astoi.c
39407 $at_diff - "$at_stdout" || at_failed
=:
39408 at_func_check_status
0 $at_status "$at_srcdir/gtarfail2.at:26"
39410 $at_failed && at_func_log_failure
39415 $at_times_p && times >"$at_times_file"
39416 ) 5>&1 2>&1 |
eval $at_tee_pipe
39417 at_status
=`cat "$at_status_file"`
39420 # 118. multi-fail.at:21: multi-fail
39421 at_setup_line
='multi-fail.at:21'
39422 at_desc
="multi-fail"
39423 $at_quiet $as_echo_n "118: $at_desc "
39425 echo "# -*- compilation -*-" >> "$at_group_log"
39427 $as_echo "118. multi-fail.at:21: testing ..."
39435 $as_echo "$at_srcdir/multi-fail.at:26:
39437 test -z "$STAR_TESTSCRIPTS" && exit 77
39438 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39441 test -z "$STAR_TESTSCRIPTS" && exit 77
39442 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39445 tar --utc -tvM -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \\
39446 -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
39448 echo multi-fail.
at:26 >"$at_check_line_file"
39450 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39454 test -z "$STAR_TESTSCRIPTS" && exit 77
39455 tarball_prereq gnu-multi-fail-volume1.gtar
7c28663dd98b0bd91ceb4be7af55254e
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39458 test -z "$STAR_TESTSCRIPTS" && exit 77
39459 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39462 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
39463 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar
<&-
39464 ) >"$at_stdout" 2>"$at_stder1"
39465 at_func_filter_trace $?
39469 test -z "$STAR_TESTSCRIPTS" && exit 77
39470 tarball_prereq gnu-multi-fail-volume1.gtar
7c28663dd98b0bd91ceb4be7af55254e
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39473 test -z "$STAR_TESTSCRIPTS" && exit 77
39474 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39477 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
39478 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar
<&-
39479 ) >"$at_stdout" 2>"$at_stderr"
39483 at_func_diff_devnull
"$at_stderr" || at_failed
=:
39484 echo >>"$at_stdout"; $as_echo "drwxrwsr-x joerg/bs 0 2003-10-11 14:32 OBJ/i386-sunos5-gcc/
39485 -rw-r--r-- joerg/bs 1 2003-10-11 14:32 OBJ/i386-sunos5-gcc/Dnull
39486 -rw-r--r-- joerg/bs 1743 2003-10-10 18:06 OBJ/i386-sunos5-gcc/star.d
39487 -rw-r--r-- joerg/bs 1460 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.d
39488 -rw-r--r-- joerg/bs 1540 2003-10-10 18:06 OBJ/i386-sunos5-gcc/cpiohdr.d
39489 -rw-r--r-- joerg/bs 2245 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xheader.d
39490 -rw-r--r-- joerg/bs 1254 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xattr.d
39491 -rw-r--r-- joerg/bs 1330 2003-10-10 18:06 OBJ/i386-sunos5-gcc/list.d
39492 -rw-r--r-- joerg/bs 1745 2003-10-10 18:06 OBJ/i386-sunos5-gcc/extract.d
39493 -rw-r--r-- joerg/bs 1518 2003-10-10 18:06 OBJ/i386-sunos5-gcc/create.d
39494 -rw-r--r-- joerg/bs 1235 2003-10-10 18:06 OBJ/i386-sunos5-gcc/append.d
39495 -rw-r--r-- joerg/bs 1368 2003-10-10 18:06 OBJ/i386-sunos5-gcc/diff.d
39496 -rw-r--r-- joerg/bs 1423 2003-10-10 18:06 OBJ/i386-sunos5-gcc/remove.d
39497 -rw-r--r-- joerg/bs 1493 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.d
39498 -rw-r--r-- joerg/bs 1572 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.d
39499 -rw-r--r-- joerg/bs 1453 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.d
39500 -rw-r--r-- joerg/bs 2257 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.d
39501 -rw-r--r-- joerg/bs 969 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.d
39502 -rw-r--r-- joerg/bs 1308 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.d
39503 -rw-r--r-- joerg/bs 1287 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.d
39504 -rw-r--r-- joerg/bs 1105 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.d
39505 -rw-r--r-- joerg/bs 1230 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.d
39506 -rw-r--r-- joerg/bs 1091 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.d
39507 -rw-r--r-- joerg/bs 961 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.d
39508 -rw-r--r-- joerg/bs 1113 2003-10-10 18:07 OBJ/i386-sunos5-gcc/props.d
39509 -rw-r--r-- joerg/bs 2146 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fetchdir.d
39510 -rw-r--r-- joerg/bs 1093 2003-10-10 18:07 OBJ/i386-sunos5-gcc/unicode.d
39511 -rw-r--r-- joerg/bs 1211 2003-10-10 18:07 OBJ/i386-sunos5-gcc/subst.d
39512 -rw-r--r-- joerg/bs 2076 2003-10-11 11:53 OBJ/i386-sunos5-gcc/volhdr.d
39513 -rw-r--r-- joerg/bs 1480 2003-10-10 18:07 OBJ/i386-sunos5-gcc/chdir.d
39514 -rw-r--r-- joerg/bs 42460 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star.o
39515 -rw-r--r-- joerg/bs 22564 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.o
39516 -rw-r--r-- joerg/bs 7880 2003-10-10 18:07 OBJ/i386-sunos5-gcc/cpiohdr.o
39517 -rw-r--r-- joerg/bs 14624 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xheader.o
39518 -rw-r--r-- joerg/bs 924 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xattr.o
39519 -rw-r--r-- joerg/bs 6120 2003-10-10 18:07 OBJ/i386-sunos5-gcc/list.o
39520 -rw-r--r-- joerg/bs 12764 2003-10-10 18:07 OBJ/i386-sunos5-gcc/extract.o
39521 -rw-r--r-- joerg/bs 14668 2003-10-10 18:07 OBJ/i386-sunos5-gcc/create.o
39522 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/append.o
39523 -rw-r--r-- joerg/bs 7636 2003-10-10 18:07 OBJ/i386-sunos5-gcc/diff.o
39524 -rw-r--r-- joerg/bs 3072 2003-10-10 18:07 OBJ/i386-sunos5-gcc/remove.o
39525 -rw-r--r-- joerg/bs 5612 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.o
39526 -rw-r--r-- joerg/bs 6220 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.o
39527 -rw-r--r-- joerg/bs 1092 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.o
39528 -rw-r--r-- joerg/bs 20996 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.o
39529 -rw-r--r-- joerg/bs 2060 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.o
39530 -rw-r--r-- joerg/bs 1664 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.o
39531 -rw-r--r-- joerg/bs 10564 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.o
39532 -rw-r--r-- joerg/bs 3864 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.o
39533 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.o
39534 -rw-r--r-- joerg/bs 952 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.o
39535 -rw-r--r-- joerg/bs 2756 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.o
39537 $at_diff - "$at_stdout" || at_failed
=:
39538 at_func_check_status
0 $at_status "$at_srcdir/multi-fail.at:26"
39540 $at_failed && at_func_log_failure
39545 $at_times_p && times >"$at_times_file"
39546 ) 5>&1 2>&1 |
eval $at_tee_pipe
39547 at_status
=`cat "$at_status_file"`
39550 # 119. ustar-big-2g.at:21: ustar-big-2g
39551 at_setup_line
='ustar-big-2g.at:21'
39552 at_desc
="ustar-big-2g"
39553 $at_quiet $as_echo_n "119: $at_desc "
39555 echo "# -*- compilation -*-" >> "$at_group_log"
39557 $as_echo "119. ustar-big-2g.at:21: testing ..."
39565 $as_echo "$at_srcdir/ustar-big-2g.at:26:
39567 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
39570 test -z "$STAR_TESTSCRIPTS" && exit 77
39571 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39574 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
39576 echo ustar-big-2g.
at:26 >"$at_check_line_file"
39578 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39582 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39585 test -z "$STAR_TESTSCRIPTS" && exit 77
39586 tarball_prereq ustar-big-2g.
tar.bz2 b63979733629c8fcdf40b60065422767
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39589 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.
tar.bz2
39590 ) >"$at_stdout" 2>"$at_stder1"
39591 at_func_filter_trace $?
39595 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39598 test -z "$STAR_TESTSCRIPTS" && exit 77
39599 tarball_prereq ustar-big-2g.
tar.bz2 b63979733629c8fcdf40b60065422767
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39602 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.
tar.bz2
39603 ) >"$at_stdout" 2>"$at_stderr"
39607 echo stderr
:; tee stderr
<"$at_stderr"
39608 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 2147483647 2002-06-15 14:53 big
39609 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
39611 $at_diff - "$at_stdout" || at_failed
=:
39612 at_func_check_status
0 $at_status "$at_srcdir/ustar-big-2g.at:26"
39614 $at_failed && at_func_log_failure
39619 cat >stderr.re
<<'_ATEOF'
39620 tar: Record size = .*
39623 awk '{print NR " " $0}' stderr
> $$
.1
39624 awk '{print NR " " $0}' stderr.re |
join - $$
.1 |
39625 while read NUM RE LINE
39627 echo "$LINE" |
grep -- "$RE" >/dev
/null ||
exit 1
39632 $at_times_p && times >"$at_times_file"
39633 ) 5>&1 2>&1 |
eval $at_tee_pipe
39634 at_status
=`cat "$at_status_file"`
39637 # 120. ustar-big-8g.at:21: ustar-big-8g
39638 at_setup_line
='ustar-big-8g.at:21'
39639 at_desc
="ustar-big-8g"
39640 $at_quiet $as_echo_n "120: $at_desc "
39642 echo "# -*- compilation -*-" >> "$at_group_log"
39644 $as_echo "120. ustar-big-8g.at:21: testing ..."
39652 $as_echo "$at_srcdir/ustar-big-8g.at:26:
39654 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
39657 test -z "$STAR_TESTSCRIPTS" && exit 77
39658 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39661 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
39663 echo ustar-big-8g.
at:26 >"$at_check_line_file"
39665 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39669 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39672 test -z "$STAR_TESTSCRIPTS" && exit 77
39673 tarball_prereq ustar-big-8g.
tar.bz2
60ff503fa4b8288bef7ada89e9c91b0f
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39676 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.
tar.bz2
39677 ) >"$at_stdout" 2>"$at_stder1"
39678 at_func_filter_trace $?
39682 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39685 test -z "$STAR_TESTSCRIPTS" && exit 77
39686 tarball_prereq ustar-big-8g.
tar.bz2
60ff503fa4b8288bef7ada89e9c91b0f
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39689 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.
tar.bz2
39690 ) >"$at_stdout" 2>"$at_stderr"
39694 echo stderr
:; tee stderr
<"$at_stderr"
39695 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 8589934591 2002-06-15 15:08 8gb-1
39696 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
39698 $at_diff - "$at_stdout" || at_failed
=:
39699 at_func_check_status
0 $at_status "$at_srcdir/ustar-big-8g.at:26"
39701 $at_failed && at_func_log_failure
39706 cat >stderr.re
<<'_ATEOF'
39707 tar: Record size = .*
39710 awk '{print NR " " $0}' stderr
> $$
.1
39711 awk '{print NR " " $0}' stderr.re |
join - $$
.1 |
39712 while read NUM RE LINE
39714 echo "$LINE" |
grep -- "$RE" >/dev
/null ||
exit 1
39719 $at_times_p && times >"$at_times_file"
39720 ) 5>&1 2>&1 |
eval $at_tee_pipe
39721 at_status
=`cat "$at_status_file"`
39724 # 121. pax-big-10g.at:21: pax-big-10g
39725 at_setup_line
='pax-big-10g.at:21'
39726 at_desc
="pax-big-10g"
39727 $at_quiet $as_echo_n "121: $at_desc "
39729 echo "# -*- compilation -*-" >> "$at_group_log"
39731 $as_echo "121. pax-big-10g.at:21: testing ..."
39739 $as_echo "$at_srcdir/pax-big-10g.at:26:
39741 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
39744 test -z "$STAR_TESTSCRIPTS" && exit 77
39745 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
39748 tar --utc -tvjf \$STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
39750 echo pax-big-10g.
at:26 >"$at_check_line_file"
39752 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
39756 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39759 test -z "$STAR_TESTSCRIPTS" && exit 77
39760 tarball_prereq pax-big-10g.
tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39763 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.
tar.bz2
39764 ) >"$at_stdout" 2>"$at_stder1"
39765 at_func_filter_trace $?
39769 cat /dev
/null |
bzip2 - > /dev
/null
2>&1 ||
exit 77
39772 test -z "$STAR_TESTSCRIPTS" && exit 77
39773 tarball_prereq pax-big-10g.
tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff
$STAR_TESTSCRIPTS $STAR_DATA_URL ||
exit 77
39776 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.
tar.bz2
39777 ) >"$at_stdout" 2>"$at_stderr"
39781 echo stderr
:; tee stderr
<"$at_stderr"
39782 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 10737418240 2002-06-15 21:18 10g
39783 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
39785 $at_diff - "$at_stdout" || at_failed
=:
39786 at_func_check_status
0 $at_status "$at_srcdir/pax-big-10g.at:26"
39788 $at_failed && at_func_log_failure
39793 cat >stderr.re
<<'_ATEOF'
39794 tar: Record size = .*
39797 awk '{print NR " " $0}' stderr
> $$
.1
39798 awk '{print NR " " $0}' stderr.re |
join - $$
.1 |
39799 while read NUM RE LINE
39801 echo "$LINE" |
grep -- "$RE" >/dev
/null ||
exit 1
39806 $at_times_p && times >"$at_times_file"
39807 ) 5>&1 2>&1 |
eval $at_tee_pipe
39808 at_status
=`cat "$at_status_file"`