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'
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;xform-h.at:30;transforming hard links on create;transform xform xform-h;
642 13;xform01.at:26;transformations and GNU volume labels;transform xform xform01 volume;
643 14;exclude.at:23;exclude;exclude;
644 15;exclude01.at:17;exclude wildcards;exclude exclude01;
645 16;exclude02.at:17;exclude: anchoring;exclude exclude02;
646 17;exclude03.at:17;exclude: wildcards match slash;exclude exclude03;
647 18;exclude04.at:17;exclude: case insensitive;exclude exclude04;
648 19;exclude05.at:19;exclude: lots of excludes;exclude exclude05;
649 20;exclude06.at:24;exclude: long files in pax archives;exclude exclude06;
650 21;delete01.at:23;deleting a member after a big one;delete delete01;
651 22;delete02.at:23;deleting a member from stdin archive;delete delete02;
652 23;delete03.at:21;deleting members with long names;delete delete03;
653 24;delete04.at:23;deleting a large last member;delete delete04;
654 25;delete05.at:27;deleting non-existing member;delete delete05;
655 26;extrac01.at:23;extract over an existing directory;extract extract01;
656 27;extrac02.at:23;extracting symlinks over an existing file;extract extract02 symlink;
657 28;extrac03.at:23;extraction loops;extract extract03;
658 29;extrac04.at:23;extract + fnmatch;extract extract04 fnmatch;
659 30;extrac05.at:30;extracting selected members from pax;extract extract05;
660 31;extrac06.at:33;mode of extracted directories;extract extract06 directory mode;
661 32;extrac07.at:27;extracting symlinks to a read-only dir;extract extract07 read-only symlink;
662 33;extrac08.at:33;restoring mode on existing directory;extract extrac08;
663 34;extrac09.at:22;no need to save dir with unreadable . and ..;extract extrac09;
664 35;extrac10.at:27;-C and delayed setting of metadata;extract extrac10;
665 36;extrac11.at:23;scarce file descriptors;extract extrac11;
666 37;extrac12.at:23;extract dot permissions;extract extrac12;
667 38;extrac13.at:24;extract over symlinks;extract extrac13;
668 39;extrac14.at:23;extract -C symlink;extract extrac14;
669 40;extrac15.at:23;extract parent mkdir failure;extract extrac15;
670 41;label01.at:19;single-volume label;label label01;
671 42;label02.at:19;multi-volume label;label label02 multi-label multivolume multiv;
672 43;label03.at:25;test-label option;label label03 test-label;
673 44;label04.at:25;label with non-create option;label label04;
674 45;label05.at:22;label with non-create option;label label05;
675 46;backup01.at:33;extracting existing dir with --backup;extract backup backup01;
676 47;gzip.at:23;gzip;gzip;
677 48;incremental.at:23;incremental;incremental incr00;
678 49;incr01.at:27;restore broken symlinks from incremental;incremental incr01;
679 50;incr02.at:32;restoring timestamps from incremental;incremental timestamp restore incr02;
680 51;listed01.at:26;--listed for individual files;listed incremental listed01;
681 52;listed02.at:28;working --listed;listed incremental listed02;
682 53;listed03.at:22;incremental dump when the parent directory is unreadable;listed incremental listed03;
683 54;incr03.at:28;renamed files in incrementals;incremental incr03 rename;
684 55;incr04.at:29;proper icontents initialization;incremental incr04 icontents;
685 56;incr05.at:19;incremental dumps with -C;incremental incr05;
686 57;incr06.at:19;incremental dumps of nested directories;incremental incr06;
687 58;filerem01.at:34;file removed as we read it (ca. 22 seconds);create incremental filechange filerem filerem01;
688 59;filerem02.at:24;toplevel file removed (ca. 24 seconds);create incremental filechange filerem filerem02;
689 60;rename01.at:24;renamed dirs in incrementals;incremental rename rename01;
690 61;rename02.at:24;move between hierarchies;incremental rename rename02;
691 62;rename03.at:23;cyclic renames;incremental rename rename03 cyclic-rename;
692 63;rename04.at:27;renamed directory containing subdirectories;incremental rename04 rename;
693 64;rename05.at:24;renamed subdirectories;incremental rename05 rename;
694 65;chtype.at:27;changed file types in incrementals;incremental chtype;
695 66;ignfail.at:23;ignfail;ignfail;
696 67;link01.at:33;link count gt 2;hardlinks link01;
697 68;link02.at:32;preserve hard links with --remove-files;hardlinks link02;
698 69;link03.at:24;working -l with --remove-files;hardlinks link03;
699 70;link04.at:29;link count is 1 but multiple occurrences;hardlinks link04;
700 71;longv7.at:24;long names in V7 archives;longname longv7;
701 72;long01.at:28;long file names divisible by block size;longname long512;
702 73;lustar01.at:21;ustar: unsplittable file name;longname ustar lustar01;
703 74;lustar02.at:21;ustar: unsplittable path name;longname ustar lustar02;
704 75;lustar03.at:21;ustar: splitting long names;longname ustar lustar03;
705 76;multiv01.at:23;multivolume dumps from pipes;multivolume multiv multiv01;
706 77;multiv02.at:28;skipping a straddling member;multivolume multiv multiv02;
707 78;multiv03.at:30;MV archive & long filenames;multivolume multiv multiv03;
708 79;multiv04.at:36;split directory members in a MV archive;multivolume multiv incremental multiv04;
709 80;multiv05.at:26;Restoring after an out of sync volume;multivolume multiv multiv05 sync;
710 81;multiv06.at:27;Multivolumes with L=record_size;multivolume multiv multiv06;
711 82;multiv07.at:26;volumes split at an extended header;multivolume multiv multiv07 xsplit;
712 83;multiv08.at:23;multivolume header creation;multivolume multiv multiv08;
713 84;old.at:23;old archives;old;
714 85;recurse.at:21;recurse;recurse;
715 86;same-order01.at:26;working -C with --same-order;same-order same-order01;
716 87;same-order02.at:25;multiple -C options;same-order same-order02;
717 88;shortrec.at:25;short records;shortrec;
718 89;sparse01.at:21;sparse files;sparse sparse01;
719 90;sparse02.at:21;extracting sparse file over a pipe;sparse sparse02;
720 91;sparse03.at:21;storing sparse files > 8G;sparse sparse03;
721 92;sparsemv.at:21;sparse files in MV archives;sparse multiv sparsemv;
722 93;spmvp00.at:21;sparse files in PAX MV archives, v.0.0;sparse multivolume multiv sparsemvp sparsemvp00;
723 94;spmvp01.at:21;sparse files in PAX MV archives, v.0.1;sparse multiv sparsemvp sparsemvp01;
724 95;spmvp10.at:21;sparse files in PAX MV archives, v.1.0;sparse multivolume multiv sparsemvp sparsemvp10;
725 96;update.at:28;update unchanged directories;update update00;
726 97;update01.at:29;update directories;update update01;
727 98;update02.at:26;update changed files;update update02;
728 99;volume.at:23;volume;volume volcheck;
729 100;volsize.at:29;volume header size;volume volsize;
730 101;comprec.at:21;compressed format recognition;comprec;
731 102;shortfile.at:26;short input files;shortfile shortfile0;
732 103;shortupd.at:29;updating short archives;shortfile shortfile1 shortupd;
733 104;truncate.at:29;truncate;truncate filechange;
734 105;grow.at:24;grow;grow filechange;
735 106;remfiles01.at:28;remove-files with compression;create remove-files remfiles01 gzip;
736 107;remfiles02.at:28;remove-files with compression: grand-child;create remove-files remfiles02 gzip;
737 108;remfiles03.at:28;remove-files with symbolic links;create remove-files remfiles03;
738 109;sigpipe.at:19;sigpipe handling;sigpipe;
739 110;gtarfail.at:21;gtarfail;star gtarfail;
740 111;gtarfail2.at:21;gtarfail2;star gtarfail2;
741 112;multi-fail.at:21;multi-fail;star multivolume multiv multi-fail;
742 113;ustar-big-2g.at:21;ustar-big-2g;star ustar-big-2g;
743 114;ustar-big-8g.at:21;ustar-big-8g;star ustar-big-8g;
744 115;pax-big-10g.at:21;pax-big-10g;star pax-big-10g;
747 # at_func_validate_ranges [NAME...]
748 # ---------------------------------
749 # Validate and normalize the test group number contained in each
750 # variable NAME. Leading zeroes are treated as decimal.
751 at_func_validate_ranges ()
755 eval at_value=\$$at_grp
756 if test $at_value -lt 1 || test $at_value -gt 115; then
757 $as_echo "invalid test group: $at_value" >&2
761 0*) # We want to treat leading 0 as decimal, like expr and test, but
762 # at_func_arith treats it as octal if it uses $(( )).
763 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
764 # expr fork, but it is not worth the effort to determine if the
765 # shell supports XSI when the user can just avoid leading 0.
766 eval $at_grp='`expr $at_value + 0`' ;;
774 # If the previous option needs an argument, assign it.
775 if test -n "$at_prev"; then
776 at_option=$at_prev=$at_option
781 *=*) at_optarg=`expr "x$at_option" : 'x[^=]*=\(.*\)'` ;;
785 # Accept the important Cygnus configure options, so we can diagnose typos.
814 at_verbose=; at_quiet=:
818 at_traceon='set -x'; at_traceoff='set +x'
821 [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
822 at_func_validate_ranges at_option
823 at_groups="$at_groups$at_option "
827 [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
828 at_range_start=`echo $at_option |tr -d X-`
829 at_func_validate_ranges at_range_start
830 at_range=`$as_echo " $at_groups_all " | \
831 sed -e 's/^.* \('$at_range_start' \)/\1/'`
832 at_groups="$at_groups$at_range "
835 -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
836 at_range_end=`echo $at_option |tr -d X-`
837 at_func_validate_ranges at_range_end
838 at_range=`$as_echo " $at_groups_all " | \
839 sed -e 's/\( '$at_range_end'\) .*$/\1/'`
840 at_groups="$at_groups$at_range "
843 [0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
844 [0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
845 [0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
846 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
847 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
848 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
849 at_range_start=`expr $at_option : '\(.*\)-'`
850 at_range_end=`expr $at_option : '.*-\(.*\)'`
851 if test $at_range_start -gt $at_range_end; then
853 at_range_end=$at_range_start
854 at_range_start=$at_tmp
856 at_func_validate_ranges at_range_start at_range_end
857 at_range=`$as_echo " $at_groups_all " | \
858 sed -e 's/^.*\( '$at_range_start' \)/\1/' \
859 -e 's/\( '$at_range_end'\) .*$/\1/'`
860 at_groups="$at_groups$at_range "
863 # Directory selection.
877 at_groups_selected=$at_help_all
889 at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
892 # It is on purpose that we match the test group titles too.
893 at_groups_selected=`$as_echo "$at_groups_selected" |
894 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
896 # Smash the newlines.
897 at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
900 at_groups="$at_groups$at_groups_selected "
904 at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
905 # Reject names that are not valid shell variable names.
907 '' | [0-9]* | *[!_$as_cr_alnum]* )
908 { { $as_echo "$as_me:$LINENO: error: invalid variable name: $at_envvar" >&5
909 $as_echo "$as_me: error: invalid variable name: $at_envvar" >&2;}
910 { (exit 1); exit 1; }; } ;;
912 at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
913 # Export now, but save eval for later and for debug scripts.
915 at_debug_args="$at_debug_args $at_envvar='$at_value'"
918 *) $as_echo "$as_me: invalid option: $at_option" >&2
919 $as_echo "Try \`$0 --help' for more information." >&2
925 # Verify our last option didn't require an argument
926 if test -n "$at_prev"; then
927 { { $as_echo "$as_me:$LINENO: error: \`$at_prev' requires an argument." >&5
928 $as_echo "$as_me: error: \`$at_prev' requires an argument." >&2;}
929 { (exit 1); exit 1; }; }
933 # Selected test groups.
934 if test -z "$at_groups"; then
935 at_groups=$at_groups_all
937 # Sort the tests, removing duplicates.
938 at_groups=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
943 cat <<_ATEOF || at_write_fail=1
944 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
946 Run all the tests, or the selected TESTS, given by numeric ranges, and
947 save a detailed log file. Upon failure, create debugging scripts.
949 You should not change environment variables unless explicitly passed
950 as command line arguments. Set \`AUTOTEST_PATH' to select the executables
951 to exercise. Each relative directory is expanded as build and source
952 directories relatively to the top level of this distribution. E.g.,
954 $ $0 AUTOTEST_PATH=bin
956 possibly amounts into
958 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
960 cat <<_ATEOF || at_write_fail=1
963 -h, --help print the help message, then exit
964 -V, --version print version number, then exit
965 -c, --clean remove all the files this test suite might create and exit
966 -l, --list describes all the tests, or the selected TESTS
968 cat <<_ATEOF || at_write_fail=1
972 change to directory DIR before starting
973 -k, --keywords=KEYWORDS
974 select the tests matching all the comma-separated KEYWORDS
975 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
976 -e, --errexit abort as soon as a test fails; implies --debug
977 -v, --verbose force more detailed output
978 default for debugging scripts
979 -d, --debug inhibit clean up and top-level logging
980 default for debugging scripts
981 -x, --trace enable tests shell tracing
983 cat <<_ATEOF || at_write_fail=1
985 Report bugs to <bug-tar@gnu.org>.
992 cat <<_ATEOF || at_write_fail=1
993 GNU tar 1.24 test suite test groups:
995 NUM: FILE-NAME:LINE TEST-GROUP-NAME
999 # Passing at_groups is tricky. We cannot use it to form a literal string
1000 # or regexp because of the limitation of AIX awk. And Solaris' awk
1001 # doesn't grok more than 99 fields in a record, so we have to use `split'.
1002 # at_groups needs to be space-separated for this script to work.
1005 at_groups=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
1007 $as_echo "$at_groups$as_nl$at_help_all" |
1008 awk 'BEGIN { FS = ";" }
1010 for (n = split($ 0, a, " "); n; n--) selected[a[n]] = 1
1014 if (selected[$ 1]) {
1015 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
1016 if ($ 4) printf " %s\n", $ 4
1018 }' || at_write_fail=1
1021 if $at_version_p; then
1022 $as_echo "$as_me (GNU tar 1.24)" &&
1023 cat <<\_ACEOF || at_write_fail=1
1025 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1026 Free Software Foundation, Inc.
1027 This test suite is free software; the Free Software Foundation gives
1028 unlimited permission to copy, distribute and modify it.
1033 # Should we print banners? at_groups is space-separated for entire test,
1034 # newline-separated if only a subset of the testsuite is run.
1036 *' '*' '* | *"$as_nl"*"$as_nl"* )
1037 at_print_banners=: ;;
1038 * ) at_print_banners=false ;;
1040 # Text for banner N, set to empty once printed.
1042 # Take any -C into account.
1043 if $at_change_dir ; then
1044 if test x- = "x$at_dir" ; then
1047 test x != "x$at_dir" && cd "$at_dir" \
1048 || { { $as_echo "$as_me:$LINENO: error: unable to change directory" >&5
1049 $as_echo "$as_me: error: unable to change directory" >&2;}
1050 { (exit 1); exit 1; }; }
1054 # Load the config files for any default variable assignments.
1055 for at_file in atconfig atlocal
1057 test -r $at_file || continue
1058 . ./$at_file || { { $as_echo "$as_me:$LINENO: error: invalid content: $at_file" >&5
1059 $as_echo "$as_me: error: invalid content: $at_file" >&2;}
1060 { (exit 1); exit 1; }; }
1063 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
1064 : ${at_top_build_prefix=$at_top_builddir}
1066 # Perform any assignments requested during argument parsing.
1067 eval "$at_debug_args"
1069 # atconfig delivers names relative to the directory the test suite is
1070 # in, but the groups themselves are run in testsuite-dir/group-dir.
1071 if test -n "$at_top_srcdir"; then
1073 for at_dir_var in srcdir top_srcdir top_build_prefix
1075 at_val=`eval 'as_val=${'at_$at_dir_var'}
1076 $as_echo "$as_val"'`
1078 [\\/$]* | ?:[\\/]* ) at_prefix= ;;
1079 *) at_prefix=../../ ;;
1081 eval "$at_dir_var=\$at_prefix\$at_val"
1085 ## ------------------- ##
1086 ## Directory structure ##
1087 ## ------------------- ##
1089 # This is the set of directories and files used by this script
1090 # (non-literals are capitalized):
1092 # TESTSUITE - the testsuite
1093 # TESTSUITE.log - summarizes the complete testsuite run
1094 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
1095 # + at-groups/ - during a run: status of all groups in run
1096 # | + NNN/ - during a run: meta-data about test group NNN
1097 # | | + check-line - location (source file and line) of current AT_CHECK
1098 # | | + status - exit status of current AT_CHECK
1099 # | | + stdout - stdout of current AT_CHECK
1100 # | | + stder1 - stderr, including trace
1101 # | | + stderr - stderr, with trace filtered out
1102 # | | + test-source - portion of testsuite that defines group
1103 # | | + times - timestamps for computing duration
1104 # | | + pass - created if group passed
1105 # | | + xpass - created if group xpassed
1106 # | | + fail - created if group failed
1107 # | | + xfail - created if group xfailed
1108 # | | + skip - created if group skipped
1109 # + at-stop - during a run: end the run if this file exists
1110 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
1111 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
1112 # | + TESTSUITE.log - summarizes the group results
1113 # | + ... - files created during the group
1115 # The directory the whole suite works in.
1116 # Should be absolute to let the user `cd' at will.
1117 at_suite_dir=$at_dir/$as_me.dir
1118 # The file containing the suite.
1119 at_suite_log=$at_dir/$as_me.log
1120 # The directory containing helper files per test group.
1121 at_helper_dir=$at_suite_dir/at-groups
1122 # Stop file: if it exists, do not start new jobs.
1123 at_stop_file=$at_suite_dir/at-stop
1126 test -d "$at_suite_dir" &&
1127 find "$at_suite_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1128 rm -f -r "$at_suite_dir" "$at_suite_log"
1132 # Don't take risks: use only absolute directories in PATH.
1134 # For stand-alone test suites (ie. atconfig was not found),
1135 # AUTOTEST_PATH is relative to `.'.
1137 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1138 # of the package. Then expand it into build/src parts, since users
1139 # may create executables in both places.
1140 AUTOTEST_PATH=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1143 for as_dir in $AUTOTEST_PATH $PATH
1146 test -z "$as_dir" && as_dir=.
1147 test -n "$at_path" && at_path=$at_path$PATH_SEPARATOR
1150 at_path=$at_path$as_dir
1153 if test -z "$at_top_build_prefix"; then
1154 # Stand-alone test suite.
1155 at_path=$at_path$as_dir
1157 # Embedded test suite.
1158 at_path=$at_path$at_top_build_prefix$as_dir$PATH_SEPARATOR
1159 at_path=$at_path$at_top_srcdir/$as_dir
1167 # Now build and simplify PATH.
1169 # There might be directories that don't exist, but don't redirect
1170 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1173 for as_dir in $at_path
1176 test -z "$as_dir" && as_dir=.
1177 test -d "$as_dir" || continue
1179 [\\/]* | ?:[\\/]* ) ;;
1180 * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1182 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1183 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1184 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
1185 *) at_new_path=$at_new_path$PATH_SEPARATOR$as_dir ;;
1193 # Setting up the FDs.
1194 # 5 is the log file. Not to be overwritten if `-d'.
1195 if $at_debug_p; then
1196 at_suite_log=/dev/null
1200 exec 5>>"$at_suite_log"
1204 ## ------------------------ ##
1205 ## GNU tar 1.24 test suite. ##
1206 ## ------------------------ ##
1210 ## ------------------------ ##
1211 ## GNU tar 1.24 test suite. ##
1212 ## ------------------------ ##
1216 $as_echo "$as_me: command line was:"
1217 $as_echo " \$ $0 $at_cli_args"
1220 # Try to find a few ChangeLogs in case it might help determining the
1221 # exact version. Use the relative dir: if the top dir is a symlink,
1222 # find will not follow it (and options to follow the links are not
1223 # portable), which would result in no output here. Prune directories
1224 # matching the package tarname, since they tend to be leftovers from
1225 # `make dist' or `make distcheck' and contain redundant or stale logs.
1226 if test -n "$at_top_srcdir"; then
1233 for at_file in `find "$at_top_srcdir" -name "tar-*" -prune -o -name ChangeLog -print`
1235 $as_echo "$as_me: $at_file:"
1236 sed 's/^/| /;10q' $at_file
1248 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1249 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1250 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1251 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1252 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1254 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1255 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1257 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1258 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1259 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1260 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1261 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1262 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1263 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1271 test -z "$as_dir" && as_dir=.
1272 $as_echo "PATH: $as_dir"
1279 # Contents of the config files.
1280 for at_file in atconfig atlocal
1282 test -r $at_file || continue
1283 $as_echo "$as_me: $at_file:"
1284 sed 's/^/| /' $at_file
1290 ## --------------- ##
1291 ## Shell functions ##
1292 ## --------------- ##
1294 # at_func_banner NUMBER
1295 # ---------------------
1296 # Output banner NUMBER, provided the testsuite is running multiple groups
1297 # and this particular banner has not yet been printed.
1300 $at_print_banners || return 0
1301 eval at_banner_text=\$at_banner_text_$1
1302 test "x$at_banner_text" = x && return 0
1303 eval at_banner_text_$1=
1304 $as_echo "$as_nl$at_banner_text$as_nl"
1307 # at_func_check_newline COMMAND
1308 # -----------------------------
1309 # Test if COMMAND includes a newline and, if so, print a message and return
1311 at_func_check_newline ()
1315 '*) echo 'Not enabling shell tracing (command contains an embedded newline)'
1321 # at_func_filter_trace EXIT-CODE
1322 # ------------------------------
1323 # Split the contents of file "$at_stder1" into the "set -x" trace (on stderr)
1324 # and the other lines (on file "$at_stderr"). Return the exit code EXIT-CODE.
1325 at_func_filter_trace ()
1327 grep '^ *+' "$at_stder1" >&2
1328 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1332 # at_func_log_failure FILE-LIST
1333 # -----------------------------
1334 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1335 # with a failure exit code.
1336 at_func_log_failure ()
1339 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1340 echo 1 > "$at_status_file"
1344 # at_func_check_skip EXIT-CODE
1345 # ----------------------------
1346 # Check whether EXIT-CODE is the special exit code 77, and if so exit the shell
1347 # with that same exit code.
1348 at_func_check_skip ()
1351 77) echo 77 > "$at_status_file"; exit 77;;
1355 # at_func_check_status EXPECTED EXIT-CODE LINE
1356 # --------------------------------------------
1357 # Check whether EXIT-CODE is the expected exit code, and if so do nothing.
1358 # Otherwise, if it is 77 exit the shell with that same exit code; if it is
1359 # anything else print an error message and fail the test.
1360 at_func_check_status ()
1364 77) echo 77 > "$at_status_file"; exit 77;;
1365 *) $as_echo "$3: exit code was $2, expected $1"
1370 # at_func_diff_devnull FILE
1371 # -------------------------
1372 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless
1374 at_func_diff_devnull ()
1376 test -s "$1" || return 0
1377 $at_diff "$at_devnull" "$1"
1380 # at_func_test NUMBER
1381 # -------------------
1382 # Parse out test NUMBER from the tail of this file.
1385 eval at_sed=\$at_sed$1
1386 sed "$at_sed" "$at_myself" > "$at_test_source"
1389 # at_func_create_debugging_script
1390 # -------------------------------
1391 # Create the debugging script $at_group_dir/run which will reproduce the
1392 # current test group.
1393 at_func_create_debugging_script ()
1396 echo "#! /bin/sh" &&
1397 echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1398 $as_echo "cd '$at_dir'" &&
1399 $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1401 } >"$at_group_dir/run" &&
1402 chmod +x "$at_group_dir/run"
1407 # Arithmetic evaluation, avoids expr if the shell is sane. The
1408 # interpretation of leading zeroes is unspecified.
1410 # subshell and eval are needed to keep Solaris sh from bailing out:
1411 if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
1412 # With "$@", bash does not split positional parameters:
1413 eval 'at_func_arith ()
1415 at_func_arith_result=$(( $* ))
1420 at_func_arith_result=`expr "$@"`
1424 ## ---------------------- ##
1425 ## End of shell functions ##
1426 ## ---------------------- ##
1429 ## ---------------- ##
1430 ## Tested programs. ##
1431 ## ---------------- ##
1436 # Report what programs are being tested.
1437 for at_program in : $at_tested
1439 test "$at_program" = : && continue
1440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1444 test -z "$as_dir" && as_dir=.
1445 test -f "$as_dir/$at_program" && break
1449 if test -f "$as_dir/$at_program"; then
1451 $as_echo "$at_srcdir/testsuite.at:104: $as_dir/$at_program --version"
1452 "$as_dir/$at_program" --version </dev/null
1456 { { $as_echo "$as_me:$LINENO: error: cannot find $at_program" >&5
1457 $as_echo "$as_me: error: cannot find $at_program" >&2;}
1458 { (exit 1); exit 1; }; }
1464 ## ------------------ ##
1465 ## Running the tests. ##
1466 ## ------------------ ##
1470 at_start_date=`date`
1471 at_start_time=`date +%s 2>/dev/null`
1472 $as_echo "$as_me: starting at: $at_start_date" >&5
1474 # Create the master directory if it doesn't already exist.
1475 test -d "$at_suite_dir" ||
1476 mkdir "$at_suite_dir" ||
1477 { { $as_echo "$as_me:$LINENO: error: cannot create '$at_suite_dir'" >&5
1478 $as_echo "$as_me: error: cannot create '$at_suite_dir'" >&2;}
1479 { (exit 1); exit 1; }; }
1481 # Can we diff with `/dev/null'? DU 5.0 refuses.
1482 if diff /dev/null /dev/null >/dev/null 2>&1; then
1483 at_devnull=/dev/null
1485 at_devnull=$at_suite_dir/devnull
1489 # Use `diff -u' when possible.
1490 if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1497 # Get the last needed group.
1498 for at_group in : $at_groups; do :; done
1500 # Extract the start and end lines of each test group at the tail
1508 test = substr ($ 0, 10)
1509 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1510 if (test == "'"$at_group"'") exit
1511 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1512 . "$at_suite_dir/at-source-lines" ||
1513 { { $as_echo "$as_me:$LINENO: error: cannot create test line number cache" >&5
1514 $as_echo "$as_me: error: cannot create test line number cache" >&2;}
1515 { (exit 1); exit 1; }; }
1516 rm -f "$at_suite_dir/at-source-lines"
1518 # Set up helper dirs.
1519 rm -rf "$at_helper_dir" &&
1520 mkdir "$at_helper_dir" &&
1521 cd "$at_helper_dir" &&
1522 { test -z "$at_groups" || mkdir $at_groups; } ||
1523 { { $as_echo "$as_me:$LINENO: error: testsuite directory setup failed" >&5
1524 $as_echo "$as_me: error: testsuite directory setup failed" >&2;}
1525 { (exit 1); exit 1; }; }
1527 # Functions for running a test group. We leave the actual
1528 # test group execution outside of a shell function in order
1529 # to avoid hitting zsh 4.x exit status bugs.
1531 # at_func_group_prepare
1532 # ---------------------
1533 # Prepare running a test group
1534 at_func_group_prepare ()
1536 # The directory for additional per-group helper files.
1537 at_job_dir=$at_helper_dir/$at_group
1538 # The file containing the location of the last AT_CHECK.
1539 at_check_line_file=$at_job_dir/check-line
1540 # The file containing the exit status of the last command.
1541 at_status_file=$at_job_dir/status
1542 # The files containing the output of the tested commands.
1543 at_stdout=$at_job_dir/stdout
1544 at_stder1=$at_job_dir/stder1
1545 at_stderr=$at_job_dir/stderr
1546 # The file containing the code for a test group.
1547 at_test_source=$at_job_dir/test-source
1548 # The file containing dates.
1549 at_times_file=$at_job_dir/times
1551 # Be sure to come back to the top test directory.
1554 # Clearly separate the test groups when verbose.
1555 $at_first || $at_verbose echo
1557 at_group_normalized=$at_group
1560 case $at_group_normalized in #(
1561 '"$at_format"'*) break;;
1563 at_group_normalized=0$at_group_normalized
1567 # Create a fresh directory for the next test group, and enter.
1568 at_group_dir=$at_suite_dir/$at_group_normalized
1569 at_group_log=$at_group_dir/$as_me.log
1570 if test -d "$at_group_dir"; then
1571 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1572 rm -fr "$at_group_dir" ||
1573 { $as_echo "$as_me:$LINENO: WARNING: test directory for $at_group_normalized could not be cleaned." >&5
1574 $as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned." >&2;}
1576 # Be tolerant if the above `rm' was not able to remove the directory.
1577 { as_dir="$at_group_dir"
1579 -*) as_dir=./$as_dir;;
1581 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1585 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1586 *) as_qdir=$as_dir;;
1588 as_dirs="'$as_qdir' $as_dirs"
1589 as_dir=`$as_dirname -- "$as_dir" ||
1590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1591 X"$as_dir" : 'X\(//\)[^/]' \| \
1592 X"$as_dir" : 'X\(//\)$' \| \
1593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1594 $as_echo X"$as_dir" |
1595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1612 test -d "$as_dir" && break
1614 test -z "$as_dirs" || eval "mkdir $as_dirs"
1615 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1616 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1617 { (exit 1); exit 1; }; }; }
1619 echo 0 > "$at_status_file"
1621 # In verbose mode, append to the log file *and* show on
1622 # the standard output; in quiet mode only write to the log.
1623 if test -z "$at_verbose"; then
1624 at_tee_pipe='tee -a "$at_group_log"'
1626 at_tee_pipe='cat >> "$at_group_log"'
1630 # at_func_group_postprocess
1631 # -------------------------
1632 at_func_group_postprocess ()
1634 # Be sure to come back to the suite directory, in particular
1635 # since below we might `rm' the group directory we are in currently.
1638 if test ! -f "$at_check_line_file"; then
1639 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1640 A failure happened in a test group before any test could be
1641 run. This means that test suite is improperly designed. Please
1642 report this failure to <bug-tar@gnu.org>.
1644 $as_echo "$at_setup_line" >"$at_check_line_file"
1646 $at_verbose $as_echo_n "$at_group. $at_setup_line: "
1647 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
1648 case $at_xfail:$at_status in
1650 at_msg="UNEXPECTED PASS"
1652 at_errexit=$at_errexit_p
1660 at_msg='skipped ('`cat "$at_check_line_file"`')'
1665 at_msg='expected failure ('`cat "$at_check_line_file"`')'
1670 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1672 at_errexit=$at_errexit_p
1675 echo "$at_res" > "$at_job_dir/$at_res"
1676 # Make sure there is a separator even with long titles.
1678 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
1681 # $at_times_file is only available if the group succeeded.
1682 # We're not including the group log, so the success message
1683 # is written in the global log separately. But we also
1684 # write to the group log in case they're using -d.
1685 if test -f "$at_times_file"; then
1686 at_log_msg="$at_log_msg ("`sed 1d "$at_times_file"`')'
1687 rm -f "$at_times_file"
1689 $as_echo "$at_log_msg" >> "$at_group_log"
1690 $as_echo "$at_log_msg" >&5
1692 # Cleanup the group directory, unless the user wants the files.
1693 if $at_debug_p; then
1694 at_func_create_debugging_script
1696 if test -d "$at_group_dir"; then
1697 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1698 rm -fr "$at_group_dir"
1700 rm -f "$at_test_source"
1704 # Upon failure, include the log into the testsuite's global
1705 # log. The failure message is written in the group log. It
1706 # is later included in the global log.
1707 $as_echo "$at_log_msg" >> "$at_group_log"
1709 # Upon failure, keep the group directory for autopsy, and create
1710 # the debugging script. With -e, do not start any further tests.
1711 at_func_create_debugging_script
1712 if $at_errexit; then
1713 echo stop > "$at_stop_file"
1724 rm -f "$at_stop_file"
1727 for at_group in $at_groups; do
1728 at_func_group_prepare
1729 if cd "$at_group_dir" &&
1730 at_func_test $at_group &&
1731 . "$at_test_source"; then :; else
1732 { $as_echo "$as_me:$LINENO: WARNING: unable to parse test group: $at_group" >&5
1733 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1736 at_func_group_postprocess
1737 test -f "$at_stop_file" && break
1741 # Wrap up the test suite with summary statistics.
1744 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1745 at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1746 at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1747 at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1748 at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1749 echo $f; done | sed '/?/d; s,/xpass,,'`
1750 at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do
1751 echo $f; done | sed '/?/d; s,/fail,,'`
1753 set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1754 shift; at_group_count=$#
1755 set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$*
1756 set X $at_xfail_list; shift; at_xfail_count=$#
1757 set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$*
1758 set X $at_skip_list; shift; at_skip_count=$#
1760 at_func_arith $at_group_count - $at_skip_count
1761 at_run_count=$at_func_arith_result
1762 at_func_arith $at_xpass_count + $at_fail_count
1763 at_unexpected_count=$at_func_arith_result
1764 at_func_arith $at_xfail_count + $at_fail_count
1765 at_total_fail_count=$at_func_arith_result
1767 # Back to the top directory.
1769 rm -rf "$at_helper_dir"
1771 # Compute the duration of the suite.
1773 at_stop_time=`date +%s 2>/dev/null`
1774 $as_echo "$as_me: ending at: $at_stop_date" >&5
1775 case $at_start_time,$at_stop_time in
1777 at_func_arith $at_stop_time - $at_start_time
1778 at_duration_s=$at_func_arith_result
1779 at_func_arith $at_duration_s / 60
1780 at_duration_m=$at_func_arith_result
1781 at_func_arith $at_duration_m / 60
1782 at_duration_h=$at_func_arith_result
1783 at_func_arith $at_duration_s % 60
1784 at_duration_s=$at_func_arith_result
1785 at_func_arith $at_duration_m % 60
1786 at_duration_m=$at_func_arith_result
1787 at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1788 $as_echo "$as_me: test suite duration: $at_duration" >&5
1809 if test $at_run_count = 1; then
1813 at_result="$at_run_count tests"
1816 if $at_errexit_p && test $at_unexpected_count != 0; then
1817 if test $at_xpass_count = 1; then
1818 at_result="$at_result $at_were run, one passed"
1820 at_result="$at_result $at_were run, one failed"
1822 at_result="$at_result unexpectedly and inhibited subsequent tests."
1824 # Don't you just love exponential explosion of the number of cases?
1825 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1827 0:0:0) at_result="$at_result $at_were successful." ;;
1828 0:0:*) at_result="$at_result behaved as expected." ;;
1830 # Some unexpected failures
1831 0:*:0) at_result="$at_result $at_were run,
1832 $at_fail_count failed unexpectedly." ;;
1834 # Some failures, both expected and unexpected
1835 0:*:1) at_result="$at_result $at_were run,
1836 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1837 0:*:*) at_result="$at_result $at_were run,
1838 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1840 # No unexpected failures, but some xpasses
1841 *:0:*) at_result="$at_result $at_were run,
1842 $at_xpass_count passed unexpectedly." ;;
1844 # No expected failures, but failures and xpasses
1845 *:1:0) at_result="$at_result $at_were run,
1846 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1847 *:*:0) at_result="$at_result $at_were run,
1848 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1851 *:*:1) at_result="$at_result $at_were run,
1852 $at_xpass_count passed unexpectedly,
1853 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1854 *:*:*) at_result="$at_result $at_were run,
1855 $at_xpass_count passed unexpectedly,
1856 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1859 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1860 at_result="All $at_result"
1864 # Now put skips in the mix.
1865 case $at_skip_count in
1867 1) at_result="$at_result
1868 1 test was skipped." ;;
1869 *) at_result="$at_result
1870 $at_skip_count tests were skipped." ;;
1873 if test $at_unexpected_count = 0; then
1875 echo "$at_result" >&5
1877 echo "ERROR: $at_result" >&2
1878 echo "ERROR: $at_result" >&5
1882 ## ------------------------ ##
1883 ## Summary of the failures. ##
1884 ## ------------------------ ##
1887 # Summary of failed and skipped tests.
1888 if test $at_fail_count != 0; then
1889 echo "Failed tests:"
1890 $SHELL "$at_myself" $at_fail_list --list
1893 if test $at_skip_count != 0; then
1894 echo "Skipped tests:"
1895 $SHELL "$at_myself" $at_skip_list --list
1898 if test $at_xpass_count != 0; then
1899 echo "Unexpected passes:"
1900 $SHELL "$at_myself" $at_xpass_list --list
1903 if test $at_fail_count != 0; then
1905 ## ---------------------- ##
1906 ## Detailed failed tests. ##
1907 ## ---------------------- ##
1910 for at_group in $at_fail_list
1912 at_group_normalized=$at_group
1915 case $at_group_normalized in #(
1916 '"$at_format"'*) break;;
1918 at_group_normalized=0$at_group_normalized
1921 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1926 if test -n "$at_top_srcdir"; then
1927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1928 ## ${at_top_build_prefix}config.log ##
1930 sed 's/^/| /' ${at_top_build_prefix}config.log
1935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1936 ## $as_me.log was created. ##
1940 $as_echo "Please send \`${at_testdir+${at_testdir}/}$as_me.log' and all information you think might help:
1942 To: <bug-tar@gnu.org>
1943 Subject: [GNU tar 1.24] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
1945 if test $at_debug_p = false; then
1947 echo 'You may investigate any problem if you feel able to do so, in which'
1948 echo 'case the test suite provides a good starting point. Its output may'
1949 $as_echo "be found below \`${at_testdir+${at_testdir}/}$as_me.dir'."
1961 # 1. version.at:19: tar version
1962 at_setup_line='version.at:19'
1963 at_desc="tar version"
1964 $at_quiet $as_echo_n " 1: $at_desc "
1966 echo "# -*- compilation -*-" >> "$at_group_log"
1968 $as_echo "1. version.at:19: testing ..."
1973 $as_echo "$at_srcdir/version.at:21: tar --version | sed 1q"
1974 echo version.at:21 >"$at_check_line_file"
1976 if test -n "$at_traceon"; then
1977 ( $at_traceon; tar --version | sed 1q ) >"$at_stdout" 2>"$at_stder1"
1978 at_func_filter_trace $?
1980 ( :; tar --version | sed 1q ) >"$at_stdout" 2>"$at_stderr"
1984 at_func_diff_devnull "$at_stderr" || at_failed=:
1985 echo >>"$at_stdout"; $as_echo "tar (GNU tar) 1.24
1987 $at_diff - "$at_stdout" || at_failed=:
1988 at_func_check_status 0 $at_status "$at_srcdir/version.at:21"
1990 cat >$XFAILFILE <<'_EOT'
1992 ==============================================================
1993 WARNING: Not using the proper version, *all* checks dubious...
1994 ==============================================================
2001 $at_failed && at_func_log_failure
2006 $at_times_p && times >"$at_times_file"
2007 ) 5>&1 2>&1 | eval $at_tee_pipe
2008 at_status=`cat "$at_status_file"`
2011 # 2. pipe.at:30: decompressing from stdin
2012 at_setup_line='pipe.at:30'
2013 at_desc="decompressing from stdin"
2014 $at_quiet $as_echo_n " 2: $at_desc "
2016 test -f $XFAILFILE && at_xfail=yes
2017 echo "# -*- compilation -*-" >> "$at_group_log"
2019 $as_echo "2. pipe.at:30: testing ..."
2028 $as_echo "$at_srcdir/pipe.at:34:
2032 export TEST_TAR_FORMAT
2033 TAR_OPTIONS=\"-H v7\"
2038 test -z "`sort < /dev/null 2>&1`" || exit 77
2042 genfile --length 10240 --pattern zeros --file directory/file1
2043 genfile --length 13 --file directory/file2
2044 tar cf archive directory
2046 cat archive | tar xfv - --warning=no-timestamp | sort
2048 cmp orig/file1 directory/file1
2050 cmp orig/file2 directory/file2)"
2051 echo pipe.at:34 >"$at_check_line_file"
2053 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2059 export TEST_TAR_FORMAT
2065 test -z "`sort < /dev/null 2>&1`" || exit 77
2069 genfile --length 10240 --pattern zeros --file directory/file1
2070 genfile --length 13 --file directory/file2
2071 tar cf archive directory
2073 cat archive | tar xfv - --warning=no-timestamp | sort
2075 cmp orig/file1 directory/file1
2077 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2078 at_func_filter_trace $?
2084 export TEST_TAR_FORMAT
2090 test -z "`sort < /dev/null 2>&1`" || exit 77
2094 genfile --length 10240 --pattern zeros --file directory/file1
2095 genfile --length 13 --file directory/file2
2096 tar cf archive directory
2098 cat archive | tar xfv - --warning=no-timestamp | sort
2100 cmp orig/file1 directory/file1
2102 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2106 at_func_diff_devnull "$at_stderr" || at_failed=:
2107 echo >>"$at_stdout"; $as_echo "directory/
2113 $at_diff - "$at_stdout" || at_failed=:
2114 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2116 $at_failed && at_func_log_failure
2120 $as_echo "$at_srcdir/pipe.at:34:
2123 TEST_TAR_FORMAT=oldgnu
2124 export TEST_TAR_FORMAT
2125 TAR_OPTIONS=\"-H oldgnu\"
2130 test -z "`sort < /dev/null 2>&1`" || exit 77
2134 genfile --length 10240 --pattern zeros --file directory/file1
2135 genfile --length 13 --file directory/file2
2136 tar cf archive directory
2138 cat archive | tar xfv - --warning=no-timestamp | sort
2140 cmp orig/file1 directory/file1
2142 cmp orig/file2 directory/file2)"
2143 echo pipe.at:34 >"$at_check_line_file"
2145 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2150 TEST_TAR_FORMAT=oldgnu
2151 export TEST_TAR_FORMAT
2152 TAR_OPTIONS="-H oldgnu"
2157 test -z "`sort < /dev/null 2>&1`" || exit 77
2161 genfile --length 10240 --pattern zeros --file directory/file1
2162 genfile --length 13 --file directory/file2
2163 tar cf archive directory
2165 cat archive | tar xfv - --warning=no-timestamp | sort
2167 cmp orig/file1 directory/file1
2169 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2170 at_func_filter_trace $?
2175 TEST_TAR_FORMAT=oldgnu
2176 export TEST_TAR_FORMAT
2177 TAR_OPTIONS="-H oldgnu"
2182 test -z "`sort < /dev/null 2>&1`" || exit 77
2186 genfile --length 10240 --pattern zeros --file directory/file1
2187 genfile --length 13 --file directory/file2
2188 tar cf archive directory
2190 cat archive | tar xfv - --warning=no-timestamp | sort
2192 cmp orig/file1 directory/file1
2194 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2198 at_func_diff_devnull "$at_stderr" || at_failed=:
2199 echo >>"$at_stdout"; $as_echo "directory/
2205 $at_diff - "$at_stdout" || at_failed=:
2206 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2208 $at_failed && at_func_log_failure
2212 $as_echo "$at_srcdir/pipe.at:34:
2215 TEST_TAR_FORMAT=ustar
2216 export TEST_TAR_FORMAT
2217 TAR_OPTIONS=\"-H ustar\"
2222 test -z "`sort < /dev/null 2>&1`" || exit 77
2226 genfile --length 10240 --pattern zeros --file directory/file1
2227 genfile --length 13 --file directory/file2
2228 tar cf archive directory
2230 cat archive | tar xfv - --warning=no-timestamp | sort
2232 cmp orig/file1 directory/file1
2234 cmp orig/file2 directory/file2)"
2235 echo pipe.at:34 >"$at_check_line_file"
2237 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2242 TEST_TAR_FORMAT=ustar
2243 export TEST_TAR_FORMAT
2244 TAR_OPTIONS="-H ustar"
2249 test -z "`sort < /dev/null 2>&1`" || exit 77
2253 genfile --length 10240 --pattern zeros --file directory/file1
2254 genfile --length 13 --file directory/file2
2255 tar cf archive directory
2257 cat archive | tar xfv - --warning=no-timestamp | sort
2259 cmp orig/file1 directory/file1
2261 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2262 at_func_filter_trace $?
2267 TEST_TAR_FORMAT=ustar
2268 export TEST_TAR_FORMAT
2269 TAR_OPTIONS="-H ustar"
2274 test -z "`sort < /dev/null 2>&1`" || exit 77
2278 genfile --length 10240 --pattern zeros --file directory/file1
2279 genfile --length 13 --file directory/file2
2280 tar cf archive directory
2282 cat archive | tar xfv - --warning=no-timestamp | sort
2284 cmp orig/file1 directory/file1
2286 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2290 at_func_diff_devnull "$at_stderr" || at_failed=:
2291 echo >>"$at_stdout"; $as_echo "directory/
2297 $at_diff - "$at_stdout" || at_failed=:
2298 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2300 $at_failed && at_func_log_failure
2304 $as_echo "$at_srcdir/pipe.at:34:
2307 TEST_TAR_FORMAT=posix
2308 export TEST_TAR_FORMAT
2309 TAR_OPTIONS=\"-H posix\"
2314 test -z "`sort < /dev/null 2>&1`" || exit 77
2318 genfile --length 10240 --pattern zeros --file directory/file1
2319 genfile --length 13 --file directory/file2
2320 tar cf archive directory
2322 cat archive | tar xfv - --warning=no-timestamp | sort
2324 cmp orig/file1 directory/file1
2326 cmp orig/file2 directory/file2)"
2327 echo pipe.at:34 >"$at_check_line_file"
2329 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2334 TEST_TAR_FORMAT=posix
2335 export TEST_TAR_FORMAT
2336 TAR_OPTIONS="-H posix"
2341 test -z "`sort < /dev/null 2>&1`" || exit 77
2345 genfile --length 10240 --pattern zeros --file directory/file1
2346 genfile --length 13 --file directory/file2
2347 tar cf archive directory
2349 cat archive | tar xfv - --warning=no-timestamp | sort
2351 cmp orig/file1 directory/file1
2353 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2354 at_func_filter_trace $?
2359 TEST_TAR_FORMAT=posix
2360 export TEST_TAR_FORMAT
2361 TAR_OPTIONS="-H posix"
2366 test -z "`sort < /dev/null 2>&1`" || exit 77
2370 genfile --length 10240 --pattern zeros --file directory/file1
2371 genfile --length 13 --file directory/file2
2372 tar cf archive directory
2374 cat archive | tar xfv - --warning=no-timestamp | sort
2376 cmp orig/file1 directory/file1
2378 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2382 at_func_diff_devnull "$at_stderr" || at_failed=:
2383 echo >>"$at_stdout"; $as_echo "directory/
2389 $at_diff - "$at_stdout" || at_failed=:
2390 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2392 $at_failed && at_func_log_failure
2396 $as_echo "$at_srcdir/pipe.at:34:
2400 export TEST_TAR_FORMAT
2401 TAR_OPTIONS=\"-H gnu\"
2406 test -z "`sort < /dev/null 2>&1`" || exit 77
2410 genfile --length 10240 --pattern zeros --file directory/file1
2411 genfile --length 13 --file directory/file2
2412 tar cf archive directory
2414 cat archive | tar xfv - --warning=no-timestamp | sort
2416 cmp orig/file1 directory/file1
2418 cmp orig/file2 directory/file2)"
2419 echo pipe.at:34 >"$at_check_line_file"
2421 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2427 export TEST_TAR_FORMAT
2428 TAR_OPTIONS="-H gnu"
2433 test -z "`sort < /dev/null 2>&1`" || exit 77
2437 genfile --length 10240 --pattern zeros --file directory/file1
2438 genfile --length 13 --file directory/file2
2439 tar cf archive directory
2441 cat archive | tar xfv - --warning=no-timestamp | sort
2443 cmp orig/file1 directory/file1
2445 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2446 at_func_filter_trace $?
2452 export TEST_TAR_FORMAT
2453 TAR_OPTIONS="-H gnu"
2458 test -z "`sort < /dev/null 2>&1`" || exit 77
2462 genfile --length 10240 --pattern zeros --file directory/file1
2463 genfile --length 13 --file directory/file2
2464 tar cf archive directory
2466 cat archive | tar xfv - --warning=no-timestamp | sort
2468 cmp orig/file1 directory/file1
2470 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2474 at_func_diff_devnull "$at_stderr" || at_failed=:
2475 echo >>"$at_stdout"; $as_echo "directory/
2481 $at_diff - "$at_stdout" || at_failed=:
2482 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2484 $at_failed && at_func_log_failure
2491 $at_times_p && times >"$at_times_file"
2492 ) 5>&1 2>&1 | eval $at_tee_pipe
2493 at_status=`cat "$at_status_file"`
2496 # 3. options.at:24: mixing options
2497 at_setup_line='options.at:24'
2498 at_desc="mixing options"
2499 $at_quiet $as_echo_n " 3: $at_desc "
2501 echo "# -*- compilation -*-" >> "$at_group_log"
2503 $as_echo "3. options.at:24: testing ..."
2509 $as_echo "$at_srcdir/options.at:27:
2511 TAR_OPTIONS=--numeric-owner tar chof archive file1
2514 echo options.at:27 >"$at_check_line_file"
2516 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2520 TAR_OPTIONS=--numeric-owner tar chof archive file1
2522 ) >"$at_stdout" 2>"$at_stder1"
2523 at_func_filter_trace $?
2527 TAR_OPTIONS=--numeric-owner tar chof archive file1
2529 ) >"$at_stdout" 2>"$at_stderr"
2533 at_func_diff_devnull "$at_stderr" || at_failed=:
2534 echo >>"$at_stdout"; $as_echo "file1
2536 $at_diff - "$at_stdout" || at_failed=:
2537 at_func_check_status 0 $at_status "$at_srcdir/options.at:27"
2539 $at_failed && at_func_log_failure
2544 $at_times_p && times >"$at_times_file"
2545 ) 5>&1 2>&1 | eval $at_tee_pipe
2546 at_status=`cat "$at_status_file"`
2549 # 4. options02.at:26: interspersed options
2550 at_setup_line='options02.at:26'
2551 at_desc="interspersed options"
2552 $at_quiet $as_echo_n " 4: $at_desc "
2554 echo "# -*- compilation -*-" >> "$at_group_log"
2556 $as_echo "4. options02.at:26: testing ..."
2562 $as_echo "$at_srcdir/options02.at:29:
2564 tar c file1 -f archive
2567 echo options02.at:29 >"$at_check_line_file"
2569 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2573 tar c file1 -f archive
2575 ) >"$at_stdout" 2>"$at_stder1"
2576 at_func_filter_trace $?
2580 tar c file1 -f archive
2582 ) >"$at_stdout" 2>"$at_stderr"
2586 at_func_diff_devnull "$at_stderr" || at_failed=:
2587 echo >>"$at_stdout"; $as_echo "file1
2589 $at_diff - "$at_stdout" || at_failed=:
2590 at_func_check_status 0 $at_status "$at_srcdir/options02.at:29"
2592 $at_failed && at_func_log_failure
2597 $at_times_p && times >"$at_times_file"
2598 ) 5>&1 2>&1 | eval $at_tee_pipe
2599 at_status=`cat "$at_status_file"`
2602 # 5. T-empty.at:26: files-from: empty entries
2603 at_setup_line='T-empty.at:26'
2604 at_desc="files-from: empty entries"
2605 $at_quiet $as_echo_n " 5: $at_desc "
2607 test -f $XFAILFILE && at_xfail=yes
2608 echo "# -*- compilation -*-" >> "$at_group_log"
2610 $as_echo "5. T-empty.at:26: testing ..."
2615 cat >file-list <<'_ATEOF'
2626 $as_echo "$at_srcdir/T-empty.at:36:
2629 TEST_TAR_FORMAT=ustar
2630 export TEST_TAR_FORMAT
2631 TAR_OPTIONS=\"-H ustar\"
2636 test -z "`sort < /dev/null 2>&1`" || exit 77
2639 genfile --file jeden
2643 tar cfvT archive ../file-list | sort
2645 echo T-empty.at:36 >"$at_check_line_file"
2647 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2652 TEST_TAR_FORMAT=ustar
2653 export TEST_TAR_FORMAT
2654 TAR_OPTIONS="-H ustar"
2659 test -z "`sort < /dev/null 2>&1`" || exit 77
2662 genfile --file jeden
2666 tar cfvT archive ../file-list | sort
2667 ) ) >"$at_stdout" 2>"$at_stder1"
2668 at_func_filter_trace $?
2673 TEST_TAR_FORMAT=ustar
2674 export TEST_TAR_FORMAT
2675 TAR_OPTIONS="-H ustar"
2680 test -z "`sort < /dev/null 2>&1`" || exit 77
2683 genfile --file jeden
2687 tar cfvT archive ../file-list | sort
2688 ) ) >"$at_stdout" 2>"$at_stderr"
2692 at_func_diff_devnull "$at_stderr" || at_failed=:
2693 echo >>"$at_stdout"; $as_echo "dwa
2697 $at_diff - "$at_stdout" || at_failed=:
2698 at_func_check_status 0 $at_status "$at_srcdir/T-empty.at:36"
2700 $at_failed && at_func_log_failure
2704 # Testing one format is enough
2707 $at_times_p && times >"$at_times_file"
2708 ) 5>&1 2>&1 | eval $at_tee_pipe
2709 at_status=`cat "$at_status_file"`
2712 # 6. T-null.at:21: files-from: 0-separated file without -0
2713 at_setup_line='T-null.at:21'
2714 at_desc="files-from: 0-separated file without -0"
2715 $at_quiet $as_echo_n " 6: $at_desc "
2717 test -f $XFAILFILE && at_xfail=yes
2718 echo "# -*- compilation -*-" >> "$at_group_log"
2720 $as_echo "6. T-null.at:21: testing ..."
2725 cat >expout <<'_ATEOF'
2734 $as_echo "$at_srcdir/T-null.at:28:
2737 TEST_TAR_FORMAT=ustar
2738 export TEST_TAR_FORMAT
2739 TAR_OPTIONS=\"-H ustar\"
2744 test -z "`sort < /dev/null 2>&1`" || exit 77
2749 cat temp | tr '\\n' '\\0' > temp1
2750 echo jeden > file-list
2751 cat temp1 >> file-list
2757 tar cfTv archive file-list | sort
2759 echo T-null.at:28 >"$at_check_line_file"
2761 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2766 TEST_TAR_FORMAT=ustar
2767 export TEST_TAR_FORMAT
2768 TAR_OPTIONS="-H ustar"
2773 test -z "`sort < /dev/null 2>&1`" || exit 77
2778 cat temp | tr '\n' '\0' > temp1
2779 echo jeden > file-list
2780 cat temp1 >> file-list
2786 tar cfTv archive file-list | sort
2787 ) ) >"$at_stdout" 2>"$at_stder1"
2788 at_func_filter_trace $?
2793 TEST_TAR_FORMAT=ustar
2794 export TEST_TAR_FORMAT
2795 TAR_OPTIONS="-H ustar"
2800 test -z "`sort < /dev/null 2>&1`" || exit 77
2805 cat temp | tr '\n' '\0' > temp1
2806 echo jeden > file-list
2807 cat temp1 >> file-list
2813 tar cfTv archive file-list | sort
2814 ) ) >"$at_stdout" 2>"$at_stderr"
2818 echo >>"$at_stderr"; $as_echo "tar: file-list: file name read contains nul character
2820 $at_diff - "$at_stderr" || at_failed=:
2821 $at_diff expout "$at_stdout" || at_failed=:
2822 at_func_check_status 0 $at_status "$at_srcdir/T-null.at:28"
2824 $at_failed && at_func_log_failure
2828 # Testing one format is enough
2831 $at_times_p && times >"$at_times_file"
2832 ) 5>&1 2>&1 | eval $at_tee_pipe
2833 at_status=`cat "$at_status_file"`
2836 # 7. indexfile.at:26: tar --index-file=FILE --file=-
2837 at_setup_line='indexfile.at:26'
2838 at_desc="tar --index-file=FILE --file=-"
2839 $at_quiet $as_echo_n " 7: $at_desc "
2841 test -f $XFAILFILE && at_xfail=yes
2842 echo "# -*- compilation -*-" >> "$at_group_log"
2844 $as_echo "7. indexfile.at:26: testing ..."
2852 $as_echo "$at_srcdir/indexfile.at:29:
2856 export TEST_TAR_FORMAT
2857 TAR_OPTIONS=\"-H v7\"
2863 genfile --file=directory/a --length=1035
2865 echo \"Creating the archive\"
2866 tar -c -v -f - --index-file=idx directory > archive
2868 echo \"Testing the archive\"
2871 echo indexfile.at:29 >"$at_check_line_file"
2873 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2879 export TEST_TAR_FORMAT
2886 genfile --file=directory/a --length=1035
2888 echo "Creating the archive"
2889 tar -c -v -f - --index-file=idx directory > archive
2891 echo "Testing the archive"
2893 ) ) >"$at_stdout" 2>"$at_stder1"
2894 at_func_filter_trace $?
2900 export TEST_TAR_FORMAT
2907 genfile --file=directory/a --length=1035
2909 echo "Creating the archive"
2910 tar -c -v -f - --index-file=idx directory > archive
2912 echo "Testing the archive"
2914 ) ) >"$at_stdout" 2>"$at_stderr"
2918 at_func_diff_devnull "$at_stderr" || at_failed=:
2919 echo >>"$at_stdout"; $as_echo "Creating the archive
2924 $at_diff - "$at_stdout" || at_failed=:
2925 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
2927 $at_failed && at_func_log_failure
2931 $as_echo "$at_srcdir/indexfile.at:29:
2934 TEST_TAR_FORMAT=oldgnu
2935 export TEST_TAR_FORMAT
2936 TAR_OPTIONS=\"-H oldgnu\"
2942 genfile --file=directory/a --length=1035
2944 echo \"Creating the archive\"
2945 tar -c -v -f - --index-file=idx directory > archive
2947 echo \"Testing the archive\"
2950 echo indexfile.at:29 >"$at_check_line_file"
2952 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2957 TEST_TAR_FORMAT=oldgnu
2958 export TEST_TAR_FORMAT
2959 TAR_OPTIONS="-H oldgnu"
2965 genfile --file=directory/a --length=1035
2967 echo "Creating the archive"
2968 tar -c -v -f - --index-file=idx directory > archive
2970 echo "Testing the archive"
2972 ) ) >"$at_stdout" 2>"$at_stder1"
2973 at_func_filter_trace $?
2978 TEST_TAR_FORMAT=oldgnu
2979 export TEST_TAR_FORMAT
2980 TAR_OPTIONS="-H oldgnu"
2986 genfile --file=directory/a --length=1035
2988 echo "Creating the archive"
2989 tar -c -v -f - --index-file=idx directory > archive
2991 echo "Testing the archive"
2993 ) ) >"$at_stdout" 2>"$at_stderr"
2997 at_func_diff_devnull "$at_stderr" || at_failed=:
2998 echo >>"$at_stdout"; $as_echo "Creating the archive
3003 $at_diff - "$at_stdout" || at_failed=:
3004 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3006 $at_failed && at_func_log_failure
3010 $as_echo "$at_srcdir/indexfile.at:29:
3013 TEST_TAR_FORMAT=ustar
3014 export TEST_TAR_FORMAT
3015 TAR_OPTIONS=\"-H ustar\"
3021 genfile --file=directory/a --length=1035
3023 echo \"Creating the archive\"
3024 tar -c -v -f - --index-file=idx directory > archive
3026 echo \"Testing the archive\"
3029 echo indexfile.at:29 >"$at_check_line_file"
3031 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3036 TEST_TAR_FORMAT=ustar
3037 export TEST_TAR_FORMAT
3038 TAR_OPTIONS="-H ustar"
3044 genfile --file=directory/a --length=1035
3046 echo "Creating the archive"
3047 tar -c -v -f - --index-file=idx directory > archive
3049 echo "Testing the archive"
3051 ) ) >"$at_stdout" 2>"$at_stder1"
3052 at_func_filter_trace $?
3057 TEST_TAR_FORMAT=ustar
3058 export TEST_TAR_FORMAT
3059 TAR_OPTIONS="-H ustar"
3065 genfile --file=directory/a --length=1035
3067 echo "Creating the archive"
3068 tar -c -v -f - --index-file=idx directory > archive
3070 echo "Testing the archive"
3072 ) ) >"$at_stdout" 2>"$at_stderr"
3076 at_func_diff_devnull "$at_stderr" || at_failed=:
3077 echo >>"$at_stdout"; $as_echo "Creating the archive
3082 $at_diff - "$at_stdout" || at_failed=:
3083 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3085 $at_failed && at_func_log_failure
3089 $as_echo "$at_srcdir/indexfile.at:29:
3092 TEST_TAR_FORMAT=posix
3093 export TEST_TAR_FORMAT
3094 TAR_OPTIONS=\"-H posix\"
3100 genfile --file=directory/a --length=1035
3102 echo \"Creating the archive\"
3103 tar -c -v -f - --index-file=idx directory > archive
3105 echo \"Testing the archive\"
3108 echo indexfile.at:29 >"$at_check_line_file"
3110 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3115 TEST_TAR_FORMAT=posix
3116 export TEST_TAR_FORMAT
3117 TAR_OPTIONS="-H posix"
3123 genfile --file=directory/a --length=1035
3125 echo "Creating the archive"
3126 tar -c -v -f - --index-file=idx directory > archive
3128 echo "Testing the archive"
3130 ) ) >"$at_stdout" 2>"$at_stder1"
3131 at_func_filter_trace $?
3136 TEST_TAR_FORMAT=posix
3137 export TEST_TAR_FORMAT
3138 TAR_OPTIONS="-H posix"
3144 genfile --file=directory/a --length=1035
3146 echo "Creating the archive"
3147 tar -c -v -f - --index-file=idx directory > archive
3149 echo "Testing the archive"
3151 ) ) >"$at_stdout" 2>"$at_stderr"
3155 at_func_diff_devnull "$at_stderr" || at_failed=:
3156 echo >>"$at_stdout"; $as_echo "Creating the archive
3161 $at_diff - "$at_stdout" || at_failed=:
3162 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3164 $at_failed && at_func_log_failure
3168 $as_echo "$at_srcdir/indexfile.at:29:
3172 export TEST_TAR_FORMAT
3173 TAR_OPTIONS=\"-H gnu\"
3179 genfile --file=directory/a --length=1035
3181 echo \"Creating the archive\"
3182 tar -c -v -f - --index-file=idx directory > archive
3184 echo \"Testing the archive\"
3187 echo indexfile.at:29 >"$at_check_line_file"
3189 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3195 export TEST_TAR_FORMAT
3196 TAR_OPTIONS="-H gnu"
3202 genfile --file=directory/a --length=1035
3204 echo "Creating the archive"
3205 tar -c -v -f - --index-file=idx directory > archive
3207 echo "Testing the archive"
3209 ) ) >"$at_stdout" 2>"$at_stder1"
3210 at_func_filter_trace $?
3216 export TEST_TAR_FORMAT
3217 TAR_OPTIONS="-H gnu"
3223 genfile --file=directory/a --length=1035
3225 echo "Creating the archive"
3226 tar -c -v -f - --index-file=idx directory > archive
3228 echo "Testing the archive"
3230 ) ) >"$at_stdout" 2>"$at_stderr"
3234 at_func_diff_devnull "$at_stderr" || at_failed=:
3235 echo >>"$at_stdout"; $as_echo "Creating the archive
3240 $at_diff - "$at_stdout" || at_failed=:
3241 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3243 $at_failed && at_func_log_failure
3250 $at_times_p && times >"$at_times_file"
3251 ) 5>&1 2>&1 | eval $at_tee_pipe
3252 at_status=`cat "$at_status_file"`
3255 # 8. verbose.at:26: tar cvf -
3256 at_setup_line='verbose.at:26'
3258 $at_quiet $as_echo_n " 8: $at_desc "
3260 test -f $XFAILFILE && at_xfail=yes
3261 echo "# -*- compilation -*-" >> "$at_group_log"
3263 $as_echo "8. verbose.at:26: testing ..."
3271 $as_echo "$at_srcdir/verbose.at:29:
3275 export TEST_TAR_FORMAT
3276 TAR_OPTIONS=\"-H v7\"
3280 genfile --file file --length 10240
3281 echo Creating the archive
3282 tar cvf - file > archive
3283 echo Testing the archive
3286 echo verbose.at:29 >"$at_check_line_file"
3288 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3294 export TEST_TAR_FORMAT
3299 genfile --file file --length 10240
3300 echo Creating the archive
3301 tar cvf - file > archive
3302 echo Testing the archive
3304 ) ) >"$at_stdout" 2>"$at_stder1"
3305 at_func_filter_trace $?
3311 export TEST_TAR_FORMAT
3316 genfile --file file --length 10240
3317 echo Creating the archive
3318 tar cvf - file > archive
3319 echo Testing the archive
3321 ) ) >"$at_stdout" 2>"$at_stderr"
3325 echo >>"$at_stderr"; $as_echo "file
3327 $at_diff - "$at_stderr" || at_failed=:
3328 echo >>"$at_stdout"; $as_echo "Creating the archive
3332 $at_diff - "$at_stdout" || at_failed=:
3333 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3335 $at_failed && at_func_log_failure
3339 $as_echo "$at_srcdir/verbose.at:29:
3342 TEST_TAR_FORMAT=oldgnu
3343 export TEST_TAR_FORMAT
3344 TAR_OPTIONS=\"-H oldgnu\"
3348 genfile --file file --length 10240
3349 echo Creating the archive
3350 tar cvf - file > archive
3351 echo Testing the archive
3354 echo verbose.at:29 >"$at_check_line_file"
3356 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3361 TEST_TAR_FORMAT=oldgnu
3362 export TEST_TAR_FORMAT
3363 TAR_OPTIONS="-H oldgnu"
3367 genfile --file file --length 10240
3368 echo Creating the archive
3369 tar cvf - file > archive
3370 echo Testing the archive
3372 ) ) >"$at_stdout" 2>"$at_stder1"
3373 at_func_filter_trace $?
3378 TEST_TAR_FORMAT=oldgnu
3379 export TEST_TAR_FORMAT
3380 TAR_OPTIONS="-H oldgnu"
3384 genfile --file file --length 10240
3385 echo Creating the archive
3386 tar cvf - file > archive
3387 echo Testing the archive
3389 ) ) >"$at_stdout" 2>"$at_stderr"
3393 echo >>"$at_stderr"; $as_echo "file
3395 $at_diff - "$at_stderr" || at_failed=:
3396 echo >>"$at_stdout"; $as_echo "Creating the archive
3400 $at_diff - "$at_stdout" || at_failed=:
3401 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3403 $at_failed && at_func_log_failure
3407 $as_echo "$at_srcdir/verbose.at:29:
3410 TEST_TAR_FORMAT=ustar
3411 export TEST_TAR_FORMAT
3412 TAR_OPTIONS=\"-H ustar\"
3416 genfile --file file --length 10240
3417 echo Creating the archive
3418 tar cvf - file > archive
3419 echo Testing the archive
3422 echo verbose.at:29 >"$at_check_line_file"
3424 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3429 TEST_TAR_FORMAT=ustar
3430 export TEST_TAR_FORMAT
3431 TAR_OPTIONS="-H ustar"
3435 genfile --file file --length 10240
3436 echo Creating the archive
3437 tar cvf - file > archive
3438 echo Testing the archive
3440 ) ) >"$at_stdout" 2>"$at_stder1"
3441 at_func_filter_trace $?
3446 TEST_TAR_FORMAT=ustar
3447 export TEST_TAR_FORMAT
3448 TAR_OPTIONS="-H ustar"
3452 genfile --file file --length 10240
3453 echo Creating the archive
3454 tar cvf - file > archive
3455 echo Testing the archive
3457 ) ) >"$at_stdout" 2>"$at_stderr"
3461 echo >>"$at_stderr"; $as_echo "file
3463 $at_diff - "$at_stderr" || at_failed=:
3464 echo >>"$at_stdout"; $as_echo "Creating the archive
3468 $at_diff - "$at_stdout" || at_failed=:
3469 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3471 $at_failed && at_func_log_failure
3475 $as_echo "$at_srcdir/verbose.at:29:
3478 TEST_TAR_FORMAT=posix
3479 export TEST_TAR_FORMAT
3480 TAR_OPTIONS=\"-H posix\"
3484 genfile --file file --length 10240
3485 echo Creating the archive
3486 tar cvf - file > archive
3487 echo Testing the archive
3490 echo verbose.at:29 >"$at_check_line_file"
3492 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3497 TEST_TAR_FORMAT=posix
3498 export TEST_TAR_FORMAT
3499 TAR_OPTIONS="-H posix"
3503 genfile --file file --length 10240
3504 echo Creating the archive
3505 tar cvf - file > archive
3506 echo Testing the archive
3508 ) ) >"$at_stdout" 2>"$at_stder1"
3509 at_func_filter_trace $?
3514 TEST_TAR_FORMAT=posix
3515 export TEST_TAR_FORMAT
3516 TAR_OPTIONS="-H posix"
3520 genfile --file file --length 10240
3521 echo Creating the archive
3522 tar cvf - file > archive
3523 echo Testing the archive
3525 ) ) >"$at_stdout" 2>"$at_stderr"
3529 echo >>"$at_stderr"; $as_echo "file
3531 $at_diff - "$at_stderr" || at_failed=:
3532 echo >>"$at_stdout"; $as_echo "Creating the archive
3536 $at_diff - "$at_stdout" || at_failed=:
3537 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3539 $at_failed && at_func_log_failure
3543 $as_echo "$at_srcdir/verbose.at:29:
3547 export TEST_TAR_FORMAT
3548 TAR_OPTIONS=\"-H gnu\"
3552 genfile --file file --length 10240
3553 echo Creating the archive
3554 tar cvf - file > archive
3555 echo Testing the archive
3558 echo verbose.at:29 >"$at_check_line_file"
3560 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3566 export TEST_TAR_FORMAT
3567 TAR_OPTIONS="-H gnu"
3571 genfile --file file --length 10240
3572 echo Creating the archive
3573 tar cvf - file > archive
3574 echo Testing the archive
3576 ) ) >"$at_stdout" 2>"$at_stder1"
3577 at_func_filter_trace $?
3583 export TEST_TAR_FORMAT
3584 TAR_OPTIONS="-H gnu"
3588 genfile --file file --length 10240
3589 echo Creating the archive
3590 tar cvf - file > archive
3591 echo Testing the archive
3593 ) ) >"$at_stdout" 2>"$at_stderr"
3597 echo >>"$at_stderr"; $as_echo "file
3599 $at_diff - "$at_stderr" || at_failed=:
3600 echo >>"$at_stdout"; $as_echo "Creating the archive
3604 $at_diff - "$at_stdout" || at_failed=:
3605 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3607 $at_failed && at_func_log_failure
3614 $at_times_p && times >"$at_times_file"
3615 ) 5>&1 2>&1 | eval $at_tee_pipe
3616 at_status=`cat "$at_status_file"`
3619 # 9. append.at:21: append
3620 at_setup_line='append.at:21'
3622 $at_quiet $as_echo_n " 9: $at_desc "
3624 test -f $XFAILFILE && at_xfail=yes
3625 echo "# -*- compilation -*-" >> "$at_group_log"
3627 $as_echo "9. append.at:21: testing ..."
3635 $as_echo "$at_srcdir/append.at:24:
3639 export TEST_TAR_FORMAT
3640 TAR_OPTIONS=\"-H v7\"
3645 tar cf archive file1
3646 tar rf archive file2
3648 echo append.at:24 >"$at_check_line_file"
3650 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3656 export TEST_TAR_FORMAT
3662 tar cf archive file1
3663 tar rf archive file2
3664 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3665 at_func_filter_trace $?
3671 export TEST_TAR_FORMAT
3677 tar cf archive file1
3678 tar rf archive file2
3679 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3683 at_func_diff_devnull "$at_stderr" || at_failed=:
3684 echo >>"$at_stdout"; $as_echo "file1
3687 $at_diff - "$at_stdout" || at_failed=:
3688 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3690 $at_failed && at_func_log_failure
3694 $as_echo "$at_srcdir/append.at:24:
3697 TEST_TAR_FORMAT=oldgnu
3698 export TEST_TAR_FORMAT
3699 TAR_OPTIONS=\"-H oldgnu\"
3704 tar cf archive file1
3705 tar rf archive file2
3707 echo append.at:24 >"$at_check_line_file"
3709 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3714 TEST_TAR_FORMAT=oldgnu
3715 export TEST_TAR_FORMAT
3716 TAR_OPTIONS="-H oldgnu"
3721 tar cf archive file1
3722 tar rf archive file2
3723 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3724 at_func_filter_trace $?
3729 TEST_TAR_FORMAT=oldgnu
3730 export TEST_TAR_FORMAT
3731 TAR_OPTIONS="-H oldgnu"
3736 tar cf archive file1
3737 tar rf archive file2
3738 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3742 at_func_diff_devnull "$at_stderr" || at_failed=:
3743 echo >>"$at_stdout"; $as_echo "file1
3746 $at_diff - "$at_stdout" || at_failed=:
3747 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3749 $at_failed && at_func_log_failure
3753 $as_echo "$at_srcdir/append.at:24:
3756 TEST_TAR_FORMAT=ustar
3757 export TEST_TAR_FORMAT
3758 TAR_OPTIONS=\"-H ustar\"
3763 tar cf archive file1
3764 tar rf archive file2
3766 echo append.at:24 >"$at_check_line_file"
3768 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3773 TEST_TAR_FORMAT=ustar
3774 export TEST_TAR_FORMAT
3775 TAR_OPTIONS="-H ustar"
3780 tar cf archive file1
3781 tar rf archive file2
3782 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3783 at_func_filter_trace $?
3788 TEST_TAR_FORMAT=ustar
3789 export TEST_TAR_FORMAT
3790 TAR_OPTIONS="-H ustar"
3795 tar cf archive file1
3796 tar rf archive file2
3797 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3801 at_func_diff_devnull "$at_stderr" || at_failed=:
3802 echo >>"$at_stdout"; $as_echo "file1
3805 $at_diff - "$at_stdout" || at_failed=:
3806 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3808 $at_failed && at_func_log_failure
3812 $as_echo "$at_srcdir/append.at:24:
3815 TEST_TAR_FORMAT=posix
3816 export TEST_TAR_FORMAT
3817 TAR_OPTIONS=\"-H posix\"
3822 tar cf archive file1
3823 tar rf archive file2
3825 echo append.at:24 >"$at_check_line_file"
3827 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3832 TEST_TAR_FORMAT=posix
3833 export TEST_TAR_FORMAT
3834 TAR_OPTIONS="-H posix"
3839 tar cf archive file1
3840 tar rf archive file2
3841 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3842 at_func_filter_trace $?
3847 TEST_TAR_FORMAT=posix
3848 export TEST_TAR_FORMAT
3849 TAR_OPTIONS="-H posix"
3854 tar cf archive file1
3855 tar rf archive file2
3856 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3860 at_func_diff_devnull "$at_stderr" || at_failed=:
3861 echo >>"$at_stdout"; $as_echo "file1
3864 $at_diff - "$at_stdout" || at_failed=:
3865 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3867 $at_failed && at_func_log_failure
3871 $as_echo "$at_srcdir/append.at:24:
3875 export TEST_TAR_FORMAT
3876 TAR_OPTIONS=\"-H gnu\"
3881 tar cf archive file1
3882 tar rf archive file2
3884 echo append.at:24 >"$at_check_line_file"
3886 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3892 export TEST_TAR_FORMAT
3893 TAR_OPTIONS="-H gnu"
3898 tar cf archive file1
3899 tar rf archive file2
3900 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3901 at_func_filter_trace $?
3907 export TEST_TAR_FORMAT
3908 TAR_OPTIONS="-H gnu"
3913 tar cf archive file1
3914 tar rf archive file2
3915 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3919 at_func_diff_devnull "$at_stderr" || at_failed=:
3920 echo >>"$at_stdout"; $as_echo "file1
3923 $at_diff - "$at_stdout" || at_failed=:
3924 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3926 $at_failed && at_func_log_failure
3933 $at_times_p && times >"$at_times_file"
3934 ) 5>&1 2>&1 | eval $at_tee_pipe
3935 at_status=`cat "$at_status_file"`
3938 # 10. append01.at:29: appending files with long names
3939 at_setup_line='append01.at:29'
3940 at_desc="appending files with long names"
3941 $at_quiet $as_echo_n " 10: $at_desc "
3943 test -f $XFAILFILE && at_xfail=yes
3944 echo "# -*- compilation -*-" >> "$at_group_log"
3946 $as_echo "10. append01.at:29: testing ..."
3956 $as_echo "$at_srcdir/append01.at:34:
3959 TEST_TAR_FORMAT=oldgnu
3960 export TEST_TAR_FORMAT
3961 TAR_OPTIONS=\"-H oldgnu\"
3965 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
3966 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
3967 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
3968 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
3971 echo append01.at:34 >"$at_check_line_file"
3973 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3978 TEST_TAR_FORMAT=oldgnu
3979 export TEST_TAR_FORMAT
3980 TAR_OPTIONS="-H oldgnu"
3984 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
3985 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
3986 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
3987 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
3989 ) ) >"$at_stdout" 2>"$at_stder1"
3990 at_func_filter_trace $?
3995 TEST_TAR_FORMAT=oldgnu
3996 export TEST_TAR_FORMAT
3997 TAR_OPTIONS="-H oldgnu"
4001 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
4002 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
4003 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
4004 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
4006 ) ) >"$at_stdout" 2>"$at_stderr"
4010 at_func_diff_devnull "$at_stderr" || at_failed=:
4011 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
4012 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
4014 $at_diff - "$at_stdout" || at_failed=:
4015 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4017 $at_failed && at_func_log_failure
4021 $as_echo "$at_srcdir/append01.at:34:
4024 TEST_TAR_FORMAT=ustar
4025 export TEST_TAR_FORMAT
4026 TAR_OPTIONS=\"-H ustar\"
4030 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
4031 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
4032 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
4033 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
4036 echo append01.at:34 >"$at_check_line_file"
4038 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4043 TEST_TAR_FORMAT=ustar
4044 export TEST_TAR_FORMAT
4045 TAR_OPTIONS="-H ustar"
4049 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
4050 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
4051 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
4052 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
4054 ) ) >"$at_stdout" 2>"$at_stder1"
4055 at_func_filter_trace $?
4060 TEST_TAR_FORMAT=ustar
4061 export TEST_TAR_FORMAT
4062 TAR_OPTIONS="-H ustar"
4066 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
4067 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
4068 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
4069 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
4071 ) ) >"$at_stdout" 2>"$at_stderr"
4075 at_func_diff_devnull "$at_stderr" || at_failed=:
4076 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
4077 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
4079 $at_diff - "$at_stdout" || at_failed=:
4080 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4082 $at_failed && at_func_log_failure
4086 $as_echo "$at_srcdir/append01.at:34:
4089 TEST_TAR_FORMAT=posix
4090 export TEST_TAR_FORMAT
4091 TAR_OPTIONS=\"-H posix\"
4095 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
4096 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
4097 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
4098 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
4101 echo append01.at:34 >"$at_check_line_file"
4103 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4108 TEST_TAR_FORMAT=posix
4109 export TEST_TAR_FORMAT
4110 TAR_OPTIONS="-H posix"
4114 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
4115 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
4116 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
4117 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
4119 ) ) >"$at_stdout" 2>"$at_stder1"
4120 at_func_filter_trace $?
4125 TEST_TAR_FORMAT=posix
4126 export TEST_TAR_FORMAT
4127 TAR_OPTIONS="-H posix"
4131 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
4132 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
4133 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
4134 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
4136 ) ) >"$at_stdout" 2>"$at_stderr"
4140 at_func_diff_devnull "$at_stderr" || at_failed=:
4141 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
4142 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
4144 $at_diff - "$at_stdout" || at_failed=:
4145 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4147 $at_failed && at_func_log_failure
4151 $as_echo "$at_srcdir/append01.at:34:
4155 export TEST_TAR_FORMAT
4156 TAR_OPTIONS=\"-H gnu\"
4160 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
4161 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
4162 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
4163 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
4166 echo append01.at:34 >"$at_check_line_file"
4168 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4174 export TEST_TAR_FORMAT
4175 TAR_OPTIONS="-H gnu"
4179 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
4180 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
4181 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
4182 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
4184 ) ) >"$at_stdout" 2>"$at_stder1"
4185 at_func_filter_trace $?
4191 export TEST_TAR_FORMAT
4192 TAR_OPTIONS="-H gnu"
4196 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
4197 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
4198 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
4199 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
4201 ) ) >"$at_stdout" 2>"$at_stderr"
4205 at_func_diff_devnull "$at_stderr" || at_failed=:
4206 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
4207 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
4209 $at_diff - "$at_stdout" || at_failed=:
4210 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4212 $at_failed && at_func_log_failure
4219 $at_times_p && times >"$at_times_file"
4220 ) 5>&1 2>&1 | eval $at_tee_pipe
4221 at_status=`cat "$at_status_file"`
4224 # 11. append02.at:54: append vs. create
4225 at_setup_line='append02.at:54'
4226 at_desc="append vs. create"
4227 $at_quiet $as_echo_n " 11: $at_desc "
4229 test -f $XFAILFILE && at_xfail=yes
4230 echo "# -*- compilation -*-" >> "$at_group_log"
4232 $as_echo "11. append02.at:54: testing ..."
4240 $as_echo "$at_srcdir/append02.at:57:
4244 export TEST_TAR_FORMAT
4245 TAR_OPTIONS=\"-H v7\"
4249 genfile --file file1
4250 genfile --file file2
4252 # Make sure file timestamps in the archive will not differ
4253 MTIME=\"--mtime=@0\"
4255 # For PAX archives, we need to make sure extended header names are
4256 # reproducible and that their contents won't change with time
4257 if test \$TEST_TAR_FORMAT = posix; then
4258 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4261 echo Creating archive.1
4262 tar \$MTIME -cf archive.1 file1 file2
4264 echo Creating archive.2
4265 tar \$MTIME -cf archive.2 -T /dev/null
4266 tar \$MTIME -rf archive.2 file1
4267 tar \$MTIME -rf archive.2 file2
4269 echo Comparing archives
4270 cmp archive.1 archive.2
4272 echo append02.at:57 >"$at_check_line_file"
4274 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4280 export TEST_TAR_FORMAT
4285 genfile --file file1
4286 genfile --file file2
4288 # Make sure file timestamps in the archive will not differ
4291 # For PAX archives, we need to make sure extended header names are
4292 # reproducible and that their contents won't change with time
4293 if test $TEST_TAR_FORMAT = posix; then
4294 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4297 echo Creating archive.1
4298 tar $MTIME -cf archive.1 file1 file2
4300 echo Creating archive.2
4301 tar $MTIME -cf archive.2 -T /dev/null
4302 tar $MTIME -rf archive.2 file1
4303 tar $MTIME -rf archive.2 file2
4305 echo Comparing archives
4306 cmp archive.1 archive.2
4307 ) ) >"$at_stdout" 2>"$at_stder1"
4308 at_func_filter_trace $?
4314 export TEST_TAR_FORMAT
4319 genfile --file file1
4320 genfile --file file2
4322 # Make sure file timestamps in the archive will not differ
4325 # For PAX archives, we need to make sure extended header names are
4326 # reproducible and that their contents won't change with time
4327 if test $TEST_TAR_FORMAT = posix; then
4328 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4331 echo Creating archive.1
4332 tar $MTIME -cf archive.1 file1 file2
4334 echo Creating archive.2
4335 tar $MTIME -cf archive.2 -T /dev/null
4336 tar $MTIME -rf archive.2 file1
4337 tar $MTIME -rf archive.2 file2
4339 echo Comparing archives
4340 cmp archive.1 archive.2
4341 ) ) >"$at_stdout" 2>"$at_stderr"
4345 at_func_diff_devnull "$at_stderr" || at_failed=:
4346 echo >>"$at_stdout"; $as_echo "Creating archive.1
4350 $at_diff - "$at_stdout" || at_failed=:
4351 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4353 $at_failed && at_func_log_failure
4357 $as_echo "$at_srcdir/append02.at:57:
4360 TEST_TAR_FORMAT=oldgnu
4361 export TEST_TAR_FORMAT
4362 TAR_OPTIONS=\"-H oldgnu\"
4366 genfile --file file1
4367 genfile --file file2
4369 # Make sure file timestamps in the archive will not differ
4370 MTIME=\"--mtime=@0\"
4372 # For PAX archives, we need to make sure extended header names are
4373 # reproducible and that their contents won't change with time
4374 if test \$TEST_TAR_FORMAT = posix; then
4375 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4378 echo Creating archive.1
4379 tar \$MTIME -cf archive.1 file1 file2
4381 echo Creating archive.2
4382 tar \$MTIME -cf archive.2 -T /dev/null
4383 tar \$MTIME -rf archive.2 file1
4384 tar \$MTIME -rf archive.2 file2
4386 echo Comparing archives
4387 cmp archive.1 archive.2
4389 echo append02.at:57 >"$at_check_line_file"
4391 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4396 TEST_TAR_FORMAT=oldgnu
4397 export TEST_TAR_FORMAT
4398 TAR_OPTIONS="-H oldgnu"
4402 genfile --file file1
4403 genfile --file file2
4405 # Make sure file timestamps in the archive will not differ
4408 # For PAX archives, we need to make sure extended header names are
4409 # reproducible and that their contents won't change with time
4410 if test $TEST_TAR_FORMAT = posix; then
4411 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4414 echo Creating archive.1
4415 tar $MTIME -cf archive.1 file1 file2
4417 echo Creating archive.2
4418 tar $MTIME -cf archive.2 -T /dev/null
4419 tar $MTIME -rf archive.2 file1
4420 tar $MTIME -rf archive.2 file2
4422 echo Comparing archives
4423 cmp archive.1 archive.2
4424 ) ) >"$at_stdout" 2>"$at_stder1"
4425 at_func_filter_trace $?
4430 TEST_TAR_FORMAT=oldgnu
4431 export TEST_TAR_FORMAT
4432 TAR_OPTIONS="-H oldgnu"
4436 genfile --file file1
4437 genfile --file file2
4439 # Make sure file timestamps in the archive will not differ
4442 # For PAX archives, we need to make sure extended header names are
4443 # reproducible and that their contents won't change with time
4444 if test $TEST_TAR_FORMAT = posix; then
4445 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4448 echo Creating archive.1
4449 tar $MTIME -cf archive.1 file1 file2
4451 echo Creating archive.2
4452 tar $MTIME -cf archive.2 -T /dev/null
4453 tar $MTIME -rf archive.2 file1
4454 tar $MTIME -rf archive.2 file2
4456 echo Comparing archives
4457 cmp archive.1 archive.2
4458 ) ) >"$at_stdout" 2>"$at_stderr"
4462 at_func_diff_devnull "$at_stderr" || at_failed=:
4463 echo >>"$at_stdout"; $as_echo "Creating archive.1
4467 $at_diff - "$at_stdout" || at_failed=:
4468 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4470 $at_failed && at_func_log_failure
4474 $as_echo "$at_srcdir/append02.at:57:
4477 TEST_TAR_FORMAT=ustar
4478 export TEST_TAR_FORMAT
4479 TAR_OPTIONS=\"-H ustar\"
4483 genfile --file file1
4484 genfile --file file2
4486 # Make sure file timestamps in the archive will not differ
4487 MTIME=\"--mtime=@0\"
4489 # For PAX archives, we need to make sure extended header names are
4490 # reproducible and that their contents won't change with time
4491 if test \$TEST_TAR_FORMAT = posix; then
4492 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4495 echo Creating archive.1
4496 tar \$MTIME -cf archive.1 file1 file2
4498 echo Creating archive.2
4499 tar \$MTIME -cf archive.2 -T /dev/null
4500 tar \$MTIME -rf archive.2 file1
4501 tar \$MTIME -rf archive.2 file2
4503 echo Comparing archives
4504 cmp archive.1 archive.2
4506 echo append02.at:57 >"$at_check_line_file"
4508 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4513 TEST_TAR_FORMAT=ustar
4514 export TEST_TAR_FORMAT
4515 TAR_OPTIONS="-H ustar"
4519 genfile --file file1
4520 genfile --file file2
4522 # Make sure file timestamps in the archive will not differ
4525 # For PAX archives, we need to make sure extended header names are
4526 # reproducible and that their contents won't change with time
4527 if test $TEST_TAR_FORMAT = posix; then
4528 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4531 echo Creating archive.1
4532 tar $MTIME -cf archive.1 file1 file2
4534 echo Creating archive.2
4535 tar $MTIME -cf archive.2 -T /dev/null
4536 tar $MTIME -rf archive.2 file1
4537 tar $MTIME -rf archive.2 file2
4539 echo Comparing archives
4540 cmp archive.1 archive.2
4541 ) ) >"$at_stdout" 2>"$at_stder1"
4542 at_func_filter_trace $?
4547 TEST_TAR_FORMAT=ustar
4548 export TEST_TAR_FORMAT
4549 TAR_OPTIONS="-H ustar"
4553 genfile --file file1
4554 genfile --file file2
4556 # Make sure file timestamps in the archive will not differ
4559 # For PAX archives, we need to make sure extended header names are
4560 # reproducible and that their contents won't change with time
4561 if test $TEST_TAR_FORMAT = posix; then
4562 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4565 echo Creating archive.1
4566 tar $MTIME -cf archive.1 file1 file2
4568 echo Creating archive.2
4569 tar $MTIME -cf archive.2 -T /dev/null
4570 tar $MTIME -rf archive.2 file1
4571 tar $MTIME -rf archive.2 file2
4573 echo Comparing archives
4574 cmp archive.1 archive.2
4575 ) ) >"$at_stdout" 2>"$at_stderr"
4579 at_func_diff_devnull "$at_stderr" || at_failed=:
4580 echo >>"$at_stdout"; $as_echo "Creating archive.1
4584 $at_diff - "$at_stdout" || at_failed=:
4585 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4587 $at_failed && at_func_log_failure
4591 $as_echo "$at_srcdir/append02.at:57:
4594 TEST_TAR_FORMAT=posix
4595 export TEST_TAR_FORMAT
4596 TAR_OPTIONS=\"-H posix\"
4600 genfile --file file1
4601 genfile --file file2
4603 # Make sure file timestamps in the archive will not differ
4604 MTIME=\"--mtime=@0\"
4606 # For PAX archives, we need to make sure extended header names are
4607 # reproducible and that their contents won't change with time
4608 if test \$TEST_TAR_FORMAT = posix; then
4609 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4612 echo Creating archive.1
4613 tar \$MTIME -cf archive.1 file1 file2
4615 echo Creating archive.2
4616 tar \$MTIME -cf archive.2 -T /dev/null
4617 tar \$MTIME -rf archive.2 file1
4618 tar \$MTIME -rf archive.2 file2
4620 echo Comparing archives
4621 cmp archive.1 archive.2
4623 echo append02.at:57 >"$at_check_line_file"
4625 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4630 TEST_TAR_FORMAT=posix
4631 export TEST_TAR_FORMAT
4632 TAR_OPTIONS="-H posix"
4636 genfile --file file1
4637 genfile --file file2
4639 # Make sure file timestamps in the archive will not differ
4642 # For PAX archives, we need to make sure extended header names are
4643 # reproducible and that their contents won't change with time
4644 if test $TEST_TAR_FORMAT = posix; then
4645 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4648 echo Creating archive.1
4649 tar $MTIME -cf archive.1 file1 file2
4651 echo Creating archive.2
4652 tar $MTIME -cf archive.2 -T /dev/null
4653 tar $MTIME -rf archive.2 file1
4654 tar $MTIME -rf archive.2 file2
4656 echo Comparing archives
4657 cmp archive.1 archive.2
4658 ) ) >"$at_stdout" 2>"$at_stder1"
4659 at_func_filter_trace $?
4664 TEST_TAR_FORMAT=posix
4665 export TEST_TAR_FORMAT
4666 TAR_OPTIONS="-H posix"
4670 genfile --file file1
4671 genfile --file file2
4673 # Make sure file timestamps in the archive will not differ
4676 # For PAX archives, we need to make sure extended header names are
4677 # reproducible and that their contents won't change with time
4678 if test $TEST_TAR_FORMAT = posix; then
4679 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4682 echo Creating archive.1
4683 tar $MTIME -cf archive.1 file1 file2
4685 echo Creating archive.2
4686 tar $MTIME -cf archive.2 -T /dev/null
4687 tar $MTIME -rf archive.2 file1
4688 tar $MTIME -rf archive.2 file2
4690 echo Comparing archives
4691 cmp archive.1 archive.2
4692 ) ) >"$at_stdout" 2>"$at_stderr"
4696 at_func_diff_devnull "$at_stderr" || at_failed=:
4697 echo >>"$at_stdout"; $as_echo "Creating archive.1
4701 $at_diff - "$at_stdout" || at_failed=:
4702 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4704 $at_failed && at_func_log_failure
4708 $as_echo "$at_srcdir/append02.at:57:
4712 export TEST_TAR_FORMAT
4713 TAR_OPTIONS=\"-H gnu\"
4717 genfile --file file1
4718 genfile --file file2
4720 # Make sure file timestamps in the archive will not differ
4721 MTIME=\"--mtime=@0\"
4723 # For PAX archives, we need to make sure extended header names are
4724 # reproducible and that their contents won't change with time
4725 if test \$TEST_TAR_FORMAT = posix; then
4726 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4729 echo Creating archive.1
4730 tar \$MTIME -cf archive.1 file1 file2
4732 echo Creating archive.2
4733 tar \$MTIME -cf archive.2 -T /dev/null
4734 tar \$MTIME -rf archive.2 file1
4735 tar \$MTIME -rf archive.2 file2
4737 echo Comparing archives
4738 cmp archive.1 archive.2
4740 echo append02.at:57 >"$at_check_line_file"
4742 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4748 export TEST_TAR_FORMAT
4749 TAR_OPTIONS="-H gnu"
4753 genfile --file file1
4754 genfile --file file2
4756 # Make sure file timestamps in the archive will not differ
4759 # For PAX archives, we need to make sure extended header names are
4760 # reproducible and that their contents won't change with time
4761 if test $TEST_TAR_FORMAT = posix; then
4762 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4765 echo Creating archive.1
4766 tar $MTIME -cf archive.1 file1 file2
4768 echo Creating archive.2
4769 tar $MTIME -cf archive.2 -T /dev/null
4770 tar $MTIME -rf archive.2 file1
4771 tar $MTIME -rf archive.2 file2
4773 echo Comparing archives
4774 cmp archive.1 archive.2
4775 ) ) >"$at_stdout" 2>"$at_stder1"
4776 at_func_filter_trace $?
4782 export TEST_TAR_FORMAT
4783 TAR_OPTIONS="-H gnu"
4787 genfile --file file1
4788 genfile --file file2
4790 # Make sure file timestamps in the archive will not differ
4793 # For PAX archives, we need to make sure extended header names are
4794 # reproducible and that their contents won't change with time
4795 if test $TEST_TAR_FORMAT = posix; then
4796 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4799 echo Creating archive.1
4800 tar $MTIME -cf archive.1 file1 file2
4802 echo Creating archive.2
4803 tar $MTIME -cf archive.2 -T /dev/null
4804 tar $MTIME -rf archive.2 file1
4805 tar $MTIME -rf archive.2 file2
4807 echo Comparing archives
4808 cmp archive.1 archive.2
4809 ) ) >"$at_stdout" 2>"$at_stderr"
4813 at_func_diff_devnull "$at_stderr" || at_failed=:
4814 echo >>"$at_stdout"; $as_echo "Creating archive.1
4818 $at_diff - "$at_stdout" || at_failed=:
4819 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4821 $at_failed && at_func_log_failure
4828 $at_times_p && times >"$at_times_file"
4829 ) 5>&1 2>&1 | eval $at_tee_pipe
4830 at_status=`cat "$at_status_file"`
4833 # 12. xform-h.at:30: transforming hard links on create
4834 at_setup_line='xform-h.at:30'
4835 at_desc="transforming hard links on create"
4836 $at_quiet $as_echo_n " 12: $at_desc "
4838 test -f $XFAILFILE && at_xfail=yes
4839 echo "# -*- compilation -*-" >> "$at_group_log"
4841 $as_echo "12. xform-h.at:30: testing ..."
4851 $as_echo "$at_srcdir/xform-h.at:39:
4855 export TEST_TAR_FORMAT
4856 TAR_OPTIONS=\"-H v7\"
4861 echo \"hello\" > basedir/test
4862 ln basedir/test basedir/test_link
4865 echo "Default transform scope"
4866 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4867 tar tvf archive | sed -n 's/.*test_link link to //p'
4870 echo "Transforming hard links"
4871 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4872 tar tvf archive | sed -n 's/.*test_link link to //p'
4875 echo "Not transforming hard links"
4876 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4877 tar tvf archive | sed -n 's/.*test_link link to //p'
4880 echo xform-h.at:39 >"$at_check_line_file"
4882 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4888 export TEST_TAR_FORMAT
4894 echo "hello" > basedir/test
4895 ln basedir/test basedir/test_link
4898 echo "Default transform scope"
4899 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4900 tar tvf archive | sed -n 's/.*test_link link to //p'
4903 echo "Transforming hard links"
4904 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4905 tar tvf archive | sed -n 's/.*test_link link to //p'
4908 echo "Not transforming hard links"
4909 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4910 tar tvf archive | sed -n 's/.*test_link link to //p'
4912 ) ) >"$at_stdout" 2>"$at_stder1"
4913 at_func_filter_trace $?
4919 export TEST_TAR_FORMAT
4925 echo "hello" > basedir/test
4926 ln basedir/test basedir/test_link
4929 echo "Default transform scope"
4930 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4931 tar tvf archive | sed -n 's/.*test_link link to //p'
4934 echo "Transforming hard links"
4935 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4936 tar tvf archive | sed -n 's/.*test_link link to //p'
4939 echo "Not transforming hard links"
4940 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4941 tar tvf archive | sed -n 's/.*test_link link to //p'
4943 ) ) >"$at_stdout" 2>"$at_stderr"
4947 at_func_diff_devnull "$at_stderr" || at_failed=:
4948 echo >>"$at_stdout"; $as_echo "Default transform scope
4950 Transforming hard links
4952 Not transforming hard links
4955 $at_diff - "$at_stdout" || at_failed=:
4956 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
4958 $at_failed && at_func_log_failure
4962 $as_echo "$at_srcdir/xform-h.at:39:
4965 TEST_TAR_FORMAT=oldgnu
4966 export TEST_TAR_FORMAT
4967 TAR_OPTIONS=\"-H oldgnu\"
4972 echo \"hello\" > basedir/test
4973 ln basedir/test basedir/test_link
4976 echo "Default transform scope"
4977 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4978 tar tvf archive | sed -n 's/.*test_link link to //p'
4981 echo "Transforming hard links"
4982 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4983 tar tvf archive | sed -n 's/.*test_link link to //p'
4986 echo "Not transforming hard links"
4987 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4988 tar tvf archive | sed -n 's/.*test_link link to //p'
4991 echo xform-h.at:39 >"$at_check_line_file"
4993 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4998 TEST_TAR_FORMAT=oldgnu
4999 export TEST_TAR_FORMAT
5000 TAR_OPTIONS="-H oldgnu"
5005 echo "hello" > basedir/test
5006 ln basedir/test basedir/test_link
5009 echo "Default transform scope"
5010 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5011 tar tvf archive | sed -n 's/.*test_link link to //p'
5014 echo "Transforming hard links"
5015 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5016 tar tvf archive | sed -n 's/.*test_link link to //p'
5019 echo "Not transforming hard links"
5020 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5021 tar tvf archive | sed -n 's/.*test_link link to //p'
5023 ) ) >"$at_stdout" 2>"$at_stder1"
5024 at_func_filter_trace $?
5029 TEST_TAR_FORMAT=oldgnu
5030 export TEST_TAR_FORMAT
5031 TAR_OPTIONS="-H oldgnu"
5036 echo "hello" > basedir/test
5037 ln basedir/test basedir/test_link
5040 echo "Default transform scope"
5041 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5042 tar tvf archive | sed -n 's/.*test_link link to //p'
5045 echo "Transforming hard links"
5046 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5047 tar tvf archive | sed -n 's/.*test_link link to //p'
5050 echo "Not transforming hard links"
5051 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5052 tar tvf archive | sed -n 's/.*test_link link to //p'
5054 ) ) >"$at_stdout" 2>"$at_stderr"
5058 at_func_diff_devnull "$at_stderr" || at_failed=:
5059 echo >>"$at_stdout"; $as_echo "Default transform scope
5061 Transforming hard links
5063 Not transforming hard links
5066 $at_diff - "$at_stdout" || at_failed=:
5067 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5069 $at_failed && at_func_log_failure
5073 $as_echo "$at_srcdir/xform-h.at:39:
5076 TEST_TAR_FORMAT=ustar
5077 export TEST_TAR_FORMAT
5078 TAR_OPTIONS=\"-H ustar\"
5083 echo \"hello\" > basedir/test
5084 ln basedir/test basedir/test_link
5087 echo "Default transform scope"
5088 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5089 tar tvf archive | sed -n 's/.*test_link link to //p'
5092 echo "Transforming hard links"
5093 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5094 tar tvf archive | sed -n 's/.*test_link link to //p'
5097 echo "Not transforming hard links"
5098 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5099 tar tvf archive | sed -n 's/.*test_link link to //p'
5102 echo xform-h.at:39 >"$at_check_line_file"
5104 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5109 TEST_TAR_FORMAT=ustar
5110 export TEST_TAR_FORMAT
5111 TAR_OPTIONS="-H ustar"
5116 echo "hello" > basedir/test
5117 ln basedir/test basedir/test_link
5120 echo "Default transform scope"
5121 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5122 tar tvf archive | sed -n 's/.*test_link link to //p'
5125 echo "Transforming hard links"
5126 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5127 tar tvf archive | sed -n 's/.*test_link link to //p'
5130 echo "Not transforming hard links"
5131 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5132 tar tvf archive | sed -n 's/.*test_link link to //p'
5134 ) ) >"$at_stdout" 2>"$at_stder1"
5135 at_func_filter_trace $?
5140 TEST_TAR_FORMAT=ustar
5141 export TEST_TAR_FORMAT
5142 TAR_OPTIONS="-H ustar"
5147 echo "hello" > basedir/test
5148 ln basedir/test basedir/test_link
5151 echo "Default transform scope"
5152 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5153 tar tvf archive | sed -n 's/.*test_link link to //p'
5156 echo "Transforming hard links"
5157 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5158 tar tvf archive | sed -n 's/.*test_link link to //p'
5161 echo "Not transforming hard links"
5162 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5163 tar tvf archive | sed -n 's/.*test_link link to //p'
5165 ) ) >"$at_stdout" 2>"$at_stderr"
5169 at_func_diff_devnull "$at_stderr" || at_failed=:
5170 echo >>"$at_stdout"; $as_echo "Default transform scope
5172 Transforming hard links
5174 Not transforming hard links
5177 $at_diff - "$at_stdout" || at_failed=:
5178 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5180 $at_failed && at_func_log_failure
5184 $as_echo "$at_srcdir/xform-h.at:39:
5187 TEST_TAR_FORMAT=posix
5188 export TEST_TAR_FORMAT
5189 TAR_OPTIONS=\"-H posix\"
5194 echo \"hello\" > basedir/test
5195 ln basedir/test basedir/test_link
5198 echo "Default transform scope"
5199 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5200 tar tvf archive | sed -n 's/.*test_link link to //p'
5203 echo "Transforming hard links"
5204 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5205 tar tvf archive | sed -n 's/.*test_link link to //p'
5208 echo "Not transforming hard links"
5209 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5210 tar tvf archive | sed -n 's/.*test_link link to //p'
5213 echo xform-h.at:39 >"$at_check_line_file"
5215 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5220 TEST_TAR_FORMAT=posix
5221 export TEST_TAR_FORMAT
5222 TAR_OPTIONS="-H posix"
5227 echo "hello" > basedir/test
5228 ln basedir/test basedir/test_link
5231 echo "Default transform scope"
5232 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5233 tar tvf archive | sed -n 's/.*test_link link to //p'
5236 echo "Transforming hard links"
5237 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5238 tar tvf archive | sed -n 's/.*test_link link to //p'
5241 echo "Not transforming hard links"
5242 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5243 tar tvf archive | sed -n 's/.*test_link link to //p'
5245 ) ) >"$at_stdout" 2>"$at_stder1"
5246 at_func_filter_trace $?
5251 TEST_TAR_FORMAT=posix
5252 export TEST_TAR_FORMAT
5253 TAR_OPTIONS="-H posix"
5258 echo "hello" > basedir/test
5259 ln basedir/test basedir/test_link
5262 echo "Default transform scope"
5263 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5264 tar tvf archive | sed -n 's/.*test_link link to //p'
5267 echo "Transforming hard links"
5268 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5269 tar tvf archive | sed -n 's/.*test_link link to //p'
5272 echo "Not transforming hard links"
5273 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5274 tar tvf archive | sed -n 's/.*test_link link to //p'
5276 ) ) >"$at_stdout" 2>"$at_stderr"
5280 at_func_diff_devnull "$at_stderr" || at_failed=:
5281 echo >>"$at_stdout"; $as_echo "Default transform scope
5283 Transforming hard links
5285 Not transforming hard links
5288 $at_diff - "$at_stdout" || at_failed=:
5289 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5291 $at_failed && at_func_log_failure
5295 $as_echo "$at_srcdir/xform-h.at:39:
5299 export TEST_TAR_FORMAT
5300 TAR_OPTIONS=\"-H gnu\"
5305 echo \"hello\" > basedir/test
5306 ln basedir/test basedir/test_link
5309 echo "Default transform scope"
5310 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5311 tar tvf archive | sed -n 's/.*test_link link to //p'
5314 echo "Transforming hard links"
5315 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5316 tar tvf archive | sed -n 's/.*test_link link to //p'
5319 echo "Not transforming hard links"
5320 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5321 tar tvf archive | sed -n 's/.*test_link link to //p'
5324 echo xform-h.at:39 >"$at_check_line_file"
5326 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5332 export TEST_TAR_FORMAT
5333 TAR_OPTIONS="-H gnu"
5338 echo "hello" > basedir/test
5339 ln basedir/test basedir/test_link
5342 echo "Default transform scope"
5343 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5344 tar tvf archive | sed -n 's/.*test_link link to //p'
5347 echo "Transforming hard links"
5348 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5349 tar tvf archive | sed -n 's/.*test_link link to //p'
5352 echo "Not transforming hard links"
5353 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5354 tar tvf archive | sed -n 's/.*test_link link to //p'
5356 ) ) >"$at_stdout" 2>"$at_stder1"
5357 at_func_filter_trace $?
5363 export TEST_TAR_FORMAT
5364 TAR_OPTIONS="-H gnu"
5369 echo "hello" > basedir/test
5370 ln basedir/test basedir/test_link
5373 echo "Default transform scope"
5374 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5375 tar tvf archive | sed -n 's/.*test_link link to //p'
5378 echo "Transforming hard links"
5379 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5380 tar tvf archive | sed -n 's/.*test_link link to //p'
5383 echo "Not transforming hard links"
5384 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5385 tar tvf archive | sed -n 's/.*test_link link to //p'
5387 ) ) >"$at_stdout" 2>"$at_stderr"
5391 at_func_diff_devnull "$at_stderr" || at_failed=:
5392 echo >>"$at_stdout"; $as_echo "Default transform scope
5394 Transforming hard links
5396 Not transforming hard links
5399 $at_diff - "$at_stdout" || at_failed=:
5400 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5402 $at_failed && at_func_log_failure
5411 $at_times_p && times >"$at_times_file"
5412 ) 5>&1 2>&1 | eval $at_tee_pipe
5413 at_status=`cat "$at_status_file"`
5416 # 13. xform01.at:26: transformations and GNU volume labels
5417 at_setup_line='xform01.at:26'
5418 at_desc="transformations and GNU volume labels"
5419 $at_quiet $as_echo_n " 13: $at_desc "
5421 test -f $XFAILFILE && at_xfail=yes
5422 echo "# -*- compilation -*-" >> "$at_group_log"
5424 $as_echo "13. xform01.at:26: testing ..."
5432 $as_echo "$at_srcdir/xform01.at:29:
5436 export TEST_TAR_FORMAT
5437 TAR_OPTIONS=\"-H gnu\"
5442 tar -cf archive.tar -V /label/ file
5445 echo xform01.at:29 >"$at_check_line_file"
5447 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5453 export TEST_TAR_FORMAT
5454 TAR_OPTIONS="-H gnu"
5459 tar -cf archive.tar -V /label/ file
5461 ) ) >"$at_stdout" 2>"$at_stder1"
5462 at_func_filter_trace $?
5468 export TEST_TAR_FORMAT
5469 TAR_OPTIONS="-H gnu"
5474 tar -cf archive.tar -V /label/ file
5476 ) ) >"$at_stdout" 2>"$at_stderr"
5480 at_func_diff_devnull "$at_stderr" || at_failed=:
5481 echo >>"$at_stdout"; $as_echo "/label/
5484 $at_diff - "$at_stdout" || at_failed=:
5485 at_func_check_status 0 $at_status "$at_srcdir/xform01.at:29"
5487 $at_failed && at_func_log_failure
5494 $at_times_p && times >"$at_times_file"
5495 ) 5>&1 2>&1 | eval $at_tee_pipe
5496 at_status=`cat "$at_status_file"`
5499 # 14. exclude.at:23: exclude
5500 at_setup_line='exclude.at:23'
5502 $at_quiet $as_echo_n " 14: $at_desc "
5504 test -f $XFAILFILE && at_xfail=yes
5505 echo "# -*- compilation -*-" >> "$at_group_log"
5507 $as_echo "14. exclude.at:23: testing ..."
5515 $as_echo "$at_srcdir/exclude.at:26:
5518 TEST_TAR_FORMAT=ustar
5519 export TEST_TAR_FORMAT
5520 TAR_OPTIONS=\"-H ustar\"
5525 test -z "`sort < /dev/null 2>&1`" || exit 77
5529 echo blues > dir/blues
5530 echo jazz > dir/jazz
5532 echo tagfile > dir/folk/tagfile
5533 echo sanjuan > dir/folk/sanjuan
5535 echo \"Signature: 8a477f597d28d172789f06886806bc55\" > dir/rock/CACHEDIR.TAG
5536 echo \"test\" > dir/rock/file
5538 for option in exclude-caches exclude-caches-under exclude-caches-all
5540 echo OPTION \$option
5541 tar -cf archive.tar --\$option -v dir 2>err | sort
5544 tar tf archive.tar | sort
5547 for option in exclude-tag exclude-tag-under exclude-tag-all
5549 echo OPTION \$option
5550 tar -cf archive.tar --\${option}=tagfile -v dir 2>err | sort
5553 tar tf archive.tar | sort
5556 echo exclude.at:26 >"$at_check_line_file"
5558 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
5563 TEST_TAR_FORMAT=ustar
5564 export TEST_TAR_FORMAT
5565 TAR_OPTIONS="-H ustar"
5570 test -z "`sort < /dev/null 2>&1`" || exit 77
5574 echo blues > dir/blues
5575 echo jazz > dir/jazz
5577 echo tagfile > dir/folk/tagfile
5578 echo sanjuan > dir/folk/sanjuan
5580 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir/rock/CACHEDIR.TAG
5581 echo "test" > dir/rock/file
5583 for option in exclude-caches exclude-caches-under exclude-caches-all
5586 tar -cf archive.tar --$option -v dir 2>err | sort
5589 tar tf archive.tar | sort
5592 for option in exclude-tag exclude-tag-under exclude-tag-all
5595 tar -cf archive.tar --${option}=tagfile -v dir 2>err | sort
5598 tar tf archive.tar | sort
5600 ) ) >"$at_stdout" 2>"$at_stder1"
5601 at_func_filter_trace $?
5606 TEST_TAR_FORMAT=ustar
5607 export TEST_TAR_FORMAT
5608 TAR_OPTIONS="-H ustar"
5613 test -z "`sort < /dev/null 2>&1`" || exit 77
5617 echo blues > dir/blues
5618 echo jazz > dir/jazz
5620 echo tagfile > dir/folk/tagfile
5621 echo sanjuan > dir/folk/sanjuan
5623 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir/rock/CACHEDIR.TAG
5624 echo "test" > dir/rock/file
5626 for option in exclude-caches exclude-caches-under exclude-caches-all
5629 tar -cf archive.tar --$option -v dir 2>err | sort
5632 tar tf archive.tar | sort
5635 for option in exclude-tag exclude-tag-under exclude-tag-all
5638 tar -cf archive.tar --${option}=tagfile -v dir 2>err | sort
5641 tar tf archive.tar | sort
5643 ) ) >"$at_stdout" 2>"$at_stderr"
5647 at_func_diff_devnull "$at_stderr" || at_failed=:
5648 echo >>"$at_stdout"; $as_echo "OPTION exclude-caches
5656 dir/rock/CACHEDIR.TAG
5657 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
5666 dir/rock/CACHEDIR.TAG
5667 OPTION exclude-caches-under
5675 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
5684 OPTION exclude-caches-all
5691 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; directory not dumped
5706 dir/rock/CACHEDIR.TAG
5708 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
5716 dir/rock/CACHEDIR.TAG
5718 OPTION exclude-tag-under
5724 dir/rock/CACHEDIR.TAG
5726 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
5733 dir/rock/CACHEDIR.TAG
5735 OPTION exclude-tag-all
5740 dir/rock/CACHEDIR.TAG
5742 tar: dir/folk/: contains a cache directory tag tagfile; directory not dumped
5748 dir/rock/CACHEDIR.TAG
5751 $at_diff - "$at_stdout" || at_failed=:
5752 at_func_check_status 0 $at_status "$at_srcdir/exclude.at:26"
5754 $at_failed && at_func_log_failure
5761 $at_times_p && times >"$at_times_file"
5762 ) 5>&1 2>&1 | eval $at_tee_pipe
5763 at_status=`cat "$at_status_file"`
5766 # 15. exclude01.at:17: exclude wildcards
5767 at_setup_line='exclude01.at:17'
5768 at_desc="exclude wildcards"
5769 $at_quiet $as_echo_n " 15: $at_desc "
5771 test -f $XFAILFILE && at_xfail=yes
5772 echo "# -*- compilation -*-" >> "$at_group_log"
5774 $as_echo "15. exclude01.at:17: testing ..."
5782 $as_echo "$at_srcdir/exclude01.at:20:
5786 export TEST_TAR_FORMAT
5787 TAR_OPTIONS=\"-H v7\"
5792 test -z "`sort < /dev/null 2>&1`" || exit 77
5796 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5797 touch testdir/dir1/file1
5798 touch testdir/dir1/\\*
5799 touch testdir/dir2/file2
5800 touch testdir/dir2/\\*
5801 touch testdir/dir3/file3
5802 touch testdir/dir3/\\*
5804 tar cf archive --exclude=testdir/dir1/\\* \\
5806 --exclude=testdir/dir2/\\* \\
5808 --exclude=testdir/dir3/\\* \\
5810 tar tf archive | sort
5813 tar cf archive testdir
5814 tar t \"testdir/dir1/*\" -f archive | sort
5817 tar cf archive testdir/dir1
5818 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
5821 tar cf archive testdir
5822 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
5826 echo exclude01.at:20 >"$at_check_line_file"
5828 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5834 export TEST_TAR_FORMAT
5840 test -z "`sort < /dev/null 2>&1`" || exit 77
5844 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5845 touch testdir/dir1/file1
5846 touch testdir/dir1/\*
5847 touch testdir/dir2/file2
5848 touch testdir/dir2/\*
5849 touch testdir/dir3/file3
5850 touch testdir/dir3/\*
5852 tar cf archive --exclude=testdir/dir1/\* \
5854 --exclude=testdir/dir2/\* \
5856 --exclude=testdir/dir3/\* \
5858 tar tf archive | sort
5861 tar cf archive testdir
5862 tar t "testdir/dir1/*" -f archive | sort
5865 tar cf archive testdir/dir1
5866 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5869 tar cf archive testdir
5870 tar t --wildcards "testdir/dir1/*" -f archive | sort
5873 ) ) >"$at_stdout" 2>"$at_stder1"
5874 at_func_filter_trace $?
5880 export TEST_TAR_FORMAT
5886 test -z "`sort < /dev/null 2>&1`" || exit 77
5890 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5891 touch testdir/dir1/file1
5892 touch testdir/dir1/\*
5893 touch testdir/dir2/file2
5894 touch testdir/dir2/\*
5895 touch testdir/dir3/file3
5896 touch testdir/dir3/\*
5898 tar cf archive --exclude=testdir/dir1/\* \
5900 --exclude=testdir/dir2/\* \
5902 --exclude=testdir/dir3/\* \
5904 tar tf archive | sort
5907 tar cf archive testdir
5908 tar t "testdir/dir1/*" -f archive | sort
5911 tar cf archive testdir/dir1
5912 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5915 tar cf archive testdir
5916 tar t --wildcards "testdir/dir1/*" -f archive | sort
5919 ) ) >"$at_stdout" 2>"$at_stderr"
5923 at_func_diff_devnull "$at_stderr" || at_failed=:
5924 echo >>"$at_stdout"; $as_echo "testdir/
5937 $at_diff - "$at_stdout" || at_failed=:
5938 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
5940 $at_failed && at_func_log_failure
5944 $as_echo "$at_srcdir/exclude01.at:20:
5947 TEST_TAR_FORMAT=oldgnu
5948 export TEST_TAR_FORMAT
5949 TAR_OPTIONS=\"-H oldgnu\"
5954 test -z "`sort < /dev/null 2>&1`" || exit 77
5958 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5959 touch testdir/dir1/file1
5960 touch testdir/dir1/\\*
5961 touch testdir/dir2/file2
5962 touch testdir/dir2/\\*
5963 touch testdir/dir3/file3
5964 touch testdir/dir3/\\*
5966 tar cf archive --exclude=testdir/dir1/\\* \\
5968 --exclude=testdir/dir2/\\* \\
5970 --exclude=testdir/dir3/\\* \\
5972 tar tf archive | sort
5975 tar cf archive testdir
5976 tar t \"testdir/dir1/*\" -f archive | sort
5979 tar cf archive testdir/dir1
5980 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
5983 tar cf archive testdir
5984 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
5988 echo exclude01.at:20 >"$at_check_line_file"
5990 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5995 TEST_TAR_FORMAT=oldgnu
5996 export TEST_TAR_FORMAT
5997 TAR_OPTIONS="-H oldgnu"
6002 test -z "`sort < /dev/null 2>&1`" || exit 77
6006 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6007 touch testdir/dir1/file1
6008 touch testdir/dir1/\*
6009 touch testdir/dir2/file2
6010 touch testdir/dir2/\*
6011 touch testdir/dir3/file3
6012 touch testdir/dir3/\*
6014 tar cf archive --exclude=testdir/dir1/\* \
6016 --exclude=testdir/dir2/\* \
6018 --exclude=testdir/dir3/\* \
6020 tar tf archive | sort
6023 tar cf archive testdir
6024 tar t "testdir/dir1/*" -f archive | sort
6027 tar cf archive testdir/dir1
6028 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6031 tar cf archive testdir
6032 tar t --wildcards "testdir/dir1/*" -f archive | sort
6035 ) ) >"$at_stdout" 2>"$at_stder1"
6036 at_func_filter_trace $?
6041 TEST_TAR_FORMAT=oldgnu
6042 export TEST_TAR_FORMAT
6043 TAR_OPTIONS="-H oldgnu"
6048 test -z "`sort < /dev/null 2>&1`" || exit 77
6052 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6053 touch testdir/dir1/file1
6054 touch testdir/dir1/\*
6055 touch testdir/dir2/file2
6056 touch testdir/dir2/\*
6057 touch testdir/dir3/file3
6058 touch testdir/dir3/\*
6060 tar cf archive --exclude=testdir/dir1/\* \
6062 --exclude=testdir/dir2/\* \
6064 --exclude=testdir/dir3/\* \
6066 tar tf archive | sort
6069 tar cf archive testdir
6070 tar t "testdir/dir1/*" -f archive | sort
6073 tar cf archive testdir/dir1
6074 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6077 tar cf archive testdir
6078 tar t --wildcards "testdir/dir1/*" -f archive | sort
6081 ) ) >"$at_stdout" 2>"$at_stderr"
6085 at_func_diff_devnull "$at_stderr" || at_failed=:
6086 echo >>"$at_stdout"; $as_echo "testdir/
6099 $at_diff - "$at_stdout" || at_failed=:
6100 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6102 $at_failed && at_func_log_failure
6106 $as_echo "$at_srcdir/exclude01.at:20:
6109 TEST_TAR_FORMAT=ustar
6110 export TEST_TAR_FORMAT
6111 TAR_OPTIONS=\"-H ustar\"
6116 test -z "`sort < /dev/null 2>&1`" || exit 77
6120 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6121 touch testdir/dir1/file1
6122 touch testdir/dir1/\\*
6123 touch testdir/dir2/file2
6124 touch testdir/dir2/\\*
6125 touch testdir/dir3/file3
6126 touch testdir/dir3/\\*
6128 tar cf archive --exclude=testdir/dir1/\\* \\
6130 --exclude=testdir/dir2/\\* \\
6132 --exclude=testdir/dir3/\\* \\
6134 tar tf archive | sort
6137 tar cf archive testdir
6138 tar t \"testdir/dir1/*\" -f archive | sort
6141 tar cf archive testdir/dir1
6142 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6145 tar cf archive testdir
6146 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6150 echo exclude01.at:20 >"$at_check_line_file"
6152 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6157 TEST_TAR_FORMAT=ustar
6158 export TEST_TAR_FORMAT
6159 TAR_OPTIONS="-H ustar"
6164 test -z "`sort < /dev/null 2>&1`" || exit 77
6168 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6169 touch testdir/dir1/file1
6170 touch testdir/dir1/\*
6171 touch testdir/dir2/file2
6172 touch testdir/dir2/\*
6173 touch testdir/dir3/file3
6174 touch testdir/dir3/\*
6176 tar cf archive --exclude=testdir/dir1/\* \
6178 --exclude=testdir/dir2/\* \
6180 --exclude=testdir/dir3/\* \
6182 tar tf archive | sort
6185 tar cf archive testdir
6186 tar t "testdir/dir1/*" -f archive | sort
6189 tar cf archive testdir/dir1
6190 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6193 tar cf archive testdir
6194 tar t --wildcards "testdir/dir1/*" -f archive | sort
6197 ) ) >"$at_stdout" 2>"$at_stder1"
6198 at_func_filter_trace $?
6203 TEST_TAR_FORMAT=ustar
6204 export TEST_TAR_FORMAT
6205 TAR_OPTIONS="-H ustar"
6210 test -z "`sort < /dev/null 2>&1`" || exit 77
6214 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6215 touch testdir/dir1/file1
6216 touch testdir/dir1/\*
6217 touch testdir/dir2/file2
6218 touch testdir/dir2/\*
6219 touch testdir/dir3/file3
6220 touch testdir/dir3/\*
6222 tar cf archive --exclude=testdir/dir1/\* \
6224 --exclude=testdir/dir2/\* \
6226 --exclude=testdir/dir3/\* \
6228 tar tf archive | sort
6231 tar cf archive testdir
6232 tar t "testdir/dir1/*" -f archive | sort
6235 tar cf archive testdir/dir1
6236 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6239 tar cf archive testdir
6240 tar t --wildcards "testdir/dir1/*" -f archive | sort
6243 ) ) >"$at_stdout" 2>"$at_stderr"
6247 at_func_diff_devnull "$at_stderr" || at_failed=:
6248 echo >>"$at_stdout"; $as_echo "testdir/
6261 $at_diff - "$at_stdout" || at_failed=:
6262 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6264 $at_failed && at_func_log_failure
6268 $as_echo "$at_srcdir/exclude01.at:20:
6271 TEST_TAR_FORMAT=posix
6272 export TEST_TAR_FORMAT
6273 TAR_OPTIONS=\"-H posix\"
6278 test -z "`sort < /dev/null 2>&1`" || exit 77
6282 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6283 touch testdir/dir1/file1
6284 touch testdir/dir1/\\*
6285 touch testdir/dir2/file2
6286 touch testdir/dir2/\\*
6287 touch testdir/dir3/file3
6288 touch testdir/dir3/\\*
6290 tar cf archive --exclude=testdir/dir1/\\* \\
6292 --exclude=testdir/dir2/\\* \\
6294 --exclude=testdir/dir3/\\* \\
6296 tar tf archive | sort
6299 tar cf archive testdir
6300 tar t \"testdir/dir1/*\" -f archive | sort
6303 tar cf archive testdir/dir1
6304 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6307 tar cf archive testdir
6308 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6312 echo exclude01.at:20 >"$at_check_line_file"
6314 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6319 TEST_TAR_FORMAT=posix
6320 export TEST_TAR_FORMAT
6321 TAR_OPTIONS="-H posix"
6326 test -z "`sort < /dev/null 2>&1`" || exit 77
6330 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6331 touch testdir/dir1/file1
6332 touch testdir/dir1/\*
6333 touch testdir/dir2/file2
6334 touch testdir/dir2/\*
6335 touch testdir/dir3/file3
6336 touch testdir/dir3/\*
6338 tar cf archive --exclude=testdir/dir1/\* \
6340 --exclude=testdir/dir2/\* \
6342 --exclude=testdir/dir3/\* \
6344 tar tf archive | sort
6347 tar cf archive testdir
6348 tar t "testdir/dir1/*" -f archive | sort
6351 tar cf archive testdir/dir1
6352 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6355 tar cf archive testdir
6356 tar t --wildcards "testdir/dir1/*" -f archive | sort
6359 ) ) >"$at_stdout" 2>"$at_stder1"
6360 at_func_filter_trace $?
6365 TEST_TAR_FORMAT=posix
6366 export TEST_TAR_FORMAT
6367 TAR_OPTIONS="-H posix"
6372 test -z "`sort < /dev/null 2>&1`" || exit 77
6376 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6377 touch testdir/dir1/file1
6378 touch testdir/dir1/\*
6379 touch testdir/dir2/file2
6380 touch testdir/dir2/\*
6381 touch testdir/dir3/file3
6382 touch testdir/dir3/\*
6384 tar cf archive --exclude=testdir/dir1/\* \
6386 --exclude=testdir/dir2/\* \
6388 --exclude=testdir/dir3/\* \
6390 tar tf archive | sort
6393 tar cf archive testdir
6394 tar t "testdir/dir1/*" -f archive | sort
6397 tar cf archive testdir/dir1
6398 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6401 tar cf archive testdir
6402 tar t --wildcards "testdir/dir1/*" -f archive | sort
6405 ) ) >"$at_stdout" 2>"$at_stderr"
6409 at_func_diff_devnull "$at_stderr" || at_failed=:
6410 echo >>"$at_stdout"; $as_echo "testdir/
6423 $at_diff - "$at_stdout" || at_failed=:
6424 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6426 $at_failed && at_func_log_failure
6430 $as_echo "$at_srcdir/exclude01.at:20:
6434 export TEST_TAR_FORMAT
6435 TAR_OPTIONS=\"-H gnu\"
6440 test -z "`sort < /dev/null 2>&1`" || exit 77
6444 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6445 touch testdir/dir1/file1
6446 touch testdir/dir1/\\*
6447 touch testdir/dir2/file2
6448 touch testdir/dir2/\\*
6449 touch testdir/dir3/file3
6450 touch testdir/dir3/\\*
6452 tar cf archive --exclude=testdir/dir1/\\* \\
6454 --exclude=testdir/dir2/\\* \\
6456 --exclude=testdir/dir3/\\* \\
6458 tar tf archive | sort
6461 tar cf archive testdir
6462 tar t \"testdir/dir1/*\" -f archive | sort
6465 tar cf archive testdir/dir1
6466 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6469 tar cf archive testdir
6470 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6474 echo exclude01.at:20 >"$at_check_line_file"
6476 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6482 export TEST_TAR_FORMAT
6483 TAR_OPTIONS="-H gnu"
6488 test -z "`sort < /dev/null 2>&1`" || exit 77
6492 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6493 touch testdir/dir1/file1
6494 touch testdir/dir1/\*
6495 touch testdir/dir2/file2
6496 touch testdir/dir2/\*
6497 touch testdir/dir3/file3
6498 touch testdir/dir3/\*
6500 tar cf archive --exclude=testdir/dir1/\* \
6502 --exclude=testdir/dir2/\* \
6504 --exclude=testdir/dir3/\* \
6506 tar tf archive | sort
6509 tar cf archive testdir
6510 tar t "testdir/dir1/*" -f archive | sort
6513 tar cf archive testdir/dir1
6514 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6517 tar cf archive testdir
6518 tar t --wildcards "testdir/dir1/*" -f archive | sort
6521 ) ) >"$at_stdout" 2>"$at_stder1"
6522 at_func_filter_trace $?
6528 export TEST_TAR_FORMAT
6529 TAR_OPTIONS="-H gnu"
6534 test -z "`sort < /dev/null 2>&1`" || exit 77
6538 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6539 touch testdir/dir1/file1
6540 touch testdir/dir1/\*
6541 touch testdir/dir2/file2
6542 touch testdir/dir2/\*
6543 touch testdir/dir3/file3
6544 touch testdir/dir3/\*
6546 tar cf archive --exclude=testdir/dir1/\* \
6548 --exclude=testdir/dir2/\* \
6550 --exclude=testdir/dir3/\* \
6552 tar tf archive | sort
6555 tar cf archive testdir
6556 tar t "testdir/dir1/*" -f archive | sort
6559 tar cf archive testdir/dir1
6560 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6563 tar cf archive testdir
6564 tar t --wildcards "testdir/dir1/*" -f archive | sort
6567 ) ) >"$at_stdout" 2>"$at_stderr"
6571 at_func_diff_devnull "$at_stderr" || at_failed=:
6572 echo >>"$at_stdout"; $as_echo "testdir/
6585 $at_diff - "$at_stdout" || at_failed=:
6586 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6588 $at_failed && at_func_log_failure
6595 $at_times_p && times >"$at_times_file"
6596 ) 5>&1 2>&1 | eval $at_tee_pipe
6597 at_status=`cat "$at_status_file"`
6600 # 16. exclude02.at:17: exclude: anchoring
6601 at_setup_line='exclude02.at:17'
6602 at_desc="exclude: anchoring"
6603 $at_quiet $as_echo_n " 16: $at_desc "
6605 test -f $XFAILFILE && at_xfail=yes
6606 echo "# -*- compilation -*-" >> "$at_group_log"
6608 $as_echo "16. exclude02.at:17: testing ..."
6616 $as_echo "$at_srcdir/exclude02.at:20:
6620 export TEST_TAR_FORMAT
6621 TAR_OPTIONS=\"-H v7\"
6626 test -z "`sort < /dev/null 2>&1`" || exit 77
6632 touch testdir/file1.txt
6635 tar cf archive --exclude=\"file1.txt\" \\
6637 tar tf archive | sort
6640 tar cf archive --no-anchored \\
6641 --exclude=\"file1.txt\" \\
6643 tar tf archive | sort
6646 tar cf archive --anchored \\
6647 --exclude=\"file1.txt\" \\
6649 tar tf archive | sort
6652 tar cf archive testdir file1.txt
6653 tar t \"file1.txt\" -f archive | sort
6656 tar t --no-anchored \"file1.txt\" -f archive | sort
6659 tar t --anchored \"file1.txt\" -f archive | sort
6661 rm -rf testdir file1.txt
6664 echo exclude02.at:20 >"$at_check_line_file"
6666 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6672 export TEST_TAR_FORMAT
6678 test -z "`sort < /dev/null 2>&1`" || exit 77
6684 touch testdir/file1.txt
6687 tar cf archive --exclude="file1.txt" \
6689 tar tf archive | sort
6692 tar cf archive --no-anchored \
6693 --exclude="file1.txt" \
6695 tar tf archive | sort
6698 tar cf archive --anchored \
6699 --exclude="file1.txt" \
6701 tar tf archive | sort
6704 tar cf archive testdir file1.txt
6705 tar t "file1.txt" -f archive | sort
6708 tar t --no-anchored "file1.txt" -f archive | sort
6711 tar t --anchored "file1.txt" -f archive | sort
6713 rm -rf testdir file1.txt
6715 ) ) >"$at_stdout" 2>"$at_stder1"
6716 at_func_filter_trace $?
6722 export TEST_TAR_FORMAT
6728 test -z "`sort < /dev/null 2>&1`" || exit 77
6734 touch testdir/file1.txt
6737 tar cf archive --exclude="file1.txt" \
6739 tar tf archive | sort
6742 tar cf archive --no-anchored \
6743 --exclude="file1.txt" \
6745 tar tf archive | sort
6748 tar cf archive --anchored \
6749 --exclude="file1.txt" \
6751 tar tf archive | sort
6754 tar cf archive testdir file1.txt
6755 tar t "file1.txt" -f archive | sort
6758 tar t --no-anchored "file1.txt" -f archive | sort
6761 tar t --anchored "file1.txt" -f archive | sort
6763 rm -rf testdir file1.txt
6765 ) ) >"$at_stdout" 2>"$at_stderr"
6769 at_func_diff_devnull "$at_stderr" || at_failed=:
6770 echo >>"$at_stdout"; $as_echo "testdir/
6787 $at_diff - "$at_stdout" || at_failed=:
6788 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
6790 $at_failed && at_func_log_failure
6794 $as_echo "$at_srcdir/exclude02.at:20:
6797 TEST_TAR_FORMAT=oldgnu
6798 export TEST_TAR_FORMAT
6799 TAR_OPTIONS=\"-H oldgnu\"
6804 test -z "`sort < /dev/null 2>&1`" || exit 77
6810 touch testdir/file1.txt
6813 tar cf archive --exclude=\"file1.txt\" \\
6815 tar tf archive | sort
6818 tar cf archive --no-anchored \\
6819 --exclude=\"file1.txt\" \\
6821 tar tf archive | sort
6824 tar cf archive --anchored \\
6825 --exclude=\"file1.txt\" \\
6827 tar tf archive | sort
6830 tar cf archive testdir file1.txt
6831 tar t \"file1.txt\" -f archive | sort
6834 tar t --no-anchored \"file1.txt\" -f archive | sort
6837 tar t --anchored \"file1.txt\" -f archive | sort
6839 rm -rf testdir file1.txt
6842 echo exclude02.at:20 >"$at_check_line_file"
6844 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6849 TEST_TAR_FORMAT=oldgnu
6850 export TEST_TAR_FORMAT
6851 TAR_OPTIONS="-H oldgnu"
6856 test -z "`sort < /dev/null 2>&1`" || exit 77
6862 touch testdir/file1.txt
6865 tar cf archive --exclude="file1.txt" \
6867 tar tf archive | sort
6870 tar cf archive --no-anchored \
6871 --exclude="file1.txt" \
6873 tar tf archive | sort
6876 tar cf archive --anchored \
6877 --exclude="file1.txt" \
6879 tar tf archive | sort
6882 tar cf archive testdir file1.txt
6883 tar t "file1.txt" -f archive | sort
6886 tar t --no-anchored "file1.txt" -f archive | sort
6889 tar t --anchored "file1.txt" -f archive | sort
6891 rm -rf testdir file1.txt
6893 ) ) >"$at_stdout" 2>"$at_stder1"
6894 at_func_filter_trace $?
6899 TEST_TAR_FORMAT=oldgnu
6900 export TEST_TAR_FORMAT
6901 TAR_OPTIONS="-H oldgnu"
6906 test -z "`sort < /dev/null 2>&1`" || exit 77
6912 touch testdir/file1.txt
6915 tar cf archive --exclude="file1.txt" \
6917 tar tf archive | sort
6920 tar cf archive --no-anchored \
6921 --exclude="file1.txt" \
6923 tar tf archive | sort
6926 tar cf archive --anchored \
6927 --exclude="file1.txt" \
6929 tar tf archive | sort
6932 tar cf archive testdir file1.txt
6933 tar t "file1.txt" -f archive | sort
6936 tar t --no-anchored "file1.txt" -f archive | sort
6939 tar t --anchored "file1.txt" -f archive | sort
6941 rm -rf testdir file1.txt
6943 ) ) >"$at_stdout" 2>"$at_stderr"
6947 at_func_diff_devnull "$at_stderr" || at_failed=:
6948 echo >>"$at_stdout"; $as_echo "testdir/
6965 $at_diff - "$at_stdout" || at_failed=:
6966 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
6968 $at_failed && at_func_log_failure
6972 $as_echo "$at_srcdir/exclude02.at:20:
6975 TEST_TAR_FORMAT=ustar
6976 export TEST_TAR_FORMAT
6977 TAR_OPTIONS=\"-H ustar\"
6982 test -z "`sort < /dev/null 2>&1`" || exit 77
6988 touch testdir/file1.txt
6991 tar cf archive --exclude=\"file1.txt\" \\
6993 tar tf archive | sort
6996 tar cf archive --no-anchored \\
6997 --exclude=\"file1.txt\" \\
6999 tar tf archive | sort
7002 tar cf archive --anchored \\
7003 --exclude=\"file1.txt\" \\
7005 tar tf archive | sort
7008 tar cf archive testdir file1.txt
7009 tar t \"file1.txt\" -f archive | sort
7012 tar t --no-anchored \"file1.txt\" -f archive | sort
7015 tar t --anchored \"file1.txt\" -f archive | sort
7017 rm -rf testdir file1.txt
7020 echo exclude02.at:20 >"$at_check_line_file"
7022 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7027 TEST_TAR_FORMAT=ustar
7028 export TEST_TAR_FORMAT
7029 TAR_OPTIONS="-H ustar"
7034 test -z "`sort < /dev/null 2>&1`" || exit 77
7040 touch testdir/file1.txt
7043 tar cf archive --exclude="file1.txt" \
7045 tar tf archive | sort
7048 tar cf archive --no-anchored \
7049 --exclude="file1.txt" \
7051 tar tf archive | sort
7054 tar cf archive --anchored \
7055 --exclude="file1.txt" \
7057 tar tf archive | sort
7060 tar cf archive testdir file1.txt
7061 tar t "file1.txt" -f archive | sort
7064 tar t --no-anchored "file1.txt" -f archive | sort
7067 tar t --anchored "file1.txt" -f archive | sort
7069 rm -rf testdir file1.txt
7071 ) ) >"$at_stdout" 2>"$at_stder1"
7072 at_func_filter_trace $?
7077 TEST_TAR_FORMAT=ustar
7078 export TEST_TAR_FORMAT
7079 TAR_OPTIONS="-H ustar"
7084 test -z "`sort < /dev/null 2>&1`" || exit 77
7090 touch testdir/file1.txt
7093 tar cf archive --exclude="file1.txt" \
7095 tar tf archive | sort
7098 tar cf archive --no-anchored \
7099 --exclude="file1.txt" \
7101 tar tf archive | sort
7104 tar cf archive --anchored \
7105 --exclude="file1.txt" \
7107 tar tf archive | sort
7110 tar cf archive testdir file1.txt
7111 tar t "file1.txt" -f archive | sort
7114 tar t --no-anchored "file1.txt" -f archive | sort
7117 tar t --anchored "file1.txt" -f archive | sort
7119 rm -rf testdir file1.txt
7121 ) ) >"$at_stdout" 2>"$at_stderr"
7125 at_func_diff_devnull "$at_stderr" || at_failed=:
7126 echo >>"$at_stdout"; $as_echo "testdir/
7143 $at_diff - "$at_stdout" || at_failed=:
7144 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7146 $at_failed && at_func_log_failure
7150 $as_echo "$at_srcdir/exclude02.at:20:
7153 TEST_TAR_FORMAT=posix
7154 export TEST_TAR_FORMAT
7155 TAR_OPTIONS=\"-H posix\"
7160 test -z "`sort < /dev/null 2>&1`" || exit 77
7166 touch testdir/file1.txt
7169 tar cf archive --exclude=\"file1.txt\" \\
7171 tar tf archive | sort
7174 tar cf archive --no-anchored \\
7175 --exclude=\"file1.txt\" \\
7177 tar tf archive | sort
7180 tar cf archive --anchored \\
7181 --exclude=\"file1.txt\" \\
7183 tar tf archive | sort
7186 tar cf archive testdir file1.txt
7187 tar t \"file1.txt\" -f archive | sort
7190 tar t --no-anchored \"file1.txt\" -f archive | sort
7193 tar t --anchored \"file1.txt\" -f archive | sort
7195 rm -rf testdir file1.txt
7198 echo exclude02.at:20 >"$at_check_line_file"
7200 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7205 TEST_TAR_FORMAT=posix
7206 export TEST_TAR_FORMAT
7207 TAR_OPTIONS="-H posix"
7212 test -z "`sort < /dev/null 2>&1`" || exit 77
7218 touch testdir/file1.txt
7221 tar cf archive --exclude="file1.txt" \
7223 tar tf archive | sort
7226 tar cf archive --no-anchored \
7227 --exclude="file1.txt" \
7229 tar tf archive | sort
7232 tar cf archive --anchored \
7233 --exclude="file1.txt" \
7235 tar tf archive | sort
7238 tar cf archive testdir file1.txt
7239 tar t "file1.txt" -f archive | sort
7242 tar t --no-anchored "file1.txt" -f archive | sort
7245 tar t --anchored "file1.txt" -f archive | sort
7247 rm -rf testdir file1.txt
7249 ) ) >"$at_stdout" 2>"$at_stder1"
7250 at_func_filter_trace $?
7255 TEST_TAR_FORMAT=posix
7256 export TEST_TAR_FORMAT
7257 TAR_OPTIONS="-H posix"
7262 test -z "`sort < /dev/null 2>&1`" || exit 77
7268 touch testdir/file1.txt
7271 tar cf archive --exclude="file1.txt" \
7273 tar tf archive | sort
7276 tar cf archive --no-anchored \
7277 --exclude="file1.txt" \
7279 tar tf archive | sort
7282 tar cf archive --anchored \
7283 --exclude="file1.txt" \
7285 tar tf archive | sort
7288 tar cf archive testdir file1.txt
7289 tar t "file1.txt" -f archive | sort
7292 tar t --no-anchored "file1.txt" -f archive | sort
7295 tar t --anchored "file1.txt" -f archive | sort
7297 rm -rf testdir file1.txt
7299 ) ) >"$at_stdout" 2>"$at_stderr"
7303 at_func_diff_devnull "$at_stderr" || at_failed=:
7304 echo >>"$at_stdout"; $as_echo "testdir/
7321 $at_diff - "$at_stdout" || at_failed=:
7322 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7324 $at_failed && at_func_log_failure
7328 $as_echo "$at_srcdir/exclude02.at:20:
7332 export TEST_TAR_FORMAT
7333 TAR_OPTIONS=\"-H gnu\"
7338 test -z "`sort < /dev/null 2>&1`" || exit 77
7344 touch testdir/file1.txt
7347 tar cf archive --exclude=\"file1.txt\" \\
7349 tar tf archive | sort
7352 tar cf archive --no-anchored \\
7353 --exclude=\"file1.txt\" \\
7355 tar tf archive | sort
7358 tar cf archive --anchored \\
7359 --exclude=\"file1.txt\" \\
7361 tar tf archive | sort
7364 tar cf archive testdir file1.txt
7365 tar t \"file1.txt\" -f archive | sort
7368 tar t --no-anchored \"file1.txt\" -f archive | sort
7371 tar t --anchored \"file1.txt\" -f archive | sort
7373 rm -rf testdir file1.txt
7376 echo exclude02.at:20 >"$at_check_line_file"
7378 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7384 export TEST_TAR_FORMAT
7385 TAR_OPTIONS="-H gnu"
7390 test -z "`sort < /dev/null 2>&1`" || exit 77
7396 touch testdir/file1.txt
7399 tar cf archive --exclude="file1.txt" \
7401 tar tf archive | sort
7404 tar cf archive --no-anchored \
7405 --exclude="file1.txt" \
7407 tar tf archive | sort
7410 tar cf archive --anchored \
7411 --exclude="file1.txt" \
7413 tar tf archive | sort
7416 tar cf archive testdir file1.txt
7417 tar t "file1.txt" -f archive | sort
7420 tar t --no-anchored "file1.txt" -f archive | sort
7423 tar t --anchored "file1.txt" -f archive | sort
7425 rm -rf testdir file1.txt
7427 ) ) >"$at_stdout" 2>"$at_stder1"
7428 at_func_filter_trace $?
7434 export TEST_TAR_FORMAT
7435 TAR_OPTIONS="-H gnu"
7440 test -z "`sort < /dev/null 2>&1`" || exit 77
7446 touch testdir/file1.txt
7449 tar cf archive --exclude="file1.txt" \
7451 tar tf archive | sort
7454 tar cf archive --no-anchored \
7455 --exclude="file1.txt" \
7457 tar tf archive | sort
7460 tar cf archive --anchored \
7461 --exclude="file1.txt" \
7463 tar tf archive | sort
7466 tar cf archive testdir file1.txt
7467 tar t "file1.txt" -f archive | sort
7470 tar t --no-anchored "file1.txt" -f archive | sort
7473 tar t --anchored "file1.txt" -f archive | sort
7475 rm -rf testdir file1.txt
7477 ) ) >"$at_stdout" 2>"$at_stderr"
7481 at_func_diff_devnull "$at_stderr" || at_failed=:
7482 echo >>"$at_stdout"; $as_echo "testdir/
7499 $at_diff - "$at_stdout" || at_failed=:
7500 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7502 $at_failed && at_func_log_failure
7509 $at_times_p && times >"$at_times_file"
7510 ) 5>&1 2>&1 | eval $at_tee_pipe
7511 at_status=`cat "$at_status_file"`
7514 # 17. exclude03.at:17: exclude: wildcards match slash
7515 at_setup_line='exclude03.at:17'
7516 at_desc="exclude: wildcards match slash"
7517 $at_quiet $as_echo_n " 17: $at_desc "
7519 test -f $XFAILFILE && at_xfail=yes
7520 echo "# -*- compilation -*-" >> "$at_group_log"
7522 $as_echo "17. exclude03.at:17: testing ..."
7530 $as_echo "$at_srcdir/exclude03.at:20:
7534 export TEST_TAR_FORMAT
7535 TAR_OPTIONS=\"-H v7\"
7540 test -z "`sort < /dev/null 2>&1`" || exit 77
7544 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7545 touch testdir/\\*f\\*1
7546 touch testdir/dir1/file1
7547 touch testdir/dir1/\\*
7548 touch testdir/dir2/file2
7549 touch testdir/dir2/\\*
7550 touch testdir/dir3/file3
7551 touch testdir/dir3/\\*
7553 tar cf archive --exclude='testdir*f*1' \\
7554 --no-wildcards-match-slash \\
7555 --exclude='testdir*f*2' \\
7556 --wildcards-match-slash \\
7557 --exclude='testdir*f*3' \\
7559 tar tf archive | sort
7562 tar cf archive testdir
7563 tar t --wildcards 'testdir/*f*1' -f archive | sort
7566 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7569 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7574 echo exclude03.at:20 >"$at_check_line_file"
7576 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7582 export TEST_TAR_FORMAT
7588 test -z "`sort < /dev/null 2>&1`" || exit 77
7592 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7593 touch testdir/\*f\*1
7594 touch testdir/dir1/file1
7595 touch testdir/dir1/\*
7596 touch testdir/dir2/file2
7597 touch testdir/dir2/\*
7598 touch testdir/dir3/file3
7599 touch testdir/dir3/\*
7601 tar cf archive --exclude='testdir*f*1' \
7602 --no-wildcards-match-slash \
7603 --exclude='testdir*f*2' \
7604 --wildcards-match-slash \
7605 --exclude='testdir*f*3' \
7607 tar tf archive | sort
7610 tar cf archive testdir
7611 tar t --wildcards 'testdir/*f*1' -f archive | sort
7614 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7617 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7621 ) ) >"$at_stdout" 2>"$at_stder1"
7622 at_func_filter_trace $?
7628 export TEST_TAR_FORMAT
7634 test -z "`sort < /dev/null 2>&1`" || exit 77
7638 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7639 touch testdir/\*f\*1
7640 touch testdir/dir1/file1
7641 touch testdir/dir1/\*
7642 touch testdir/dir2/file2
7643 touch testdir/dir2/\*
7644 touch testdir/dir3/file3
7645 touch testdir/dir3/\*
7647 tar cf archive --exclude='testdir*f*1' \
7648 --no-wildcards-match-slash \
7649 --exclude='testdir*f*2' \
7650 --wildcards-match-slash \
7651 --exclude='testdir*f*3' \
7653 tar tf archive | sort
7656 tar cf archive testdir
7657 tar t --wildcards 'testdir/*f*1' -f archive | sort
7660 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7663 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7667 ) ) >"$at_stdout" 2>"$at_stderr"
7671 at_func_diff_devnull "$at_stderr" || at_failed=:
7672 echo >>"$at_stdout"; $as_echo "testdir/
7689 $at_diff - "$at_stdout" || at_failed=:
7690 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
7692 $at_failed && at_func_log_failure
7696 $as_echo "$at_srcdir/exclude03.at:20:
7699 TEST_TAR_FORMAT=oldgnu
7700 export TEST_TAR_FORMAT
7701 TAR_OPTIONS=\"-H oldgnu\"
7706 test -z "`sort < /dev/null 2>&1`" || exit 77
7710 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7711 touch testdir/\\*f\\*1
7712 touch testdir/dir1/file1
7713 touch testdir/dir1/\\*
7714 touch testdir/dir2/file2
7715 touch testdir/dir2/\\*
7716 touch testdir/dir3/file3
7717 touch testdir/dir3/\\*
7719 tar cf archive --exclude='testdir*f*1' \\
7720 --no-wildcards-match-slash \\
7721 --exclude='testdir*f*2' \\
7722 --wildcards-match-slash \\
7723 --exclude='testdir*f*3' \\
7725 tar tf archive | sort
7728 tar cf archive testdir
7729 tar t --wildcards 'testdir/*f*1' -f archive | sort
7732 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7735 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7740 echo exclude03.at:20 >"$at_check_line_file"
7742 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7747 TEST_TAR_FORMAT=oldgnu
7748 export TEST_TAR_FORMAT
7749 TAR_OPTIONS="-H oldgnu"
7754 test -z "`sort < /dev/null 2>&1`" || exit 77
7758 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7759 touch testdir/\*f\*1
7760 touch testdir/dir1/file1
7761 touch testdir/dir1/\*
7762 touch testdir/dir2/file2
7763 touch testdir/dir2/\*
7764 touch testdir/dir3/file3
7765 touch testdir/dir3/\*
7767 tar cf archive --exclude='testdir*f*1' \
7768 --no-wildcards-match-slash \
7769 --exclude='testdir*f*2' \
7770 --wildcards-match-slash \
7771 --exclude='testdir*f*3' \
7773 tar tf archive | sort
7776 tar cf archive testdir
7777 tar t --wildcards 'testdir/*f*1' -f archive | sort
7780 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7783 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7787 ) ) >"$at_stdout" 2>"$at_stder1"
7788 at_func_filter_trace $?
7793 TEST_TAR_FORMAT=oldgnu
7794 export TEST_TAR_FORMAT
7795 TAR_OPTIONS="-H oldgnu"
7800 test -z "`sort < /dev/null 2>&1`" || exit 77
7804 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7805 touch testdir/\*f\*1
7806 touch testdir/dir1/file1
7807 touch testdir/dir1/\*
7808 touch testdir/dir2/file2
7809 touch testdir/dir2/\*
7810 touch testdir/dir3/file3
7811 touch testdir/dir3/\*
7813 tar cf archive --exclude='testdir*f*1' \
7814 --no-wildcards-match-slash \
7815 --exclude='testdir*f*2' \
7816 --wildcards-match-slash \
7817 --exclude='testdir*f*3' \
7819 tar tf archive | sort
7822 tar cf archive testdir
7823 tar t --wildcards 'testdir/*f*1' -f archive | sort
7826 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7829 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7833 ) ) >"$at_stdout" 2>"$at_stderr"
7837 at_func_diff_devnull "$at_stderr" || at_failed=:
7838 echo >>"$at_stdout"; $as_echo "testdir/
7855 $at_diff - "$at_stdout" || at_failed=:
7856 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
7858 $at_failed && at_func_log_failure
7862 $as_echo "$at_srcdir/exclude03.at:20:
7865 TEST_TAR_FORMAT=ustar
7866 export TEST_TAR_FORMAT
7867 TAR_OPTIONS=\"-H ustar\"
7872 test -z "`sort < /dev/null 2>&1`" || exit 77
7876 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7877 touch testdir/\\*f\\*1
7878 touch testdir/dir1/file1
7879 touch testdir/dir1/\\*
7880 touch testdir/dir2/file2
7881 touch testdir/dir2/\\*
7882 touch testdir/dir3/file3
7883 touch testdir/dir3/\\*
7885 tar cf archive --exclude='testdir*f*1' \\
7886 --no-wildcards-match-slash \\
7887 --exclude='testdir*f*2' \\
7888 --wildcards-match-slash \\
7889 --exclude='testdir*f*3' \\
7891 tar tf archive | sort
7894 tar cf archive testdir
7895 tar t --wildcards 'testdir/*f*1' -f archive | sort
7898 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7901 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7906 echo exclude03.at:20 >"$at_check_line_file"
7908 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7913 TEST_TAR_FORMAT=ustar
7914 export TEST_TAR_FORMAT
7915 TAR_OPTIONS="-H ustar"
7920 test -z "`sort < /dev/null 2>&1`" || exit 77
7924 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7925 touch testdir/\*f\*1
7926 touch testdir/dir1/file1
7927 touch testdir/dir1/\*
7928 touch testdir/dir2/file2
7929 touch testdir/dir2/\*
7930 touch testdir/dir3/file3
7931 touch testdir/dir3/\*
7933 tar cf archive --exclude='testdir*f*1' \
7934 --no-wildcards-match-slash \
7935 --exclude='testdir*f*2' \
7936 --wildcards-match-slash \
7937 --exclude='testdir*f*3' \
7939 tar tf archive | sort
7942 tar cf archive testdir
7943 tar t --wildcards 'testdir/*f*1' -f archive | sort
7946 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7949 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7953 ) ) >"$at_stdout" 2>"$at_stder1"
7954 at_func_filter_trace $?
7959 TEST_TAR_FORMAT=ustar
7960 export TEST_TAR_FORMAT
7961 TAR_OPTIONS="-H ustar"
7966 test -z "`sort < /dev/null 2>&1`" || exit 77
7970 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7971 touch testdir/\*f\*1
7972 touch testdir/dir1/file1
7973 touch testdir/dir1/\*
7974 touch testdir/dir2/file2
7975 touch testdir/dir2/\*
7976 touch testdir/dir3/file3
7977 touch testdir/dir3/\*
7979 tar cf archive --exclude='testdir*f*1' \
7980 --no-wildcards-match-slash \
7981 --exclude='testdir*f*2' \
7982 --wildcards-match-slash \
7983 --exclude='testdir*f*3' \
7985 tar tf archive | sort
7988 tar cf archive testdir
7989 tar t --wildcards 'testdir/*f*1' -f archive | sort
7992 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7995 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7999 ) ) >"$at_stdout" 2>"$at_stderr"
8003 at_func_diff_devnull "$at_stderr" || at_failed=:
8004 echo >>"$at_stdout"; $as_echo "testdir/
8021 $at_diff - "$at_stdout" || at_failed=:
8022 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
8024 $at_failed && at_func_log_failure
8028 $as_echo "$at_srcdir/exclude03.at:20:
8031 TEST_TAR_FORMAT=posix
8032 export TEST_TAR_FORMAT
8033 TAR_OPTIONS=\"-H posix\"
8038 test -z "`sort < /dev/null 2>&1`" || exit 77
8042 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8043 touch testdir/\\*f\\*1
8044 touch testdir/dir1/file1
8045 touch testdir/dir1/\\*
8046 touch testdir/dir2/file2
8047 touch testdir/dir2/\\*
8048 touch testdir/dir3/file3
8049 touch testdir/dir3/\\*
8051 tar cf archive --exclude='testdir*f*1' \\
8052 --no-wildcards-match-slash \\
8053 --exclude='testdir*f*2' \\
8054 --wildcards-match-slash \\
8055 --exclude='testdir*f*3' \\
8057 tar tf archive | sort
8060 tar cf archive testdir
8061 tar t --wildcards 'testdir/*f*1' -f archive | sort
8064 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8067 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8072 echo exclude03.at:20 >"$at_check_line_file"
8074 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8079 TEST_TAR_FORMAT=posix
8080 export TEST_TAR_FORMAT
8081 TAR_OPTIONS="-H posix"
8086 test -z "`sort < /dev/null 2>&1`" || exit 77
8090 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8091 touch testdir/\*f\*1
8092 touch testdir/dir1/file1
8093 touch testdir/dir1/\*
8094 touch testdir/dir2/file2
8095 touch testdir/dir2/\*
8096 touch testdir/dir3/file3
8097 touch testdir/dir3/\*
8099 tar cf archive --exclude='testdir*f*1' \
8100 --no-wildcards-match-slash \
8101 --exclude='testdir*f*2' \
8102 --wildcards-match-slash \
8103 --exclude='testdir*f*3' \
8105 tar tf archive | sort
8108 tar cf archive testdir
8109 tar t --wildcards 'testdir/*f*1' -f archive | sort
8112 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8115 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8119 ) ) >"$at_stdout" 2>"$at_stder1"
8120 at_func_filter_trace $?
8125 TEST_TAR_FORMAT=posix
8126 export TEST_TAR_FORMAT
8127 TAR_OPTIONS="-H posix"
8132 test -z "`sort < /dev/null 2>&1`" || exit 77
8136 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8137 touch testdir/\*f\*1
8138 touch testdir/dir1/file1
8139 touch testdir/dir1/\*
8140 touch testdir/dir2/file2
8141 touch testdir/dir2/\*
8142 touch testdir/dir3/file3
8143 touch testdir/dir3/\*
8145 tar cf archive --exclude='testdir*f*1' \
8146 --no-wildcards-match-slash \
8147 --exclude='testdir*f*2' \
8148 --wildcards-match-slash \
8149 --exclude='testdir*f*3' \
8151 tar tf archive | sort
8154 tar cf archive testdir
8155 tar t --wildcards 'testdir/*f*1' -f archive | sort
8158 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8161 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8165 ) ) >"$at_stdout" 2>"$at_stderr"
8169 at_func_diff_devnull "$at_stderr" || at_failed=:
8170 echo >>"$at_stdout"; $as_echo "testdir/
8187 $at_diff - "$at_stdout" || at_failed=:
8188 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
8190 $at_failed && at_func_log_failure
8194 $as_echo "$at_srcdir/exclude03.at:20:
8198 export TEST_TAR_FORMAT
8199 TAR_OPTIONS=\"-H gnu\"
8204 test -z "`sort < /dev/null 2>&1`" || exit 77
8208 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8209 touch testdir/\\*f\\*1
8210 touch testdir/dir1/file1
8211 touch testdir/dir1/\\*
8212 touch testdir/dir2/file2
8213 touch testdir/dir2/\\*
8214 touch testdir/dir3/file3
8215 touch testdir/dir3/\\*
8217 tar cf archive --exclude='testdir*f*1' \\
8218 --no-wildcards-match-slash \\
8219 --exclude='testdir*f*2' \\
8220 --wildcards-match-slash \\
8221 --exclude='testdir*f*3' \\
8223 tar tf archive | sort
8226 tar cf archive testdir
8227 tar t --wildcards 'testdir/*f*1' -f archive | sort
8230 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8233 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8238 echo exclude03.at:20 >"$at_check_line_file"
8240 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8246 export TEST_TAR_FORMAT
8247 TAR_OPTIONS="-H gnu"
8252 test -z "`sort < /dev/null 2>&1`" || exit 77
8256 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8257 touch testdir/\*f\*1
8258 touch testdir/dir1/file1
8259 touch testdir/dir1/\*
8260 touch testdir/dir2/file2
8261 touch testdir/dir2/\*
8262 touch testdir/dir3/file3
8263 touch testdir/dir3/\*
8265 tar cf archive --exclude='testdir*f*1' \
8266 --no-wildcards-match-slash \
8267 --exclude='testdir*f*2' \
8268 --wildcards-match-slash \
8269 --exclude='testdir*f*3' \
8271 tar tf archive | sort
8274 tar cf archive testdir
8275 tar t --wildcards 'testdir/*f*1' -f archive | sort
8278 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8281 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8285 ) ) >"$at_stdout" 2>"$at_stder1"
8286 at_func_filter_trace $?
8292 export TEST_TAR_FORMAT
8293 TAR_OPTIONS="-H gnu"
8298 test -z "`sort < /dev/null 2>&1`" || exit 77
8302 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8303 touch testdir/\*f\*1
8304 touch testdir/dir1/file1
8305 touch testdir/dir1/\*
8306 touch testdir/dir2/file2
8307 touch testdir/dir2/\*
8308 touch testdir/dir3/file3
8309 touch testdir/dir3/\*
8311 tar cf archive --exclude='testdir*f*1' \
8312 --no-wildcards-match-slash \
8313 --exclude='testdir*f*2' \
8314 --wildcards-match-slash \
8315 --exclude='testdir*f*3' \
8317 tar tf archive | sort
8320 tar cf archive testdir
8321 tar t --wildcards 'testdir/*f*1' -f archive | sort
8324 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8327 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8331 ) ) >"$at_stdout" 2>"$at_stderr"
8335 at_func_diff_devnull "$at_stderr" || at_failed=:
8336 echo >>"$at_stdout"; $as_echo "testdir/
8353 $at_diff - "$at_stdout" || at_failed=:
8354 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
8356 $at_failed && at_func_log_failure
8363 $at_times_p && times >"$at_times_file"
8364 ) 5>&1 2>&1 | eval $at_tee_pipe
8365 at_status=`cat "$at_status_file"`
8368 # 18. exclude04.at:17: exclude: case insensitive
8369 at_setup_line='exclude04.at:17'
8370 at_desc="exclude: case insensitive"
8371 $at_quiet $as_echo_n " 18: $at_desc "
8373 test -f $XFAILFILE && at_xfail=yes
8374 echo "# -*- compilation -*-" >> "$at_group_log"
8376 $as_echo "18. exclude04.at:17: testing ..."
8384 $as_echo "$at_srcdir/exclude04.at:20:
8388 export TEST_TAR_FORMAT
8389 TAR_OPTIONS=\"-H v7\"
8394 test -z "`sort < /dev/null 2>&1`" || exit 77
8398 mkdir -p testdir/dir
8403 touch testdir/dir/File1
8404 touch testdir/dir/File2
8405 touch testdir/dir/File3
8406 touch testdir/dir/File4
8408 tar cf archive --exclude=FILE2 \\
8416 tar tf archive | sort
8419 tar cf archive testdir
8420 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8423 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8426 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8431 echo exclude04.at:20 >"$at_check_line_file"
8433 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8439 export TEST_TAR_FORMAT
8445 test -z "`sort < /dev/null 2>&1`" || exit 77
8449 mkdir -p testdir/dir
8454 touch testdir/dir/File1
8455 touch testdir/dir/File2
8456 touch testdir/dir/File3
8457 touch testdir/dir/File4
8459 tar cf archive --exclude=FILE2 \
8467 tar tf archive | sort
8470 tar cf archive testdir
8471 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8474 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8477 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8481 ) ) >"$at_stdout" 2>"$at_stder1"
8482 at_func_filter_trace $?
8488 export TEST_TAR_FORMAT
8494 test -z "`sort < /dev/null 2>&1`" || exit 77
8498 mkdir -p testdir/dir
8503 touch testdir/dir/File1
8504 touch testdir/dir/File2
8505 touch testdir/dir/File3
8506 touch testdir/dir/File4
8508 tar cf archive --exclude=FILE2 \
8516 tar tf archive | sort
8519 tar cf archive testdir
8520 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8523 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8526 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8530 ) ) >"$at_stdout" 2>"$at_stderr"
8534 at_func_diff_devnull "$at_stderr" || at_failed=:
8535 echo >>"$at_stdout"; $as_echo "testdir/
8549 $at_diff - "$at_stdout" || at_failed=:
8550 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8552 $at_failed && at_func_log_failure
8556 $as_echo "$at_srcdir/exclude04.at:20:
8559 TEST_TAR_FORMAT=oldgnu
8560 export TEST_TAR_FORMAT
8561 TAR_OPTIONS=\"-H oldgnu\"
8566 test -z "`sort < /dev/null 2>&1`" || exit 77
8570 mkdir -p testdir/dir
8575 touch testdir/dir/File1
8576 touch testdir/dir/File2
8577 touch testdir/dir/File3
8578 touch testdir/dir/File4
8580 tar cf archive --exclude=FILE2 \\
8588 tar tf archive | sort
8591 tar cf archive testdir
8592 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8595 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8598 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8603 echo exclude04.at:20 >"$at_check_line_file"
8605 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8610 TEST_TAR_FORMAT=oldgnu
8611 export TEST_TAR_FORMAT
8612 TAR_OPTIONS="-H oldgnu"
8617 test -z "`sort < /dev/null 2>&1`" || exit 77
8621 mkdir -p testdir/dir
8626 touch testdir/dir/File1
8627 touch testdir/dir/File2
8628 touch testdir/dir/File3
8629 touch testdir/dir/File4
8631 tar cf archive --exclude=FILE2 \
8639 tar tf archive | sort
8642 tar cf archive testdir
8643 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8646 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8649 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8653 ) ) >"$at_stdout" 2>"$at_stder1"
8654 at_func_filter_trace $?
8659 TEST_TAR_FORMAT=oldgnu
8660 export TEST_TAR_FORMAT
8661 TAR_OPTIONS="-H oldgnu"
8666 test -z "`sort < /dev/null 2>&1`" || exit 77
8670 mkdir -p testdir/dir
8675 touch testdir/dir/File1
8676 touch testdir/dir/File2
8677 touch testdir/dir/File3
8678 touch testdir/dir/File4
8680 tar cf archive --exclude=FILE2 \
8688 tar tf archive | sort
8691 tar cf archive testdir
8692 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8695 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8698 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8702 ) ) >"$at_stdout" 2>"$at_stderr"
8706 at_func_diff_devnull "$at_stderr" || at_failed=:
8707 echo >>"$at_stdout"; $as_echo "testdir/
8721 $at_diff - "$at_stdout" || at_failed=:
8722 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8724 $at_failed && at_func_log_failure
8728 $as_echo "$at_srcdir/exclude04.at:20:
8731 TEST_TAR_FORMAT=ustar
8732 export TEST_TAR_FORMAT
8733 TAR_OPTIONS=\"-H ustar\"
8738 test -z "`sort < /dev/null 2>&1`" || exit 77
8742 mkdir -p testdir/dir
8747 touch testdir/dir/File1
8748 touch testdir/dir/File2
8749 touch testdir/dir/File3
8750 touch testdir/dir/File4
8752 tar cf archive --exclude=FILE2 \\
8760 tar tf archive | sort
8763 tar cf archive testdir
8764 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8767 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8770 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8775 echo exclude04.at:20 >"$at_check_line_file"
8777 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8782 TEST_TAR_FORMAT=ustar
8783 export TEST_TAR_FORMAT
8784 TAR_OPTIONS="-H ustar"
8789 test -z "`sort < /dev/null 2>&1`" || exit 77
8793 mkdir -p testdir/dir
8798 touch testdir/dir/File1
8799 touch testdir/dir/File2
8800 touch testdir/dir/File3
8801 touch testdir/dir/File4
8803 tar cf archive --exclude=FILE2 \
8811 tar tf archive | sort
8814 tar cf archive testdir
8815 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8818 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8821 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8825 ) ) >"$at_stdout" 2>"$at_stder1"
8826 at_func_filter_trace $?
8831 TEST_TAR_FORMAT=ustar
8832 export TEST_TAR_FORMAT
8833 TAR_OPTIONS="-H ustar"
8838 test -z "`sort < /dev/null 2>&1`" || exit 77
8842 mkdir -p testdir/dir
8847 touch testdir/dir/File1
8848 touch testdir/dir/File2
8849 touch testdir/dir/File3
8850 touch testdir/dir/File4
8852 tar cf archive --exclude=FILE2 \
8860 tar tf archive | sort
8863 tar cf archive testdir
8864 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8867 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8870 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8874 ) ) >"$at_stdout" 2>"$at_stderr"
8878 at_func_diff_devnull "$at_stderr" || at_failed=:
8879 echo >>"$at_stdout"; $as_echo "testdir/
8893 $at_diff - "$at_stdout" || at_failed=:
8894 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8896 $at_failed && at_func_log_failure
8900 $as_echo "$at_srcdir/exclude04.at:20:
8903 TEST_TAR_FORMAT=posix
8904 export TEST_TAR_FORMAT
8905 TAR_OPTIONS=\"-H posix\"
8910 test -z "`sort < /dev/null 2>&1`" || exit 77
8914 mkdir -p testdir/dir
8919 touch testdir/dir/File1
8920 touch testdir/dir/File2
8921 touch testdir/dir/File3
8922 touch testdir/dir/File4
8924 tar cf archive --exclude=FILE2 \\
8932 tar tf archive | sort
8935 tar cf archive testdir
8936 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8939 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8942 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8947 echo exclude04.at:20 >"$at_check_line_file"
8949 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8954 TEST_TAR_FORMAT=posix
8955 export TEST_TAR_FORMAT
8956 TAR_OPTIONS="-H posix"
8961 test -z "`sort < /dev/null 2>&1`" || exit 77
8965 mkdir -p testdir/dir
8970 touch testdir/dir/File1
8971 touch testdir/dir/File2
8972 touch testdir/dir/File3
8973 touch testdir/dir/File4
8975 tar cf archive --exclude=FILE2 \
8983 tar tf archive | sort
8986 tar cf archive testdir
8987 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8990 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8993 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8997 ) ) >"$at_stdout" 2>"$at_stder1"
8998 at_func_filter_trace $?
9003 TEST_TAR_FORMAT=posix
9004 export TEST_TAR_FORMAT
9005 TAR_OPTIONS="-H posix"
9010 test -z "`sort < /dev/null 2>&1`" || exit 77
9014 mkdir -p testdir/dir
9019 touch testdir/dir/File1
9020 touch testdir/dir/File2
9021 touch testdir/dir/File3
9022 touch testdir/dir/File4
9024 tar cf archive --exclude=FILE2 \
9032 tar tf archive | sort
9035 tar cf archive testdir
9036 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9039 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9042 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9046 ) ) >"$at_stdout" 2>"$at_stderr"
9050 at_func_diff_devnull "$at_stderr" || at_failed=:
9051 echo >>"$at_stdout"; $as_echo "testdir/
9065 $at_diff - "$at_stdout" || at_failed=:
9066 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
9068 $at_failed && at_func_log_failure
9072 $as_echo "$at_srcdir/exclude04.at:20:
9076 export TEST_TAR_FORMAT
9077 TAR_OPTIONS=\"-H gnu\"
9082 test -z "`sort < /dev/null 2>&1`" || exit 77
9086 mkdir -p testdir/dir
9091 touch testdir/dir/File1
9092 touch testdir/dir/File2
9093 touch testdir/dir/File3
9094 touch testdir/dir/File4
9096 tar cf archive --exclude=FILE2 \\
9104 tar tf archive | sort
9107 tar cf archive testdir
9108 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9111 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9114 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9119 echo exclude04.at:20 >"$at_check_line_file"
9121 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9127 export TEST_TAR_FORMAT
9128 TAR_OPTIONS="-H gnu"
9133 test -z "`sort < /dev/null 2>&1`" || exit 77
9137 mkdir -p testdir/dir
9142 touch testdir/dir/File1
9143 touch testdir/dir/File2
9144 touch testdir/dir/File3
9145 touch testdir/dir/File4
9147 tar cf archive --exclude=FILE2 \
9155 tar tf archive | sort
9158 tar cf archive testdir
9159 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9162 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9165 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9169 ) ) >"$at_stdout" 2>"$at_stder1"
9170 at_func_filter_trace $?
9176 export TEST_TAR_FORMAT
9177 TAR_OPTIONS="-H gnu"
9182 test -z "`sort < /dev/null 2>&1`" || exit 77
9186 mkdir -p testdir/dir
9191 touch testdir/dir/File1
9192 touch testdir/dir/File2
9193 touch testdir/dir/File3
9194 touch testdir/dir/File4
9196 tar cf archive --exclude=FILE2 \
9204 tar tf archive | sort
9207 tar cf archive testdir
9208 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9211 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9214 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9218 ) ) >"$at_stdout" 2>"$at_stderr"
9222 at_func_diff_devnull "$at_stderr" || at_failed=:
9223 echo >>"$at_stdout"; $as_echo "testdir/
9237 $at_diff - "$at_stdout" || at_failed=:
9238 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
9240 $at_failed && at_func_log_failure
9247 $at_times_p && times >"$at_times_file"
9248 ) 5>&1 2>&1 | eval $at_tee_pipe
9249 at_status=`cat "$at_status_file"`
9252 # 19. exclude05.at:19: exclude: lots of excludes
9253 at_setup_line='exclude05.at:19'
9254 at_desc="exclude: lots of excludes"
9255 $at_quiet $as_echo_n " 19: $at_desc "
9257 test -f $XFAILFILE && at_xfail=yes
9258 echo "# -*- compilation -*-" >> "$at_group_log"
9260 $as_echo "19. exclude05.at:19: testing ..."
9268 $as_echo "$at_srcdir/exclude05.at:22:
9272 export TEST_TAR_FORMAT
9273 TAR_OPTIONS=\"-H v7\"
9278 test -z "`sort < /dev/null 2>&1`" || exit 77
9281 rm -rf testdir exclfile
9283 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9286 genfile --file \$name
9289 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9291 tar cf archive --anchored --exclude-from=exclfile \\
9293 tar tf archive | sort
9296 tar cf archive --exclude-from=exclfile \\
9298 tar tf archive | sort
9300 rm -rf testdir exclfile
9303 echo exclude05.at:22 >"$at_check_line_file"
9305 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9311 export TEST_TAR_FORMAT
9317 test -z "`sort < /dev/null 2>&1`" || exit 77
9320 rm -rf testdir exclfile
9322 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9325 genfile --file $name
9328 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9330 tar cf archive --anchored --exclude-from=exclfile \
9332 tar tf archive | sort
9335 tar cf archive --exclude-from=exclfile \
9337 tar tf archive | sort
9339 rm -rf testdir exclfile
9341 ) ) >"$at_stdout" 2>"$at_stder1"
9342 at_func_filter_trace $?
9348 export TEST_TAR_FORMAT
9354 test -z "`sort < /dev/null 2>&1`" || exit 77
9357 rm -rf testdir exclfile
9359 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9362 genfile --file $name
9365 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9367 tar cf archive --anchored --exclude-from=exclfile \
9369 tar tf archive | sort
9372 tar cf archive --exclude-from=exclfile \
9374 tar tf archive | sort
9376 rm -rf testdir exclfile
9378 ) ) >"$at_stdout" 2>"$at_stderr"
9382 at_func_diff_devnull "$at_stderr" || at_failed=:
9383 echo >>"$at_stdout"; $as_echo "testdir/
9393 $at_diff - "$at_stdout" || at_failed=:
9394 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9396 $at_failed && at_func_log_failure
9400 $as_echo "$at_srcdir/exclude05.at:22:
9403 TEST_TAR_FORMAT=oldgnu
9404 export TEST_TAR_FORMAT
9405 TAR_OPTIONS=\"-H oldgnu\"
9410 test -z "`sort < /dev/null 2>&1`" || exit 77
9413 rm -rf testdir exclfile
9415 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9418 genfile --file \$name
9421 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9423 tar cf archive --anchored --exclude-from=exclfile \\
9425 tar tf archive | sort
9428 tar cf archive --exclude-from=exclfile \\
9430 tar tf archive | sort
9432 rm -rf testdir exclfile
9435 echo exclude05.at:22 >"$at_check_line_file"
9437 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9442 TEST_TAR_FORMAT=oldgnu
9443 export TEST_TAR_FORMAT
9444 TAR_OPTIONS="-H oldgnu"
9449 test -z "`sort < /dev/null 2>&1`" || exit 77
9452 rm -rf testdir exclfile
9454 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9457 genfile --file $name
9460 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9462 tar cf archive --anchored --exclude-from=exclfile \
9464 tar tf archive | sort
9467 tar cf archive --exclude-from=exclfile \
9469 tar tf archive | sort
9471 rm -rf testdir exclfile
9473 ) ) >"$at_stdout" 2>"$at_stder1"
9474 at_func_filter_trace $?
9479 TEST_TAR_FORMAT=oldgnu
9480 export TEST_TAR_FORMAT
9481 TAR_OPTIONS="-H oldgnu"
9486 test -z "`sort < /dev/null 2>&1`" || exit 77
9489 rm -rf testdir exclfile
9491 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9494 genfile --file $name
9497 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9499 tar cf archive --anchored --exclude-from=exclfile \
9501 tar tf archive | sort
9504 tar cf archive --exclude-from=exclfile \
9506 tar tf archive | sort
9508 rm -rf testdir exclfile
9510 ) ) >"$at_stdout" 2>"$at_stderr"
9514 at_func_diff_devnull "$at_stderr" || at_failed=:
9515 echo >>"$at_stdout"; $as_echo "testdir/
9525 $at_diff - "$at_stdout" || at_failed=:
9526 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9528 $at_failed && at_func_log_failure
9532 $as_echo "$at_srcdir/exclude05.at:22:
9535 TEST_TAR_FORMAT=ustar
9536 export TEST_TAR_FORMAT
9537 TAR_OPTIONS=\"-H ustar\"
9542 test -z "`sort < /dev/null 2>&1`" || exit 77
9545 rm -rf testdir exclfile
9547 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9550 genfile --file \$name
9553 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9555 tar cf archive --anchored --exclude-from=exclfile \\
9557 tar tf archive | sort
9560 tar cf archive --exclude-from=exclfile \\
9562 tar tf archive | sort
9564 rm -rf testdir exclfile
9567 echo exclude05.at:22 >"$at_check_line_file"
9569 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9574 TEST_TAR_FORMAT=ustar
9575 export TEST_TAR_FORMAT
9576 TAR_OPTIONS="-H ustar"
9581 test -z "`sort < /dev/null 2>&1`" || exit 77
9584 rm -rf testdir exclfile
9586 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9589 genfile --file $name
9592 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9594 tar cf archive --anchored --exclude-from=exclfile \
9596 tar tf archive | sort
9599 tar cf archive --exclude-from=exclfile \
9601 tar tf archive | sort
9603 rm -rf testdir exclfile
9605 ) ) >"$at_stdout" 2>"$at_stder1"
9606 at_func_filter_trace $?
9611 TEST_TAR_FORMAT=ustar
9612 export TEST_TAR_FORMAT
9613 TAR_OPTIONS="-H ustar"
9618 test -z "`sort < /dev/null 2>&1`" || exit 77
9621 rm -rf testdir exclfile
9623 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9626 genfile --file $name
9629 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9631 tar cf archive --anchored --exclude-from=exclfile \
9633 tar tf archive | sort
9636 tar cf archive --exclude-from=exclfile \
9638 tar tf archive | sort
9640 rm -rf testdir exclfile
9642 ) ) >"$at_stdout" 2>"$at_stderr"
9646 at_func_diff_devnull "$at_stderr" || at_failed=:
9647 echo >>"$at_stdout"; $as_echo "testdir/
9657 $at_diff - "$at_stdout" || at_failed=:
9658 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9660 $at_failed && at_func_log_failure
9664 $as_echo "$at_srcdir/exclude05.at:22:
9667 TEST_TAR_FORMAT=posix
9668 export TEST_TAR_FORMAT
9669 TAR_OPTIONS=\"-H posix\"
9674 test -z "`sort < /dev/null 2>&1`" || exit 77
9677 rm -rf testdir exclfile
9679 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9682 genfile --file \$name
9685 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9687 tar cf archive --anchored --exclude-from=exclfile \\
9689 tar tf archive | sort
9692 tar cf archive --exclude-from=exclfile \\
9694 tar tf archive | sort
9696 rm -rf testdir exclfile
9699 echo exclude05.at:22 >"$at_check_line_file"
9701 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9706 TEST_TAR_FORMAT=posix
9707 export TEST_TAR_FORMAT
9708 TAR_OPTIONS="-H posix"
9713 test -z "`sort < /dev/null 2>&1`" || exit 77
9716 rm -rf testdir exclfile
9718 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9721 genfile --file $name
9724 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9726 tar cf archive --anchored --exclude-from=exclfile \
9728 tar tf archive | sort
9731 tar cf archive --exclude-from=exclfile \
9733 tar tf archive | sort
9735 rm -rf testdir exclfile
9737 ) ) >"$at_stdout" 2>"$at_stder1"
9738 at_func_filter_trace $?
9743 TEST_TAR_FORMAT=posix
9744 export TEST_TAR_FORMAT
9745 TAR_OPTIONS="-H posix"
9750 test -z "`sort < /dev/null 2>&1`" || exit 77
9753 rm -rf testdir exclfile
9755 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9758 genfile --file $name
9761 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9763 tar cf archive --anchored --exclude-from=exclfile \
9765 tar tf archive | sort
9768 tar cf archive --exclude-from=exclfile \
9770 tar tf archive | sort
9772 rm -rf testdir exclfile
9774 ) ) >"$at_stdout" 2>"$at_stderr"
9778 at_func_diff_devnull "$at_stderr" || at_failed=:
9779 echo >>"$at_stdout"; $as_echo "testdir/
9789 $at_diff - "$at_stdout" || at_failed=:
9790 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9792 $at_failed && at_func_log_failure
9796 $as_echo "$at_srcdir/exclude05.at:22:
9800 export TEST_TAR_FORMAT
9801 TAR_OPTIONS=\"-H gnu\"
9806 test -z "`sort < /dev/null 2>&1`" || exit 77
9809 rm -rf testdir exclfile
9811 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9814 genfile --file \$name
9817 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9819 tar cf archive --anchored --exclude-from=exclfile \\
9821 tar tf archive | sort
9824 tar cf archive --exclude-from=exclfile \\
9826 tar tf archive | sort
9828 rm -rf testdir exclfile
9831 echo exclude05.at:22 >"$at_check_line_file"
9833 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9839 export TEST_TAR_FORMAT
9840 TAR_OPTIONS="-H gnu"
9845 test -z "`sort < /dev/null 2>&1`" || exit 77
9848 rm -rf testdir exclfile
9850 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9853 genfile --file $name
9856 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9858 tar cf archive --anchored --exclude-from=exclfile \
9860 tar tf archive | sort
9863 tar cf archive --exclude-from=exclfile \
9865 tar tf archive | sort
9867 rm -rf testdir exclfile
9869 ) ) >"$at_stdout" 2>"$at_stder1"
9870 at_func_filter_trace $?
9876 export TEST_TAR_FORMAT
9877 TAR_OPTIONS="-H gnu"
9882 test -z "`sort < /dev/null 2>&1`" || exit 77
9885 rm -rf testdir exclfile
9887 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9890 genfile --file $name
9893 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9895 tar cf archive --anchored --exclude-from=exclfile \
9897 tar tf archive | sort
9900 tar cf archive --exclude-from=exclfile \
9902 tar tf archive | sort
9904 rm -rf testdir exclfile
9906 ) ) >"$at_stdout" 2>"$at_stderr"
9910 at_func_diff_devnull "$at_stderr" || at_failed=:
9911 echo >>"$at_stdout"; $as_echo "testdir/
9921 $at_diff - "$at_stdout" || at_failed=:
9922 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9924 $at_failed && at_func_log_failure
9931 $at_times_p && times >"$at_times_file"
9932 ) 5>&1 2>&1 | eval $at_tee_pipe
9933 at_status=`cat "$at_status_file"`
9936 # 20. exclude06.at:24: exclude: long files in pax archives
9937 at_setup_line='exclude06.at:24'
9938 at_desc="exclude: long files in pax archives"
9939 $at_quiet $as_echo_n " 20: $at_desc "
9941 test -f $XFAILFILE && at_xfail=yes
9942 echo "# -*- compilation -*-" >> "$at_group_log"
9944 $as_echo "20. exclude06.at:24: testing ..."
9954 $as_echo "$at_srcdir/exclude06.at:29:
9958 export TEST_TAR_FORMAT
9959 TAR_OPTIONS=\"-H pax\"
9964 install-sh -d one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen >/dev/null || exit 77
9965 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.txt
9966 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.c
9968 tar cf archive.tar one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen
9970 tar -C out -xf archive.tar --exclude='*.txt' --warning=no-timestamp
9973 echo exclude06.at:29 >"$at_check_line_file"
9975 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9981 export TEST_TAR_FORMAT
9982 TAR_OPTIONS="-H pax"
9987 install-sh -d one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen >/dev/null || exit 77
9988 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.txt
9989 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.c
9991 tar cf archive.tar one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen
9993 tar -C out -xf archive.tar --exclude='*.txt' --warning=no-timestamp
9995 ) ) >"$at_stdout" 2>"$at_stder1"
9996 at_func_filter_trace $?
10001 TEST_TAR_FORMAT=pax
10002 export TEST_TAR_FORMAT
10003 TAR_OPTIONS="-H pax"
10008 install-sh -d one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen >/dev/null || exit 77
10009 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.txt
10010 genfile --length 20 -f one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen/1.c
10012 tar cf archive.tar one/two/three/four/five/six/seven/eight/nine/ten/eleven/twelve/thirteen/fourteen/fifteen/sixteen/seventeen
10014 tar -C out -xf archive.tar --exclude='*.txt' --warning=no-timestamp
10016 ) ) >"$at_stdout" 2>"$at_stderr"
10020 at_func_diff_devnull "$at_stderr" || at_failed=:
10021 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
10023 $at_diff - "$at_stdout" || at_failed=:
10024 at_func_check_status 0 $at_status "$at_srcdir/exclude06.at:29"
10026 $at_failed && at_func_log_failure
10033 $at_times_p && times >"$at_times_file"
10034 ) 5>&1 2>&1 | eval $at_tee_pipe
10035 at_status=`cat "$at_status_file"`
10038 # 21. delete01.at:23: deleting a member after a big one
10039 at_setup_line='delete01.at:23'
10040 at_desc="deleting a member after a big one"
10041 $at_quiet $as_echo_n " 21: $at_desc "
10043 test -f $XFAILFILE && at_xfail=yes
10044 echo "# -*- compilation -*-" >> "$at_group_log"
10046 $as_echo "21. delete01.at:23: testing ..."
10054 $as_echo "$at_srcdir/delete01.at:26:
10058 export TEST_TAR_FORMAT
10059 TAR_OPTIONS=\"-H v7\"
10063 genfile -l 50000 --file file1
10064 genfile -l 1024 --file file2
10065 tar cf archive file1 file2
10066 tar f archive --delete file2
10068 echo delete01.at:26 >"$at_check_line_file"
10070 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10076 export TEST_TAR_FORMAT
10077 TAR_OPTIONS="-H v7"
10081 genfile -l 50000 --file file1
10082 genfile -l 1024 --file file2
10083 tar cf archive file1 file2
10084 tar f archive --delete file2
10085 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10086 at_func_filter_trace $?
10092 export TEST_TAR_FORMAT
10093 TAR_OPTIONS="-H v7"
10097 genfile -l 50000 --file file1
10098 genfile -l 1024 --file file2
10099 tar cf archive file1 file2
10100 tar f archive --delete file2
10101 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10105 at_func_diff_devnull "$at_stderr" || at_failed=:
10106 echo >>"$at_stdout"; $as_echo "file1
10108 $at_diff - "$at_stdout" || at_failed=:
10109 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10111 $at_failed && at_func_log_failure
10115 $as_echo "$at_srcdir/delete01.at:26:
10118 TEST_TAR_FORMAT=oldgnu
10119 export TEST_TAR_FORMAT
10120 TAR_OPTIONS=\"-H oldgnu\"
10124 genfile -l 50000 --file file1
10125 genfile -l 1024 --file file2
10126 tar cf archive file1 file2
10127 tar f archive --delete file2
10129 echo delete01.at:26 >"$at_check_line_file"
10131 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10136 TEST_TAR_FORMAT=oldgnu
10137 export TEST_TAR_FORMAT
10138 TAR_OPTIONS="-H oldgnu"
10142 genfile -l 50000 --file file1
10143 genfile -l 1024 --file file2
10144 tar cf archive file1 file2
10145 tar f archive --delete file2
10146 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10147 at_func_filter_trace $?
10152 TEST_TAR_FORMAT=oldgnu
10153 export TEST_TAR_FORMAT
10154 TAR_OPTIONS="-H oldgnu"
10158 genfile -l 50000 --file file1
10159 genfile -l 1024 --file file2
10160 tar cf archive file1 file2
10161 tar f archive --delete file2
10162 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10166 at_func_diff_devnull "$at_stderr" || at_failed=:
10167 echo >>"$at_stdout"; $as_echo "file1
10169 $at_diff - "$at_stdout" || at_failed=:
10170 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10172 $at_failed && at_func_log_failure
10176 $as_echo "$at_srcdir/delete01.at:26:
10179 TEST_TAR_FORMAT=ustar
10180 export TEST_TAR_FORMAT
10181 TAR_OPTIONS=\"-H ustar\"
10185 genfile -l 50000 --file file1
10186 genfile -l 1024 --file file2
10187 tar cf archive file1 file2
10188 tar f archive --delete file2
10190 echo delete01.at:26 >"$at_check_line_file"
10192 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10197 TEST_TAR_FORMAT=ustar
10198 export TEST_TAR_FORMAT
10199 TAR_OPTIONS="-H ustar"
10203 genfile -l 50000 --file file1
10204 genfile -l 1024 --file file2
10205 tar cf archive file1 file2
10206 tar f archive --delete file2
10207 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10208 at_func_filter_trace $?
10213 TEST_TAR_FORMAT=ustar
10214 export TEST_TAR_FORMAT
10215 TAR_OPTIONS="-H ustar"
10219 genfile -l 50000 --file file1
10220 genfile -l 1024 --file file2
10221 tar cf archive file1 file2
10222 tar f archive --delete file2
10223 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10227 at_func_diff_devnull "$at_stderr" || at_failed=:
10228 echo >>"$at_stdout"; $as_echo "file1
10230 $at_diff - "$at_stdout" || at_failed=:
10231 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10233 $at_failed && at_func_log_failure
10237 $as_echo "$at_srcdir/delete01.at:26:
10240 TEST_TAR_FORMAT=posix
10241 export TEST_TAR_FORMAT
10242 TAR_OPTIONS=\"-H posix\"
10246 genfile -l 50000 --file file1
10247 genfile -l 1024 --file file2
10248 tar cf archive file1 file2
10249 tar f archive --delete file2
10251 echo delete01.at:26 >"$at_check_line_file"
10253 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10258 TEST_TAR_FORMAT=posix
10259 export TEST_TAR_FORMAT
10260 TAR_OPTIONS="-H posix"
10264 genfile -l 50000 --file file1
10265 genfile -l 1024 --file file2
10266 tar cf archive file1 file2
10267 tar f archive --delete file2
10268 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10269 at_func_filter_trace $?
10274 TEST_TAR_FORMAT=posix
10275 export TEST_TAR_FORMAT
10276 TAR_OPTIONS="-H posix"
10280 genfile -l 50000 --file file1
10281 genfile -l 1024 --file file2
10282 tar cf archive file1 file2
10283 tar f archive --delete file2
10284 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10288 at_func_diff_devnull "$at_stderr" || at_failed=:
10289 echo >>"$at_stdout"; $as_echo "file1
10291 $at_diff - "$at_stdout" || at_failed=:
10292 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10294 $at_failed && at_func_log_failure
10298 $as_echo "$at_srcdir/delete01.at:26:
10301 TEST_TAR_FORMAT=gnu
10302 export TEST_TAR_FORMAT
10303 TAR_OPTIONS=\"-H gnu\"
10307 genfile -l 50000 --file file1
10308 genfile -l 1024 --file file2
10309 tar cf archive file1 file2
10310 tar f archive --delete file2
10312 echo delete01.at:26 >"$at_check_line_file"
10314 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10319 TEST_TAR_FORMAT=gnu
10320 export TEST_TAR_FORMAT
10321 TAR_OPTIONS="-H gnu"
10325 genfile -l 50000 --file file1
10326 genfile -l 1024 --file file2
10327 tar cf archive file1 file2
10328 tar f archive --delete file2
10329 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10330 at_func_filter_trace $?
10335 TEST_TAR_FORMAT=gnu
10336 export TEST_TAR_FORMAT
10337 TAR_OPTIONS="-H gnu"
10341 genfile -l 50000 --file file1
10342 genfile -l 1024 --file file2
10343 tar cf archive file1 file2
10344 tar f archive --delete file2
10345 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10349 at_func_diff_devnull "$at_stderr" || at_failed=:
10350 echo >>"$at_stdout"; $as_echo "file1
10352 $at_diff - "$at_stdout" || at_failed=:
10353 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10355 $at_failed && at_func_log_failure
10362 $at_times_p && times >"$at_times_file"
10363 ) 5>&1 2>&1 | eval $at_tee_pipe
10364 at_status=`cat "$at_status_file"`
10367 # 22. delete02.at:23: deleting a member from stdin archive
10368 at_setup_line='delete02.at:23'
10369 at_desc="deleting a member from stdin archive"
10370 $at_quiet $as_echo_n " 22: $at_desc "
10372 test -f $XFAILFILE && at_xfail=yes
10373 echo "# -*- compilation -*-" >> "$at_group_log"
10375 $as_echo "22. delete02.at:23: testing ..."
10383 $as_echo "$at_srcdir/delete02.at:26:
10387 export TEST_TAR_FORMAT
10388 TAR_OPTIONS=\"-H v7\"
10392 genfile -l 3073 -p zeros --file 1
10395 tar cf archive 1 2 3
10397 cat archive | tar f - --delete 2 > archive2
10400 echo delete02.at:26 >"$at_check_line_file"
10402 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10408 export TEST_TAR_FORMAT
10409 TAR_OPTIONS="-H v7"
10413 genfile -l 3073 -p zeros --file 1
10416 tar cf archive 1 2 3
10418 cat archive | tar f - --delete 2 > archive2
10420 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10421 at_func_filter_trace $?
10427 export TEST_TAR_FORMAT
10428 TAR_OPTIONS="-H v7"
10432 genfile -l 3073 -p zeros --file 1
10435 tar cf archive 1 2 3
10437 cat archive | tar f - --delete 2 > archive2
10439 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10443 at_func_diff_devnull "$at_stderr" || at_failed=:
10444 echo >>"$at_stdout"; $as_echo "1
10451 $at_diff - "$at_stdout" || at_failed=:
10452 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10454 $at_failed && at_func_log_failure
10458 $as_echo "$at_srcdir/delete02.at:26:
10461 TEST_TAR_FORMAT=oldgnu
10462 export TEST_TAR_FORMAT
10463 TAR_OPTIONS=\"-H oldgnu\"
10467 genfile -l 3073 -p zeros --file 1
10470 tar cf archive 1 2 3
10472 cat archive | tar f - --delete 2 > archive2
10475 echo delete02.at:26 >"$at_check_line_file"
10477 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10482 TEST_TAR_FORMAT=oldgnu
10483 export TEST_TAR_FORMAT
10484 TAR_OPTIONS="-H oldgnu"
10488 genfile -l 3073 -p zeros --file 1
10491 tar cf archive 1 2 3
10493 cat archive | tar f - --delete 2 > archive2
10495 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10496 at_func_filter_trace $?
10501 TEST_TAR_FORMAT=oldgnu
10502 export TEST_TAR_FORMAT
10503 TAR_OPTIONS="-H oldgnu"
10507 genfile -l 3073 -p zeros --file 1
10510 tar cf archive 1 2 3
10512 cat archive | tar f - --delete 2 > archive2
10514 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10518 at_func_diff_devnull "$at_stderr" || at_failed=:
10519 echo >>"$at_stdout"; $as_echo "1
10526 $at_diff - "$at_stdout" || at_failed=:
10527 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10529 $at_failed && at_func_log_failure
10533 $as_echo "$at_srcdir/delete02.at:26:
10536 TEST_TAR_FORMAT=ustar
10537 export TEST_TAR_FORMAT
10538 TAR_OPTIONS=\"-H ustar\"
10542 genfile -l 3073 -p zeros --file 1
10545 tar cf archive 1 2 3
10547 cat archive | tar f - --delete 2 > archive2
10550 echo delete02.at:26 >"$at_check_line_file"
10552 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10557 TEST_TAR_FORMAT=ustar
10558 export TEST_TAR_FORMAT
10559 TAR_OPTIONS="-H ustar"
10563 genfile -l 3073 -p zeros --file 1
10566 tar cf archive 1 2 3
10568 cat archive | tar f - --delete 2 > archive2
10570 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10571 at_func_filter_trace $?
10576 TEST_TAR_FORMAT=ustar
10577 export TEST_TAR_FORMAT
10578 TAR_OPTIONS="-H ustar"
10582 genfile -l 3073 -p zeros --file 1
10585 tar cf archive 1 2 3
10587 cat archive | tar f - --delete 2 > archive2
10589 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10593 at_func_diff_devnull "$at_stderr" || at_failed=:
10594 echo >>"$at_stdout"; $as_echo "1
10601 $at_diff - "$at_stdout" || at_failed=:
10602 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10604 $at_failed && at_func_log_failure
10608 $as_echo "$at_srcdir/delete02.at:26:
10611 TEST_TAR_FORMAT=posix
10612 export TEST_TAR_FORMAT
10613 TAR_OPTIONS=\"-H posix\"
10617 genfile -l 3073 -p zeros --file 1
10620 tar cf archive 1 2 3
10622 cat archive | tar f - --delete 2 > archive2
10625 echo delete02.at:26 >"$at_check_line_file"
10627 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10632 TEST_TAR_FORMAT=posix
10633 export TEST_TAR_FORMAT
10634 TAR_OPTIONS="-H posix"
10638 genfile -l 3073 -p zeros --file 1
10641 tar cf archive 1 2 3
10643 cat archive | tar f - --delete 2 > archive2
10645 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10646 at_func_filter_trace $?
10651 TEST_TAR_FORMAT=posix
10652 export TEST_TAR_FORMAT
10653 TAR_OPTIONS="-H posix"
10657 genfile -l 3073 -p zeros --file 1
10660 tar cf archive 1 2 3
10662 cat archive | tar f - --delete 2 > archive2
10664 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10668 at_func_diff_devnull "$at_stderr" || at_failed=:
10669 echo >>"$at_stdout"; $as_echo "1
10676 $at_diff - "$at_stdout" || at_failed=:
10677 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10679 $at_failed && at_func_log_failure
10683 $as_echo "$at_srcdir/delete02.at:26:
10686 TEST_TAR_FORMAT=gnu
10687 export TEST_TAR_FORMAT
10688 TAR_OPTIONS=\"-H gnu\"
10692 genfile -l 3073 -p zeros --file 1
10695 tar cf archive 1 2 3
10697 cat archive | tar f - --delete 2 > archive2
10700 echo delete02.at:26 >"$at_check_line_file"
10702 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10707 TEST_TAR_FORMAT=gnu
10708 export TEST_TAR_FORMAT
10709 TAR_OPTIONS="-H gnu"
10713 genfile -l 3073 -p zeros --file 1
10716 tar cf archive 1 2 3
10718 cat archive | tar f - --delete 2 > archive2
10720 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10721 at_func_filter_trace $?
10726 TEST_TAR_FORMAT=gnu
10727 export TEST_TAR_FORMAT
10728 TAR_OPTIONS="-H gnu"
10732 genfile -l 3073 -p zeros --file 1
10735 tar cf archive 1 2 3
10737 cat archive | tar f - --delete 2 > archive2
10739 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10743 at_func_diff_devnull "$at_stderr" || at_failed=:
10744 echo >>"$at_stdout"; $as_echo "1
10751 $at_diff - "$at_stdout" || at_failed=:
10752 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10754 $at_failed && at_func_log_failure
10761 $at_times_p && times >"$at_times_file"
10762 ) 5>&1 2>&1 | eval $at_tee_pipe
10763 at_status=`cat "$at_status_file"`
10766 # 23. delete03.at:21: deleting members with long names
10767 at_setup_line='delete03.at:21'
10768 at_desc="deleting members with long names"
10769 $at_quiet $as_echo_n " 23: $at_desc "
10771 test -f $XFAILFILE && at_xfail=yes
10772 echo "# -*- compilation -*-" >> "$at_group_log"
10774 $as_echo "23. delete03.at:21: testing ..."
10784 $as_echo "$at_srcdir/delete03.at:26:
10787 TEST_TAR_FORMAT=gnu
10788 export TEST_TAR_FORMAT
10789 TAR_OPTIONS=\"-H gnu\"
10794 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
10796 for i in 1 2 3 4 5 6 7 8 9
10797 do touch \$prefix\$i
10799 tar -cf archive ./\$prefix* &&
10800 tar --delete -f archive ./\${prefix}5 &&
10803 echo delete03.at:26 >"$at_check_line_file"
10805 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10810 TEST_TAR_FORMAT=gnu
10811 export TEST_TAR_FORMAT
10812 TAR_OPTIONS="-H gnu"
10817 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
10819 for i in 1 2 3 4 5 6 7 8 9
10822 tar -cf archive ./$prefix* &&
10823 tar --delete -f archive ./${prefix}5 &&
10825 ) ) >"$at_stdout" 2>"$at_stder1"
10826 at_func_filter_trace $?
10831 TEST_TAR_FORMAT=gnu
10832 export TEST_TAR_FORMAT
10833 TAR_OPTIONS="-H gnu"
10838 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
10840 for i in 1 2 3 4 5 6 7 8 9
10843 tar -cf archive ./$prefix* &&
10844 tar --delete -f archive ./${prefix}5 &&
10846 ) ) >"$at_stdout" 2>"$at_stderr"
10850 at_func_diff_devnull "$at_stderr" || at_failed=:
10851 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
10852 ./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
10853 ./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
10854 ./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
10855 ./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
10856 ./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
10857 ./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
10858 ./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
10860 $at_diff - "$at_stdout" || at_failed=:
10861 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
10863 $at_failed && at_func_log_failure
10867 $as_echo "$at_srcdir/delete03.at:26:
10870 TEST_TAR_FORMAT=oldgnu
10871 export TEST_TAR_FORMAT
10872 TAR_OPTIONS=\"-H oldgnu\"
10877 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
10879 for i in 1 2 3 4 5 6 7 8 9
10880 do touch \$prefix\$i
10882 tar -cf archive ./\$prefix* &&
10883 tar --delete -f archive ./\${prefix}5 &&
10886 echo delete03.at:26 >"$at_check_line_file"
10888 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10893 TEST_TAR_FORMAT=oldgnu
10894 export TEST_TAR_FORMAT
10895 TAR_OPTIONS="-H oldgnu"
10900 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
10902 for i in 1 2 3 4 5 6 7 8 9
10905 tar -cf archive ./$prefix* &&
10906 tar --delete -f archive ./${prefix}5 &&
10908 ) ) >"$at_stdout" 2>"$at_stder1"
10909 at_func_filter_trace $?
10914 TEST_TAR_FORMAT=oldgnu
10915 export TEST_TAR_FORMAT
10916 TAR_OPTIONS="-H oldgnu"
10921 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
10923 for i in 1 2 3 4 5 6 7 8 9
10926 tar -cf archive ./$prefix* &&
10927 tar --delete -f archive ./${prefix}5 &&
10929 ) ) >"$at_stdout" 2>"$at_stderr"
10933 at_func_diff_devnull "$at_stderr" || at_failed=:
10934 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
10935 ./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
10936 ./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
10937 ./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
10938 ./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
10939 ./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
10940 ./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
10941 ./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
10943 $at_diff - "$at_stdout" || at_failed=:
10944 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
10946 $at_failed && at_func_log_failure
10950 $as_echo "$at_srcdir/delete03.at:26:
10953 TEST_TAR_FORMAT=posix
10954 export TEST_TAR_FORMAT
10955 TAR_OPTIONS=\"-H posix\"
10960 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
10962 for i in 1 2 3 4 5 6 7 8 9
10963 do touch \$prefix\$i
10965 tar -cf archive ./\$prefix* &&
10966 tar --delete -f archive ./\${prefix}5 &&
10969 echo delete03.at:26 >"$at_check_line_file"
10971 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10976 TEST_TAR_FORMAT=posix
10977 export TEST_TAR_FORMAT
10978 TAR_OPTIONS="-H posix"
10983 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
10985 for i in 1 2 3 4 5 6 7 8 9
10988 tar -cf archive ./$prefix* &&
10989 tar --delete -f archive ./${prefix}5 &&
10991 ) ) >"$at_stdout" 2>"$at_stder1"
10992 at_func_filter_trace $?
10997 TEST_TAR_FORMAT=posix
10998 export TEST_TAR_FORMAT
10999 TAR_OPTIONS="-H posix"
11004 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
11006 for i in 1 2 3 4 5 6 7 8 9
11009 tar -cf archive ./$prefix* &&
11010 tar --delete -f archive ./${prefix}5 &&
11012 ) ) >"$at_stdout" 2>"$at_stderr"
11016 at_func_diff_devnull "$at_stderr" || at_failed=:
11017 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
11018 ./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
11019 ./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
11020 ./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
11021 ./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
11022 ./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
11023 ./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
11024 ./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
11026 $at_diff - "$at_stdout" || at_failed=:
11027 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
11029 $at_failed && at_func_log_failure
11036 $at_times_p && times >"$at_times_file"
11037 ) 5>&1 2>&1 | eval $at_tee_pipe
11038 at_status=`cat "$at_status_file"`
11041 # 24. delete04.at:23: deleting a large last member
11042 at_setup_line='delete04.at:23'
11043 at_desc="deleting a large last member"
11044 $at_quiet $as_echo_n " 24: $at_desc "
11046 test -f $XFAILFILE && at_xfail=yes
11047 echo "# -*- compilation -*-" >> "$at_group_log"
11049 $as_echo "24. delete04.at:23: testing ..."
11057 $as_echo "$at_srcdir/delete04.at:26:
11061 export TEST_TAR_FORMAT
11062 TAR_OPTIONS=\"-H v7\"
11066 genfile -l 3 -f file1
11067 genfile -l 5 -f file2
11068 genfile -l 3 -f file3
11069 genfile -l 6 -f file4
11070 genfile -l 24 -f file5
11071 genfile -l 13 -f file6
11072 genfile -l 1385 -f file7
11073 genfile -l 30 -f file8
11074 genfile -l 10 -f file9
11075 genfile -l 256000 -f file10
11076 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11077 tar f archive --delete file10
11080 echo delete04.at:26 >"$at_check_line_file"
11082 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11088 export TEST_TAR_FORMAT
11089 TAR_OPTIONS="-H v7"
11093 genfile -l 3 -f file1
11094 genfile -l 5 -f file2
11095 genfile -l 3 -f file3
11096 genfile -l 6 -f file4
11097 genfile -l 24 -f file5
11098 genfile -l 13 -f file6
11099 genfile -l 1385 -f file7
11100 genfile -l 30 -f file8
11101 genfile -l 10 -f file9
11102 genfile -l 256000 -f file10
11103 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11104 tar f archive --delete file10
11106 ) ) >"$at_stdout" 2>"$at_stder1"
11107 at_func_filter_trace $?
11113 export TEST_TAR_FORMAT
11114 TAR_OPTIONS="-H v7"
11118 genfile -l 3 -f file1
11119 genfile -l 5 -f file2
11120 genfile -l 3 -f file3
11121 genfile -l 6 -f file4
11122 genfile -l 24 -f file5
11123 genfile -l 13 -f file6
11124 genfile -l 1385 -f file7
11125 genfile -l 30 -f file8
11126 genfile -l 10 -f file9
11127 genfile -l 256000 -f file10
11128 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11129 tar f archive --delete file10
11131 ) ) >"$at_stdout" 2>"$at_stderr"
11135 at_func_diff_devnull "$at_stderr" || at_failed=:
11136 echo >>"$at_stdout"; $as_echo "file1
11146 $at_diff - "$at_stdout" || at_failed=:
11147 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11149 $at_failed && at_func_log_failure
11153 $as_echo "$at_srcdir/delete04.at:26:
11156 TEST_TAR_FORMAT=oldgnu
11157 export TEST_TAR_FORMAT
11158 TAR_OPTIONS=\"-H oldgnu\"
11162 genfile -l 3 -f file1
11163 genfile -l 5 -f file2
11164 genfile -l 3 -f file3
11165 genfile -l 6 -f file4
11166 genfile -l 24 -f file5
11167 genfile -l 13 -f file6
11168 genfile -l 1385 -f file7
11169 genfile -l 30 -f file8
11170 genfile -l 10 -f file9
11171 genfile -l 256000 -f file10
11172 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11173 tar f archive --delete file10
11176 echo delete04.at:26 >"$at_check_line_file"
11178 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11183 TEST_TAR_FORMAT=oldgnu
11184 export TEST_TAR_FORMAT
11185 TAR_OPTIONS="-H oldgnu"
11189 genfile -l 3 -f file1
11190 genfile -l 5 -f file2
11191 genfile -l 3 -f file3
11192 genfile -l 6 -f file4
11193 genfile -l 24 -f file5
11194 genfile -l 13 -f file6
11195 genfile -l 1385 -f file7
11196 genfile -l 30 -f file8
11197 genfile -l 10 -f file9
11198 genfile -l 256000 -f file10
11199 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11200 tar f archive --delete file10
11202 ) ) >"$at_stdout" 2>"$at_stder1"
11203 at_func_filter_trace $?
11208 TEST_TAR_FORMAT=oldgnu
11209 export TEST_TAR_FORMAT
11210 TAR_OPTIONS="-H oldgnu"
11214 genfile -l 3 -f file1
11215 genfile -l 5 -f file2
11216 genfile -l 3 -f file3
11217 genfile -l 6 -f file4
11218 genfile -l 24 -f file5
11219 genfile -l 13 -f file6
11220 genfile -l 1385 -f file7
11221 genfile -l 30 -f file8
11222 genfile -l 10 -f file9
11223 genfile -l 256000 -f file10
11224 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11225 tar f archive --delete file10
11227 ) ) >"$at_stdout" 2>"$at_stderr"
11231 at_func_diff_devnull "$at_stderr" || at_failed=:
11232 echo >>"$at_stdout"; $as_echo "file1
11242 $at_diff - "$at_stdout" || at_failed=:
11243 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11245 $at_failed && at_func_log_failure
11249 $as_echo "$at_srcdir/delete04.at:26:
11252 TEST_TAR_FORMAT=ustar
11253 export TEST_TAR_FORMAT
11254 TAR_OPTIONS=\"-H ustar\"
11258 genfile -l 3 -f file1
11259 genfile -l 5 -f file2
11260 genfile -l 3 -f file3
11261 genfile -l 6 -f file4
11262 genfile -l 24 -f file5
11263 genfile -l 13 -f file6
11264 genfile -l 1385 -f file7
11265 genfile -l 30 -f file8
11266 genfile -l 10 -f file9
11267 genfile -l 256000 -f file10
11268 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11269 tar f archive --delete file10
11272 echo delete04.at:26 >"$at_check_line_file"
11274 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11279 TEST_TAR_FORMAT=ustar
11280 export TEST_TAR_FORMAT
11281 TAR_OPTIONS="-H ustar"
11285 genfile -l 3 -f file1
11286 genfile -l 5 -f file2
11287 genfile -l 3 -f file3
11288 genfile -l 6 -f file4
11289 genfile -l 24 -f file5
11290 genfile -l 13 -f file6
11291 genfile -l 1385 -f file7
11292 genfile -l 30 -f file8
11293 genfile -l 10 -f file9
11294 genfile -l 256000 -f file10
11295 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11296 tar f archive --delete file10
11298 ) ) >"$at_stdout" 2>"$at_stder1"
11299 at_func_filter_trace $?
11304 TEST_TAR_FORMAT=ustar
11305 export TEST_TAR_FORMAT
11306 TAR_OPTIONS="-H ustar"
11310 genfile -l 3 -f file1
11311 genfile -l 5 -f file2
11312 genfile -l 3 -f file3
11313 genfile -l 6 -f file4
11314 genfile -l 24 -f file5
11315 genfile -l 13 -f file6
11316 genfile -l 1385 -f file7
11317 genfile -l 30 -f file8
11318 genfile -l 10 -f file9
11319 genfile -l 256000 -f file10
11320 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11321 tar f archive --delete file10
11323 ) ) >"$at_stdout" 2>"$at_stderr"
11327 at_func_diff_devnull "$at_stderr" || at_failed=:
11328 echo >>"$at_stdout"; $as_echo "file1
11338 $at_diff - "$at_stdout" || at_failed=:
11339 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11341 $at_failed && at_func_log_failure
11345 $as_echo "$at_srcdir/delete04.at:26:
11348 TEST_TAR_FORMAT=posix
11349 export TEST_TAR_FORMAT
11350 TAR_OPTIONS=\"-H posix\"
11354 genfile -l 3 -f file1
11355 genfile -l 5 -f file2
11356 genfile -l 3 -f file3
11357 genfile -l 6 -f file4
11358 genfile -l 24 -f file5
11359 genfile -l 13 -f file6
11360 genfile -l 1385 -f file7
11361 genfile -l 30 -f file8
11362 genfile -l 10 -f file9
11363 genfile -l 256000 -f file10
11364 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11365 tar f archive --delete file10
11368 echo delete04.at:26 >"$at_check_line_file"
11370 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11375 TEST_TAR_FORMAT=posix
11376 export TEST_TAR_FORMAT
11377 TAR_OPTIONS="-H posix"
11381 genfile -l 3 -f file1
11382 genfile -l 5 -f file2
11383 genfile -l 3 -f file3
11384 genfile -l 6 -f file4
11385 genfile -l 24 -f file5
11386 genfile -l 13 -f file6
11387 genfile -l 1385 -f file7
11388 genfile -l 30 -f file8
11389 genfile -l 10 -f file9
11390 genfile -l 256000 -f file10
11391 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11392 tar f archive --delete file10
11394 ) ) >"$at_stdout" 2>"$at_stder1"
11395 at_func_filter_trace $?
11400 TEST_TAR_FORMAT=posix
11401 export TEST_TAR_FORMAT
11402 TAR_OPTIONS="-H posix"
11406 genfile -l 3 -f file1
11407 genfile -l 5 -f file2
11408 genfile -l 3 -f file3
11409 genfile -l 6 -f file4
11410 genfile -l 24 -f file5
11411 genfile -l 13 -f file6
11412 genfile -l 1385 -f file7
11413 genfile -l 30 -f file8
11414 genfile -l 10 -f file9
11415 genfile -l 256000 -f file10
11416 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11417 tar f archive --delete file10
11419 ) ) >"$at_stdout" 2>"$at_stderr"
11423 at_func_diff_devnull "$at_stderr" || at_failed=:
11424 echo >>"$at_stdout"; $as_echo "file1
11434 $at_diff - "$at_stdout" || at_failed=:
11435 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11437 $at_failed && at_func_log_failure
11441 $as_echo "$at_srcdir/delete04.at:26:
11444 TEST_TAR_FORMAT=gnu
11445 export TEST_TAR_FORMAT
11446 TAR_OPTIONS=\"-H gnu\"
11450 genfile -l 3 -f file1
11451 genfile -l 5 -f file2
11452 genfile -l 3 -f file3
11453 genfile -l 6 -f file4
11454 genfile -l 24 -f file5
11455 genfile -l 13 -f file6
11456 genfile -l 1385 -f file7
11457 genfile -l 30 -f file8
11458 genfile -l 10 -f file9
11459 genfile -l 256000 -f file10
11460 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11461 tar f archive --delete file10
11464 echo delete04.at:26 >"$at_check_line_file"
11466 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11471 TEST_TAR_FORMAT=gnu
11472 export TEST_TAR_FORMAT
11473 TAR_OPTIONS="-H gnu"
11477 genfile -l 3 -f file1
11478 genfile -l 5 -f file2
11479 genfile -l 3 -f file3
11480 genfile -l 6 -f file4
11481 genfile -l 24 -f file5
11482 genfile -l 13 -f file6
11483 genfile -l 1385 -f file7
11484 genfile -l 30 -f file8
11485 genfile -l 10 -f file9
11486 genfile -l 256000 -f file10
11487 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11488 tar f archive --delete file10
11490 ) ) >"$at_stdout" 2>"$at_stder1"
11491 at_func_filter_trace $?
11496 TEST_TAR_FORMAT=gnu
11497 export TEST_TAR_FORMAT
11498 TAR_OPTIONS="-H gnu"
11502 genfile -l 3 -f file1
11503 genfile -l 5 -f file2
11504 genfile -l 3 -f file3
11505 genfile -l 6 -f file4
11506 genfile -l 24 -f file5
11507 genfile -l 13 -f file6
11508 genfile -l 1385 -f file7
11509 genfile -l 30 -f file8
11510 genfile -l 10 -f file9
11511 genfile -l 256000 -f file10
11512 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11513 tar f archive --delete file10
11515 ) ) >"$at_stdout" 2>"$at_stderr"
11519 at_func_diff_devnull "$at_stderr" || at_failed=:
11520 echo >>"$at_stdout"; $as_echo "file1
11530 $at_diff - "$at_stdout" || at_failed=:
11531 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11533 $at_failed && at_func_log_failure
11540 $at_times_p && times >"$at_times_file"
11541 ) 5>&1 2>&1 | eval $at_tee_pipe
11542 at_status=`cat "$at_status_file"`
11545 # 25. delete05.at:27: deleting non-existing member
11546 at_setup_line='delete05.at:27'
11547 at_desc="deleting non-existing member"
11548 $at_quiet $as_echo_n " 25: $at_desc "
11550 test -f $XFAILFILE && at_xfail=yes
11551 echo "# -*- compilation -*-" >> "$at_group_log"
11553 $as_echo "25. delete05.at:27: testing ..."
11561 $as_echo "$at_srcdir/delete05.at:30:
11565 export TEST_TAR_FORMAT
11566 TAR_OPTIONS=\"-H v7\"
11570 genfile -l 1024 -f en
11571 genfile -l 1024 -f to
11573 tar cf archive en to
11574 # Make sure we don't use bogus blocking factor.
11575 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11576 tar --file archive --blocking-factor=20 --delete tre
11579 echo delete05.at:30 >"$at_check_line_file"
11581 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11587 export TEST_TAR_FORMAT
11588 TAR_OPTIONS="-H v7"
11592 genfile -l 1024 -f en
11593 genfile -l 1024 -f to
11595 tar cf archive en to
11596 # Make sure we don't use bogus blocking factor.
11597 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11598 tar --file archive --blocking-factor=20 --delete tre
11600 ) ) >"$at_stdout" 2>"$at_stder1"
11601 at_func_filter_trace $?
11607 export TEST_TAR_FORMAT
11608 TAR_OPTIONS="-H v7"
11612 genfile -l 1024 -f en
11613 genfile -l 1024 -f to
11615 tar cf archive en to
11616 # Make sure we don't use bogus blocking factor.
11617 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11618 tar --file archive --blocking-factor=20 --delete tre
11620 ) ) >"$at_stdout" 2>"$at_stderr"
11624 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11625 tar: Exiting with failure status due to previous errors
11627 $at_diff - "$at_stderr" || at_failed=:
11628 echo >>"$at_stdout"; $as_echo "en
11631 $at_diff - "$at_stdout" || at_failed=:
11632 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11634 $at_failed && at_func_log_failure
11638 $as_echo "$at_srcdir/delete05.at:30:
11641 TEST_TAR_FORMAT=oldgnu
11642 export TEST_TAR_FORMAT
11643 TAR_OPTIONS=\"-H oldgnu\"
11647 genfile -l 1024 -f en
11648 genfile -l 1024 -f to
11650 tar cf archive en to
11651 # Make sure we don't use bogus blocking factor.
11652 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11653 tar --file archive --blocking-factor=20 --delete tre
11656 echo delete05.at:30 >"$at_check_line_file"
11658 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11663 TEST_TAR_FORMAT=oldgnu
11664 export TEST_TAR_FORMAT
11665 TAR_OPTIONS="-H oldgnu"
11669 genfile -l 1024 -f en
11670 genfile -l 1024 -f to
11672 tar cf archive en to
11673 # Make sure we don't use bogus blocking factor.
11674 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11675 tar --file archive --blocking-factor=20 --delete tre
11677 ) ) >"$at_stdout" 2>"$at_stder1"
11678 at_func_filter_trace $?
11683 TEST_TAR_FORMAT=oldgnu
11684 export TEST_TAR_FORMAT
11685 TAR_OPTIONS="-H oldgnu"
11689 genfile -l 1024 -f en
11690 genfile -l 1024 -f to
11692 tar cf archive en to
11693 # Make sure we don't use bogus blocking factor.
11694 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11695 tar --file archive --blocking-factor=20 --delete tre
11697 ) ) >"$at_stdout" 2>"$at_stderr"
11701 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11702 tar: Exiting with failure status due to previous errors
11704 $at_diff - "$at_stderr" || at_failed=:
11705 echo >>"$at_stdout"; $as_echo "en
11708 $at_diff - "$at_stdout" || at_failed=:
11709 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11711 $at_failed && at_func_log_failure
11715 $as_echo "$at_srcdir/delete05.at:30:
11718 TEST_TAR_FORMAT=ustar
11719 export TEST_TAR_FORMAT
11720 TAR_OPTIONS=\"-H ustar\"
11724 genfile -l 1024 -f en
11725 genfile -l 1024 -f to
11727 tar cf archive en to
11728 # Make sure we don't use bogus blocking factor.
11729 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11730 tar --file archive --blocking-factor=20 --delete tre
11733 echo delete05.at:30 >"$at_check_line_file"
11735 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11740 TEST_TAR_FORMAT=ustar
11741 export TEST_TAR_FORMAT
11742 TAR_OPTIONS="-H ustar"
11746 genfile -l 1024 -f en
11747 genfile -l 1024 -f to
11749 tar cf archive en to
11750 # Make sure we don't use bogus blocking factor.
11751 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11752 tar --file archive --blocking-factor=20 --delete tre
11754 ) ) >"$at_stdout" 2>"$at_stder1"
11755 at_func_filter_trace $?
11760 TEST_TAR_FORMAT=ustar
11761 export TEST_TAR_FORMAT
11762 TAR_OPTIONS="-H ustar"
11766 genfile -l 1024 -f en
11767 genfile -l 1024 -f to
11769 tar cf archive en to
11770 # Make sure we don't use bogus blocking factor.
11771 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11772 tar --file archive --blocking-factor=20 --delete tre
11774 ) ) >"$at_stdout" 2>"$at_stderr"
11778 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11779 tar: Exiting with failure status due to previous errors
11781 $at_diff - "$at_stderr" || at_failed=:
11782 echo >>"$at_stdout"; $as_echo "en
11785 $at_diff - "$at_stdout" || at_failed=:
11786 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11788 $at_failed && at_func_log_failure
11792 $as_echo "$at_srcdir/delete05.at:30:
11795 TEST_TAR_FORMAT=posix
11796 export TEST_TAR_FORMAT
11797 TAR_OPTIONS=\"-H posix\"
11801 genfile -l 1024 -f en
11802 genfile -l 1024 -f to
11804 tar cf archive en to
11805 # Make sure we don't use bogus blocking factor.
11806 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11807 tar --file archive --blocking-factor=20 --delete tre
11810 echo delete05.at:30 >"$at_check_line_file"
11812 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11817 TEST_TAR_FORMAT=posix
11818 export TEST_TAR_FORMAT
11819 TAR_OPTIONS="-H posix"
11823 genfile -l 1024 -f en
11824 genfile -l 1024 -f to
11826 tar cf archive en to
11827 # Make sure we don't use bogus blocking factor.
11828 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11829 tar --file archive --blocking-factor=20 --delete tre
11831 ) ) >"$at_stdout" 2>"$at_stder1"
11832 at_func_filter_trace $?
11837 TEST_TAR_FORMAT=posix
11838 export TEST_TAR_FORMAT
11839 TAR_OPTIONS="-H posix"
11843 genfile -l 1024 -f en
11844 genfile -l 1024 -f to
11846 tar cf archive en to
11847 # Make sure we don't use bogus blocking factor.
11848 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11849 tar --file archive --blocking-factor=20 --delete tre
11851 ) ) >"$at_stdout" 2>"$at_stderr"
11855 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11856 tar: Exiting with failure status due to previous errors
11858 $at_diff - "$at_stderr" || at_failed=:
11859 echo >>"$at_stdout"; $as_echo "en
11862 $at_diff - "$at_stdout" || at_failed=:
11863 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11865 $at_failed && at_func_log_failure
11869 $as_echo "$at_srcdir/delete05.at:30:
11872 TEST_TAR_FORMAT=gnu
11873 export TEST_TAR_FORMAT
11874 TAR_OPTIONS=\"-H gnu\"
11878 genfile -l 1024 -f en
11879 genfile -l 1024 -f to
11881 tar cf archive en to
11882 # Make sure we don't use bogus blocking factor.
11883 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11884 tar --file archive --blocking-factor=20 --delete tre
11887 echo delete05.at:30 >"$at_check_line_file"
11889 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11894 TEST_TAR_FORMAT=gnu
11895 export TEST_TAR_FORMAT
11896 TAR_OPTIONS="-H gnu"
11900 genfile -l 1024 -f en
11901 genfile -l 1024 -f to
11903 tar cf archive en to
11904 # Make sure we don't use bogus blocking factor.
11905 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11906 tar --file archive --blocking-factor=20 --delete tre
11908 ) ) >"$at_stdout" 2>"$at_stder1"
11909 at_func_filter_trace $?
11914 TEST_TAR_FORMAT=gnu
11915 export TEST_TAR_FORMAT
11916 TAR_OPTIONS="-H gnu"
11920 genfile -l 1024 -f en
11921 genfile -l 1024 -f to
11923 tar cf archive en to
11924 # Make sure we don't use bogus blocking factor.
11925 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11926 tar --file archive --blocking-factor=20 --delete tre
11928 ) ) >"$at_stdout" 2>"$at_stderr"
11932 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11933 tar: Exiting with failure status due to previous errors
11935 $at_diff - "$at_stderr" || at_failed=:
11936 echo >>"$at_stdout"; $as_echo "en
11939 $at_diff - "$at_stdout" || at_failed=:
11940 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11942 $at_failed && at_func_log_failure
11949 $at_times_p && times >"$at_times_file"
11950 ) 5>&1 2>&1 | eval $at_tee_pipe
11951 at_status=`cat "$at_status_file"`
11954 # 26. extrac01.at:23: extract over an existing directory
11955 at_setup_line='extrac01.at:23'
11956 at_desc="extract over an existing directory"
11957 $at_quiet $as_echo_n " 26: $at_desc "
11959 test -f $XFAILFILE && at_xfail=yes
11960 echo "# -*- compilation -*-" >> "$at_group_log"
11962 $as_echo "26. extrac01.at:23: testing ..."
11970 $as_echo "$at_srcdir/extrac01.at:26:
11974 export TEST_TAR_FORMAT
11975 TAR_OPTIONS=\"-H v7\"
11980 touch directory/file
11981 tar cf archive directory || exit 1
11982 tar xf archive --warning=no-timestamp || exit 1
11984 echo extrac01.at:26 >"$at_check_line_file"
11986 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11992 export TEST_TAR_FORMAT
11993 TAR_OPTIONS="-H v7"
11998 touch directory/file
11999 tar cf archive directory || exit 1
12000 tar xf archive --warning=no-timestamp || exit 1
12001 ) ) >"$at_stdout" 2>"$at_stder1"
12002 at_func_filter_trace $?
12008 export TEST_TAR_FORMAT
12009 TAR_OPTIONS="-H v7"
12014 touch directory/file
12015 tar cf archive directory || exit 1
12016 tar xf archive --warning=no-timestamp || exit 1
12017 ) ) >"$at_stdout" 2>"$at_stderr"
12021 at_func_diff_devnull "$at_stderr" || at_failed=:
12022 at_func_diff_devnull "$at_stdout" || at_failed=:
12023 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12025 $at_failed && at_func_log_failure
12029 $as_echo "$at_srcdir/extrac01.at:26:
12032 TEST_TAR_FORMAT=oldgnu
12033 export TEST_TAR_FORMAT
12034 TAR_OPTIONS=\"-H oldgnu\"
12039 touch directory/file
12040 tar cf archive directory || exit 1
12041 tar xf archive --warning=no-timestamp || exit 1
12043 echo extrac01.at:26 >"$at_check_line_file"
12045 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12050 TEST_TAR_FORMAT=oldgnu
12051 export TEST_TAR_FORMAT
12052 TAR_OPTIONS="-H oldgnu"
12057 touch directory/file
12058 tar cf archive directory || exit 1
12059 tar xf archive --warning=no-timestamp || exit 1
12060 ) ) >"$at_stdout" 2>"$at_stder1"
12061 at_func_filter_trace $?
12066 TEST_TAR_FORMAT=oldgnu
12067 export TEST_TAR_FORMAT
12068 TAR_OPTIONS="-H oldgnu"
12073 touch directory/file
12074 tar cf archive directory || exit 1
12075 tar xf archive --warning=no-timestamp || exit 1
12076 ) ) >"$at_stdout" 2>"$at_stderr"
12080 at_func_diff_devnull "$at_stderr" || at_failed=:
12081 at_func_diff_devnull "$at_stdout" || at_failed=:
12082 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12084 $at_failed && at_func_log_failure
12088 $as_echo "$at_srcdir/extrac01.at:26:
12091 TEST_TAR_FORMAT=ustar
12092 export TEST_TAR_FORMAT
12093 TAR_OPTIONS=\"-H ustar\"
12098 touch directory/file
12099 tar cf archive directory || exit 1
12100 tar xf archive --warning=no-timestamp || exit 1
12102 echo extrac01.at:26 >"$at_check_line_file"
12104 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12109 TEST_TAR_FORMAT=ustar
12110 export TEST_TAR_FORMAT
12111 TAR_OPTIONS="-H ustar"
12116 touch directory/file
12117 tar cf archive directory || exit 1
12118 tar xf archive --warning=no-timestamp || exit 1
12119 ) ) >"$at_stdout" 2>"$at_stder1"
12120 at_func_filter_trace $?
12125 TEST_TAR_FORMAT=ustar
12126 export TEST_TAR_FORMAT
12127 TAR_OPTIONS="-H ustar"
12132 touch directory/file
12133 tar cf archive directory || exit 1
12134 tar xf archive --warning=no-timestamp || exit 1
12135 ) ) >"$at_stdout" 2>"$at_stderr"
12139 at_func_diff_devnull "$at_stderr" || at_failed=:
12140 at_func_diff_devnull "$at_stdout" || at_failed=:
12141 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12143 $at_failed && at_func_log_failure
12147 $as_echo "$at_srcdir/extrac01.at:26:
12150 TEST_TAR_FORMAT=posix
12151 export TEST_TAR_FORMAT
12152 TAR_OPTIONS=\"-H posix\"
12157 touch directory/file
12158 tar cf archive directory || exit 1
12159 tar xf archive --warning=no-timestamp || exit 1
12161 echo extrac01.at:26 >"$at_check_line_file"
12163 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12168 TEST_TAR_FORMAT=posix
12169 export TEST_TAR_FORMAT
12170 TAR_OPTIONS="-H posix"
12175 touch directory/file
12176 tar cf archive directory || exit 1
12177 tar xf archive --warning=no-timestamp || exit 1
12178 ) ) >"$at_stdout" 2>"$at_stder1"
12179 at_func_filter_trace $?
12184 TEST_TAR_FORMAT=posix
12185 export TEST_TAR_FORMAT
12186 TAR_OPTIONS="-H posix"
12191 touch directory/file
12192 tar cf archive directory || exit 1
12193 tar xf archive --warning=no-timestamp || exit 1
12194 ) ) >"$at_stdout" 2>"$at_stderr"
12198 at_func_diff_devnull "$at_stderr" || at_failed=:
12199 at_func_diff_devnull "$at_stdout" || at_failed=:
12200 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12202 $at_failed && at_func_log_failure
12206 $as_echo "$at_srcdir/extrac01.at:26:
12209 TEST_TAR_FORMAT=gnu
12210 export TEST_TAR_FORMAT
12211 TAR_OPTIONS=\"-H gnu\"
12216 touch directory/file
12217 tar cf archive directory || exit 1
12218 tar xf archive --warning=no-timestamp || exit 1
12220 echo extrac01.at:26 >"$at_check_line_file"
12222 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12227 TEST_TAR_FORMAT=gnu
12228 export TEST_TAR_FORMAT
12229 TAR_OPTIONS="-H gnu"
12234 touch directory/file
12235 tar cf archive directory || exit 1
12236 tar xf archive --warning=no-timestamp || exit 1
12237 ) ) >"$at_stdout" 2>"$at_stder1"
12238 at_func_filter_trace $?
12243 TEST_TAR_FORMAT=gnu
12244 export TEST_TAR_FORMAT
12245 TAR_OPTIONS="-H gnu"
12250 touch directory/file
12251 tar cf archive directory || exit 1
12252 tar xf archive --warning=no-timestamp || exit 1
12253 ) ) >"$at_stdout" 2>"$at_stderr"
12257 at_func_diff_devnull "$at_stderr" || at_failed=:
12258 at_func_diff_devnull "$at_stdout" || at_failed=:
12259 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12261 $at_failed && at_func_log_failure
12268 $at_times_p && times >"$at_times_file"
12269 ) 5>&1 2>&1 | eval $at_tee_pipe
12270 at_status=`cat "$at_status_file"`
12273 # 27. extrac02.at:23: extracting symlinks over an existing file
12274 at_setup_line='extrac02.at:23'
12275 at_desc="extracting symlinks over an existing file"
12276 $at_quiet $as_echo_n " 27: $at_desc "
12278 test -f $XFAILFILE && at_xfail=yes
12279 echo "# -*- compilation -*-" >> "$at_group_log"
12281 $as_echo "27. extrac02.at:23: testing ..."
12286 # FIXME: Skip if symlinks are not supported on the system
12291 $as_echo "$at_srcdir/extrac02.at:28:
12295 export TEST_TAR_FORMAT
12296 TAR_OPTIONS=\"-H v7\"
12301 ln -s file link 2> /dev/null || ln file link
12302 tar cf archive link
12307 echo extrac02.at:28 >"$at_check_line_file"
12309 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12315 export TEST_TAR_FORMAT
12316 TAR_OPTIONS="-H v7"
12321 ln -s file link 2> /dev/null || ln file link
12322 tar cf archive link
12326 ) ) >"$at_stdout" 2>"$at_stder1"
12327 at_func_filter_trace $?
12333 export TEST_TAR_FORMAT
12334 TAR_OPTIONS="-H v7"
12339 ln -s file link 2> /dev/null || ln file link
12340 tar cf archive link
12344 ) ) >"$at_stdout" 2>"$at_stderr"
12348 at_func_diff_devnull "$at_stderr" || at_failed=:
12349 at_func_diff_devnull "$at_stdout" || at_failed=:
12350 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12352 $at_failed && at_func_log_failure
12356 $as_echo "$at_srcdir/extrac02.at:28:
12359 TEST_TAR_FORMAT=oldgnu
12360 export TEST_TAR_FORMAT
12361 TAR_OPTIONS=\"-H oldgnu\"
12366 ln -s file link 2> /dev/null || ln file link
12367 tar cf archive link
12372 echo extrac02.at:28 >"$at_check_line_file"
12374 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12379 TEST_TAR_FORMAT=oldgnu
12380 export TEST_TAR_FORMAT
12381 TAR_OPTIONS="-H oldgnu"
12386 ln -s file link 2> /dev/null || ln file link
12387 tar cf archive link
12391 ) ) >"$at_stdout" 2>"$at_stder1"
12392 at_func_filter_trace $?
12397 TEST_TAR_FORMAT=oldgnu
12398 export TEST_TAR_FORMAT
12399 TAR_OPTIONS="-H oldgnu"
12404 ln -s file link 2> /dev/null || ln file link
12405 tar cf archive link
12409 ) ) >"$at_stdout" 2>"$at_stderr"
12413 at_func_diff_devnull "$at_stderr" || at_failed=:
12414 at_func_diff_devnull "$at_stdout" || at_failed=:
12415 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12417 $at_failed && at_func_log_failure
12421 $as_echo "$at_srcdir/extrac02.at:28:
12424 TEST_TAR_FORMAT=ustar
12425 export TEST_TAR_FORMAT
12426 TAR_OPTIONS=\"-H ustar\"
12431 ln -s file link 2> /dev/null || ln file link
12432 tar cf archive link
12437 echo extrac02.at:28 >"$at_check_line_file"
12439 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12444 TEST_TAR_FORMAT=ustar
12445 export TEST_TAR_FORMAT
12446 TAR_OPTIONS="-H ustar"
12451 ln -s file link 2> /dev/null || ln file link
12452 tar cf archive link
12456 ) ) >"$at_stdout" 2>"$at_stder1"
12457 at_func_filter_trace $?
12462 TEST_TAR_FORMAT=ustar
12463 export TEST_TAR_FORMAT
12464 TAR_OPTIONS="-H ustar"
12469 ln -s file link 2> /dev/null || ln file link
12470 tar cf archive link
12474 ) ) >"$at_stdout" 2>"$at_stderr"
12478 at_func_diff_devnull "$at_stderr" || at_failed=:
12479 at_func_diff_devnull "$at_stdout" || at_failed=:
12480 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12482 $at_failed && at_func_log_failure
12486 $as_echo "$at_srcdir/extrac02.at:28:
12489 TEST_TAR_FORMAT=posix
12490 export TEST_TAR_FORMAT
12491 TAR_OPTIONS=\"-H posix\"
12496 ln -s file link 2> /dev/null || ln file link
12497 tar cf archive link
12502 echo extrac02.at:28 >"$at_check_line_file"
12504 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12509 TEST_TAR_FORMAT=posix
12510 export TEST_TAR_FORMAT
12511 TAR_OPTIONS="-H posix"
12516 ln -s file link 2> /dev/null || ln file link
12517 tar cf archive link
12521 ) ) >"$at_stdout" 2>"$at_stder1"
12522 at_func_filter_trace $?
12527 TEST_TAR_FORMAT=posix
12528 export TEST_TAR_FORMAT
12529 TAR_OPTIONS="-H posix"
12534 ln -s file link 2> /dev/null || ln file link
12535 tar cf archive link
12539 ) ) >"$at_stdout" 2>"$at_stderr"
12543 at_func_diff_devnull "$at_stderr" || at_failed=:
12544 at_func_diff_devnull "$at_stdout" || at_failed=:
12545 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12547 $at_failed && at_func_log_failure
12551 $as_echo "$at_srcdir/extrac02.at:28:
12554 TEST_TAR_FORMAT=gnu
12555 export TEST_TAR_FORMAT
12556 TAR_OPTIONS=\"-H gnu\"
12561 ln -s file link 2> /dev/null || ln file link
12562 tar cf archive link
12567 echo extrac02.at:28 >"$at_check_line_file"
12569 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12574 TEST_TAR_FORMAT=gnu
12575 export TEST_TAR_FORMAT
12576 TAR_OPTIONS="-H gnu"
12581 ln -s file link 2> /dev/null || ln file link
12582 tar cf archive link
12586 ) ) >"$at_stdout" 2>"$at_stder1"
12587 at_func_filter_trace $?
12592 TEST_TAR_FORMAT=gnu
12593 export TEST_TAR_FORMAT
12594 TAR_OPTIONS="-H gnu"
12599 ln -s file link 2> /dev/null || ln file link
12600 tar cf archive link
12604 ) ) >"$at_stdout" 2>"$at_stderr"
12608 at_func_diff_devnull "$at_stderr" || at_failed=:
12609 at_func_diff_devnull "$at_stdout" || at_failed=:
12610 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12612 $at_failed && at_func_log_failure
12619 $at_times_p && times >"$at_times_file"
12620 ) 5>&1 2>&1 | eval $at_tee_pipe
12621 at_status=`cat "$at_status_file"`
12624 # 28. extrac03.at:23: extraction loops
12625 at_setup_line='extrac03.at:23'
12626 at_desc="extraction loops"
12627 $at_quiet $as_echo_n " 28: $at_desc "
12629 test -f $XFAILFILE && at_xfail=yes
12630 echo "# -*- compilation -*-" >> "$at_group_log"
12632 $as_echo "28. extrac03.at:23: testing ..."
12640 $as_echo "$at_srcdir/extrac03.at:26:
12644 export TEST_TAR_FORMAT
12645 TAR_OPTIONS=\"-H v7\"
12650 tar -cPvf archive directory/../directory
12652 tar -xPvf archive --warning=no-timestamp)"
12653 echo extrac03.at:26 >"$at_check_line_file"
12655 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12661 export TEST_TAR_FORMAT
12662 TAR_OPTIONS="-H v7"
12667 tar -cPvf archive directory/../directory
12669 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stder1"
12670 at_func_filter_trace $?
12676 export TEST_TAR_FORMAT
12677 TAR_OPTIONS="-H v7"
12682 tar -cPvf archive directory/../directory
12684 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stderr"
12688 at_func_diff_devnull "$at_stderr" || at_failed=:
12689 echo >>"$at_stdout"; $as_echo "directory/../directory/
12691 directory/../directory/
12693 $at_diff - "$at_stdout" || at_failed=:
12694 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12696 $at_failed && at_func_log_failure
12700 $as_echo "$at_srcdir/extrac03.at:26:
12703 TEST_TAR_FORMAT=oldgnu
12704 export TEST_TAR_FORMAT
12705 TAR_OPTIONS=\"-H oldgnu\"
12710 tar -cPvf archive directory/../directory
12712 tar -xPvf archive --warning=no-timestamp)"
12713 echo extrac03.at:26 >"$at_check_line_file"
12715 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12720 TEST_TAR_FORMAT=oldgnu
12721 export TEST_TAR_FORMAT
12722 TAR_OPTIONS="-H oldgnu"
12727 tar -cPvf archive directory/../directory
12729 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stder1"
12730 at_func_filter_trace $?
12735 TEST_TAR_FORMAT=oldgnu
12736 export TEST_TAR_FORMAT
12737 TAR_OPTIONS="-H oldgnu"
12742 tar -cPvf archive directory/../directory
12744 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stderr"
12748 at_func_diff_devnull "$at_stderr" || at_failed=:
12749 echo >>"$at_stdout"; $as_echo "directory/../directory/
12751 directory/../directory/
12753 $at_diff - "$at_stdout" || at_failed=:
12754 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12756 $at_failed && at_func_log_failure
12760 $as_echo "$at_srcdir/extrac03.at:26:
12763 TEST_TAR_FORMAT=ustar
12764 export TEST_TAR_FORMAT
12765 TAR_OPTIONS=\"-H ustar\"
12770 tar -cPvf archive directory/../directory
12772 tar -xPvf archive --warning=no-timestamp)"
12773 echo extrac03.at:26 >"$at_check_line_file"
12775 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12780 TEST_TAR_FORMAT=ustar
12781 export TEST_TAR_FORMAT
12782 TAR_OPTIONS="-H ustar"
12787 tar -cPvf archive directory/../directory
12789 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stder1"
12790 at_func_filter_trace $?
12795 TEST_TAR_FORMAT=ustar
12796 export TEST_TAR_FORMAT
12797 TAR_OPTIONS="-H ustar"
12802 tar -cPvf archive directory/../directory
12804 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stderr"
12808 at_func_diff_devnull "$at_stderr" || at_failed=:
12809 echo >>"$at_stdout"; $as_echo "directory/../directory/
12811 directory/../directory/
12813 $at_diff - "$at_stdout" || at_failed=:
12814 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12816 $at_failed && at_func_log_failure
12820 $as_echo "$at_srcdir/extrac03.at:26:
12823 TEST_TAR_FORMAT=posix
12824 export TEST_TAR_FORMAT
12825 TAR_OPTIONS=\"-H posix\"
12830 tar -cPvf archive directory/../directory
12832 tar -xPvf archive --warning=no-timestamp)"
12833 echo extrac03.at:26 >"$at_check_line_file"
12835 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12840 TEST_TAR_FORMAT=posix
12841 export TEST_TAR_FORMAT
12842 TAR_OPTIONS="-H posix"
12847 tar -cPvf archive directory/../directory
12849 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stder1"
12850 at_func_filter_trace $?
12855 TEST_TAR_FORMAT=posix
12856 export TEST_TAR_FORMAT
12857 TAR_OPTIONS="-H posix"
12862 tar -cPvf archive directory/../directory
12864 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stderr"
12868 at_func_diff_devnull "$at_stderr" || at_failed=:
12869 echo >>"$at_stdout"; $as_echo "directory/../directory/
12871 directory/../directory/
12873 $at_diff - "$at_stdout" || at_failed=:
12874 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12876 $at_failed && at_func_log_failure
12880 $as_echo "$at_srcdir/extrac03.at:26:
12883 TEST_TAR_FORMAT=gnu
12884 export TEST_TAR_FORMAT
12885 TAR_OPTIONS=\"-H gnu\"
12890 tar -cPvf archive directory/../directory
12892 tar -xPvf archive --warning=no-timestamp)"
12893 echo extrac03.at:26 >"$at_check_line_file"
12895 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12900 TEST_TAR_FORMAT=gnu
12901 export TEST_TAR_FORMAT
12902 TAR_OPTIONS="-H gnu"
12907 tar -cPvf archive directory/../directory
12909 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stder1"
12910 at_func_filter_trace $?
12915 TEST_TAR_FORMAT=gnu
12916 export TEST_TAR_FORMAT
12917 TAR_OPTIONS="-H gnu"
12922 tar -cPvf archive directory/../directory
12924 tar -xPvf archive --warning=no-timestamp) ) >"$at_stdout" 2>"$at_stderr"
12928 at_func_diff_devnull "$at_stderr" || at_failed=:
12929 echo >>"$at_stdout"; $as_echo "directory/../directory/
12931 directory/../directory/
12933 $at_diff - "$at_stdout" || at_failed=:
12934 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12936 $at_failed && at_func_log_failure
12943 $at_times_p && times >"$at_times_file"
12944 ) 5>&1 2>&1 | eval $at_tee_pipe
12945 at_status=`cat "$at_status_file"`
12948 # 29. extrac04.at:23: extract + fnmatch
12949 at_setup_line='extrac04.at:23'
12950 at_desc="extract + fnmatch"
12951 $at_quiet $as_echo_n " 29: $at_desc "
12953 test -f $XFAILFILE && at_xfail=yes
12954 echo "# -*- compilation -*-" >> "$at_group_log"
12956 $as_echo "29. extrac04.at:23: testing ..."
12964 $as_echo "$at_srcdir/extrac04.at:26:
12968 export TEST_TAR_FORMAT
12969 TAR_OPTIONS=\"-H v7\"
12974 test -z "`sort < /dev/null 2>&1`" || exit 77
12978 mkdir directory/subdirectory
12979 touch directory/file1
12980 touch directory/file2
12981 touch directory/subdirectory/file1
12982 touch directory/subdirectory/file2
12983 tar -cf archive ./file1 directory
12985 --exclude='./*1' \\
12986 --exclude='d*/*1' \\
12987 --exclude='d*/s*/*2' | sort
12989 echo extrac04.at:26 >"$at_check_line_file"
12991 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12997 export TEST_TAR_FORMAT
12998 TAR_OPTIONS="-H v7"
13003 test -z "`sort < /dev/null 2>&1`" || exit 77
13007 mkdir directory/subdirectory
13008 touch directory/file1
13009 touch directory/file2
13010 touch directory/subdirectory/file1
13011 touch directory/subdirectory/file2
13012 tar -cf archive ./file1 directory
13015 --exclude='d*/*1' \
13016 --exclude='d*/s*/*2' | sort
13017 ) ) >"$at_stdout" 2>"$at_stder1"
13018 at_func_filter_trace $?
13024 export TEST_TAR_FORMAT
13025 TAR_OPTIONS="-H v7"
13030 test -z "`sort < /dev/null 2>&1`" || exit 77
13034 mkdir directory/subdirectory
13035 touch directory/file1
13036 touch directory/file2
13037 touch directory/subdirectory/file1
13038 touch directory/subdirectory/file2
13039 tar -cf archive ./file1 directory
13042 --exclude='d*/*1' \
13043 --exclude='d*/s*/*2' | sort
13044 ) ) >"$at_stdout" 2>"$at_stderr"
13048 at_func_diff_devnull "$at_stderr" || at_failed=:
13049 echo >>"$at_stdout"; $as_echo "directory/
13051 directory/subdirectory/
13053 $at_diff - "$at_stdout" || at_failed=:
13054 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13056 $at_failed && at_func_log_failure
13060 $as_echo "$at_srcdir/extrac04.at:26:
13063 TEST_TAR_FORMAT=oldgnu
13064 export TEST_TAR_FORMAT
13065 TAR_OPTIONS=\"-H oldgnu\"
13070 test -z "`sort < /dev/null 2>&1`" || exit 77
13074 mkdir directory/subdirectory
13075 touch directory/file1
13076 touch directory/file2
13077 touch directory/subdirectory/file1
13078 touch directory/subdirectory/file2
13079 tar -cf archive ./file1 directory
13081 --exclude='./*1' \\
13082 --exclude='d*/*1' \\
13083 --exclude='d*/s*/*2' | sort
13085 echo extrac04.at:26 >"$at_check_line_file"
13087 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13092 TEST_TAR_FORMAT=oldgnu
13093 export TEST_TAR_FORMAT
13094 TAR_OPTIONS="-H oldgnu"
13099 test -z "`sort < /dev/null 2>&1`" || exit 77
13103 mkdir directory/subdirectory
13104 touch directory/file1
13105 touch directory/file2
13106 touch directory/subdirectory/file1
13107 touch directory/subdirectory/file2
13108 tar -cf archive ./file1 directory
13111 --exclude='d*/*1' \
13112 --exclude='d*/s*/*2' | sort
13113 ) ) >"$at_stdout" 2>"$at_stder1"
13114 at_func_filter_trace $?
13119 TEST_TAR_FORMAT=oldgnu
13120 export TEST_TAR_FORMAT
13121 TAR_OPTIONS="-H oldgnu"
13126 test -z "`sort < /dev/null 2>&1`" || exit 77
13130 mkdir directory/subdirectory
13131 touch directory/file1
13132 touch directory/file2
13133 touch directory/subdirectory/file1
13134 touch directory/subdirectory/file2
13135 tar -cf archive ./file1 directory
13138 --exclude='d*/*1' \
13139 --exclude='d*/s*/*2' | sort
13140 ) ) >"$at_stdout" 2>"$at_stderr"
13144 at_func_diff_devnull "$at_stderr" || at_failed=:
13145 echo >>"$at_stdout"; $as_echo "directory/
13147 directory/subdirectory/
13149 $at_diff - "$at_stdout" || at_failed=:
13150 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13152 $at_failed && at_func_log_failure
13156 $as_echo "$at_srcdir/extrac04.at:26:
13159 TEST_TAR_FORMAT=ustar
13160 export TEST_TAR_FORMAT
13161 TAR_OPTIONS=\"-H ustar\"
13166 test -z "`sort < /dev/null 2>&1`" || exit 77
13170 mkdir directory/subdirectory
13171 touch directory/file1
13172 touch directory/file2
13173 touch directory/subdirectory/file1
13174 touch directory/subdirectory/file2
13175 tar -cf archive ./file1 directory
13177 --exclude='./*1' \\
13178 --exclude='d*/*1' \\
13179 --exclude='d*/s*/*2' | sort
13181 echo extrac04.at:26 >"$at_check_line_file"
13183 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13188 TEST_TAR_FORMAT=ustar
13189 export TEST_TAR_FORMAT
13190 TAR_OPTIONS="-H ustar"
13195 test -z "`sort < /dev/null 2>&1`" || exit 77
13199 mkdir directory/subdirectory
13200 touch directory/file1
13201 touch directory/file2
13202 touch directory/subdirectory/file1
13203 touch directory/subdirectory/file2
13204 tar -cf archive ./file1 directory
13207 --exclude='d*/*1' \
13208 --exclude='d*/s*/*2' | sort
13209 ) ) >"$at_stdout" 2>"$at_stder1"
13210 at_func_filter_trace $?
13215 TEST_TAR_FORMAT=ustar
13216 export TEST_TAR_FORMAT
13217 TAR_OPTIONS="-H ustar"
13222 test -z "`sort < /dev/null 2>&1`" || exit 77
13226 mkdir directory/subdirectory
13227 touch directory/file1
13228 touch directory/file2
13229 touch directory/subdirectory/file1
13230 touch directory/subdirectory/file2
13231 tar -cf archive ./file1 directory
13234 --exclude='d*/*1' \
13235 --exclude='d*/s*/*2' | sort
13236 ) ) >"$at_stdout" 2>"$at_stderr"
13240 at_func_diff_devnull "$at_stderr" || at_failed=:
13241 echo >>"$at_stdout"; $as_echo "directory/
13243 directory/subdirectory/
13245 $at_diff - "$at_stdout" || at_failed=:
13246 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13248 $at_failed && at_func_log_failure
13252 $as_echo "$at_srcdir/extrac04.at:26:
13255 TEST_TAR_FORMAT=posix
13256 export TEST_TAR_FORMAT
13257 TAR_OPTIONS=\"-H posix\"
13262 test -z "`sort < /dev/null 2>&1`" || exit 77
13266 mkdir directory/subdirectory
13267 touch directory/file1
13268 touch directory/file2
13269 touch directory/subdirectory/file1
13270 touch directory/subdirectory/file2
13271 tar -cf archive ./file1 directory
13273 --exclude='./*1' \\
13274 --exclude='d*/*1' \\
13275 --exclude='d*/s*/*2' | sort
13277 echo extrac04.at:26 >"$at_check_line_file"
13279 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13284 TEST_TAR_FORMAT=posix
13285 export TEST_TAR_FORMAT
13286 TAR_OPTIONS="-H posix"
13291 test -z "`sort < /dev/null 2>&1`" || exit 77
13295 mkdir directory/subdirectory
13296 touch directory/file1
13297 touch directory/file2
13298 touch directory/subdirectory/file1
13299 touch directory/subdirectory/file2
13300 tar -cf archive ./file1 directory
13303 --exclude='d*/*1' \
13304 --exclude='d*/s*/*2' | sort
13305 ) ) >"$at_stdout" 2>"$at_stder1"
13306 at_func_filter_trace $?
13311 TEST_TAR_FORMAT=posix
13312 export TEST_TAR_FORMAT
13313 TAR_OPTIONS="-H posix"
13318 test -z "`sort < /dev/null 2>&1`" || exit 77
13322 mkdir directory/subdirectory
13323 touch directory/file1
13324 touch directory/file2
13325 touch directory/subdirectory/file1
13326 touch directory/subdirectory/file2
13327 tar -cf archive ./file1 directory
13330 --exclude='d*/*1' \
13331 --exclude='d*/s*/*2' | sort
13332 ) ) >"$at_stdout" 2>"$at_stderr"
13336 at_func_diff_devnull "$at_stderr" || at_failed=:
13337 echo >>"$at_stdout"; $as_echo "directory/
13339 directory/subdirectory/
13341 $at_diff - "$at_stdout" || at_failed=:
13342 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13344 $at_failed && at_func_log_failure
13348 $as_echo "$at_srcdir/extrac04.at:26:
13351 TEST_TAR_FORMAT=gnu
13352 export TEST_TAR_FORMAT
13353 TAR_OPTIONS=\"-H gnu\"
13358 test -z "`sort < /dev/null 2>&1`" || exit 77
13362 mkdir directory/subdirectory
13363 touch directory/file1
13364 touch directory/file2
13365 touch directory/subdirectory/file1
13366 touch directory/subdirectory/file2
13367 tar -cf archive ./file1 directory
13369 --exclude='./*1' \\
13370 --exclude='d*/*1' \\
13371 --exclude='d*/s*/*2' | sort
13373 echo extrac04.at:26 >"$at_check_line_file"
13375 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13380 TEST_TAR_FORMAT=gnu
13381 export TEST_TAR_FORMAT
13382 TAR_OPTIONS="-H gnu"
13387 test -z "`sort < /dev/null 2>&1`" || exit 77
13391 mkdir directory/subdirectory
13392 touch directory/file1
13393 touch directory/file2
13394 touch directory/subdirectory/file1
13395 touch directory/subdirectory/file2
13396 tar -cf archive ./file1 directory
13399 --exclude='d*/*1' \
13400 --exclude='d*/s*/*2' | sort
13401 ) ) >"$at_stdout" 2>"$at_stder1"
13402 at_func_filter_trace $?
13407 TEST_TAR_FORMAT=gnu
13408 export TEST_TAR_FORMAT
13409 TAR_OPTIONS="-H gnu"
13414 test -z "`sort < /dev/null 2>&1`" || exit 77
13418 mkdir directory/subdirectory
13419 touch directory/file1
13420 touch directory/file2
13421 touch directory/subdirectory/file1
13422 touch directory/subdirectory/file2
13423 tar -cf archive ./file1 directory
13426 --exclude='d*/*1' \
13427 --exclude='d*/s*/*2' | sort
13428 ) ) >"$at_stdout" 2>"$at_stderr"
13432 at_func_diff_devnull "$at_stderr" || at_failed=:
13433 echo >>"$at_stdout"; $as_echo "directory/
13435 directory/subdirectory/
13437 $at_diff - "$at_stdout" || at_failed=:
13438 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13440 $at_failed && at_func_log_failure
13447 $at_times_p && times >"$at_times_file"
13448 ) 5>&1 2>&1 | eval $at_tee_pipe
13449 at_status=`cat "$at_status_file"`
13452 # 30. extrac05.at:30: extracting selected members from pax
13453 at_setup_line='extrac05.at:30'
13454 at_desc="extracting selected members from pax"
13455 $at_quiet $as_echo_n " 30: $at_desc "
13457 test -f $XFAILFILE && at_xfail=yes
13458 echo "# -*- compilation -*-" >> "$at_group_log"
13460 $as_echo "30. extrac05.at:30: testing ..."
13465 cat >list <<'_ATEOF'
13474 $as_echo "$at_srcdir/extrac05.at:38:
13477 TEST_TAR_FORMAT=posix
13478 export TEST_TAR_FORMAT
13479 TAR_OPTIONS=\"-H posix\"
13483 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13484 genfile --length 118 --file jeden
13485 genfile --length 223 --file dwa
13486 genfile --length 517 --file trzy
13487 genfile --length 110 --file cztery
13489 tar cf archive jeden dwa trzy cztery || exit 1
13494 tar xvfT ../archive ../../list --warning=no-timestamp || exit 1
13498 echo extrac05.at:38 >"$at_check_line_file"
13500 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13505 TEST_TAR_FORMAT=posix
13506 export TEST_TAR_FORMAT
13507 TAR_OPTIONS="-H posix"
13511 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13512 genfile --length 118 --file jeden
13513 genfile --length 223 --file dwa
13514 genfile --length 517 --file trzy
13515 genfile --length 110 --file cztery
13517 tar cf archive jeden dwa trzy cztery || exit 1
13522 tar xvfT ../archive ../../list --warning=no-timestamp || exit 1
13525 ) ) >"$at_stdout" 2>"$at_stder1"
13526 at_func_filter_trace $?
13531 TEST_TAR_FORMAT=posix
13532 export TEST_TAR_FORMAT
13533 TAR_OPTIONS="-H posix"
13537 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13538 genfile --length 118 --file jeden
13539 genfile --length 223 --file dwa
13540 genfile --length 517 --file trzy
13541 genfile --length 110 --file cztery
13543 tar cf archive jeden dwa trzy cztery || exit 1
13548 tar xvfT ../archive ../../list --warning=no-timestamp || exit 1
13551 ) ) >"$at_stdout" 2>"$at_stderr"
13555 at_func_diff_devnull "$at_stderr" || at_failed=:
13556 echo >>"$at_stdout"; $as_echo "jeden
13559 $at_diff - "$at_stdout" || at_failed=:
13560 at_func_check_status 0 $at_status "$at_srcdir/extrac05.at:38"
13562 $at_failed && at_func_log_failure
13569 $at_times_p && times >"$at_times_file"
13570 ) 5>&1 2>&1 | eval $at_tee_pipe
13571 at_status=`cat "$at_status_file"`
13574 # 31. extrac06.at:33: mode of extracted directories
13575 at_setup_line='extrac06.at:33'
13576 at_desc="mode of extracted directories"
13577 $at_quiet $as_echo_n " 31: $at_desc "
13579 test -f $XFAILFILE && at_xfail=yes
13580 echo "# -*- compilation -*-" >> "$at_group_log"
13582 $as_echo "31. extrac06.at:33: testing ..."
13590 $as_echo "$at_srcdir/extrac06.at:36:
13594 export TEST_TAR_FORMAT
13595 TAR_OPTIONS=\"-H v7\"
13603 # Make sure user's umask is honored, even if we are superuser
13604 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13606 # Create a directory
13608 chmod 777 directory
13609 genfile --stat=mode:777 directory
13612 tar cf arc directory
13614 # Change its permissions ...
13615 chmod 755 directory
13616 genfile --stat=mode:777 directory
13618 # ... and attempt to restore it twice
13619 tar xf arc directory --warning=no-timestamp
13620 genfile --stat=mode:777 directory
13622 tar xf arc directory --warning=no-timestamp
13623 genfile --stat=mode:777 directory
13625 # After both restores, the directory mode should be 755
13627 echo extrac06.at:36 >"$at_check_line_file"
13629 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13635 export TEST_TAR_FORMAT
13636 TAR_OPTIONS="-H v7"
13644 # Make sure user's umask is honored, even if we are superuser
13645 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13647 # Create a directory
13649 chmod 777 directory
13650 genfile --stat=mode:777 directory
13653 tar cf arc directory
13655 # Change its permissions ...
13656 chmod 755 directory
13657 genfile --stat=mode:777 directory
13659 # ... and attempt to restore it twice
13660 tar xf arc directory --warning=no-timestamp
13661 genfile --stat=mode:777 directory
13663 tar xf arc directory --warning=no-timestamp
13664 genfile --stat=mode:777 directory
13666 # After both restores, the directory mode should be 755
13667 ) ) >"$at_stdout" 2>"$at_stder1"
13668 at_func_filter_trace $?
13674 export TEST_TAR_FORMAT
13675 TAR_OPTIONS="-H v7"
13683 # Make sure user's umask is honored, even if we are superuser
13684 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13686 # Create a directory
13688 chmod 777 directory
13689 genfile --stat=mode:777 directory
13692 tar cf arc directory
13694 # Change its permissions ...
13695 chmod 755 directory
13696 genfile --stat=mode:777 directory
13698 # ... and attempt to restore it twice
13699 tar xf arc directory --warning=no-timestamp
13700 genfile --stat=mode:777 directory
13702 tar xf arc directory --warning=no-timestamp
13703 genfile --stat=mode:777 directory
13705 # After both restores, the directory mode should be 755
13706 ) ) >"$at_stdout" 2>"$at_stderr"
13710 at_func_diff_devnull "$at_stderr" || at_failed=:
13711 echo >>"$at_stdout"; $as_echo "777
13716 $at_diff - "$at_stdout" || at_failed=:
13717 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13719 $at_failed && at_func_log_failure
13723 $as_echo "$at_srcdir/extrac06.at:36:
13726 TEST_TAR_FORMAT=oldgnu
13727 export TEST_TAR_FORMAT
13728 TAR_OPTIONS=\"-H oldgnu\"
13736 # Make sure user's umask is honored, even if we are superuser
13737 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13739 # Create a directory
13741 chmod 777 directory
13742 genfile --stat=mode:777 directory
13745 tar cf arc directory
13747 # Change its permissions ...
13748 chmod 755 directory
13749 genfile --stat=mode:777 directory
13751 # ... and attempt to restore it twice
13752 tar xf arc directory --warning=no-timestamp
13753 genfile --stat=mode:777 directory
13755 tar xf arc directory --warning=no-timestamp
13756 genfile --stat=mode:777 directory
13758 # After both restores, the directory mode should be 755
13760 echo extrac06.at:36 >"$at_check_line_file"
13762 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13767 TEST_TAR_FORMAT=oldgnu
13768 export TEST_TAR_FORMAT
13769 TAR_OPTIONS="-H oldgnu"
13777 # Make sure user's umask is honored, even if we are superuser
13778 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13780 # Create a directory
13782 chmod 777 directory
13783 genfile --stat=mode:777 directory
13786 tar cf arc directory
13788 # Change its permissions ...
13789 chmod 755 directory
13790 genfile --stat=mode:777 directory
13792 # ... and attempt to restore it twice
13793 tar xf arc directory --warning=no-timestamp
13794 genfile --stat=mode:777 directory
13796 tar xf arc directory --warning=no-timestamp
13797 genfile --stat=mode:777 directory
13799 # After both restores, the directory mode should be 755
13800 ) ) >"$at_stdout" 2>"$at_stder1"
13801 at_func_filter_trace $?
13806 TEST_TAR_FORMAT=oldgnu
13807 export TEST_TAR_FORMAT
13808 TAR_OPTIONS="-H oldgnu"
13816 # Make sure user's umask is honored, even if we are superuser
13817 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13819 # Create a directory
13821 chmod 777 directory
13822 genfile --stat=mode:777 directory
13825 tar cf arc directory
13827 # Change its permissions ...
13828 chmod 755 directory
13829 genfile --stat=mode:777 directory
13831 # ... and attempt to restore it twice
13832 tar xf arc directory --warning=no-timestamp
13833 genfile --stat=mode:777 directory
13835 tar xf arc directory --warning=no-timestamp
13836 genfile --stat=mode:777 directory
13838 # After both restores, the directory mode should be 755
13839 ) ) >"$at_stdout" 2>"$at_stderr"
13843 at_func_diff_devnull "$at_stderr" || at_failed=:
13844 echo >>"$at_stdout"; $as_echo "777
13849 $at_diff - "$at_stdout" || at_failed=:
13850 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13852 $at_failed && at_func_log_failure
13856 $as_echo "$at_srcdir/extrac06.at:36:
13859 TEST_TAR_FORMAT=ustar
13860 export TEST_TAR_FORMAT
13861 TAR_OPTIONS=\"-H ustar\"
13869 # Make sure user's umask is honored, even if we are superuser
13870 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13872 # Create a directory
13874 chmod 777 directory
13875 genfile --stat=mode:777 directory
13878 tar cf arc directory
13880 # Change its permissions ...
13881 chmod 755 directory
13882 genfile --stat=mode:777 directory
13884 # ... and attempt to restore it twice
13885 tar xf arc directory --warning=no-timestamp
13886 genfile --stat=mode:777 directory
13888 tar xf arc directory --warning=no-timestamp
13889 genfile --stat=mode:777 directory
13891 # After both restores, the directory mode should be 755
13893 echo extrac06.at:36 >"$at_check_line_file"
13895 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13900 TEST_TAR_FORMAT=ustar
13901 export TEST_TAR_FORMAT
13902 TAR_OPTIONS="-H ustar"
13910 # Make sure user's umask is honored, even if we are superuser
13911 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13913 # Create a directory
13915 chmod 777 directory
13916 genfile --stat=mode:777 directory
13919 tar cf arc directory
13921 # Change its permissions ...
13922 chmod 755 directory
13923 genfile --stat=mode:777 directory
13925 # ... and attempt to restore it twice
13926 tar xf arc directory --warning=no-timestamp
13927 genfile --stat=mode:777 directory
13929 tar xf arc directory --warning=no-timestamp
13930 genfile --stat=mode:777 directory
13932 # After both restores, the directory mode should be 755
13933 ) ) >"$at_stdout" 2>"$at_stder1"
13934 at_func_filter_trace $?
13939 TEST_TAR_FORMAT=ustar
13940 export TEST_TAR_FORMAT
13941 TAR_OPTIONS="-H ustar"
13949 # Make sure user's umask is honored, even if we are superuser
13950 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13952 # Create a directory
13954 chmod 777 directory
13955 genfile --stat=mode:777 directory
13958 tar cf arc directory
13960 # Change its permissions ...
13961 chmod 755 directory
13962 genfile --stat=mode:777 directory
13964 # ... and attempt to restore it twice
13965 tar xf arc directory --warning=no-timestamp
13966 genfile --stat=mode:777 directory
13968 tar xf arc directory --warning=no-timestamp
13969 genfile --stat=mode:777 directory
13971 # After both restores, the directory mode should be 755
13972 ) ) >"$at_stdout" 2>"$at_stderr"
13976 at_func_diff_devnull "$at_stderr" || at_failed=:
13977 echo >>"$at_stdout"; $as_echo "777
13982 $at_diff - "$at_stdout" || at_failed=:
13983 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13985 $at_failed && at_func_log_failure
13989 $as_echo "$at_srcdir/extrac06.at:36:
13992 TEST_TAR_FORMAT=posix
13993 export TEST_TAR_FORMAT
13994 TAR_OPTIONS=\"-H posix\"
14002 # Make sure user's umask is honored, even if we are superuser
14003 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14005 # Create a directory
14007 chmod 777 directory
14008 genfile --stat=mode:777 directory
14011 tar cf arc directory
14013 # Change its permissions ...
14014 chmod 755 directory
14015 genfile --stat=mode:777 directory
14017 # ... and attempt to restore it twice
14018 tar xf arc directory --warning=no-timestamp
14019 genfile --stat=mode:777 directory
14021 tar xf arc directory --warning=no-timestamp
14022 genfile --stat=mode:777 directory
14024 # After both restores, the directory mode should be 755
14026 echo extrac06.at:36 >"$at_check_line_file"
14028 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14033 TEST_TAR_FORMAT=posix
14034 export TEST_TAR_FORMAT
14035 TAR_OPTIONS="-H posix"
14043 # Make sure user's umask is honored, even if we are superuser
14044 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
14046 # Create a directory
14048 chmod 777 directory
14049 genfile --stat=mode:777 directory
14052 tar cf arc directory
14054 # Change its permissions ...
14055 chmod 755 directory
14056 genfile --stat=mode:777 directory
14058 # ... and attempt to restore it twice
14059 tar xf arc directory --warning=no-timestamp
14060 genfile --stat=mode:777 directory
14062 tar xf arc directory --warning=no-timestamp
14063 genfile --stat=mode:777 directory
14065 # After both restores, the directory mode should be 755
14066 ) ) >"$at_stdout" 2>"$at_stder1"
14067 at_func_filter_trace $?
14072 TEST_TAR_FORMAT=posix
14073 export TEST_TAR_FORMAT
14074 TAR_OPTIONS="-H posix"
14082 # Make sure user's umask is honored, even if we are superuser
14083 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
14085 # Create a directory
14087 chmod 777 directory
14088 genfile --stat=mode:777 directory
14091 tar cf arc directory
14093 # Change its permissions ...
14094 chmod 755 directory
14095 genfile --stat=mode:777 directory
14097 # ... and attempt to restore it twice
14098 tar xf arc directory --warning=no-timestamp
14099 genfile --stat=mode:777 directory
14101 tar xf arc directory --warning=no-timestamp
14102 genfile --stat=mode:777 directory
14104 # After both restores, the directory mode should be 755
14105 ) ) >"$at_stdout" 2>"$at_stderr"
14109 at_func_diff_devnull "$at_stderr" || at_failed=:
14110 echo >>"$at_stdout"; $as_echo "777
14115 $at_diff - "$at_stdout" || at_failed=:
14116 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
14118 $at_failed && at_func_log_failure
14122 $as_echo "$at_srcdir/extrac06.at:36:
14125 TEST_TAR_FORMAT=gnu
14126 export TEST_TAR_FORMAT
14127 TAR_OPTIONS=\"-H gnu\"
14135 # Make sure user's umask is honored, even if we are superuser
14136 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
14138 # Create a directory
14140 chmod 777 directory
14141 genfile --stat=mode:777 directory
14144 tar cf arc directory
14146 # Change its permissions ...
14147 chmod 755 directory
14148 genfile --stat=mode:777 directory
14150 # ... and attempt to restore it twice
14151 tar xf arc directory --warning=no-timestamp
14152 genfile --stat=mode:777 directory
14154 tar xf arc directory --warning=no-timestamp
14155 genfile --stat=mode:777 directory
14157 # After both restores, the directory mode should be 755
14159 echo extrac06.at:36 >"$at_check_line_file"
14161 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14166 TEST_TAR_FORMAT=gnu
14167 export TEST_TAR_FORMAT
14168 TAR_OPTIONS="-H gnu"
14176 # Make sure user's umask is honored, even if we are superuser
14177 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
14179 # Create a directory
14181 chmod 777 directory
14182 genfile --stat=mode:777 directory
14185 tar cf arc directory
14187 # Change its permissions ...
14188 chmod 755 directory
14189 genfile --stat=mode:777 directory
14191 # ... and attempt to restore it twice
14192 tar xf arc directory --warning=no-timestamp
14193 genfile --stat=mode:777 directory
14195 tar xf arc directory --warning=no-timestamp
14196 genfile --stat=mode:777 directory
14198 # After both restores, the directory mode should be 755
14199 ) ) >"$at_stdout" 2>"$at_stder1"
14200 at_func_filter_trace $?
14205 TEST_TAR_FORMAT=gnu
14206 export TEST_TAR_FORMAT
14207 TAR_OPTIONS="-H gnu"
14215 # Make sure user's umask is honored, even if we are superuser
14216 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
14218 # Create a directory
14220 chmod 777 directory
14221 genfile --stat=mode:777 directory
14224 tar cf arc directory
14226 # Change its permissions ...
14227 chmod 755 directory
14228 genfile --stat=mode:777 directory
14230 # ... and attempt to restore it twice
14231 tar xf arc directory --warning=no-timestamp
14232 genfile --stat=mode:777 directory
14234 tar xf arc directory --warning=no-timestamp
14235 genfile --stat=mode:777 directory
14237 # After both restores, the directory mode should be 755
14238 ) ) >"$at_stdout" 2>"$at_stderr"
14242 at_func_diff_devnull "$at_stderr" || at_failed=:
14243 echo >>"$at_stdout"; $as_echo "777
14248 $at_diff - "$at_stdout" || at_failed=:
14249 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
14251 $at_failed && at_func_log_failure
14258 $at_times_p && times >"$at_times_file"
14259 ) 5>&1 2>&1 | eval $at_tee_pipe
14260 at_status=`cat "$at_status_file"`
14263 # 32. extrac07.at:27: extracting symlinks to a read-only dir
14264 at_setup_line='extrac07.at:27'
14265 at_desc="extracting symlinks to a read-only dir"
14266 $at_quiet $as_echo_n " 32: $at_desc "
14268 test -f $XFAILFILE && at_xfail=yes
14269 echo "# -*- compilation -*-" >> "$at_group_log"
14271 $as_echo "32. extrac07.at:27: testing ..."
14279 $as_echo "$at_srcdir/extrac07.at:30:
14282 TEST_TAR_FORMAT=ustar
14283 export TEST_TAR_FORMAT
14284 TAR_OPTIONS=\"-H ustar\"
14291 cat $$ > /dev/null 2>&1
14294 test $result -eq 0 && exit 77
14297 echo Prepare the directory
14305 echo Create the archive
14306 tar cf archive dir || exit 1
14312 tar -C out -xvf archive
14314 echo extrac07.at:30 >"$at_check_line_file"
14316 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14321 TEST_TAR_FORMAT=ustar
14322 export TEST_TAR_FORMAT
14323 TAR_OPTIONS="-H ustar"
14330 cat $$ > /dev/null 2>&1
14333 test $result -eq 0 && exit 77
14336 echo Prepare the directory
14344 echo Create the archive
14345 tar cf archive dir || exit 1
14351 tar -C out -xvf archive
14352 ) ) >"$at_stdout" 2>"$at_stder1"
14353 at_func_filter_trace $?
14358 TEST_TAR_FORMAT=ustar
14359 export TEST_TAR_FORMAT
14360 TAR_OPTIONS="-H ustar"
14367 cat $$ > /dev/null 2>&1
14370 test $result -eq 0 && exit 77
14373 echo Prepare the directory
14381 echo Create the archive
14382 tar cf archive dir || exit 1
14388 tar -C out -xvf archive
14389 ) ) >"$at_stdout" 2>"$at_stderr"
14393 at_func_diff_devnull "$at_stderr" || at_failed=:
14394 echo >>"$at_stdout"; $as_echo "Prepare the directory
14400 $at_diff - "$at_stdout" || at_failed=:
14401 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14403 $at_failed && at_func_log_failure
14407 # Testing one format is enough
14410 $at_times_p && times >"$at_times_file"
14411 ) 5>&1 2>&1 | eval $at_tee_pipe
14412 at_status=`cat "$at_status_file"`
14415 # 33. extrac08.at:33: restoring mode on existing directory
14416 at_setup_line='extrac08.at:33'
14417 at_desc="restoring mode on existing directory"
14418 $at_quiet $as_echo_n " 33: $at_desc "
14420 test -f $XFAILFILE && at_xfail=yes
14421 echo "# -*- compilation -*-" >> "$at_group_log"
14423 $as_echo "33. extrac08.at:33: testing ..."
14431 $as_echo "$at_srcdir/extrac08.at:36:
14435 export TEST_TAR_FORMAT
14436 TAR_OPTIONS=\"-H v7\"
14443 echo bla > dir/file
14444 tar cf test.tar dir
14446 tar xfv test.tar --warning=no-timestamp
14447 genfile --stat=mode.777 dir
14449 echo extrac08.at:36 >"$at_check_line_file"
14451 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14457 export TEST_TAR_FORMAT
14458 TAR_OPTIONS="-H v7"
14465 echo bla > dir/file
14466 tar cf test.tar dir
14468 tar xfv test.tar --warning=no-timestamp
14469 genfile --stat=mode.777 dir
14470 ) ) >"$at_stdout" 2>"$at_stder1"
14471 at_func_filter_trace $?
14477 export TEST_TAR_FORMAT
14478 TAR_OPTIONS="-H v7"
14485 echo bla > dir/file
14486 tar cf test.tar dir
14488 tar xfv test.tar --warning=no-timestamp
14489 genfile --stat=mode.777 dir
14490 ) ) >"$at_stdout" 2>"$at_stderr"
14494 at_func_diff_devnull "$at_stderr" || at_failed=:
14495 echo >>"$at_stdout"; $as_echo "dir/
14499 $at_diff - "$at_stdout" || at_failed=:
14500 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14502 $at_failed && at_func_log_failure
14506 $as_echo "$at_srcdir/extrac08.at:36:
14509 TEST_TAR_FORMAT=oldgnu
14510 export TEST_TAR_FORMAT
14511 TAR_OPTIONS=\"-H oldgnu\"
14518 echo bla > dir/file
14519 tar cf test.tar dir
14521 tar xfv test.tar --warning=no-timestamp
14522 genfile --stat=mode.777 dir
14524 echo extrac08.at:36 >"$at_check_line_file"
14526 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14531 TEST_TAR_FORMAT=oldgnu
14532 export TEST_TAR_FORMAT
14533 TAR_OPTIONS="-H oldgnu"
14540 echo bla > dir/file
14541 tar cf test.tar dir
14543 tar xfv test.tar --warning=no-timestamp
14544 genfile --stat=mode.777 dir
14545 ) ) >"$at_stdout" 2>"$at_stder1"
14546 at_func_filter_trace $?
14551 TEST_TAR_FORMAT=oldgnu
14552 export TEST_TAR_FORMAT
14553 TAR_OPTIONS="-H oldgnu"
14560 echo bla > dir/file
14561 tar cf test.tar dir
14563 tar xfv test.tar --warning=no-timestamp
14564 genfile --stat=mode.777 dir
14565 ) ) >"$at_stdout" 2>"$at_stderr"
14569 at_func_diff_devnull "$at_stderr" || at_failed=:
14570 echo >>"$at_stdout"; $as_echo "dir/
14574 $at_diff - "$at_stdout" || at_failed=:
14575 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14577 $at_failed && at_func_log_failure
14581 $as_echo "$at_srcdir/extrac08.at:36:
14584 TEST_TAR_FORMAT=ustar
14585 export TEST_TAR_FORMAT
14586 TAR_OPTIONS=\"-H ustar\"
14593 echo bla > dir/file
14594 tar cf test.tar dir
14596 tar xfv test.tar --warning=no-timestamp
14597 genfile --stat=mode.777 dir
14599 echo extrac08.at:36 >"$at_check_line_file"
14601 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14606 TEST_TAR_FORMAT=ustar
14607 export TEST_TAR_FORMAT
14608 TAR_OPTIONS="-H ustar"
14615 echo bla > dir/file
14616 tar cf test.tar dir
14618 tar xfv test.tar --warning=no-timestamp
14619 genfile --stat=mode.777 dir
14620 ) ) >"$at_stdout" 2>"$at_stder1"
14621 at_func_filter_trace $?
14626 TEST_TAR_FORMAT=ustar
14627 export TEST_TAR_FORMAT
14628 TAR_OPTIONS="-H ustar"
14635 echo bla > dir/file
14636 tar cf test.tar dir
14638 tar xfv test.tar --warning=no-timestamp
14639 genfile --stat=mode.777 dir
14640 ) ) >"$at_stdout" 2>"$at_stderr"
14644 at_func_diff_devnull "$at_stderr" || at_failed=:
14645 echo >>"$at_stdout"; $as_echo "dir/
14649 $at_diff - "$at_stdout" || at_failed=:
14650 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14652 $at_failed && at_func_log_failure
14656 $as_echo "$at_srcdir/extrac08.at:36:
14659 TEST_TAR_FORMAT=posix
14660 export TEST_TAR_FORMAT
14661 TAR_OPTIONS=\"-H posix\"
14668 echo bla > dir/file
14669 tar cf test.tar dir
14671 tar xfv test.tar --warning=no-timestamp
14672 genfile --stat=mode.777 dir
14674 echo extrac08.at:36 >"$at_check_line_file"
14676 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14681 TEST_TAR_FORMAT=posix
14682 export TEST_TAR_FORMAT
14683 TAR_OPTIONS="-H posix"
14690 echo bla > dir/file
14691 tar cf test.tar dir
14693 tar xfv test.tar --warning=no-timestamp
14694 genfile --stat=mode.777 dir
14695 ) ) >"$at_stdout" 2>"$at_stder1"
14696 at_func_filter_trace $?
14701 TEST_TAR_FORMAT=posix
14702 export TEST_TAR_FORMAT
14703 TAR_OPTIONS="-H posix"
14710 echo bla > dir/file
14711 tar cf test.tar dir
14713 tar xfv test.tar --warning=no-timestamp
14714 genfile --stat=mode.777 dir
14715 ) ) >"$at_stdout" 2>"$at_stderr"
14719 at_func_diff_devnull "$at_stderr" || at_failed=:
14720 echo >>"$at_stdout"; $as_echo "dir/
14724 $at_diff - "$at_stdout" || at_failed=:
14725 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14727 $at_failed && at_func_log_failure
14731 $as_echo "$at_srcdir/extrac08.at:36:
14734 TEST_TAR_FORMAT=gnu
14735 export TEST_TAR_FORMAT
14736 TAR_OPTIONS=\"-H gnu\"
14743 echo bla > dir/file
14744 tar cf test.tar dir
14746 tar xfv test.tar --warning=no-timestamp
14747 genfile --stat=mode.777 dir
14749 echo extrac08.at:36 >"$at_check_line_file"
14751 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14756 TEST_TAR_FORMAT=gnu
14757 export TEST_TAR_FORMAT
14758 TAR_OPTIONS="-H gnu"
14765 echo bla > dir/file
14766 tar cf test.tar dir
14768 tar xfv test.tar --warning=no-timestamp
14769 genfile --stat=mode.777 dir
14770 ) ) >"$at_stdout" 2>"$at_stder1"
14771 at_func_filter_trace $?
14776 TEST_TAR_FORMAT=gnu
14777 export TEST_TAR_FORMAT
14778 TAR_OPTIONS="-H gnu"
14785 echo bla > dir/file
14786 tar cf test.tar dir
14788 tar xfv test.tar --warning=no-timestamp
14789 genfile --stat=mode.777 dir
14790 ) ) >"$at_stdout" 2>"$at_stderr"
14794 at_func_diff_devnull "$at_stderr" || at_failed=:
14795 echo >>"$at_stdout"; $as_echo "dir/
14799 $at_diff - "$at_stdout" || at_failed=:
14800 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14802 $at_failed && at_func_log_failure
14809 $at_times_p && times >"$at_times_file"
14810 ) 5>&1 2>&1 | eval $at_tee_pipe
14811 at_status=`cat "$at_status_file"`
14814 # 34. extrac09.at:22: no need to save dir with unreadable . and ..
14815 at_setup_line='extrac09.at:22'
14816 at_desc="no need to save dir with unreadable . and .."
14817 $at_quiet $as_echo_n " 34: $at_desc "
14819 test -f $XFAILFILE && at_xfail=yes
14820 echo "# -*- compilation -*-" >> "$at_group_log"
14822 $as_echo "34. extrac09.at:22: testing ..."
14830 $as_echo "$at_srcdir/extrac09.at:25:
14833 TEST_TAR_FORMAT=gnu
14834 export TEST_TAR_FORMAT
14835 TAR_OPTIONS=\"-H gnu\"
14842 cat $$ > /dev/null 2>&1
14845 test $result -eq 0 && exit 77
14850 mkdir dir/sub/extract
14851 genfile --file dir/sub/f
14854 tar -cf archive.tar f
14857 tar -xvf archive.tar -C extract f
14860 cmp f extract/f || status=\$?
14863 echo extrac09.at:25 >"$at_check_line_file"
14865 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14870 TEST_TAR_FORMAT=gnu
14871 export TEST_TAR_FORMAT
14872 TAR_OPTIONS="-H gnu"
14879 cat $$ > /dev/null 2>&1
14882 test $result -eq 0 && exit 77
14887 mkdir dir/sub/extract
14888 genfile --file dir/sub/f
14891 tar -cf archive.tar f
14894 tar -xvf archive.tar -C extract f
14897 cmp f extract/f || status=$?
14899 ) ) >"$at_stdout" 2>"$at_stder1"
14900 at_func_filter_trace $?
14905 TEST_TAR_FORMAT=gnu
14906 export TEST_TAR_FORMAT
14907 TAR_OPTIONS="-H gnu"
14914 cat $$ > /dev/null 2>&1
14917 test $result -eq 0 && exit 77
14922 mkdir dir/sub/extract
14923 genfile --file dir/sub/f
14926 tar -cf archive.tar f
14929 tar -xvf archive.tar -C extract f
14932 cmp f extract/f || status=$?
14934 ) ) >"$at_stdout" 2>"$at_stderr"
14938 at_func_diff_devnull "$at_stderr" || at_failed=:
14939 echo >>"$at_stdout"; $as_echo "f
14941 $at_diff - "$at_stdout" || at_failed=:
14942 at_func_check_status 0 $at_status "$at_srcdir/extrac09.at:25"
14944 $at_failed && at_func_log_failure
14951 $at_times_p && times >"$at_times_file"
14952 ) 5>&1 2>&1 | eval $at_tee_pipe
14953 at_status=`cat "$at_status_file"`
14956 # 35. extrac10.at:27: -C and delayed setting of metadata
14957 at_setup_line='extrac10.at:27'
14958 at_desc="-C and delayed setting of metadata"
14959 $at_quiet $as_echo_n " 35: $at_desc "
14961 test -f $XFAILFILE && at_xfail=yes
14962 echo "# -*- compilation -*-" >> "$at_group_log"
14964 $as_echo "35. extrac10.at:27: testing ..."
14972 $as_echo "$at_srcdir/extrac10.at:30:
14975 TEST_TAR_FORMAT=gnu
14976 export TEST_TAR_FORMAT
14977 TAR_OPTIONS=\"-H gnu\"
14985 tar -cf archive.tar d e &&
14986 tar -xf archive.tar -C x d -C y e &&
14990 echo extrac10.at:30 >"$at_check_line_file"
14992 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14997 TEST_TAR_FORMAT=gnu
14998 export TEST_TAR_FORMAT
14999 TAR_OPTIONS="-H gnu"
15007 tar -cf archive.tar d e &&
15008 tar -xf archive.tar -C x d -C y e &&
15011 ) ) >"$at_stdout" 2>"$at_stder1"
15012 at_func_filter_trace $?
15017 TEST_TAR_FORMAT=gnu
15018 export TEST_TAR_FORMAT
15019 TAR_OPTIONS="-H gnu"
15027 tar -cf archive.tar d e &&
15028 tar -xf archive.tar -C x d -C y e &&
15031 ) ) >"$at_stdout" 2>"$at_stderr"
15035 at_func_diff_devnull "$at_stderr" || at_failed=:
15036 at_func_diff_devnull "$at_stdout" || at_failed=:
15037 at_func_check_status 0 $at_status "$at_srcdir/extrac10.at:30"
15039 $at_failed && at_func_log_failure
15046 $at_times_p && times >"$at_times_file"
15047 ) 5>&1 2>&1 | eval $at_tee_pipe
15048 at_status=`cat "$at_status_file"`
15051 # 36. extrac11.at:23: scarce file descriptors
15052 at_setup_line='extrac11.at:23'
15053 at_desc="scarce file descriptors"
15054 $at_quiet $as_echo_n " 36: $at_desc "
15056 test -f $XFAILFILE && at_xfail=yes
15057 echo "# -*- compilation -*-" >> "$at_group_log"
15059 $as_echo "36. extrac11.at:23: testing ..."
15067 $as_echo "$at_srcdir/extrac11.at:26:
15070 TEST_TAR_FORMAT=gnu
15071 export TEST_TAR_FORMAT
15072 TAR_OPTIONS=\"-H gnu\"
15085 a/b/c/d/e/f/g/h/i/j
15086 a/b/c/d/e/f/g/h/i/j/k
15089 mkdir \$dirs dest1 dest2 dest3 || exit
15090 for dir in \$dirs; do
15091 for file in X Y Z; do
15092 echo \$file >\$dir/\$file || exit
15093 files=\"\$files \$file\"
15097 # Check that \"ulimit\" itself works.
15099 tar -cf archive1.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15100 tar -xf archive1.tar -C dest1 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15103 ) >/dev/null 2>&1 ||
15106 # Another test that \"ulimit\" itself works:
15107 # tar should fail when completely starved of file descriptors.
15109 tar -cf archive2.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15110 tar -xf archive2.tar -C dest2 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15113 ) >/dev/null 2>&1 &&
15116 # Tar should work when there are few, but enough, file descriptors.
15118 tar -cf archive3.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15119 tar -xf archive3.tar -C dest3 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15121 diff -r a dest3/a >/dev/null 2>&1
15122 ) || { diff -r a dest3/a; exit 1; }
15124 echo extrac11.at:26 >"$at_check_line_file"
15126 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15131 TEST_TAR_FORMAT=gnu
15132 export TEST_TAR_FORMAT
15133 TAR_OPTIONS="-H gnu"
15146 a/b/c/d/e/f/g/h/i/j
15147 a/b/c/d/e/f/g/h/i/j/k
15150 mkdir $dirs dest1 dest2 dest3 || exit
15151 for dir in $dirs; do
15152 for file in X Y Z; do
15153 echo $file >$dir/$file || exit
15154 files="$files $file"
15158 # Check that "ulimit" itself works.
15160 tar -cf archive1.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15161 tar -xf archive1.tar -C dest1 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15164 ) >/dev/null 2>&1 ||
15167 # Another test that "ulimit" itself works:
15168 # tar should fail when completely starved of file descriptors.
15170 tar -cf archive2.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15171 tar -xf archive2.tar -C dest2 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15174 ) >/dev/null 2>&1 &&
15177 # Tar should work when there are few, but enough, file descriptors.
15179 tar -cf archive3.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15180 tar -xf archive3.tar -C dest3 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15182 diff -r a dest3/a >/dev/null 2>&1
15183 ) || { diff -r a dest3/a; exit 1; }
15184 ) ) >"$at_stdout" 2>"$at_stder1"
15185 at_func_filter_trace $?
15190 TEST_TAR_FORMAT=gnu
15191 export TEST_TAR_FORMAT
15192 TAR_OPTIONS="-H gnu"
15205 a/b/c/d/e/f/g/h/i/j
15206 a/b/c/d/e/f/g/h/i/j/k
15209 mkdir $dirs dest1 dest2 dest3 || exit
15210 for dir in $dirs; do
15211 for file in X Y Z; do
15212 echo $file >$dir/$file || exit
15213 files="$files $file"
15217 # Check that "ulimit" itself works.
15219 tar -cf archive1.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15220 tar -xf archive1.tar -C dest1 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15223 ) >/dev/null 2>&1 ||
15226 # Another test that "ulimit" itself works:
15227 # tar should fail when completely starved of file descriptors.
15229 tar -cf archive2.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15230 tar -xf archive2.tar -C dest2 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15233 ) >/dev/null 2>&1 &&
15236 # Tar should work when there are few, but enough, file descriptors.
15238 tar -cf archive3.tar a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&- &&
15239 tar -xf archive3.tar -C dest3 a 3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
15241 diff -r a dest3/a >/dev/null 2>&1
15242 ) || { diff -r a dest3/a; exit 1; }
15243 ) ) >"$at_stdout" 2>"$at_stderr"
15247 at_func_diff_devnull "$at_stderr" || at_failed=:
15248 at_func_diff_devnull "$at_stdout" || at_failed=:
15249 at_func_check_status 0 $at_status "$at_srcdir/extrac11.at:26"
15251 $at_failed && at_func_log_failure
15258 $at_times_p && times >"$at_times_file"
15259 ) 5>&1 2>&1 | eval $at_tee_pipe
15260 at_status=`cat "$at_status_file"`
15263 # 37. extrac12.at:23: extract dot permissions
15264 at_setup_line='extrac12.at:23'
15265 at_desc="extract dot permissions"
15266 $at_quiet $as_echo_n " 37: $at_desc "
15268 test -f $XFAILFILE && at_xfail=yes
15269 echo "# -*- compilation -*-" >> "$at_group_log"
15271 $as_echo "37. extrac12.at:23: testing ..."
15279 $as_echo "$at_srcdir/extrac12.at:26:
15282 TEST_TAR_FORMAT=gnu
15283 export TEST_TAR_FORMAT
15284 TAR_OPTIONS=\"-H gnu\"
15289 echo file1 >src/file1
15290 echo file2 >src/file2
15293 tar --no-recursion -cf archive.tar -C src . ./file1 file2 &&
15294 tar -xf archive.tar -C dst &&
15295 cmp src/file1 dst/file1 &&
15296 cmp src/file2 dst/file2
15298 echo extrac12.at:26 >"$at_check_line_file"
15300 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15305 TEST_TAR_FORMAT=gnu
15306 export TEST_TAR_FORMAT
15307 TAR_OPTIONS="-H gnu"
15312 echo file1 >src/file1
15313 echo file2 >src/file2
15316 tar --no-recursion -cf archive.tar -C src . ./file1 file2 &&
15317 tar -xf archive.tar -C dst &&
15318 cmp src/file1 dst/file1 &&
15319 cmp src/file2 dst/file2
15320 ) ) >"$at_stdout" 2>"$at_stder1"
15321 at_func_filter_trace $?
15326 TEST_TAR_FORMAT=gnu
15327 export TEST_TAR_FORMAT
15328 TAR_OPTIONS="-H gnu"
15333 echo file1 >src/file1
15334 echo file2 >src/file2
15337 tar --no-recursion -cf archive.tar -C src . ./file1 file2 &&
15338 tar -xf archive.tar -C dst &&
15339 cmp src/file1 dst/file1 &&
15340 cmp src/file2 dst/file2
15341 ) ) >"$at_stdout" 2>"$at_stderr"
15345 at_func_diff_devnull "$at_stderr" || at_failed=:
15346 at_func_diff_devnull "$at_stdout" || at_failed=:
15347 at_func_check_status 0 $at_status "$at_srcdir/extrac12.at:26"
15349 $at_failed && at_func_log_failure
15356 $at_times_p && times >"$at_times_file"
15357 ) 5>&1 2>&1 | eval $at_tee_pipe
15358 at_status=`cat "$at_status_file"`
15361 # 38. extrac13.at:24: extract over symlinks
15362 at_setup_line='extrac13.at:24'
15363 at_desc="extract over symlinks"
15364 $at_quiet $as_echo_n " 38: $at_desc "
15366 test -f $XFAILFILE && at_xfail=yes
15367 echo "# -*- compilation -*-" >> "$at_group_log"
15369 $as_echo "38. extrac13.at:24: testing ..."
15377 $as_echo "$at_srcdir/extrac13.at:27:
15380 TEST_TAR_FORMAT=gnu
15381 export TEST_TAR_FORMAT
15382 TAR_OPTIONS=\"-H gnu\"
15386 mkdir src dst1 dst2 dst3
15387 echo file1 >src/file1
15388 ln -s target1 dst1/file1
15389 echo target1 >dst1/target1
15390 echo target1 >target1
15392 tar -cf archive.tar -C src . &&
15393 tar -xf archive.tar -C dst1 --warning=no-timestamp &&
15394 diff -c src/file1 dst1/file1 &&
15395 diff -c target1 dst1/target1
15397 ln -s target1 dst2/file1
15398 echo target1 >dst2/target1
15399 tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp &&
15400 diff -c src/file1 dst2/file1 &&
15401 diff -c target1 dst2/target1
15403 ln -s target1 dst3/file1
15404 echo target1 >dst3/target1
15405 tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp &&
15406 diff -c src/file1 dst3/file1 &&
15407 diff -c src/file1 dst3/target1
15409 echo extrac13.at:27 >"$at_check_line_file"
15411 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15416 TEST_TAR_FORMAT=gnu
15417 export TEST_TAR_FORMAT
15418 TAR_OPTIONS="-H gnu"
15422 mkdir src dst1 dst2 dst3
15423 echo file1 >src/file1
15424 ln -s target1 dst1/file1
15425 echo target1 >dst1/target1
15426 echo target1 >target1
15428 tar -cf archive.tar -C src . &&
15429 tar -xf archive.tar -C dst1 --warning=no-timestamp &&
15430 diff -c src/file1 dst1/file1 &&
15431 diff -c target1 dst1/target1
15433 ln -s target1 dst2/file1
15434 echo target1 >dst2/target1
15435 tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp &&
15436 diff -c src/file1 dst2/file1 &&
15437 diff -c target1 dst2/target1
15439 ln -s target1 dst3/file1
15440 echo target1 >dst3/target1
15441 tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp &&
15442 diff -c src/file1 dst3/file1 &&
15443 diff -c src/file1 dst3/target1
15444 ) ) >"$at_stdout" 2>"$at_stder1"
15445 at_func_filter_trace $?
15450 TEST_TAR_FORMAT=gnu
15451 export TEST_TAR_FORMAT
15452 TAR_OPTIONS="-H gnu"
15456 mkdir src dst1 dst2 dst3
15457 echo file1 >src/file1
15458 ln -s target1 dst1/file1
15459 echo target1 >dst1/target1
15460 echo target1 >target1
15462 tar -cf archive.tar -C src . &&
15463 tar -xf archive.tar -C dst1 --warning=no-timestamp &&
15464 diff -c src/file1 dst1/file1 &&
15465 diff -c target1 dst1/target1
15467 ln -s target1 dst2/file1
15468 echo target1 >dst2/target1
15469 tar --overwrite -xf archive.tar -C dst2 --warning=no-timestamp &&
15470 diff -c src/file1 dst2/file1 &&
15471 diff -c target1 dst2/target1
15473 ln -s target1 dst3/file1
15474 echo target1 >dst3/target1
15475 tar --overwrite -xhf archive.tar -C dst3 --warning=no-timestamp &&
15476 diff -c src/file1 dst3/file1 &&
15477 diff -c src/file1 dst3/target1
15478 ) ) >"$at_stdout" 2>"$at_stderr"
15482 at_func_diff_devnull "$at_stderr" || at_failed=:
15483 at_func_diff_devnull "$at_stdout" || at_failed=:
15484 at_func_check_status 0 $at_status "$at_srcdir/extrac13.at:27"
15486 $at_failed && at_func_log_failure
15493 $at_times_p && times >"$at_times_file"
15494 ) 5>&1 2>&1 | eval $at_tee_pipe
15495 at_status=`cat "$at_status_file"`
15498 # 39. extrac14.at:23: extract -C symlink
15499 at_setup_line='extrac14.at:23'
15500 at_desc="extract -C symlink"
15501 $at_quiet $as_echo_n " 39: $at_desc "
15503 test -f $XFAILFILE && at_xfail=yes
15504 echo "# -*- compilation -*-" >> "$at_group_log"
15506 $as_echo "39. extrac14.at:23: testing ..."
15514 $as_echo "$at_srcdir/extrac14.at:26:
15517 TEST_TAR_FORMAT=gnu
15518 export TEST_TAR_FORMAT
15519 TAR_OPTIONS=\"-H gnu\"
15526 tar -cf archive.tar foo &&
15527 tar -xf archive.tar -C symlink --warning=no-timestamp &&
15530 echo extrac14.at:26 >"$at_check_line_file"
15532 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15537 TEST_TAR_FORMAT=gnu
15538 export TEST_TAR_FORMAT
15539 TAR_OPTIONS="-H gnu"
15546 tar -cf archive.tar foo &&
15547 tar -xf archive.tar -C symlink --warning=no-timestamp &&
15549 ) ) >"$at_stdout" 2>"$at_stder1"
15550 at_func_filter_trace $?
15555 TEST_TAR_FORMAT=gnu
15556 export TEST_TAR_FORMAT
15557 TAR_OPTIONS="-H gnu"
15564 tar -cf archive.tar foo &&
15565 tar -xf archive.tar -C symlink --warning=no-timestamp &&
15567 ) ) >"$at_stdout" 2>"$at_stderr"
15571 at_func_diff_devnull "$at_stderr" || at_failed=:
15572 at_func_diff_devnull "$at_stdout" || at_failed=:
15573 at_func_check_status 0 $at_status "$at_srcdir/extrac14.at:26"
15575 $at_failed && at_func_log_failure
15582 $at_times_p && times >"$at_times_file"
15583 ) 5>&1 2>&1 | eval $at_tee_pipe
15584 at_status=`cat "$at_status_file"`
15587 # 40. extrac15.at:23: extract parent mkdir failure
15588 at_setup_line='extrac15.at:23'
15589 at_desc="extract parent mkdir failure"
15590 $at_quiet $as_echo_n " 40: $at_desc "
15592 test -f $XFAILFILE && at_xfail=yes
15593 echo "# -*- compilation -*-" >> "$at_group_log"
15595 $as_echo "40. extrac15.at:23: testing ..."
15603 $as_echo "$at_srcdir/extrac15.at:26:
15606 TEST_TAR_FORMAT=gnu
15607 export TEST_TAR_FORMAT
15608 TAR_OPTIONS=\"-H gnu\"
15615 cat $$ > /dev/null 2>&1
15618 test $result -eq 0 && exit 77
15621 mkdir src src/a src/a/b dest dest/a
15625 tar -cf archive.tar -C src a/b/c &&
15626 if tar -xf archive.tar -C dest a/b/c
15631 echo extrac15.at:26 >"$at_check_line_file"
15633 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15638 TEST_TAR_FORMAT=gnu
15639 export TEST_TAR_FORMAT
15640 TAR_OPTIONS="-H gnu"
15647 cat $$ > /dev/null 2>&1
15650 test $result -eq 0 && exit 77
15653 mkdir src src/a src/a/b dest dest/a
15657 tar -cf archive.tar -C src a/b/c &&
15658 if tar -xf archive.tar -C dest a/b/c
15662 ) ) >"$at_stdout" 2>"$at_stder1"
15663 at_func_filter_trace $?
15668 TEST_TAR_FORMAT=gnu
15669 export TEST_TAR_FORMAT
15670 TAR_OPTIONS="-H gnu"
15677 cat $$ > /dev/null 2>&1
15680 test $result -eq 0 && exit 77
15683 mkdir src src/a src/a/b dest dest/a
15687 tar -cf archive.tar -C src a/b/c &&
15688 if tar -xf archive.tar -C dest a/b/c
15692 ) ) >"$at_stdout" 2>"$at_stderr"
15696 echo >>"$at_stderr"; $as_echo "tar: a/b: Cannot mkdir: Permission denied
15697 tar: a/b/c: Cannot open: No such file or directory
15698 tar: Exiting with failure status due to previous errors
15700 $at_diff - "$at_stderr" || at_failed=:
15701 at_func_diff_devnull "$at_stdout" || at_failed=:
15702 at_func_check_status 0 $at_status "$at_srcdir/extrac15.at:26"
15704 $at_failed && at_func_log_failure
15711 $at_times_p && times >"$at_times_file"
15712 ) 5>&1 2>&1 | eval $at_tee_pipe
15713 at_status=`cat "$at_status_file"`
15716 # 41. label01.at:19: single-volume label
15717 at_setup_line='label01.at:19'
15718 at_desc="single-volume label"
15719 $at_quiet $as_echo_n " 41: $at_desc "
15721 test -f $XFAILFILE && at_xfail=yes
15722 echo "# -*- compilation -*-" >> "$at_group_log"
15724 $as_echo "41. label01.at:19: testing ..."
15732 $as_echo "$at_srcdir/label01.at:22:
15735 TEST_TAR_FORMAT=gnu
15736 export TEST_TAR_FORMAT
15737 TAR_OPTIONS=\"-H gnu\"
15743 tar -cf archive --label=Test foo bar
15746 echo label01.at:22 >"$at_check_line_file"
15748 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15753 TEST_TAR_FORMAT=gnu
15754 export TEST_TAR_FORMAT
15755 TAR_OPTIONS="-H gnu"
15761 tar -cf archive --label=Test foo bar
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"
15777 tar -cf archive --label=Test foo bar
15779 ) ) >"$at_stdout" 2>"$at_stderr"
15783 at_func_diff_devnull "$at_stderr" || at_failed=:
15784 echo >>"$at_stdout"; $as_echo "Test
15788 $at_diff - "$at_stdout" || at_failed=:
15789 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15791 $at_failed && at_func_log_failure
15795 $as_echo "$at_srcdir/label01.at:22:
15798 TEST_TAR_FORMAT=oldgnu
15799 export TEST_TAR_FORMAT
15800 TAR_OPTIONS=\"-H oldgnu\"
15806 tar -cf archive --label=Test foo bar
15809 echo label01.at:22 >"$at_check_line_file"
15811 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15816 TEST_TAR_FORMAT=oldgnu
15817 export TEST_TAR_FORMAT
15818 TAR_OPTIONS="-H oldgnu"
15824 tar -cf archive --label=Test foo bar
15826 ) ) >"$at_stdout" 2>"$at_stder1"
15827 at_func_filter_trace $?
15832 TEST_TAR_FORMAT=oldgnu
15833 export TEST_TAR_FORMAT
15834 TAR_OPTIONS="-H oldgnu"
15840 tar -cf archive --label=Test foo bar
15842 ) ) >"$at_stdout" 2>"$at_stderr"
15846 at_func_diff_devnull "$at_stderr" || at_failed=:
15847 echo >>"$at_stdout"; $as_echo "Test
15851 $at_diff - "$at_stdout" || at_failed=:
15852 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15854 $at_failed && at_func_log_failure
15858 $as_echo "$at_srcdir/label01.at:22:
15861 TEST_TAR_FORMAT=posix
15862 export TEST_TAR_FORMAT
15863 TAR_OPTIONS=\"-H posix\"
15869 tar -cf archive --label=Test foo bar
15872 echo label01.at:22 >"$at_check_line_file"
15874 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15879 TEST_TAR_FORMAT=posix
15880 export TEST_TAR_FORMAT
15881 TAR_OPTIONS="-H posix"
15887 tar -cf archive --label=Test foo bar
15889 ) ) >"$at_stdout" 2>"$at_stder1"
15890 at_func_filter_trace $?
15895 TEST_TAR_FORMAT=posix
15896 export TEST_TAR_FORMAT
15897 TAR_OPTIONS="-H posix"
15903 tar -cf archive --label=Test foo bar
15905 ) ) >"$at_stdout" 2>"$at_stderr"
15909 at_func_diff_devnull "$at_stderr" || at_failed=:
15910 echo >>"$at_stdout"; $as_echo "Test
15914 $at_diff - "$at_stdout" || at_failed=:
15915 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15917 $at_failed && at_func_log_failure
15924 $at_times_p && times >"$at_times_file"
15925 ) 5>&1 2>&1 | eval $at_tee_pipe
15926 at_status=`cat "$at_status_file"`
15929 # 42. label02.at:19: multi-volume label
15930 at_setup_line='label02.at:19'
15931 at_desc="multi-volume label"
15932 $at_quiet $as_echo_n " 42: $at_desc "
15934 test -f $XFAILFILE && at_xfail=yes
15935 echo "# -*- compilation -*-" >> "$at_group_log"
15937 $as_echo "42. label02.at:19: testing ..."
15945 $as_echo "$at_srcdir/label02.at:22:
15948 TEST_TAR_FORMAT=gnu
15949 export TEST_TAR_FORMAT
15950 TAR_OPTIONS=\"-H gnu\"
15955 genfile --length 0 --file foo
15956 genfile --length 12288 --file bar
15957 genfile --length 12288 --file baz
15958 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15959 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15961 echo label02.at:22 >"$at_check_line_file"
15963 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15968 TEST_TAR_FORMAT=gnu
15969 export TEST_TAR_FORMAT
15970 TAR_OPTIONS="-H gnu"
15975 genfile --length 0 --file foo
15976 genfile --length 12288 --file bar
15977 genfile --length 12288 --file baz
15978 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15979 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15980 ) ) >"$at_stdout" 2>"$at_stder1"
15981 at_func_filter_trace $?
15986 TEST_TAR_FORMAT=gnu
15987 export TEST_TAR_FORMAT
15988 TAR_OPTIONS="-H gnu"
15993 genfile --length 0 --file foo
15994 genfile --length 12288 --file bar
15995 genfile --length 12288 --file baz
15996 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15997 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15998 ) ) >"$at_stdout" 2>"$at_stderr"
16002 at_func_diff_devnull "$at_stderr" || at_failed=:
16003 echo >>"$at_stdout"; $as_echo "Test Volume 1
16008 $at_diff - "$at_stdout" || at_failed=:
16009 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
16011 $at_failed && at_func_log_failure
16015 $as_echo "$at_srcdir/label02.at:22:
16018 TEST_TAR_FORMAT=oldgnu
16019 export TEST_TAR_FORMAT
16020 TAR_OPTIONS=\"-H oldgnu\"
16025 genfile --length 0 --file foo
16026 genfile --length 12288 --file bar
16027 genfile --length 12288 --file baz
16028 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16029 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16031 echo label02.at:22 >"$at_check_line_file"
16033 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16038 TEST_TAR_FORMAT=oldgnu
16039 export TEST_TAR_FORMAT
16040 TAR_OPTIONS="-H oldgnu"
16045 genfile --length 0 --file foo
16046 genfile --length 12288 --file bar
16047 genfile --length 12288 --file baz
16048 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16049 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16050 ) ) >"$at_stdout" 2>"$at_stder1"
16051 at_func_filter_trace $?
16056 TEST_TAR_FORMAT=oldgnu
16057 export TEST_TAR_FORMAT
16058 TAR_OPTIONS="-H oldgnu"
16063 genfile --length 0 --file foo
16064 genfile --length 12288 --file bar
16065 genfile --length 12288 --file baz
16066 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16067 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16068 ) ) >"$at_stdout" 2>"$at_stderr"
16072 at_func_diff_devnull "$at_stderr" || at_failed=:
16073 echo >>"$at_stdout"; $as_echo "Test Volume 1
16078 $at_diff - "$at_stdout" || at_failed=:
16079 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
16081 $at_failed && at_func_log_failure
16085 $as_echo "$at_srcdir/label02.at:22:
16088 TEST_TAR_FORMAT=posix
16089 export TEST_TAR_FORMAT
16090 TAR_OPTIONS=\"-H posix\"
16095 genfile --length 0 --file foo
16096 genfile --length 12288 --file bar
16097 genfile --length 12288 --file baz
16098 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16099 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16101 echo label02.at:22 >"$at_check_line_file"
16103 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16108 TEST_TAR_FORMAT=posix
16109 export TEST_TAR_FORMAT
16110 TAR_OPTIONS="-H posix"
16115 genfile --length 0 --file foo
16116 genfile --length 12288 --file bar
16117 genfile --length 12288 --file baz
16118 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16119 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16120 ) ) >"$at_stdout" 2>"$at_stder1"
16121 at_func_filter_trace $?
16126 TEST_TAR_FORMAT=posix
16127 export TEST_TAR_FORMAT
16128 TAR_OPTIONS="-H posix"
16133 genfile --length 0 --file foo
16134 genfile --length 12288 --file bar
16135 genfile --length 12288 --file baz
16136 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
16137 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
16138 ) ) >"$at_stdout" 2>"$at_stderr"
16142 at_func_diff_devnull "$at_stderr" || at_failed=:
16143 echo >>"$at_stdout"; $as_echo "Test Volume 1
16148 $at_diff - "$at_stdout" || at_failed=:
16149 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
16151 $at_failed && at_func_log_failure
16158 $at_times_p && times >"$at_times_file"
16159 ) 5>&1 2>&1 | eval $at_tee_pipe
16160 at_status=`cat "$at_status_file"`
16163 # 43. label03.at:25: test-label option
16164 at_setup_line='label03.at:25'
16165 at_desc="test-label option"
16166 $at_quiet $as_echo_n " 43: $at_desc "
16168 test -f $XFAILFILE && at_xfail=yes
16169 echo "# -*- compilation -*-" >> "$at_group_log"
16171 $as_echo "43. label03.at:25: testing ..."
16179 $as_echo "$at_srcdir/label03.at:28:
16182 TEST_TAR_FORMAT=gnu
16183 export TEST_TAR_FORMAT
16184 TAR_OPTIONS=\"-H gnu\"
16189 genfile --file file
16190 tar -c --label='iamalabel' --file iamanarchive file
16191 tar -c --file unlabeled.tar file
16192 decho \"# Display label\"
16193 tar --test-label --file=iamanarchive; echo \$?
16194 decho \"# Display label: unlabeled\"
16195 tar --test-label --file=unlabeled.tar; echo \$?
16196 decho \"# Test label: success\"
16197 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
16198 decho \"# Test label: failure\"
16199 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
16200 decho \"# Test label: unlabeled\"
16201 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
16202 decho \"# Test label, verbose: success\"
16203 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
16204 decho \"# Test label, verbose: failure\"
16205 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
16206 decho \"# Test label: multiple arguments\"
16207 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
16208 decho \"# Test label: wildcards\"
16209 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
16211 echo label03.at:28 >"$at_check_line_file"
16213 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16218 TEST_TAR_FORMAT=gnu
16219 export TEST_TAR_FORMAT
16220 TAR_OPTIONS="-H gnu"
16225 genfile --file file
16226 tar -c --label='iamalabel' --file iamanarchive file
16227 tar -c --file unlabeled.tar file
16228 decho "# Display label"
16229 tar --test-label --file=iamanarchive; echo $?
16230 decho "# Display label: unlabeled"
16231 tar --test-label --file=unlabeled.tar; echo $?
16232 decho "# Test label: success"
16233 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16234 decho "# Test label: failure"
16235 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16236 decho "# Test label: unlabeled"
16237 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16238 decho "# Test label, verbose: success"
16239 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16240 decho "# Test label, verbose: failure"
16241 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16242 decho "# Test label: multiple arguments"
16243 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16244 decho "# Test label: wildcards"
16245 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16246 ) ) >"$at_stdout" 2>"$at_stder1"
16247 at_func_filter_trace $?
16252 TEST_TAR_FORMAT=gnu
16253 export TEST_TAR_FORMAT
16254 TAR_OPTIONS="-H gnu"
16259 genfile --file file
16260 tar -c --label='iamalabel' --file iamanarchive file
16261 tar -c --file unlabeled.tar file
16262 decho "# Display label"
16263 tar --test-label --file=iamanarchive; echo $?
16264 decho "# Display label: unlabeled"
16265 tar --test-label --file=unlabeled.tar; echo $?
16266 decho "# Test label: success"
16267 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16268 decho "# Test label: failure"
16269 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16270 decho "# Test label: unlabeled"
16271 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16272 decho "# Test label, verbose: success"
16273 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16274 decho "# Test label, verbose: failure"
16275 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16276 decho "# Test label: multiple arguments"
16277 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16278 decho "# Test label: wildcards"
16279 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16280 ) ) >"$at_stdout" 2>"$at_stderr"
16284 echo >>"$at_stderr"; $as_echo "# Display label
16285 # Display label: unlabeled
16286 # Test label: success
16287 # Test label: failure
16288 # Test label: unlabeled
16289 # Test label, verbose: success
16290 # Test label, verbose: failure
16291 tar: Archive label mismatch
16292 # Test label: multiple arguments
16293 # Test label: wildcards
16295 $at_diff - "$at_stderr" || at_failed=:
16296 echo >>"$at_stdout"; $as_echo "# Display label
16299 # Display label: unlabeled
16301 # Test label: success
16303 # Test label: failure
16305 # Test label: unlabeled
16307 # Test label, verbose: success
16310 # Test label, verbose: failure
16313 # Test label: multiple arguments
16315 # Test label: wildcards
16318 $at_diff - "$at_stdout" || at_failed=:
16319 at_func_check_status 0 $at_status "$at_srcdir/label03.at:28"
16321 $at_failed && at_func_log_failure
16325 $as_echo "$at_srcdir/label03.at:28:
16328 TEST_TAR_FORMAT=oldgnu
16329 export TEST_TAR_FORMAT
16330 TAR_OPTIONS=\"-H oldgnu\"
16335 genfile --file file
16336 tar -c --label='iamalabel' --file iamanarchive file
16337 tar -c --file unlabeled.tar file
16338 decho \"# Display label\"
16339 tar --test-label --file=iamanarchive; echo \$?
16340 decho \"# Display label: unlabeled\"
16341 tar --test-label --file=unlabeled.tar; echo \$?
16342 decho \"# Test label: success\"
16343 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
16344 decho \"# Test label: failure\"
16345 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
16346 decho \"# Test label: unlabeled\"
16347 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
16348 decho \"# Test label, verbose: success\"
16349 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
16350 decho \"# Test label, verbose: failure\"
16351 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
16352 decho \"# Test label: multiple arguments\"
16353 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
16354 decho \"# Test label: wildcards\"
16355 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
16357 echo label03.at:28 >"$at_check_line_file"
16359 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16364 TEST_TAR_FORMAT=oldgnu
16365 export TEST_TAR_FORMAT
16366 TAR_OPTIONS="-H oldgnu"
16371 genfile --file file
16372 tar -c --label='iamalabel' --file iamanarchive file
16373 tar -c --file unlabeled.tar file
16374 decho "# Display label"
16375 tar --test-label --file=iamanarchive; echo $?
16376 decho "# Display label: unlabeled"
16377 tar --test-label --file=unlabeled.tar; echo $?
16378 decho "# Test label: success"
16379 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16380 decho "# Test label: failure"
16381 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16382 decho "# Test label: unlabeled"
16383 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16384 decho "# Test label, verbose: success"
16385 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16386 decho "# Test label, verbose: failure"
16387 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16388 decho "# Test label: multiple arguments"
16389 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16390 decho "# Test label: wildcards"
16391 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16392 ) ) >"$at_stdout" 2>"$at_stder1"
16393 at_func_filter_trace $?
16398 TEST_TAR_FORMAT=oldgnu
16399 export TEST_TAR_FORMAT
16400 TAR_OPTIONS="-H oldgnu"
16405 genfile --file file
16406 tar -c --label='iamalabel' --file iamanarchive file
16407 tar -c --file unlabeled.tar file
16408 decho "# Display label"
16409 tar --test-label --file=iamanarchive; echo $?
16410 decho "# Display label: unlabeled"
16411 tar --test-label --file=unlabeled.tar; echo $?
16412 decho "# Test label: success"
16413 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16414 decho "# Test label: failure"
16415 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16416 decho "# Test label: unlabeled"
16417 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16418 decho "# Test label, verbose: success"
16419 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16420 decho "# Test label, verbose: failure"
16421 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16422 decho "# Test label: multiple arguments"
16423 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16424 decho "# Test label: wildcards"
16425 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16426 ) ) >"$at_stdout" 2>"$at_stderr"
16430 echo >>"$at_stderr"; $as_echo "# Display label
16431 # Display label: unlabeled
16432 # Test label: success
16433 # Test label: failure
16434 # Test label: unlabeled
16435 # Test label, verbose: success
16436 # Test label, verbose: failure
16437 tar: Archive label mismatch
16438 # Test label: multiple arguments
16439 # Test label: wildcards
16441 $at_diff - "$at_stderr" || at_failed=:
16442 echo >>"$at_stdout"; $as_echo "# Display label
16445 # Display label: unlabeled
16447 # Test label: success
16449 # Test label: failure
16451 # Test label: unlabeled
16453 # Test label, verbose: success
16456 # Test label, verbose: failure
16459 # Test label: multiple arguments
16461 # Test label: wildcards
16464 $at_diff - "$at_stdout" || at_failed=:
16465 at_func_check_status 0 $at_status "$at_srcdir/label03.at:28"
16467 $at_failed && at_func_log_failure
16471 $as_echo "$at_srcdir/label03.at:28:
16474 TEST_TAR_FORMAT=posix
16475 export TEST_TAR_FORMAT
16476 TAR_OPTIONS=\"-H posix\"
16481 genfile --file file
16482 tar -c --label='iamalabel' --file iamanarchive file
16483 tar -c --file unlabeled.tar file
16484 decho \"# Display label\"
16485 tar --test-label --file=iamanarchive; echo \$?
16486 decho \"# Display label: unlabeled\"
16487 tar --test-label --file=unlabeled.tar; echo \$?
16488 decho \"# Test label: success\"
16489 tar --test-label --file=iamanarchive 'iamalabel'; echo \$?
16490 decho \"# Test label: failure\"
16491 tar --test-label --file=iamanarchive 'amalabel'; echo \$?
16492 decho \"# Test label: unlabeled\"
16493 tar --test-label --file=unlabeled.tar 'amalabel'; echo \$?
16494 decho \"# Test label, verbose: success\"
16495 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo \$?
16496 decho \"# Test label, verbose: failure\"
16497 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo \$?
16498 decho \"# Test label: multiple arguments\"
16499 tar --test-label --file=iamanarchive a iamalabel b; echo \$?
16500 decho \"# Test label: wildcards\"
16501 tar --test-label --file=iamanarchive --wildcards '*label'; echo \$?
16503 echo label03.at:28 >"$at_check_line_file"
16505 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16510 TEST_TAR_FORMAT=posix
16511 export TEST_TAR_FORMAT
16512 TAR_OPTIONS="-H posix"
16517 genfile --file file
16518 tar -c --label='iamalabel' --file iamanarchive file
16519 tar -c --file unlabeled.tar file
16520 decho "# Display label"
16521 tar --test-label --file=iamanarchive; echo $?
16522 decho "# Display label: unlabeled"
16523 tar --test-label --file=unlabeled.tar; echo $?
16524 decho "# Test label: success"
16525 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16526 decho "# Test label: failure"
16527 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16528 decho "# Test label: unlabeled"
16529 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16530 decho "# Test label, verbose: success"
16531 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16532 decho "# Test label, verbose: failure"
16533 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16534 decho "# Test label: multiple arguments"
16535 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16536 decho "# Test label: wildcards"
16537 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16538 ) ) >"$at_stdout" 2>"$at_stder1"
16539 at_func_filter_trace $?
16544 TEST_TAR_FORMAT=posix
16545 export TEST_TAR_FORMAT
16546 TAR_OPTIONS="-H posix"
16551 genfile --file file
16552 tar -c --label='iamalabel' --file iamanarchive file
16553 tar -c --file unlabeled.tar file
16554 decho "# Display label"
16555 tar --test-label --file=iamanarchive; echo $?
16556 decho "# Display label: unlabeled"
16557 tar --test-label --file=unlabeled.tar; echo $?
16558 decho "# Test label: success"
16559 tar --test-label --file=iamanarchive 'iamalabel'; echo $?
16560 decho "# Test label: failure"
16561 tar --test-label --file=iamanarchive 'amalabel'; echo $?
16562 decho "# Test label: unlabeled"
16563 tar --test-label --file=unlabeled.tar 'amalabel'; echo $?
16564 decho "# Test label, verbose: success"
16565 tar --test-label --verbose --file=iamanarchive 'iamalabel'; echo $?
16566 decho "# Test label, verbose: failure"
16567 tar --test-label --verbose --file=iamanarchive 'amalabel'; echo $?
16568 decho "# Test label: multiple arguments"
16569 tar --test-label --file=iamanarchive a iamalabel b; echo $?
16570 decho "# Test label: wildcards"
16571 tar --test-label --file=iamanarchive --wildcards '*label'; echo $?
16572 ) ) >"$at_stdout" 2>"$at_stderr"
16576 echo >>"$at_stderr"; $as_echo "# Display label
16577 # Display label: unlabeled
16578 # Test label: success
16579 # Test label: failure
16580 # Test label: unlabeled
16581 # Test label, verbose: success
16582 # Test label, verbose: failure
16583 tar: Archive label mismatch
16584 # Test label: multiple arguments
16585 # Test label: wildcards
16587 $at_diff - "$at_stderr" || at_failed=:
16588 echo >>"$at_stdout"; $as_echo "# Display label
16591 # Display label: unlabeled
16593 # Test label: success
16595 # Test label: failure
16597 # Test label: unlabeled
16599 # Test label, verbose: success
16602 # Test label, verbose: failure
16605 # Test label: multiple arguments
16607 # Test label: wildcards
16610 $at_diff - "$at_stdout" || at_failed=:
16611 at_func_check_status 0 $at_status "$at_srcdir/label03.at:28"
16613 $at_failed && at_func_log_failure
16620 $at_times_p && times >"$at_times_file"
16621 ) 5>&1 2>&1 | eval $at_tee_pipe
16622 at_status=`cat "$at_status_file"`
16625 # 44. label04.at:25: label with non-create option
16626 at_setup_line='label04.at:25'
16627 at_desc="label with non-create option"
16628 $at_quiet $as_echo_n " 44: $at_desc "
16630 test -f $XFAILFILE && at_xfail=yes
16631 echo "# -*- compilation -*-" >> "$at_group_log"
16633 $as_echo "44. label04.at:25: testing ..."
16641 $as_echo "$at_srcdir/label04.at:28:
16644 TEST_TAR_FORMAT=gnu
16645 export TEST_TAR_FORMAT
16646 TAR_OPTIONS=\"-H gnu\"
16651 genfile --file file
16652 decho \"# Create volume\"
16653 tar -c -f archive --label='New volume' file
16654 decho \"# Update: wrong label\"
16655 tar -rf archive --label='My volume' file; echo \$?
16656 decho \"# Update: right label\"
16657 tar -rf archive --label='New volume' file
16659 echo label04.at:28 >"$at_check_line_file"
16661 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16666 TEST_TAR_FORMAT=gnu
16667 export TEST_TAR_FORMAT
16668 TAR_OPTIONS="-H gnu"
16673 genfile --file file
16674 decho "# Create volume"
16675 tar -c -f archive --label='New volume' file
16676 decho "# Update: wrong label"
16677 tar -rf archive --label='My volume' file; echo $?
16678 decho "# Update: right label"
16679 tar -rf archive --label='New volume' file
16680 ) ) >"$at_stdout" 2>"$at_stder1"
16681 at_func_filter_trace $?
16686 TEST_TAR_FORMAT=gnu
16687 export TEST_TAR_FORMAT
16688 TAR_OPTIONS="-H gnu"
16693 genfile --file file
16694 decho "# Create volume"
16695 tar -c -f archive --label='New volume' file
16696 decho "# Update: wrong label"
16697 tar -rf archive --label='My volume' file; echo $?
16698 decho "# Update: right label"
16699 tar -rf archive --label='New volume' file
16700 ) ) >"$at_stdout" 2>"$at_stderr"
16704 echo >>"$at_stderr"; $as_echo "# Create volume
16705 # Update: wrong label
16706 tar: Volume \`New volume' does not match \`My volume'
16707 tar: Error is not recoverable: exiting now
16708 # Update: right label
16710 $at_diff - "$at_stderr" || at_failed=:
16711 echo >>"$at_stdout"; $as_echo "# Create volume
16712 # Update: wrong label
16714 # Update: right label
16716 $at_diff - "$at_stdout" || at_failed=:
16717 at_func_check_status 0 $at_status "$at_srcdir/label04.at:28"
16719 $at_failed && at_func_log_failure
16723 $as_echo "$at_srcdir/label04.at:28:
16726 TEST_TAR_FORMAT=oldgnu
16727 export TEST_TAR_FORMAT
16728 TAR_OPTIONS=\"-H oldgnu\"
16733 genfile --file file
16734 decho \"# Create volume\"
16735 tar -c -f archive --label='New volume' file
16736 decho \"# Update: wrong label\"
16737 tar -rf archive --label='My volume' file; echo \$?
16738 decho \"# Update: right label\"
16739 tar -rf archive --label='New volume' file
16741 echo label04.at:28 >"$at_check_line_file"
16743 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16748 TEST_TAR_FORMAT=oldgnu
16749 export TEST_TAR_FORMAT
16750 TAR_OPTIONS="-H oldgnu"
16755 genfile --file file
16756 decho "# Create volume"
16757 tar -c -f archive --label='New volume' file
16758 decho "# Update: wrong label"
16759 tar -rf archive --label='My volume' file; echo $?
16760 decho "# Update: right label"
16761 tar -rf archive --label='New volume' file
16762 ) ) >"$at_stdout" 2>"$at_stder1"
16763 at_func_filter_trace $?
16768 TEST_TAR_FORMAT=oldgnu
16769 export TEST_TAR_FORMAT
16770 TAR_OPTIONS="-H oldgnu"
16775 genfile --file file
16776 decho "# Create volume"
16777 tar -c -f archive --label='New volume' file
16778 decho "# Update: wrong label"
16779 tar -rf archive --label='My volume' file; echo $?
16780 decho "# Update: right label"
16781 tar -rf archive --label='New volume' file
16782 ) ) >"$at_stdout" 2>"$at_stderr"
16786 echo >>"$at_stderr"; $as_echo "# Create volume
16787 # Update: wrong label
16788 tar: Volume \`New volume' does not match \`My volume'
16789 tar: Error is not recoverable: exiting now
16790 # Update: right label
16792 $at_diff - "$at_stderr" || at_failed=:
16793 echo >>"$at_stdout"; $as_echo "# Create volume
16794 # Update: wrong label
16796 # Update: right label
16798 $at_diff - "$at_stdout" || at_failed=:
16799 at_func_check_status 0 $at_status "$at_srcdir/label04.at:28"
16801 $at_failed && at_func_log_failure
16805 $as_echo "$at_srcdir/label04.at:28:
16808 TEST_TAR_FORMAT=posix
16809 export TEST_TAR_FORMAT
16810 TAR_OPTIONS=\"-H posix\"
16815 genfile --file file
16816 decho \"# Create volume\"
16817 tar -c -f archive --label='New volume' file
16818 decho \"# Update: wrong label\"
16819 tar -rf archive --label='My volume' file; echo \$?
16820 decho \"# Update: right label\"
16821 tar -rf archive --label='New volume' file
16823 echo label04.at:28 >"$at_check_line_file"
16825 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16830 TEST_TAR_FORMAT=posix
16831 export TEST_TAR_FORMAT
16832 TAR_OPTIONS="-H posix"
16837 genfile --file file
16838 decho "# Create volume"
16839 tar -c -f archive --label='New volume' file
16840 decho "# Update: wrong label"
16841 tar -rf archive --label='My volume' file; echo $?
16842 decho "# Update: right label"
16843 tar -rf archive --label='New volume' file
16844 ) ) >"$at_stdout" 2>"$at_stder1"
16845 at_func_filter_trace $?
16850 TEST_TAR_FORMAT=posix
16851 export TEST_TAR_FORMAT
16852 TAR_OPTIONS="-H posix"
16857 genfile --file file
16858 decho "# Create volume"
16859 tar -c -f archive --label='New volume' file
16860 decho "# Update: wrong label"
16861 tar -rf archive --label='My volume' file; echo $?
16862 decho "# Update: right label"
16863 tar -rf archive --label='New volume' file
16864 ) ) >"$at_stdout" 2>"$at_stderr"
16868 echo >>"$at_stderr"; $as_echo "# Create volume
16869 # Update: wrong label
16870 tar: Volume \`New volume' does not match \`My volume'
16871 tar: Error is not recoverable: exiting now
16872 # Update: right label
16874 $at_diff - "$at_stderr" || at_failed=:
16875 echo >>"$at_stdout"; $as_echo "# Create volume
16876 # Update: wrong label
16878 # Update: right label
16880 $at_diff - "$at_stdout" || at_failed=:
16881 at_func_check_status 0 $at_status "$at_srcdir/label04.at:28"
16883 $at_failed && at_func_log_failure
16890 $at_times_p && times >"$at_times_file"
16891 ) 5>&1 2>&1 | eval $at_tee_pipe
16892 at_status=`cat "$at_status_file"`
16895 # 45. label05.at:22: label with non-create option
16896 at_setup_line='label05.at:22'
16897 at_desc="label with non-create option"
16898 $at_quiet $as_echo_n " 45: $at_desc "
16900 test -f $XFAILFILE && at_xfail=yes
16901 echo "# -*- compilation -*-" >> "$at_group_log"
16903 $as_echo "45. label05.at:22: testing ..."
16911 $as_echo "$at_srcdir/label05.at:25:
16914 TEST_TAR_FORMAT=gnu
16915 export TEST_TAR_FORMAT
16916 TAR_OPTIONS=\"-H gnu\"
16921 genfile --file file
16922 decho \"# Create volume\"
16923 tar -c -f archive file
16924 decho \"# Update: wrong label\"
16925 tar -rf archive --label='My volume' file; echo \$?
16926 decho \"# Update: right label\"
16927 tar -rf archive file
16929 echo label05.at:25 >"$at_check_line_file"
16931 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16936 TEST_TAR_FORMAT=gnu
16937 export TEST_TAR_FORMAT
16938 TAR_OPTIONS="-H gnu"
16943 genfile --file file
16944 decho "# Create volume"
16945 tar -c -f archive file
16946 decho "# Update: wrong label"
16947 tar -rf archive --label='My volume' file; echo $?
16948 decho "# Update: right label"
16949 tar -rf archive file
16950 ) ) >"$at_stdout" 2>"$at_stder1"
16951 at_func_filter_trace $?
16956 TEST_TAR_FORMAT=gnu
16957 export TEST_TAR_FORMAT
16958 TAR_OPTIONS="-H gnu"
16963 genfile --file file
16964 decho "# Create volume"
16965 tar -c -f archive file
16966 decho "# Update: wrong label"
16967 tar -rf archive --label='My volume' file; echo $?
16968 decho "# Update: right label"
16969 tar -rf archive file
16970 ) ) >"$at_stdout" 2>"$at_stderr"
16974 echo >>"$at_stderr"; $as_echo "# Create volume
16975 # Update: wrong label
16976 tar: Archive not labeled to match \`My volume'
16977 tar: Error is not recoverable: exiting now
16978 # Update: right label
16980 $at_diff - "$at_stderr" || at_failed=:
16981 echo >>"$at_stdout"; $as_echo "# Create volume
16982 # Update: wrong label
16984 # Update: right label
16986 $at_diff - "$at_stdout" || at_failed=:
16987 at_func_check_status 0 $at_status "$at_srcdir/label05.at:25"
16989 $at_failed && at_func_log_failure
16993 $as_echo "$at_srcdir/label05.at:25:
16996 TEST_TAR_FORMAT=oldgnu
16997 export TEST_TAR_FORMAT
16998 TAR_OPTIONS=\"-H oldgnu\"
17003 genfile --file file
17004 decho \"# Create volume\"
17005 tar -c -f archive file
17006 decho \"# Update: wrong label\"
17007 tar -rf archive --label='My volume' file; echo \$?
17008 decho \"# Update: right label\"
17009 tar -rf archive file
17011 echo label05.at:25 >"$at_check_line_file"
17013 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17018 TEST_TAR_FORMAT=oldgnu
17019 export TEST_TAR_FORMAT
17020 TAR_OPTIONS="-H oldgnu"
17025 genfile --file file
17026 decho "# Create volume"
17027 tar -c -f archive file
17028 decho "# Update: wrong label"
17029 tar -rf archive --label='My volume' file; echo $?
17030 decho "# Update: right label"
17031 tar -rf archive file
17032 ) ) >"$at_stdout" 2>"$at_stder1"
17033 at_func_filter_trace $?
17038 TEST_TAR_FORMAT=oldgnu
17039 export TEST_TAR_FORMAT
17040 TAR_OPTIONS="-H oldgnu"
17045 genfile --file file
17046 decho "# Create volume"
17047 tar -c -f archive file
17048 decho "# Update: wrong label"
17049 tar -rf archive --label='My volume' file; echo $?
17050 decho "# Update: right label"
17051 tar -rf archive file
17052 ) ) >"$at_stdout" 2>"$at_stderr"
17056 echo >>"$at_stderr"; $as_echo "# Create volume
17057 # Update: wrong label
17058 tar: Archive not labeled to match \`My volume'
17059 tar: Error is not recoverable: exiting now
17060 # Update: right label
17062 $at_diff - "$at_stderr" || at_failed=:
17063 echo >>"$at_stdout"; $as_echo "# Create volume
17064 # Update: wrong label
17066 # Update: right label
17068 $at_diff - "$at_stdout" || at_failed=:
17069 at_func_check_status 0 $at_status "$at_srcdir/label05.at:25"
17071 $at_failed && at_func_log_failure
17075 $as_echo "$at_srcdir/label05.at:25:
17078 TEST_TAR_FORMAT=posix
17079 export TEST_TAR_FORMAT
17080 TAR_OPTIONS=\"-H posix\"
17085 genfile --file file
17086 decho \"# Create volume\"
17087 tar -c -f archive file
17088 decho \"# Update: wrong label\"
17089 tar -rf archive --label='My volume' file; echo \$?
17090 decho \"# Update: right label\"
17091 tar -rf archive file
17093 echo label05.at:25 >"$at_check_line_file"
17095 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17100 TEST_TAR_FORMAT=posix
17101 export TEST_TAR_FORMAT
17102 TAR_OPTIONS="-H posix"
17107 genfile --file file
17108 decho "# Create volume"
17109 tar -c -f archive file
17110 decho "# Update: wrong label"
17111 tar -rf archive --label='My volume' file; echo $?
17112 decho "# Update: right label"
17113 tar -rf archive file
17114 ) ) >"$at_stdout" 2>"$at_stder1"
17115 at_func_filter_trace $?
17120 TEST_TAR_FORMAT=posix
17121 export TEST_TAR_FORMAT
17122 TAR_OPTIONS="-H posix"
17127 genfile --file file
17128 decho "# Create volume"
17129 tar -c -f archive file
17130 decho "# Update: wrong label"
17131 tar -rf archive --label='My volume' file; echo $?
17132 decho "# Update: right label"
17133 tar -rf archive file
17134 ) ) >"$at_stdout" 2>"$at_stderr"
17138 echo >>"$at_stderr"; $as_echo "# Create volume
17139 # Update: wrong label
17140 tar: Archive not labeled to match \`My volume'
17141 tar: Error is not recoverable: exiting now
17142 # Update: right label
17144 $at_diff - "$at_stderr" || at_failed=:
17145 echo >>"$at_stdout"; $as_echo "# Create volume
17146 # Update: wrong label
17148 # Update: right label
17150 $at_diff - "$at_stdout" || at_failed=:
17151 at_func_check_status 0 $at_status "$at_srcdir/label05.at:25"
17153 $at_failed && at_func_log_failure
17160 $at_times_p && times >"$at_times_file"
17161 ) 5>&1 2>&1 | eval $at_tee_pipe
17162 at_status=`cat "$at_status_file"`
17165 # 46. backup01.at:33: extracting existing dir with --backup
17166 at_setup_line='backup01.at:33'
17167 at_desc="extracting existing dir with --backup"
17168 $at_quiet $as_echo_n " 46: $at_desc "
17170 test -f $XFAILFILE && at_xfail=yes
17171 echo "# -*- compilation -*-" >> "$at_group_log"
17173 $as_echo "46. backup01.at:33: testing ..."
17181 $as_echo "$at_srcdir/backup01.at:36:
17185 export TEST_TAR_FORMAT
17186 TAR_OPTIONS=\"-H v7\"
17191 echo bla > dir1/file1
17192 tar cf test.tar dir1 dir2
17193 tar xfv test.tar --backup --warning=no-timestamp
17195 echo backup01.at:36 >"$at_check_line_file"
17197 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17203 export TEST_TAR_FORMAT
17204 TAR_OPTIONS="-H v7"
17209 echo bla > dir1/file1
17210 tar cf test.tar dir1 dir2
17211 tar xfv test.tar --backup --warning=no-timestamp
17212 ) ) >"$at_stdout" 2>"$at_stder1"
17213 at_func_filter_trace $?
17219 export TEST_TAR_FORMAT
17220 TAR_OPTIONS="-H v7"
17225 echo bla > dir1/file1
17226 tar cf test.tar dir1 dir2
17227 tar xfv test.tar --backup --warning=no-timestamp
17228 ) ) >"$at_stdout" 2>"$at_stderr"
17232 at_func_diff_devnull "$at_stderr" || at_failed=:
17233 echo >>"$at_stdout"; $as_echo "dir1/
17235 Renaming \`dir1/file1' to \`dir1/file1~'
17238 $at_diff - "$at_stdout" || at_failed=:
17239 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
17241 $at_failed && at_func_log_failure
17245 $as_echo "$at_srcdir/backup01.at:36:
17248 TEST_TAR_FORMAT=oldgnu
17249 export TEST_TAR_FORMAT
17250 TAR_OPTIONS=\"-H oldgnu\"
17255 echo bla > dir1/file1
17256 tar cf test.tar dir1 dir2
17257 tar xfv test.tar --backup --warning=no-timestamp
17259 echo backup01.at:36 >"$at_check_line_file"
17261 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17266 TEST_TAR_FORMAT=oldgnu
17267 export TEST_TAR_FORMAT
17268 TAR_OPTIONS="-H oldgnu"
17273 echo bla > dir1/file1
17274 tar cf test.tar dir1 dir2
17275 tar xfv test.tar --backup --warning=no-timestamp
17276 ) ) >"$at_stdout" 2>"$at_stder1"
17277 at_func_filter_trace $?
17282 TEST_TAR_FORMAT=oldgnu
17283 export TEST_TAR_FORMAT
17284 TAR_OPTIONS="-H oldgnu"
17289 echo bla > dir1/file1
17290 tar cf test.tar dir1 dir2
17291 tar xfv test.tar --backup --warning=no-timestamp
17292 ) ) >"$at_stdout" 2>"$at_stderr"
17296 at_func_diff_devnull "$at_stderr" || at_failed=:
17297 echo >>"$at_stdout"; $as_echo "dir1/
17299 Renaming \`dir1/file1' to \`dir1/file1~'
17302 $at_diff - "$at_stdout" || at_failed=:
17303 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
17305 $at_failed && at_func_log_failure
17309 $as_echo "$at_srcdir/backup01.at:36:
17312 TEST_TAR_FORMAT=ustar
17313 export TEST_TAR_FORMAT
17314 TAR_OPTIONS=\"-H ustar\"
17319 echo bla > dir1/file1
17320 tar cf test.tar dir1 dir2
17321 tar xfv test.tar --backup --warning=no-timestamp
17323 echo backup01.at:36 >"$at_check_line_file"
17325 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17330 TEST_TAR_FORMAT=ustar
17331 export TEST_TAR_FORMAT
17332 TAR_OPTIONS="-H ustar"
17337 echo bla > dir1/file1
17338 tar cf test.tar dir1 dir2
17339 tar xfv test.tar --backup --warning=no-timestamp
17340 ) ) >"$at_stdout" 2>"$at_stder1"
17341 at_func_filter_trace $?
17346 TEST_TAR_FORMAT=ustar
17347 export TEST_TAR_FORMAT
17348 TAR_OPTIONS="-H ustar"
17353 echo bla > dir1/file1
17354 tar cf test.tar dir1 dir2
17355 tar xfv test.tar --backup --warning=no-timestamp
17356 ) ) >"$at_stdout" 2>"$at_stderr"
17360 at_func_diff_devnull "$at_stderr" || at_failed=:
17361 echo >>"$at_stdout"; $as_echo "dir1/
17363 Renaming \`dir1/file1' to \`dir1/file1~'
17366 $at_diff - "$at_stdout" || at_failed=:
17367 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
17369 $at_failed && at_func_log_failure
17373 $as_echo "$at_srcdir/backup01.at:36:
17376 TEST_TAR_FORMAT=posix
17377 export TEST_TAR_FORMAT
17378 TAR_OPTIONS=\"-H posix\"
17383 echo bla > dir1/file1
17384 tar cf test.tar dir1 dir2
17385 tar xfv test.tar --backup --warning=no-timestamp
17387 echo backup01.at:36 >"$at_check_line_file"
17389 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17394 TEST_TAR_FORMAT=posix
17395 export TEST_TAR_FORMAT
17396 TAR_OPTIONS="-H posix"
17401 echo bla > dir1/file1
17402 tar cf test.tar dir1 dir2
17403 tar xfv test.tar --backup --warning=no-timestamp
17404 ) ) >"$at_stdout" 2>"$at_stder1"
17405 at_func_filter_trace $?
17410 TEST_TAR_FORMAT=posix
17411 export TEST_TAR_FORMAT
17412 TAR_OPTIONS="-H posix"
17417 echo bla > dir1/file1
17418 tar cf test.tar dir1 dir2
17419 tar xfv test.tar --backup --warning=no-timestamp
17420 ) ) >"$at_stdout" 2>"$at_stderr"
17424 at_func_diff_devnull "$at_stderr" || at_failed=:
17425 echo >>"$at_stdout"; $as_echo "dir1/
17427 Renaming \`dir1/file1' to \`dir1/file1~'
17430 $at_diff - "$at_stdout" || at_failed=:
17431 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
17433 $at_failed && at_func_log_failure
17437 $as_echo "$at_srcdir/backup01.at:36:
17440 TEST_TAR_FORMAT=gnu
17441 export TEST_TAR_FORMAT
17442 TAR_OPTIONS=\"-H gnu\"
17447 echo bla > dir1/file1
17448 tar cf test.tar dir1 dir2
17449 tar xfv test.tar --backup --warning=no-timestamp
17451 echo backup01.at:36 >"$at_check_line_file"
17453 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17458 TEST_TAR_FORMAT=gnu
17459 export TEST_TAR_FORMAT
17460 TAR_OPTIONS="-H gnu"
17465 echo bla > dir1/file1
17466 tar cf test.tar dir1 dir2
17467 tar xfv test.tar --backup --warning=no-timestamp
17468 ) ) >"$at_stdout" 2>"$at_stder1"
17469 at_func_filter_trace $?
17474 TEST_TAR_FORMAT=gnu
17475 export TEST_TAR_FORMAT
17476 TAR_OPTIONS="-H gnu"
17481 echo bla > dir1/file1
17482 tar cf test.tar dir1 dir2
17483 tar xfv test.tar --backup --warning=no-timestamp
17484 ) ) >"$at_stdout" 2>"$at_stderr"
17488 at_func_diff_devnull "$at_stderr" || at_failed=:
17489 echo >>"$at_stdout"; $as_echo "dir1/
17491 Renaming \`dir1/file1' to \`dir1/file1~'
17494 $at_diff - "$at_stdout" || at_failed=:
17495 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
17497 $at_failed && at_func_log_failure
17504 $at_times_p && times >"$at_times_file"
17505 ) 5>&1 2>&1 | eval $at_tee_pipe
17506 at_status=`cat "$at_status_file"`
17509 # 47. gzip.at:23: gzip
17510 at_setup_line='gzip.at:23'
17512 $at_quiet $as_echo_n " 47: $at_desc "
17514 echo "# -*- compilation -*-" >> "$at_group_log"
17516 $as_echo "47. gzip.at:23: testing ..."
17524 $as_echo "$at_srcdir/gzip.at:28:
17526 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
17528 tar xfvz /dev/null 2>err
17530 sed -n '/^tar:/p' err >&2
17533 echo gzip.at:28 >"$at_check_line_file"
17535 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17539 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
17541 tar xfvz /dev/null 2>err
17543 sed -n '/^tar:/p' err >&2
17545 ) >"$at_stdout" 2>"$at_stder1"
17546 at_func_filter_trace $?
17550 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
17552 tar xfvz /dev/null 2>err
17554 sed -n '/^tar:/p' err >&2
17556 ) >"$at_stdout" 2>"$at_stderr"
17560 echo >>"$at_stderr"; $as_echo "tar: Child returned status 1
17561 tar: Error is not recoverable: exiting now
17563 $at_diff - "$at_stderr" || at_failed=:
17564 at_func_diff_devnull "$at_stdout" || at_failed=:
17565 at_func_check_status 2 $at_status "$at_srcdir/gzip.at:28"
17567 $at_failed && at_func_log_failure
17572 $at_times_p && times >"$at_times_file"
17573 ) 5>&1 2>&1 | eval $at_tee_pipe
17574 at_status=`cat "$at_status_file"`
17577 # 48. incremental.at:23: incremental
17578 at_setup_line='incremental.at:23'
17579 at_desc="incremental"
17580 $at_quiet $as_echo_n " 48: $at_desc "
17582 test -f $XFAILFILE && at_xfail=yes
17583 echo "# -*- compilation -*-" >> "$at_group_log"
17585 $as_echo "48. incremental.at:23: testing ..."
17593 $as_echo "$at_srcdir/incremental.at:26:
17596 TEST_TAR_FORMAT=gnu
17597 export TEST_TAR_FORMAT
17598 TAR_OPTIONS=\"-H gnu\"
17603 echo x >structure/file
17605 # On Nextstep (and perhaps other 4.3BSD systems),
17606 # a newly created file's ctime isn't updated
17607 # until the next sync or stat operation on the file.
17608 ls -l structure/file >/dev/null
17610 # If the time of an initial backup and the creation time of a file contained
17611 # in that backup are the same, the file will be backed up again when an
17612 # incremental backup is done, because the incremental backup backs up
17613 # files created \`on or after' the initial backup time. Without the sleep
17614 # command, behaviour of tar becomes variable, depending whether the system
17615 # clock ticked over to the next second between creating the file and
17619 tar cf archive --listed=list structure
17620 tar cfv archive --listed=list structure
17622 # ReiserFS often offsets the timestamps of newly created files
17623 # 1 second to the past. Try to compensate for it, until a better
17624 # solution is found.
17626 echo y >structure/file
17627 tar cfv archive --listed=list structure
17629 echo incremental.at:26 >"$at_check_line_file"
17631 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
17636 TEST_TAR_FORMAT=gnu
17637 export TEST_TAR_FORMAT
17638 TAR_OPTIONS="-H gnu"
17643 echo x >structure/file
17645 # On Nextstep (and perhaps other 4.3BSD systems),
17646 # a newly created file's ctime isn't updated
17647 # until the next sync or stat operation on the file.
17648 ls -l structure/file >/dev/null
17650 # If the time of an initial backup and the creation time of a file contained
17651 # in that backup are the same, the file will be backed up again when an
17652 # incremental backup is done, because the incremental backup backs up
17653 # files created `on or after' the initial backup time. Without the sleep
17654 # command, behaviour of tar becomes variable, depending whether the system
17655 # clock ticked over to the next second between creating the file and
17659 tar cf archive --listed=list structure
17660 tar cfv archive --listed=list structure
17662 # ReiserFS often offsets the timestamps of newly created files
17663 # 1 second to the past. Try to compensate for it, until a better
17664 # solution is found.
17666 echo y >structure/file
17667 tar cfv archive --listed=list structure
17668 ) ) >"$at_stdout" 2>"$at_stder1"
17669 at_func_filter_trace $?
17674 TEST_TAR_FORMAT=gnu
17675 export TEST_TAR_FORMAT
17676 TAR_OPTIONS="-H gnu"
17681 echo x >structure/file
17683 # On Nextstep (and perhaps other 4.3BSD systems),
17684 # a newly created file's ctime isn't updated
17685 # until the next sync or stat operation on the file.
17686 ls -l structure/file >/dev/null
17688 # If the time of an initial backup and the creation time of a file contained
17689 # in that backup are the same, the file will be backed up again when an
17690 # incremental backup is done, because the incremental backup backs up
17691 # files created `on or after' the initial backup time. Without the sleep
17692 # command, behaviour of tar becomes variable, depending whether the system
17693 # clock ticked over to the next second between creating the file and
17697 tar cf archive --listed=list structure
17698 tar cfv archive --listed=list structure
17700 # ReiserFS often offsets the timestamps of newly created files
17701 # 1 second to the past. Try to compensate for it, until a better
17702 # solution is found.
17704 echo y >structure/file
17705 tar cfv archive --listed=list structure
17706 ) ) >"$at_stdout" 2>"$at_stderr"
17710 at_func_diff_devnull "$at_stderr" || at_failed=:
17711 echo >>"$at_stdout"; $as_echo "structure/
17716 $at_diff - "$at_stdout" || at_failed=:
17717 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
17719 $at_failed && at_func_log_failure
17723 $as_echo "$at_srcdir/incremental.at:26:
17726 TEST_TAR_FORMAT=oldgnu
17727 export TEST_TAR_FORMAT
17728 TAR_OPTIONS=\"-H oldgnu\"
17733 echo x >structure/file
17735 # On Nextstep (and perhaps other 4.3BSD systems),
17736 # a newly created file's ctime isn't updated
17737 # until the next sync or stat operation on the file.
17738 ls -l structure/file >/dev/null
17740 # If the time of an initial backup and the creation time of a file contained
17741 # in that backup are the same, the file will be backed up again when an
17742 # incremental backup is done, because the incremental backup backs up
17743 # files created \`on or after' the initial backup time. Without the sleep
17744 # command, behaviour of tar becomes variable, depending whether the system
17745 # clock ticked over to the next second between creating the file and
17749 tar cf archive --listed=list structure
17750 tar cfv archive --listed=list structure
17752 # ReiserFS often offsets the timestamps of newly created files
17753 # 1 second to the past. Try to compensate for it, until a better
17754 # solution is found.
17756 echo y >structure/file
17757 tar cfv archive --listed=list structure
17759 echo incremental.at:26 >"$at_check_line_file"
17761 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
17766 TEST_TAR_FORMAT=oldgnu
17767 export TEST_TAR_FORMAT
17768 TAR_OPTIONS="-H oldgnu"
17773 echo x >structure/file
17775 # On Nextstep (and perhaps other 4.3BSD systems),
17776 # a newly created file's ctime isn't updated
17777 # until the next sync or stat operation on the file.
17778 ls -l structure/file >/dev/null
17780 # If the time of an initial backup and the creation time of a file contained
17781 # in that backup are the same, the file will be backed up again when an
17782 # incremental backup is done, because the incremental backup backs up
17783 # files created `on or after' the initial backup time. Without the sleep
17784 # command, behaviour of tar becomes variable, depending whether the system
17785 # clock ticked over to the next second between creating the file and
17789 tar cf archive --listed=list structure
17790 tar cfv archive --listed=list structure
17792 # ReiserFS often offsets the timestamps of newly created files
17793 # 1 second to the past. Try to compensate for it, until a better
17794 # solution is found.
17796 echo y >structure/file
17797 tar cfv archive --listed=list structure
17798 ) ) >"$at_stdout" 2>"$at_stder1"
17799 at_func_filter_trace $?
17804 TEST_TAR_FORMAT=oldgnu
17805 export TEST_TAR_FORMAT
17806 TAR_OPTIONS="-H oldgnu"
17811 echo x >structure/file
17813 # On Nextstep (and perhaps other 4.3BSD systems),
17814 # a newly created file's ctime isn't updated
17815 # until the next sync or stat operation on the file.
17816 ls -l structure/file >/dev/null
17818 # If the time of an initial backup and the creation time of a file contained
17819 # in that backup are the same, the file will be backed up again when an
17820 # incremental backup is done, because the incremental backup backs up
17821 # files created `on or after' the initial backup time. Without the sleep
17822 # command, behaviour of tar becomes variable, depending whether the system
17823 # clock ticked over to the next second between creating the file and
17827 tar cf archive --listed=list structure
17828 tar cfv archive --listed=list structure
17830 # ReiserFS often offsets the timestamps of newly created files
17831 # 1 second to the past. Try to compensate for it, until a better
17832 # solution is found.
17834 echo y >structure/file
17835 tar cfv archive --listed=list structure
17836 ) ) >"$at_stdout" 2>"$at_stderr"
17840 at_func_diff_devnull "$at_stderr" || at_failed=:
17841 echo >>"$at_stdout"; $as_echo "structure/
17846 $at_diff - "$at_stdout" || at_failed=:
17847 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
17849 $at_failed && at_func_log_failure
17853 $as_echo "$at_srcdir/incremental.at:26:
17856 TEST_TAR_FORMAT=posix
17857 export TEST_TAR_FORMAT
17858 TAR_OPTIONS=\"-H posix\"
17863 echo x >structure/file
17865 # On Nextstep (and perhaps other 4.3BSD systems),
17866 # a newly created file's ctime isn't updated
17867 # until the next sync or stat operation on the file.
17868 ls -l structure/file >/dev/null
17870 # If the time of an initial backup and the creation time of a file contained
17871 # in that backup are the same, the file will be backed up again when an
17872 # incremental backup is done, because the incremental backup backs up
17873 # files created \`on or after' the initial backup time. Without the sleep
17874 # command, behaviour of tar becomes variable, depending whether the system
17875 # clock ticked over to the next second between creating the file and
17879 tar cf archive --listed=list structure
17880 tar cfv archive --listed=list structure
17882 # ReiserFS often offsets the timestamps of newly created files
17883 # 1 second to the past. Try to compensate for it, until a better
17884 # solution is found.
17886 echo y >structure/file
17887 tar cfv archive --listed=list structure
17889 echo incremental.at:26 >"$at_check_line_file"
17891 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
17896 TEST_TAR_FORMAT=posix
17897 export TEST_TAR_FORMAT
17898 TAR_OPTIONS="-H posix"
17903 echo x >structure/file
17905 # On Nextstep (and perhaps other 4.3BSD systems),
17906 # a newly created file's ctime isn't updated
17907 # until the next sync or stat operation on the file.
17908 ls -l structure/file >/dev/null
17910 # If the time of an initial backup and the creation time of a file contained
17911 # in that backup are the same, the file will be backed up again when an
17912 # incremental backup is done, because the incremental backup backs up
17913 # files created `on or after' the initial backup time. Without the sleep
17914 # command, behaviour of tar becomes variable, depending whether the system
17915 # clock ticked over to the next second between creating the file and
17919 tar cf archive --listed=list structure
17920 tar cfv archive --listed=list structure
17922 # ReiserFS often offsets the timestamps of newly created files
17923 # 1 second to the past. Try to compensate for it, until a better
17924 # solution is found.
17926 echo y >structure/file
17927 tar cfv archive --listed=list structure
17928 ) ) >"$at_stdout" 2>"$at_stder1"
17929 at_func_filter_trace $?
17934 TEST_TAR_FORMAT=posix
17935 export TEST_TAR_FORMAT
17936 TAR_OPTIONS="-H posix"
17941 echo x >structure/file
17943 # On Nextstep (and perhaps other 4.3BSD systems),
17944 # a newly created file's ctime isn't updated
17945 # until the next sync or stat operation on the file.
17946 ls -l structure/file >/dev/null
17948 # If the time of an initial backup and the creation time of a file contained
17949 # in that backup are the same, the file will be backed up again when an
17950 # incremental backup is done, because the incremental backup backs up
17951 # files created `on or after' the initial backup time. Without the sleep
17952 # command, behaviour of tar becomes variable, depending whether the system
17953 # clock ticked over to the next second between creating the file and
17957 tar cf archive --listed=list structure
17958 tar cfv archive --listed=list structure
17960 # ReiserFS often offsets the timestamps of newly created files
17961 # 1 second to the past. Try to compensate for it, until a better
17962 # solution is found.
17964 echo y >structure/file
17965 tar cfv archive --listed=list structure
17966 ) ) >"$at_stdout" 2>"$at_stderr"
17970 at_func_diff_devnull "$at_stderr" || at_failed=:
17971 echo >>"$at_stdout"; $as_echo "structure/
17976 $at_diff - "$at_stdout" || at_failed=:
17977 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
17979 $at_failed && at_func_log_failure
17986 $at_times_p && times >"$at_times_file"
17987 ) 5>&1 2>&1 | eval $at_tee_pipe
17988 at_status=`cat "$at_status_file"`
17991 # 49. incr01.at:27: restore broken symlinks from incremental
17992 at_setup_line='incr01.at:27'
17993 at_desc="restore broken symlinks from incremental"
17994 $at_quiet $as_echo_n " 49: $at_desc "
17996 test -f $XFAILFILE && at_xfail=yes
17997 echo "# -*- compilation -*-" >> "$at_group_log"
17999 $as_echo "49. incr01.at:27: testing ..."
18007 $as_echo "$at_srcdir/incr01.at:30:
18010 TEST_TAR_FORMAT=gnu
18011 export TEST_TAR_FORMAT
18012 TAR_OPTIONS=\"-H gnu\"
18017 \$as_ln_s foo directory/bar
18019 tar -cf archive.0 -g db directory
18021 tar -cf archive.1 -g db directory
18025 tar xvfg archive.0 /dev/null --warning=no-timestamp
18027 tar xvfg archive.1 /dev/null --warning=no-timestamp
18029 echo incr01.at:30 >"$at_check_line_file"
18031 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18036 TEST_TAR_FORMAT=gnu
18037 export TEST_TAR_FORMAT
18038 TAR_OPTIONS="-H gnu"
18043 $as_ln_s foo directory/bar
18045 tar -cf archive.0 -g db directory
18047 tar -cf archive.1 -g db directory
18051 tar xvfg archive.0 /dev/null --warning=no-timestamp
18053 tar xvfg archive.1 /dev/null --warning=no-timestamp
18054 ) ) >"$at_stdout" 2>"$at_stder1"
18055 at_func_filter_trace $?
18060 TEST_TAR_FORMAT=gnu
18061 export TEST_TAR_FORMAT
18062 TAR_OPTIONS="-H gnu"
18067 $as_ln_s foo directory/bar
18069 tar -cf archive.0 -g db directory
18071 tar -cf archive.1 -g db directory
18075 tar xvfg archive.0 /dev/null --warning=no-timestamp
18077 tar xvfg archive.1 /dev/null --warning=no-timestamp
18078 ) ) >"$at_stdout" 2>"$at_stderr"
18082 at_func_diff_devnull "$at_stderr" || at_failed=:
18083 echo >>"$at_stdout"; $as_echo "directory/
18087 tar: Deleting \`directory/bar'
18089 $at_diff - "$at_stdout" || at_failed=:
18090 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
18092 $at_failed && at_func_log_failure
18096 $as_echo "$at_srcdir/incr01.at:30:
18099 TEST_TAR_FORMAT=oldgnu
18100 export TEST_TAR_FORMAT
18101 TAR_OPTIONS=\"-H oldgnu\"
18106 \$as_ln_s foo directory/bar
18108 tar -cf archive.0 -g db directory
18110 tar -cf archive.1 -g db directory
18114 tar xvfg archive.0 /dev/null --warning=no-timestamp
18116 tar xvfg archive.1 /dev/null --warning=no-timestamp
18118 echo incr01.at:30 >"$at_check_line_file"
18120 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18125 TEST_TAR_FORMAT=oldgnu
18126 export TEST_TAR_FORMAT
18127 TAR_OPTIONS="-H oldgnu"
18132 $as_ln_s foo directory/bar
18134 tar -cf archive.0 -g db directory
18136 tar -cf archive.1 -g db directory
18140 tar xvfg archive.0 /dev/null --warning=no-timestamp
18142 tar xvfg archive.1 /dev/null --warning=no-timestamp
18143 ) ) >"$at_stdout" 2>"$at_stder1"
18144 at_func_filter_trace $?
18149 TEST_TAR_FORMAT=oldgnu
18150 export TEST_TAR_FORMAT
18151 TAR_OPTIONS="-H oldgnu"
18156 $as_ln_s foo directory/bar
18158 tar -cf archive.0 -g db directory
18160 tar -cf archive.1 -g db directory
18164 tar xvfg archive.0 /dev/null --warning=no-timestamp
18166 tar xvfg archive.1 /dev/null --warning=no-timestamp
18167 ) ) >"$at_stdout" 2>"$at_stderr"
18171 at_func_diff_devnull "$at_stderr" || at_failed=:
18172 echo >>"$at_stdout"; $as_echo "directory/
18176 tar: Deleting \`directory/bar'
18178 $at_diff - "$at_stdout" || at_failed=:
18179 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
18181 $at_failed && at_func_log_failure
18185 $as_echo "$at_srcdir/incr01.at:30:
18188 TEST_TAR_FORMAT=posix
18189 export TEST_TAR_FORMAT
18190 TAR_OPTIONS=\"-H posix\"
18195 \$as_ln_s foo directory/bar
18197 tar -cf archive.0 -g db directory
18199 tar -cf archive.1 -g db directory
18203 tar xvfg archive.0 /dev/null --warning=no-timestamp
18205 tar xvfg archive.1 /dev/null --warning=no-timestamp
18207 echo incr01.at:30 >"$at_check_line_file"
18209 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18214 TEST_TAR_FORMAT=posix
18215 export TEST_TAR_FORMAT
18216 TAR_OPTIONS="-H posix"
18221 $as_ln_s foo directory/bar
18223 tar -cf archive.0 -g db directory
18225 tar -cf archive.1 -g db directory
18229 tar xvfg archive.0 /dev/null --warning=no-timestamp
18231 tar xvfg archive.1 /dev/null --warning=no-timestamp
18232 ) ) >"$at_stdout" 2>"$at_stder1"
18233 at_func_filter_trace $?
18238 TEST_TAR_FORMAT=posix
18239 export TEST_TAR_FORMAT
18240 TAR_OPTIONS="-H posix"
18245 $as_ln_s foo directory/bar
18247 tar -cf archive.0 -g db directory
18249 tar -cf archive.1 -g db directory
18253 tar xvfg archive.0 /dev/null --warning=no-timestamp
18255 tar xvfg archive.1 /dev/null --warning=no-timestamp
18256 ) ) >"$at_stdout" 2>"$at_stderr"
18260 at_func_diff_devnull "$at_stderr" || at_failed=:
18261 echo >>"$at_stdout"; $as_echo "directory/
18265 tar: Deleting \`directory/bar'
18267 $at_diff - "$at_stdout" || at_failed=:
18268 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
18270 $at_failed && at_func_log_failure
18277 $at_times_p && times >"$at_times_file"
18278 ) 5>&1 2>&1 | eval $at_tee_pipe
18279 at_status=`cat "$at_status_file"`
18282 # 50. incr02.at:32: restoring timestamps from incremental
18283 at_setup_line='incr02.at:32'
18284 at_desc="restoring timestamps from incremental"
18285 $at_quiet $as_echo_n " 50: $at_desc "
18287 test -f $XFAILFILE && at_xfail=yes
18288 echo "# -*- compilation -*-" >> "$at_group_log"
18290 $as_echo "50. incr02.at:32: testing ..."
18298 $as_echo "$at_srcdir/incr02.at:35:
18301 TEST_TAR_FORMAT=gnu
18302 export TEST_TAR_FORMAT
18303 TAR_OPTIONS=\"-H gnu\"
18307 # Create directory structure
18311 genfile --length 10 --file dir/subdir1/file
18313 # Save mtime for later comparison
18314 genfile --stat=mtime dir/subdir1 > ts
18316 # Create an archive. Using incremental mode makes sure the
18317 # archive will have a directory-first member ordering,
18322 # dir/subdir1/foofile
18324 # When restoring from this directory structure, \`dir/subdir2/' used to
18325 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18326 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
18327 # latter clobbered the directory timestamp.
18329 tar -cf archive -g db dir
18331 # Move away the directory
18334 # Wait enough time for timestamps to differ in case of failure.
18337 # Restore the directory
18338 tar -xf archive dir
18340 # Check the timestamp
18341 genfile --stat=mtime dir/subdir1 | diff ts -
18343 echo incr02.at:35 >"$at_check_line_file"
18345 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18350 TEST_TAR_FORMAT=gnu
18351 export TEST_TAR_FORMAT
18352 TAR_OPTIONS="-H gnu"
18356 # Create directory structure
18360 genfile --length 10 --file dir/subdir1/file
18362 # Save mtime for later comparison
18363 genfile --stat=mtime dir/subdir1 > ts
18365 # Create an archive. Using incremental mode makes sure the
18366 # archive will have a directory-first member ordering,
18371 # dir/subdir1/foofile
18373 # When restoring from this directory structure, `dir/subdir2/' used to
18374 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18375 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18376 # latter clobbered the directory timestamp.
18378 tar -cf archive -g db dir
18380 # Move away the directory
18383 # Wait enough time for timestamps to differ in case of failure.
18386 # Restore the directory
18387 tar -xf archive dir
18389 # Check the timestamp
18390 genfile --stat=mtime dir/subdir1 | diff ts -
18391 ) ) >"$at_stdout" 2>"$at_stder1"
18392 at_func_filter_trace $?
18397 TEST_TAR_FORMAT=gnu
18398 export TEST_TAR_FORMAT
18399 TAR_OPTIONS="-H gnu"
18403 # Create directory structure
18407 genfile --length 10 --file dir/subdir1/file
18409 # Save mtime for later comparison
18410 genfile --stat=mtime dir/subdir1 > ts
18412 # Create an archive. Using incremental mode makes sure the
18413 # archive will have a directory-first member ordering,
18418 # dir/subdir1/foofile
18420 # When restoring from this directory structure, `dir/subdir2/' used to
18421 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18422 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18423 # latter clobbered the directory timestamp.
18425 tar -cf archive -g db dir
18427 # Move away the directory
18430 # Wait enough time for timestamps to differ in case of failure.
18433 # Restore the directory
18434 tar -xf archive dir
18436 # Check the timestamp
18437 genfile --stat=mtime dir/subdir1 | diff ts -
18438 ) ) >"$at_stdout" 2>"$at_stderr"
18442 at_func_diff_devnull "$at_stderr" || at_failed=:
18443 at_func_diff_devnull "$at_stdout" || at_failed=:
18444 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
18446 $at_failed && at_func_log_failure
18450 $as_echo "$at_srcdir/incr02.at:35:
18453 TEST_TAR_FORMAT=oldgnu
18454 export TEST_TAR_FORMAT
18455 TAR_OPTIONS=\"-H oldgnu\"
18459 # Create directory structure
18463 genfile --length 10 --file dir/subdir1/file
18465 # Save mtime for later comparison
18466 genfile --stat=mtime dir/subdir1 > ts
18468 # Create an archive. Using incremental mode makes sure the
18469 # archive will have a directory-first member ordering,
18474 # dir/subdir1/foofile
18476 # When restoring from this directory structure, \`dir/subdir2/' used to
18477 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18478 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
18479 # latter clobbered the directory timestamp.
18481 tar -cf archive -g db dir
18483 # Move away the directory
18486 # Wait enough time for timestamps to differ in case of failure.
18489 # Restore the directory
18490 tar -xf archive dir
18492 # Check the timestamp
18493 genfile --stat=mtime dir/subdir1 | diff ts -
18495 echo incr02.at:35 >"$at_check_line_file"
18497 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18502 TEST_TAR_FORMAT=oldgnu
18503 export TEST_TAR_FORMAT
18504 TAR_OPTIONS="-H oldgnu"
18508 # Create directory structure
18512 genfile --length 10 --file dir/subdir1/file
18514 # Save mtime for later comparison
18515 genfile --stat=mtime dir/subdir1 > ts
18517 # Create an archive. Using incremental mode makes sure the
18518 # archive will have a directory-first member ordering,
18523 # dir/subdir1/foofile
18525 # When restoring from this directory structure, `dir/subdir2/' used to
18526 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18527 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18528 # latter clobbered the directory timestamp.
18530 tar -cf archive -g db dir
18532 # Move away the directory
18535 # Wait enough time for timestamps to differ in case of failure.
18538 # Restore the directory
18539 tar -xf archive dir
18541 # Check the timestamp
18542 genfile --stat=mtime dir/subdir1 | diff ts -
18543 ) ) >"$at_stdout" 2>"$at_stder1"
18544 at_func_filter_trace $?
18549 TEST_TAR_FORMAT=oldgnu
18550 export TEST_TAR_FORMAT
18551 TAR_OPTIONS="-H oldgnu"
18555 # Create directory structure
18559 genfile --length 10 --file dir/subdir1/file
18561 # Save mtime for later comparison
18562 genfile --stat=mtime dir/subdir1 > ts
18564 # Create an archive. Using incremental mode makes sure the
18565 # archive will have a directory-first member ordering,
18570 # dir/subdir1/foofile
18572 # When restoring from this directory structure, `dir/subdir2/' used to
18573 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18574 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18575 # latter clobbered the directory timestamp.
18577 tar -cf archive -g db dir
18579 # Move away the directory
18582 # Wait enough time for timestamps to differ in case of failure.
18585 # Restore the directory
18586 tar -xf archive dir
18588 # Check the timestamp
18589 genfile --stat=mtime dir/subdir1 | diff ts -
18590 ) ) >"$at_stdout" 2>"$at_stderr"
18594 at_func_diff_devnull "$at_stderr" || at_failed=:
18595 at_func_diff_devnull "$at_stdout" || at_failed=:
18596 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
18598 $at_failed && at_func_log_failure
18602 $as_echo "$at_srcdir/incr02.at:35:
18605 TEST_TAR_FORMAT=posix
18606 export TEST_TAR_FORMAT
18607 TAR_OPTIONS=\"-H posix\"
18611 # Create directory structure
18615 genfile --length 10 --file dir/subdir1/file
18617 # Save mtime for later comparison
18618 genfile --stat=mtime dir/subdir1 > ts
18620 # Create an archive. Using incremental mode makes sure the
18621 # archive will have a directory-first member ordering,
18626 # dir/subdir1/foofile
18628 # When restoring from this directory structure, \`dir/subdir2/' used to
18629 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18630 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
18631 # latter clobbered the directory timestamp.
18633 tar -cf archive -g db dir
18635 # Move away the directory
18638 # Wait enough time for timestamps to differ in case of failure.
18641 # Restore the directory
18642 tar -xf archive dir
18644 # Check the timestamp
18645 genfile --stat=mtime dir/subdir1 | diff ts -
18647 echo incr02.at:35 >"$at_check_line_file"
18649 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
18654 TEST_TAR_FORMAT=posix
18655 export TEST_TAR_FORMAT
18656 TAR_OPTIONS="-H posix"
18660 # Create directory structure
18664 genfile --length 10 --file dir/subdir1/file
18666 # Save mtime for later comparison
18667 genfile --stat=mtime dir/subdir1 > ts
18669 # Create an archive. Using incremental mode makes sure the
18670 # archive will have a directory-first member ordering,
18675 # dir/subdir1/foofile
18677 # When restoring from this directory structure, `dir/subdir2/' used to
18678 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18679 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18680 # latter clobbered the directory timestamp.
18682 tar -cf archive -g db dir
18684 # Move away the directory
18687 # Wait enough time for timestamps to differ in case of failure.
18690 # Restore the directory
18691 tar -xf archive dir
18693 # Check the timestamp
18694 genfile --stat=mtime dir/subdir1 | diff ts -
18695 ) ) >"$at_stdout" 2>"$at_stder1"
18696 at_func_filter_trace $?
18701 TEST_TAR_FORMAT=posix
18702 export TEST_TAR_FORMAT
18703 TAR_OPTIONS="-H posix"
18707 # Create directory structure
18711 genfile --length 10 --file dir/subdir1/file
18713 # Save mtime for later comparison
18714 genfile --stat=mtime dir/subdir1 > ts
18716 # Create an archive. Using incremental mode makes sure the
18717 # archive will have a directory-first member ordering,
18722 # dir/subdir1/foofile
18724 # When restoring from this directory structure, `dir/subdir2/' used to
18725 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
18726 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
18727 # latter clobbered the directory timestamp.
18729 tar -cf archive -g db dir
18731 # Move away the directory
18734 # Wait enough time for timestamps to differ in case of failure.
18737 # Restore the directory
18738 tar -xf archive dir
18740 # Check the timestamp
18741 genfile --stat=mtime dir/subdir1 | diff ts -
18742 ) ) >"$at_stdout" 2>"$at_stderr"
18746 at_func_diff_devnull "$at_stderr" || at_failed=:
18747 at_func_diff_devnull "$at_stdout" || at_failed=:
18748 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
18750 $at_failed && at_func_log_failure
18757 $at_times_p && times >"$at_times_file"
18758 ) 5>&1 2>&1 | eval $at_tee_pipe
18759 at_status=`cat "$at_status_file"`
18762 # 51. listed01.at:26: --listed for individual files
18763 at_setup_line='listed01.at:26'
18764 at_desc="--listed for individual files"
18765 $at_quiet $as_echo_n " 51: $at_desc "
18767 test -f $XFAILFILE && at_xfail=yes
18768 echo "# -*- compilation -*-" >> "$at_group_log"
18770 $as_echo "51. listed01.at:26: testing ..."
18778 $as_echo "$at_srcdir/listed01.at:29:
18781 TEST_TAR_FORMAT=gnu
18782 export TEST_TAR_FORMAT
18783 TAR_OPTIONS=\"-H gnu\"
18788 genfile --length 10240 --pattern zeros --file directory/file1
18789 # Let the things settle
18793 --file=archive.1 \\
18794 --listed-incremental=listing \\
18797 tar tf archive.1 || exit 1
18801 genfile --length 10240 --pattern zeros --file directory/file2
18804 cp listing listing.old
18806 --file=archive.2 \\
18807 --listed-incremental=listing \\
18808 directory/file* || exit 1
18810 tar tf archive.2 || exit 1
18812 echo listed01.at:29 >"$at_check_line_file"
18814 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18819 TEST_TAR_FORMAT=gnu
18820 export TEST_TAR_FORMAT
18821 TAR_OPTIONS="-H gnu"
18826 genfile --length 10240 --pattern zeros --file directory/file1
18827 # Let the things settle
18832 --listed-incremental=listing \
18835 tar tf archive.1 || exit 1
18839 genfile --length 10240 --pattern zeros --file directory/file2
18842 cp listing listing.old
18845 --listed-incremental=listing \
18846 directory/file* || exit 1
18848 tar tf archive.2 || exit 1
18849 ) ) >"$at_stdout" 2>"$at_stder1"
18850 at_func_filter_trace $?
18855 TEST_TAR_FORMAT=gnu
18856 export TEST_TAR_FORMAT
18857 TAR_OPTIONS="-H gnu"
18862 genfile --length 10240 --pattern zeros --file directory/file1
18863 # Let the things settle
18868 --listed-incremental=listing \
18871 tar tf archive.1 || exit 1
18875 genfile --length 10240 --pattern zeros --file directory/file2
18878 cp listing listing.old
18881 --listed-incremental=listing \
18882 directory/file* || exit 1
18884 tar tf archive.2 || exit 1
18885 ) ) >"$at_stdout" 2>"$at_stderr"
18889 at_func_diff_devnull "$at_stderr" || at_failed=:
18890 echo >>"$at_stdout"; $as_echo "directory/file1
18894 $at_diff - "$at_stdout" || at_failed=:
18895 at_func_check_status 0 $at_status "$at_srcdir/listed01.at:29"
18897 $at_failed && at_func_log_failure
18901 $as_echo "$at_srcdir/listed01.at:29:
18904 TEST_TAR_FORMAT=oldgnu
18905 export TEST_TAR_FORMAT
18906 TAR_OPTIONS=\"-H oldgnu\"
18911 genfile --length 10240 --pattern zeros --file directory/file1
18912 # Let the things settle
18916 --file=archive.1 \\
18917 --listed-incremental=listing \\
18920 tar tf archive.1 || exit 1
18924 genfile --length 10240 --pattern zeros --file directory/file2
18927 cp listing listing.old
18929 --file=archive.2 \\
18930 --listed-incremental=listing \\
18931 directory/file* || exit 1
18933 tar tf archive.2 || exit 1
18935 echo listed01.at:29 >"$at_check_line_file"
18937 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18942 TEST_TAR_FORMAT=oldgnu
18943 export TEST_TAR_FORMAT
18944 TAR_OPTIONS="-H oldgnu"
18949 genfile --length 10240 --pattern zeros --file directory/file1
18950 # Let the things settle
18955 --listed-incremental=listing \
18958 tar tf archive.1 || exit 1
18962 genfile --length 10240 --pattern zeros --file directory/file2
18965 cp listing listing.old
18968 --listed-incremental=listing \
18969 directory/file* || exit 1
18971 tar tf archive.2 || exit 1
18972 ) ) >"$at_stdout" 2>"$at_stder1"
18973 at_func_filter_trace $?
18978 TEST_TAR_FORMAT=oldgnu
18979 export TEST_TAR_FORMAT
18980 TAR_OPTIONS="-H oldgnu"
18985 genfile --length 10240 --pattern zeros --file directory/file1
18986 # Let the things settle
18991 --listed-incremental=listing \
18994 tar tf archive.1 || exit 1
18998 genfile --length 10240 --pattern zeros --file directory/file2
19001 cp listing listing.old
19004 --listed-incremental=listing \
19005 directory/file* || exit 1
19007 tar tf archive.2 || exit 1
19008 ) ) >"$at_stdout" 2>"$at_stderr"
19012 at_func_diff_devnull "$at_stderr" || at_failed=:
19013 echo >>"$at_stdout"; $as_echo "directory/file1
19017 $at_diff - "$at_stdout" || at_failed=:
19018 at_func_check_status 0 $at_status "$at_srcdir/listed01.at:29"
19020 $at_failed && at_func_log_failure
19027 $at_times_p && times >"$at_times_file"
19028 ) 5>&1 2>&1 | eval $at_tee_pipe
19029 at_status=`cat "$at_status_file"`
19032 # 52. listed02.at:28: working --listed
19033 at_setup_line='listed02.at:28'
19034 at_desc="working --listed"
19035 $at_quiet $as_echo_n " 52: $at_desc "
19037 test -f $XFAILFILE && at_xfail=yes
19038 echo "# -*- compilation -*-" >> "$at_group_log"
19040 $as_echo "52. listed02.at:28: testing ..."
19048 $as_echo "$at_srcdir/listed02.at:31:
19051 TEST_TAR_FORMAT=gnu
19052 export TEST_TAR_FORMAT
19053 TAR_OPTIONS=\"-H gnu\"
19058 test -z "`sort < /dev/null 2>&1`" || exit 77
19060 echo Create directories
19069 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19071 echo File \$file > \$file
19076 echo Creating main archive
19077 echo >&2 \"Creating main archive\"
19078 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19080 # The above prints two lines to stderr announcing the new directories c0 and c1.
19081 # Ensure that they appear in this script's stderr in sorted order.
19082 sort err 1>&2; rm -f err
19085 echo Modifying filesystem
19092 echo Directory contents
19093 find tart -print | sort 2>/dev/null
19096 echo Creating incremental archive
19097 echo >&2 \"Creating incremental archive\"
19098 cp -p tart.incr1 tart.incr2
19099 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19104 echo Extracting main archive
19105 echo >&2 \"Extracting main archive\"
19106 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19107 echo Extracting incremental archive
19108 # This command should produce three messages about deletion
19109 # of the existing files, that may appear in any order. Piping
19110 # to sort makes sure we don't depend on any particular ordering.
19111 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19114 find tart -print | sort 2>/dev/null
19116 echo listed02.at:31 >"$at_check_line_file"
19118 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19123 TEST_TAR_FORMAT=gnu
19124 export TEST_TAR_FORMAT
19125 TAR_OPTIONS="-H gnu"
19130 test -z "`sort < /dev/null 2>&1`" || exit 77
19132 echo Create directories
19141 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19143 echo File $file > $file
19148 echo Creating main archive
19149 echo >&2 "Creating main archive"
19150 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19152 # The above prints two lines to stderr announcing the new directories c0 and c1.
19153 # Ensure that they appear in this script's stderr in sorted order.
19154 sort err 1>&2; rm -f err
19157 echo Modifying filesystem
19164 echo Directory contents
19165 find tart -print | sort 2>/dev/null
19168 echo Creating incremental archive
19169 echo >&2 "Creating incremental archive"
19170 cp -p tart.incr1 tart.incr2
19171 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19176 echo Extracting main archive
19177 echo >&2 "Extracting main archive"
19178 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19179 echo Extracting incremental archive
19180 # This command should produce three messages about deletion
19181 # of the existing files, that may appear in any order. Piping
19182 # to sort makes sure we don't depend on any particular ordering.
19183 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19186 find tart -print | sort 2>/dev/null
19187 ) ) >"$at_stdout" 2>"$at_stder1"
19188 at_func_filter_trace $?
19193 TEST_TAR_FORMAT=gnu
19194 export TEST_TAR_FORMAT
19195 TAR_OPTIONS="-H gnu"
19200 test -z "`sort < /dev/null 2>&1`" || exit 77
19202 echo Create directories
19211 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19213 echo File $file > $file
19218 echo Creating main archive
19219 echo >&2 "Creating main archive"
19220 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19222 # The above prints two lines to stderr announcing the new directories c0 and c1.
19223 # Ensure that they appear in this script's stderr in sorted order.
19224 sort err 1>&2; rm -f err
19227 echo Modifying filesystem
19234 echo Directory contents
19235 find tart -print | sort 2>/dev/null
19238 echo Creating incremental archive
19239 echo >&2 "Creating incremental archive"
19240 cp -p tart.incr1 tart.incr2
19241 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19246 echo Extracting main archive
19247 echo >&2 "Extracting main archive"
19248 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19249 echo Extracting incremental archive
19250 # This command should produce three messages about deletion
19251 # of the existing files, that may appear in any order. Piping
19252 # to sort makes sure we don't depend on any particular ordering.
19253 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19256 find tart -print | sort 2>/dev/null
19257 ) ) >"$at_stdout" 2>"$at_stderr"
19261 echo >>"$at_stderr"; $as_echo "Creating main archive
19262 tar: tart/c0: Directory is new
19263 tar: tart/c1: Directory is new
19264 tar: tart: Directory is new
19265 Creating incremental archive
19266 tar: tart/c2: Directory has been renamed from \`tart/c1'
19267 Extracting main archive
19269 $at_diff - "$at_stderr" || at_failed=:
19270 echo >>"$at_stdout"; $as_echo "Create directories
19271 Creating main archive
19281 Modifying filesystem
19292 Creating incremental archive
19298 Extracting main archive
19308 Extracting incremental archive
19309 tar: Deleting \`tart/a1'
19310 tar: Deleting \`tart/b1'
19327 $at_diff - "$at_stdout" || at_failed=:
19328 at_func_check_status 0 $at_status "$at_srcdir/listed02.at:31"
19330 $at_failed && at_func_log_failure
19334 $as_echo "$at_srcdir/listed02.at:31:
19337 TEST_TAR_FORMAT=oldgnu
19338 export TEST_TAR_FORMAT
19339 TAR_OPTIONS=\"-H oldgnu\"
19344 test -z "`sort < /dev/null 2>&1`" || exit 77
19346 echo Create directories
19355 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19357 echo File \$file > \$file
19362 echo Creating main archive
19363 echo >&2 \"Creating main archive\"
19364 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19366 # The above prints two lines to stderr announcing the new directories c0 and c1.
19367 # Ensure that they appear in this script's stderr in sorted order.
19368 sort err 1>&2; rm -f err
19371 echo Modifying filesystem
19378 echo Directory contents
19379 find tart -print | sort 2>/dev/null
19382 echo Creating incremental archive
19383 echo >&2 \"Creating incremental archive\"
19384 cp -p tart.incr1 tart.incr2
19385 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19390 echo Extracting main archive
19391 echo >&2 \"Extracting main archive\"
19392 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19393 echo Extracting incremental archive
19394 # This command should produce three messages about deletion
19395 # of the existing files, that may appear in any order. Piping
19396 # to sort makes sure we don't depend on any particular ordering.
19397 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19400 find tart -print | sort 2>/dev/null
19402 echo listed02.at:31 >"$at_check_line_file"
19404 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19409 TEST_TAR_FORMAT=oldgnu
19410 export TEST_TAR_FORMAT
19411 TAR_OPTIONS="-H oldgnu"
19416 test -z "`sort < /dev/null 2>&1`" || exit 77
19418 echo Create directories
19427 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19429 echo File $file > $file
19434 echo Creating main archive
19435 echo >&2 "Creating main archive"
19436 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19438 # The above prints two lines to stderr announcing the new directories c0 and c1.
19439 # Ensure that they appear in this script's stderr in sorted order.
19440 sort err 1>&2; rm -f err
19443 echo Modifying filesystem
19450 echo Directory contents
19451 find tart -print | sort 2>/dev/null
19454 echo Creating incremental archive
19455 echo >&2 "Creating incremental archive"
19456 cp -p tart.incr1 tart.incr2
19457 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19462 echo Extracting main archive
19463 echo >&2 "Extracting main archive"
19464 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19465 echo Extracting incremental archive
19466 # This command should produce three messages about deletion
19467 # of the existing files, that may appear in any order. Piping
19468 # to sort makes sure we don't depend on any particular ordering.
19469 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19472 find tart -print | sort 2>/dev/null
19473 ) ) >"$at_stdout" 2>"$at_stder1"
19474 at_func_filter_trace $?
19479 TEST_TAR_FORMAT=oldgnu
19480 export TEST_TAR_FORMAT
19481 TAR_OPTIONS="-H oldgnu"
19486 test -z "`sort < /dev/null 2>&1`" || exit 77
19488 echo Create directories
19497 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
19499 echo File $file > $file
19504 echo Creating main archive
19505 echo >&2 "Creating main archive"
19506 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
19508 # The above prints two lines to stderr announcing the new directories c0 and c1.
19509 # Ensure that they appear in this script's stderr in sorted order.
19510 sort err 1>&2; rm -f err
19513 echo Modifying filesystem
19520 echo Directory contents
19521 find tart -print | sort 2>/dev/null
19524 echo Creating incremental archive
19525 echo >&2 "Creating incremental archive"
19526 cp -p tart.incr1 tart.incr2
19527 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
19532 echo Extracting main archive
19533 echo >&2 "Extracting main archive"
19534 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
19535 echo Extracting incremental archive
19536 # This command should produce three messages about deletion
19537 # of the existing files, that may appear in any order. Piping
19538 # to sort makes sure we don't depend on any particular ordering.
19539 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
19542 find tart -print | sort 2>/dev/null
19543 ) ) >"$at_stdout" 2>"$at_stderr"
19547 echo >>"$at_stderr"; $as_echo "Creating main archive
19548 tar: tart/c0: Directory is new
19549 tar: tart/c1: Directory is new
19550 tar: tart: Directory is new
19551 Creating incremental archive
19552 tar: tart/c2: Directory has been renamed from \`tart/c1'
19553 Extracting main archive
19555 $at_diff - "$at_stderr" || at_failed=:
19556 echo >>"$at_stdout"; $as_echo "Create directories
19557 Creating main archive
19567 Modifying filesystem
19578 Creating incremental archive
19584 Extracting main archive
19594 Extracting incremental archive
19595 tar: Deleting \`tart/a1'
19596 tar: Deleting \`tart/b1'
19613 $at_diff - "$at_stdout" || at_failed=:
19614 at_func_check_status 0 $at_status "$at_srcdir/listed02.at:31"
19616 $at_failed && at_func_log_failure
19623 $at_times_p && times >"$at_times_file"
19624 ) 5>&1 2>&1 | eval $at_tee_pipe
19625 at_status=`cat "$at_status_file"`
19628 # 53. listed03.at:22: incremental dump when the parent directory is unreadable
19629 at_setup_line='listed03.at:22'
19630 at_desc="incremental dump when the parent directory is unreadable"
19631 $at_quiet $as_echo_n " 53: $at_desc"
19633 test -f $XFAILFILE && at_xfail=yes
19634 echo "# -*- compilation -*-" >> "$at_group_log"
19636 $as_echo "53. listed03.at:22: testing ..."
19644 $as_echo "$at_srcdir/listed03.at:25:
19647 TEST_TAR_FORMAT=gnu
19648 export TEST_TAR_FORMAT
19649 TAR_OPTIONS=\"-H gnu\"
19656 cat $$ > /dev/null 2>&1
19659 test $result -eq 0 && exit 77
19665 genfile --file dir/sub/a/file
19669 tar -c -f archive.tar --listed-incremental=db.1 -v a
19674 echo listed03.at:25 >"$at_check_line_file"
19676 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19681 TEST_TAR_FORMAT=gnu
19682 export TEST_TAR_FORMAT
19683 TAR_OPTIONS="-H gnu"
19690 cat $$ > /dev/null 2>&1
19693 test $result -eq 0 && exit 77
19699 genfile --file dir/sub/a/file
19703 tar -c -f archive.tar --listed-incremental=db.1 -v a
19707 ) ) >"$at_stdout" 2>"$at_stder1"
19708 at_func_filter_trace $?
19713 TEST_TAR_FORMAT=gnu
19714 export TEST_TAR_FORMAT
19715 TAR_OPTIONS="-H gnu"
19722 cat $$ > /dev/null 2>&1
19725 test $result -eq 0 && exit 77
19731 genfile --file dir/sub/a/file
19735 tar -c -f archive.tar --listed-incremental=db.1 -v a
19739 ) ) >"$at_stdout" 2>"$at_stderr"
19743 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
19745 $at_diff - "$at_stderr" || at_failed=:
19746 echo >>"$at_stdout"; $as_echo "a/
19749 $at_diff - "$at_stdout" || at_failed=:
19750 at_func_check_status 0 $at_status "$at_srcdir/listed03.at:25"
19752 $at_failed && at_func_log_failure
19759 $at_times_p && times >"$at_times_file"
19760 ) 5>&1 2>&1 | eval $at_tee_pipe
19761 at_status=`cat "$at_status_file"`
19764 # 54. incr03.at:28: renamed files in incrementals
19765 at_setup_line='incr03.at:28'
19766 at_desc="renamed files in incrementals"
19767 $at_quiet $as_echo_n " 54: $at_desc "
19769 test -f $XFAILFILE && at_xfail=yes
19770 echo "# -*- compilation -*-" >> "$at_group_log"
19772 $as_echo "54. incr03.at:28: testing ..."
19780 $as_echo "$at_srcdir/incr03.at:31:
19783 TEST_TAR_FORMAT=gnu
19784 export TEST_TAR_FORMAT
19785 TAR_OPTIONS=\"-H gnu\"
19790 test -z "`sort < /dev/null 2>&1`" || exit 77
19793 genfile --file=directory/x
19794 genfile --file=directory/y
19798 tar -cf archive.1 -g db directory
19800 mv directory/x directory/z
19802 tar -cf archive.2 -g db directory
19806 echo Listing of archive.1
19807 tar -tf archive.1 | sort
19808 echo Listing of archive.2
19809 tar -tf archive.2 | sort
19811 echo Directory after first restore
19812 tar -xf archive.1 -g db --warning=no-timestamp
19813 find directory | sort
19815 echo Directory after second restore
19816 tar -xf archive.2 -g db --warning=no-timestamp
19817 find directory | sort
19819 echo incr03.at:31 >"$at_check_line_file"
19821 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19826 TEST_TAR_FORMAT=gnu
19827 export TEST_TAR_FORMAT
19828 TAR_OPTIONS="-H gnu"
19833 test -z "`sort < /dev/null 2>&1`" || exit 77
19836 genfile --file=directory/x
19837 genfile --file=directory/y
19841 tar -cf archive.1 -g db directory
19843 mv directory/x directory/z
19845 tar -cf archive.2 -g db directory
19849 echo Listing of archive.1
19850 tar -tf archive.1 | sort
19851 echo Listing of archive.2
19852 tar -tf archive.2 | sort
19854 echo Directory after first restore
19855 tar -xf archive.1 -g db --warning=no-timestamp
19856 find directory | sort
19858 echo Directory after second restore
19859 tar -xf archive.2 -g db --warning=no-timestamp
19860 find directory | sort
19861 ) ) >"$at_stdout" 2>"$at_stder1"
19862 at_func_filter_trace $?
19867 TEST_TAR_FORMAT=gnu
19868 export TEST_TAR_FORMAT
19869 TAR_OPTIONS="-H gnu"
19874 test -z "`sort < /dev/null 2>&1`" || exit 77
19877 genfile --file=directory/x
19878 genfile --file=directory/y
19882 tar -cf archive.1 -g db directory
19884 mv directory/x directory/z
19886 tar -cf archive.2 -g db directory
19890 echo Listing of archive.1
19891 tar -tf archive.1 | sort
19892 echo Listing of archive.2
19893 tar -tf archive.2 | sort
19895 echo Directory after first restore
19896 tar -xf archive.1 -g db --warning=no-timestamp
19897 find directory | sort
19899 echo Directory after second restore
19900 tar -xf archive.2 -g db --warning=no-timestamp
19901 find directory | sort
19902 ) ) >"$at_stdout" 2>"$at_stderr"
19906 at_func_diff_devnull "$at_stderr" || at_failed=:
19907 echo >>"$at_stdout"; $as_echo "Listing of archive.1
19911 Listing of archive.2
19914 Directory after first restore
19918 Directory after second restore
19923 $at_diff - "$at_stdout" || at_failed=:
19924 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
19926 $at_failed && at_func_log_failure
19930 $as_echo "$at_srcdir/incr03.at:31:
19933 TEST_TAR_FORMAT=oldgnu
19934 export TEST_TAR_FORMAT
19935 TAR_OPTIONS=\"-H oldgnu\"
19940 test -z "`sort < /dev/null 2>&1`" || exit 77
19943 genfile --file=directory/x
19944 genfile --file=directory/y
19948 tar -cf archive.1 -g db directory
19950 mv directory/x directory/z
19952 tar -cf archive.2 -g db directory
19956 echo Listing of archive.1
19957 tar -tf archive.1 | sort
19958 echo Listing of archive.2
19959 tar -tf archive.2 | sort
19961 echo Directory after first restore
19962 tar -xf archive.1 -g db --warning=no-timestamp
19963 find directory | sort
19965 echo Directory after second restore
19966 tar -xf archive.2 -g db --warning=no-timestamp
19967 find directory | sort
19969 echo incr03.at:31 >"$at_check_line_file"
19971 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19976 TEST_TAR_FORMAT=oldgnu
19977 export TEST_TAR_FORMAT
19978 TAR_OPTIONS="-H oldgnu"
19983 test -z "`sort < /dev/null 2>&1`" || exit 77
19986 genfile --file=directory/x
19987 genfile --file=directory/y
19991 tar -cf archive.1 -g db directory
19993 mv directory/x directory/z
19995 tar -cf archive.2 -g db directory
19999 echo Listing of archive.1
20000 tar -tf archive.1 | sort
20001 echo Listing of archive.2
20002 tar -tf archive.2 | sort
20004 echo Directory after first restore
20005 tar -xf archive.1 -g db --warning=no-timestamp
20006 find directory | sort
20008 echo Directory after second restore
20009 tar -xf archive.2 -g db --warning=no-timestamp
20010 find directory | sort
20011 ) ) >"$at_stdout" 2>"$at_stder1"
20012 at_func_filter_trace $?
20017 TEST_TAR_FORMAT=oldgnu
20018 export TEST_TAR_FORMAT
20019 TAR_OPTIONS="-H oldgnu"
20024 test -z "`sort < /dev/null 2>&1`" || exit 77
20027 genfile --file=directory/x
20028 genfile --file=directory/y
20032 tar -cf archive.1 -g db directory
20034 mv directory/x directory/z
20036 tar -cf archive.2 -g db directory
20040 echo Listing of archive.1
20041 tar -tf archive.1 | sort
20042 echo Listing of archive.2
20043 tar -tf archive.2 | sort
20045 echo Directory after first restore
20046 tar -xf archive.1 -g db --warning=no-timestamp
20047 find directory | sort
20049 echo Directory after second restore
20050 tar -xf archive.2 -g db --warning=no-timestamp
20051 find directory | sort
20052 ) ) >"$at_stdout" 2>"$at_stderr"
20056 at_func_diff_devnull "$at_stderr" || at_failed=:
20057 echo >>"$at_stdout"; $as_echo "Listing of archive.1
20061 Listing of archive.2
20064 Directory after first restore
20068 Directory after second restore
20073 $at_diff - "$at_stdout" || at_failed=:
20074 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
20076 $at_failed && at_func_log_failure
20080 $as_echo "$at_srcdir/incr03.at:31:
20083 TEST_TAR_FORMAT=posix
20084 export TEST_TAR_FORMAT
20085 TAR_OPTIONS=\"-H posix\"
20090 test -z "`sort < /dev/null 2>&1`" || exit 77
20093 genfile --file=directory/x
20094 genfile --file=directory/y
20098 tar -cf archive.1 -g db directory
20100 mv directory/x directory/z
20102 tar -cf archive.2 -g db directory
20106 echo Listing of archive.1
20107 tar -tf archive.1 | sort
20108 echo Listing of archive.2
20109 tar -tf archive.2 | sort
20111 echo Directory after first restore
20112 tar -xf archive.1 -g db --warning=no-timestamp
20113 find directory | sort
20115 echo Directory after second restore
20116 tar -xf archive.2 -g db --warning=no-timestamp
20117 find directory | sort
20119 echo incr03.at:31 >"$at_check_line_file"
20121 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20126 TEST_TAR_FORMAT=posix
20127 export TEST_TAR_FORMAT
20128 TAR_OPTIONS="-H posix"
20133 test -z "`sort < /dev/null 2>&1`" || exit 77
20136 genfile --file=directory/x
20137 genfile --file=directory/y
20141 tar -cf archive.1 -g db directory
20143 mv directory/x directory/z
20145 tar -cf archive.2 -g db directory
20149 echo Listing of archive.1
20150 tar -tf archive.1 | sort
20151 echo Listing of archive.2
20152 tar -tf archive.2 | sort
20154 echo Directory after first restore
20155 tar -xf archive.1 -g db --warning=no-timestamp
20156 find directory | sort
20158 echo Directory after second restore
20159 tar -xf archive.2 -g db --warning=no-timestamp
20160 find directory | sort
20161 ) ) >"$at_stdout" 2>"$at_stder1"
20162 at_func_filter_trace $?
20167 TEST_TAR_FORMAT=posix
20168 export TEST_TAR_FORMAT
20169 TAR_OPTIONS="-H posix"
20174 test -z "`sort < /dev/null 2>&1`" || exit 77
20177 genfile --file=directory/x
20178 genfile --file=directory/y
20182 tar -cf archive.1 -g db directory
20184 mv directory/x directory/z
20186 tar -cf archive.2 -g db directory
20190 echo Listing of archive.1
20191 tar -tf archive.1 | sort
20192 echo Listing of archive.2
20193 tar -tf archive.2 | sort
20195 echo Directory after first restore
20196 tar -xf archive.1 -g db --warning=no-timestamp
20197 find directory | sort
20199 echo Directory after second restore
20200 tar -xf archive.2 -g db --warning=no-timestamp
20201 find directory | sort
20202 ) ) >"$at_stdout" 2>"$at_stderr"
20206 at_func_diff_devnull "$at_stderr" || at_failed=:
20207 echo >>"$at_stdout"; $as_echo "Listing of archive.1
20211 Listing of archive.2
20214 Directory after first restore
20218 Directory after second restore
20223 $at_diff - "$at_stdout" || at_failed=:
20224 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
20226 $at_failed && at_func_log_failure
20233 $at_times_p && times >"$at_times_file"
20234 ) 5>&1 2>&1 | eval $at_tee_pipe
20235 at_status=`cat "$at_status_file"`
20238 # 55. incr04.at:29: proper icontents initialization
20239 at_setup_line='incr04.at:29'
20240 at_desc="proper icontents initialization"
20241 $at_quiet $as_echo_n " 55: $at_desc "
20243 test -f $XFAILFILE && at_xfail=yes
20244 echo "# -*- compilation -*-" >> "$at_group_log"
20246 $as_echo "55. incr04.at:29: testing ..."
20256 $as_echo "$at_srcdir/incr04.at:34:
20259 TEST_TAR_FORMAT=gnu
20260 export TEST_TAR_FORMAT
20261 TAR_OPTIONS=\"-H gnu\"
20266 install-sh -d a/b >/dev/null || exit 77
20268 for (i=1;i<=142;i++)
20269 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
20270 }' < /dev/null | genfile --files-from -
20274 echo \"Initial dump\"
20275 tar cvf a0.tar -g a.sna a
20277 echo \"Incremental dump\"
20278 tar cvf a1.tar -g a.sna a
20280 echo incr04.at:34 >"$at_check_line_file"
20282 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20287 TEST_TAR_FORMAT=gnu
20288 export TEST_TAR_FORMAT
20289 TAR_OPTIONS="-H gnu"
20294 install-sh -d a/b >/dev/null || exit 77
20296 for (i=1;i<=142;i++)
20297 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20298 }' < /dev/null | genfile --files-from -
20302 echo "Initial dump"
20303 tar cvf a0.tar -g a.sna a
20305 echo "Incremental dump"
20306 tar cvf a1.tar -g a.sna a
20307 ) ) >"$at_stdout" 2>"$at_stder1"
20308 at_func_filter_trace $?
20313 TEST_TAR_FORMAT=gnu
20314 export TEST_TAR_FORMAT
20315 TAR_OPTIONS="-H gnu"
20320 install-sh -d a/b >/dev/null || exit 77
20322 for (i=1;i<=142;i++)
20323 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20324 }' < /dev/null | genfile --files-from -
20328 echo "Initial dump"
20329 tar cvf a0.tar -g a.sna a
20331 echo "Incremental dump"
20332 tar cvf a1.tar -g a.sna a
20333 ) ) >"$at_stdout" 2>"$at_stderr"
20337 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
20338 tar: a/b: Directory is new
20339 tar: a/c: Directory has been renamed from \`a/b'
20341 $at_diff - "$at_stderr" || at_failed=:
20342 echo >>"$at_stdout"; $as_echo "Initial dump
20345 a/b/one_31_chars_long_file_name_001
20346 a/b/one_31_chars_long_file_name_002
20347 a/b/one_31_chars_long_file_name_003
20348 a/b/one_31_chars_long_file_name_004
20349 a/b/one_31_chars_long_file_name_005
20350 a/b/one_31_chars_long_file_name_006
20351 a/b/one_31_chars_long_file_name_007
20352 a/b/one_31_chars_long_file_name_008
20353 a/b/one_31_chars_long_file_name_009
20354 a/b/one_31_chars_long_file_name_010
20355 a/b/one_31_chars_long_file_name_011
20356 a/b/one_31_chars_long_file_name_012
20357 a/b/one_31_chars_long_file_name_013
20358 a/b/one_31_chars_long_file_name_014
20359 a/b/one_31_chars_long_file_name_015
20360 a/b/one_31_chars_long_file_name_016
20361 a/b/one_31_chars_long_file_name_017
20362 a/b/one_31_chars_long_file_name_018
20363 a/b/one_31_chars_long_file_name_019
20364 a/b/one_31_chars_long_file_name_020
20365 a/b/one_31_chars_long_file_name_021
20366 a/b/one_31_chars_long_file_name_022
20367 a/b/one_31_chars_long_file_name_023
20368 a/b/one_31_chars_long_file_name_024
20369 a/b/one_31_chars_long_file_name_025
20370 a/b/one_31_chars_long_file_name_026
20371 a/b/one_31_chars_long_file_name_027
20372 a/b/one_31_chars_long_file_name_028
20373 a/b/one_31_chars_long_file_name_029
20374 a/b/one_31_chars_long_file_name_030
20375 a/b/one_31_chars_long_file_name_031
20376 a/b/one_31_chars_long_file_name_032
20377 a/b/one_31_chars_long_file_name_033
20378 a/b/one_31_chars_long_file_name_034
20379 a/b/one_31_chars_long_file_name_035
20380 a/b/one_31_chars_long_file_name_036
20381 a/b/one_31_chars_long_file_name_037
20382 a/b/one_31_chars_long_file_name_038
20383 a/b/one_31_chars_long_file_name_039
20384 a/b/one_31_chars_long_file_name_040
20385 a/b/one_31_chars_long_file_name_041
20386 a/b/one_31_chars_long_file_name_042
20387 a/b/one_31_chars_long_file_name_043
20388 a/b/one_31_chars_long_file_name_044
20389 a/b/one_31_chars_long_file_name_045
20390 a/b/one_31_chars_long_file_name_046
20391 a/b/one_31_chars_long_file_name_047
20392 a/b/one_31_chars_long_file_name_048
20393 a/b/one_31_chars_long_file_name_049
20394 a/b/one_31_chars_long_file_name_050
20395 a/b/one_31_chars_long_file_name_051
20396 a/b/one_31_chars_long_file_name_052
20397 a/b/one_31_chars_long_file_name_053
20398 a/b/one_31_chars_long_file_name_054
20399 a/b/one_31_chars_long_file_name_055
20400 a/b/one_31_chars_long_file_name_056
20401 a/b/one_31_chars_long_file_name_057
20402 a/b/one_31_chars_long_file_name_058
20403 a/b/one_31_chars_long_file_name_059
20404 a/b/one_31_chars_long_file_name_060
20405 a/b/one_31_chars_long_file_name_061
20406 a/b/one_31_chars_long_file_name_062
20407 a/b/one_31_chars_long_file_name_063
20408 a/b/one_31_chars_long_file_name_064
20409 a/b/one_31_chars_long_file_name_065
20410 a/b/one_31_chars_long_file_name_066
20411 a/b/one_31_chars_long_file_name_067
20412 a/b/one_31_chars_long_file_name_068
20413 a/b/one_31_chars_long_file_name_069
20414 a/b/one_31_chars_long_file_name_070
20415 a/b/one_31_chars_long_file_name_071
20416 a/b/one_31_chars_long_file_name_072
20417 a/b/one_31_chars_long_file_name_073
20418 a/b/one_31_chars_long_file_name_074
20419 a/b/one_31_chars_long_file_name_075
20420 a/b/one_31_chars_long_file_name_076
20421 a/b/one_31_chars_long_file_name_077
20422 a/b/one_31_chars_long_file_name_078
20423 a/b/one_31_chars_long_file_name_079
20424 a/b/one_31_chars_long_file_name_080
20425 a/b/one_31_chars_long_file_name_081
20426 a/b/one_31_chars_long_file_name_082
20427 a/b/one_31_chars_long_file_name_083
20428 a/b/one_31_chars_long_file_name_084
20429 a/b/one_31_chars_long_file_name_085
20430 a/b/one_31_chars_long_file_name_086
20431 a/b/one_31_chars_long_file_name_087
20432 a/b/one_31_chars_long_file_name_088
20433 a/b/one_31_chars_long_file_name_089
20434 a/b/one_31_chars_long_file_name_090
20435 a/b/one_31_chars_long_file_name_091
20436 a/b/one_31_chars_long_file_name_092
20437 a/b/one_31_chars_long_file_name_093
20438 a/b/one_31_chars_long_file_name_094
20439 a/b/one_31_chars_long_file_name_095
20440 a/b/one_31_chars_long_file_name_096
20441 a/b/one_31_chars_long_file_name_097
20442 a/b/one_31_chars_long_file_name_098
20443 a/b/one_31_chars_long_file_name_099
20444 a/b/one_31_chars_long_file_name_100
20445 a/b/one_31_chars_long_file_name_101
20446 a/b/one_31_chars_long_file_name_102
20447 a/b/one_31_chars_long_file_name_103
20448 a/b/one_31_chars_long_file_name_104
20449 a/b/one_31_chars_long_file_name_105
20450 a/b/one_31_chars_long_file_name_106
20451 a/b/one_31_chars_long_file_name_107
20452 a/b/one_31_chars_long_file_name_108
20453 a/b/one_31_chars_long_file_name_109
20454 a/b/one_31_chars_long_file_name_110
20455 a/b/one_31_chars_long_file_name_111
20456 a/b/one_31_chars_long_file_name_112
20457 a/b/one_31_chars_long_file_name_113
20458 a/b/one_31_chars_long_file_name_114
20459 a/b/one_31_chars_long_file_name_115
20460 a/b/one_31_chars_long_file_name_116
20461 a/b/one_31_chars_long_file_name_117
20462 a/b/one_31_chars_long_file_name_118
20463 a/b/one_31_chars_long_file_name_119
20464 a/b/one_31_chars_long_file_name_120
20465 a/b/one_31_chars_long_file_name_121
20466 a/b/one_31_chars_long_file_name_122
20467 a/b/one_31_chars_long_file_name_123
20468 a/b/one_31_chars_long_file_name_124
20469 a/b/one_31_chars_long_file_name_125
20470 a/b/one_31_chars_long_file_name_126
20471 a/b/one_31_chars_long_file_name_127
20472 a/b/one_31_chars_long_file_name_128
20473 a/b/one_31_chars_long_file_name_129
20474 a/b/one_31_chars_long_file_name_130
20475 a/b/one_31_chars_long_file_name_131
20476 a/b/one_31_chars_long_file_name_132
20477 a/b/one_31_chars_long_file_name_133
20478 a/b/one_31_chars_long_file_name_134
20479 a/b/one_31_chars_long_file_name_135
20480 a/b/one_31_chars_long_file_name_136
20481 a/b/one_31_chars_long_file_name_137
20482 a/b/one_31_chars_long_file_name_138
20483 a/b/one_31_chars_long_file_name_139
20484 a/b/one_31_chars_long_file_name_140
20485 a/b/one_31_chars_long_file_name_141
20486 a/b/one_31_chars_long_file_name_142
20491 $at_diff - "$at_stdout" || at_failed=:
20492 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
20494 $at_failed && at_func_log_failure
20498 $as_echo "$at_srcdir/incr04.at:34:
20501 TEST_TAR_FORMAT=oldgnu
20502 export TEST_TAR_FORMAT
20503 TAR_OPTIONS=\"-H oldgnu\"
20508 install-sh -d a/b >/dev/null || exit 77
20510 for (i=1;i<=142;i++)
20511 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
20512 }' < /dev/null | genfile --files-from -
20516 echo \"Initial dump\"
20517 tar cvf a0.tar -g a.sna a
20519 echo \"Incremental dump\"
20520 tar cvf a1.tar -g a.sna a
20522 echo incr04.at:34 >"$at_check_line_file"
20524 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20529 TEST_TAR_FORMAT=oldgnu
20530 export TEST_TAR_FORMAT
20531 TAR_OPTIONS="-H oldgnu"
20536 install-sh -d a/b >/dev/null || exit 77
20538 for (i=1;i<=142;i++)
20539 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20540 }' < /dev/null | genfile --files-from -
20544 echo "Initial dump"
20545 tar cvf a0.tar -g a.sna a
20547 echo "Incremental dump"
20548 tar cvf a1.tar -g a.sna a
20549 ) ) >"$at_stdout" 2>"$at_stder1"
20550 at_func_filter_trace $?
20555 TEST_TAR_FORMAT=oldgnu
20556 export TEST_TAR_FORMAT
20557 TAR_OPTIONS="-H oldgnu"
20562 install-sh -d a/b >/dev/null || exit 77
20564 for (i=1;i<=142;i++)
20565 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20566 }' < /dev/null | genfile --files-from -
20570 echo "Initial dump"
20571 tar cvf a0.tar -g a.sna a
20573 echo "Incremental dump"
20574 tar cvf a1.tar -g a.sna a
20575 ) ) >"$at_stdout" 2>"$at_stderr"
20579 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
20580 tar: a/b: Directory is new
20581 tar: a/c: Directory has been renamed from \`a/b'
20583 $at_diff - "$at_stderr" || at_failed=:
20584 echo >>"$at_stdout"; $as_echo "Initial dump
20587 a/b/one_31_chars_long_file_name_001
20588 a/b/one_31_chars_long_file_name_002
20589 a/b/one_31_chars_long_file_name_003
20590 a/b/one_31_chars_long_file_name_004
20591 a/b/one_31_chars_long_file_name_005
20592 a/b/one_31_chars_long_file_name_006
20593 a/b/one_31_chars_long_file_name_007
20594 a/b/one_31_chars_long_file_name_008
20595 a/b/one_31_chars_long_file_name_009
20596 a/b/one_31_chars_long_file_name_010
20597 a/b/one_31_chars_long_file_name_011
20598 a/b/one_31_chars_long_file_name_012
20599 a/b/one_31_chars_long_file_name_013
20600 a/b/one_31_chars_long_file_name_014
20601 a/b/one_31_chars_long_file_name_015
20602 a/b/one_31_chars_long_file_name_016
20603 a/b/one_31_chars_long_file_name_017
20604 a/b/one_31_chars_long_file_name_018
20605 a/b/one_31_chars_long_file_name_019
20606 a/b/one_31_chars_long_file_name_020
20607 a/b/one_31_chars_long_file_name_021
20608 a/b/one_31_chars_long_file_name_022
20609 a/b/one_31_chars_long_file_name_023
20610 a/b/one_31_chars_long_file_name_024
20611 a/b/one_31_chars_long_file_name_025
20612 a/b/one_31_chars_long_file_name_026
20613 a/b/one_31_chars_long_file_name_027
20614 a/b/one_31_chars_long_file_name_028
20615 a/b/one_31_chars_long_file_name_029
20616 a/b/one_31_chars_long_file_name_030
20617 a/b/one_31_chars_long_file_name_031
20618 a/b/one_31_chars_long_file_name_032
20619 a/b/one_31_chars_long_file_name_033
20620 a/b/one_31_chars_long_file_name_034
20621 a/b/one_31_chars_long_file_name_035
20622 a/b/one_31_chars_long_file_name_036
20623 a/b/one_31_chars_long_file_name_037
20624 a/b/one_31_chars_long_file_name_038
20625 a/b/one_31_chars_long_file_name_039
20626 a/b/one_31_chars_long_file_name_040
20627 a/b/one_31_chars_long_file_name_041
20628 a/b/one_31_chars_long_file_name_042
20629 a/b/one_31_chars_long_file_name_043
20630 a/b/one_31_chars_long_file_name_044
20631 a/b/one_31_chars_long_file_name_045
20632 a/b/one_31_chars_long_file_name_046
20633 a/b/one_31_chars_long_file_name_047
20634 a/b/one_31_chars_long_file_name_048
20635 a/b/one_31_chars_long_file_name_049
20636 a/b/one_31_chars_long_file_name_050
20637 a/b/one_31_chars_long_file_name_051
20638 a/b/one_31_chars_long_file_name_052
20639 a/b/one_31_chars_long_file_name_053
20640 a/b/one_31_chars_long_file_name_054
20641 a/b/one_31_chars_long_file_name_055
20642 a/b/one_31_chars_long_file_name_056
20643 a/b/one_31_chars_long_file_name_057
20644 a/b/one_31_chars_long_file_name_058
20645 a/b/one_31_chars_long_file_name_059
20646 a/b/one_31_chars_long_file_name_060
20647 a/b/one_31_chars_long_file_name_061
20648 a/b/one_31_chars_long_file_name_062
20649 a/b/one_31_chars_long_file_name_063
20650 a/b/one_31_chars_long_file_name_064
20651 a/b/one_31_chars_long_file_name_065
20652 a/b/one_31_chars_long_file_name_066
20653 a/b/one_31_chars_long_file_name_067
20654 a/b/one_31_chars_long_file_name_068
20655 a/b/one_31_chars_long_file_name_069
20656 a/b/one_31_chars_long_file_name_070
20657 a/b/one_31_chars_long_file_name_071
20658 a/b/one_31_chars_long_file_name_072
20659 a/b/one_31_chars_long_file_name_073
20660 a/b/one_31_chars_long_file_name_074
20661 a/b/one_31_chars_long_file_name_075
20662 a/b/one_31_chars_long_file_name_076
20663 a/b/one_31_chars_long_file_name_077
20664 a/b/one_31_chars_long_file_name_078
20665 a/b/one_31_chars_long_file_name_079
20666 a/b/one_31_chars_long_file_name_080
20667 a/b/one_31_chars_long_file_name_081
20668 a/b/one_31_chars_long_file_name_082
20669 a/b/one_31_chars_long_file_name_083
20670 a/b/one_31_chars_long_file_name_084
20671 a/b/one_31_chars_long_file_name_085
20672 a/b/one_31_chars_long_file_name_086
20673 a/b/one_31_chars_long_file_name_087
20674 a/b/one_31_chars_long_file_name_088
20675 a/b/one_31_chars_long_file_name_089
20676 a/b/one_31_chars_long_file_name_090
20677 a/b/one_31_chars_long_file_name_091
20678 a/b/one_31_chars_long_file_name_092
20679 a/b/one_31_chars_long_file_name_093
20680 a/b/one_31_chars_long_file_name_094
20681 a/b/one_31_chars_long_file_name_095
20682 a/b/one_31_chars_long_file_name_096
20683 a/b/one_31_chars_long_file_name_097
20684 a/b/one_31_chars_long_file_name_098
20685 a/b/one_31_chars_long_file_name_099
20686 a/b/one_31_chars_long_file_name_100
20687 a/b/one_31_chars_long_file_name_101
20688 a/b/one_31_chars_long_file_name_102
20689 a/b/one_31_chars_long_file_name_103
20690 a/b/one_31_chars_long_file_name_104
20691 a/b/one_31_chars_long_file_name_105
20692 a/b/one_31_chars_long_file_name_106
20693 a/b/one_31_chars_long_file_name_107
20694 a/b/one_31_chars_long_file_name_108
20695 a/b/one_31_chars_long_file_name_109
20696 a/b/one_31_chars_long_file_name_110
20697 a/b/one_31_chars_long_file_name_111
20698 a/b/one_31_chars_long_file_name_112
20699 a/b/one_31_chars_long_file_name_113
20700 a/b/one_31_chars_long_file_name_114
20701 a/b/one_31_chars_long_file_name_115
20702 a/b/one_31_chars_long_file_name_116
20703 a/b/one_31_chars_long_file_name_117
20704 a/b/one_31_chars_long_file_name_118
20705 a/b/one_31_chars_long_file_name_119
20706 a/b/one_31_chars_long_file_name_120
20707 a/b/one_31_chars_long_file_name_121
20708 a/b/one_31_chars_long_file_name_122
20709 a/b/one_31_chars_long_file_name_123
20710 a/b/one_31_chars_long_file_name_124
20711 a/b/one_31_chars_long_file_name_125
20712 a/b/one_31_chars_long_file_name_126
20713 a/b/one_31_chars_long_file_name_127
20714 a/b/one_31_chars_long_file_name_128
20715 a/b/one_31_chars_long_file_name_129
20716 a/b/one_31_chars_long_file_name_130
20717 a/b/one_31_chars_long_file_name_131
20718 a/b/one_31_chars_long_file_name_132
20719 a/b/one_31_chars_long_file_name_133
20720 a/b/one_31_chars_long_file_name_134
20721 a/b/one_31_chars_long_file_name_135
20722 a/b/one_31_chars_long_file_name_136
20723 a/b/one_31_chars_long_file_name_137
20724 a/b/one_31_chars_long_file_name_138
20725 a/b/one_31_chars_long_file_name_139
20726 a/b/one_31_chars_long_file_name_140
20727 a/b/one_31_chars_long_file_name_141
20728 a/b/one_31_chars_long_file_name_142
20733 $at_diff - "$at_stdout" || at_failed=:
20734 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
20736 $at_failed && at_func_log_failure
20740 $as_echo "$at_srcdir/incr04.at:34:
20743 TEST_TAR_FORMAT=posix
20744 export TEST_TAR_FORMAT
20745 TAR_OPTIONS=\"-H posix\"
20750 install-sh -d a/b >/dev/null || exit 77
20752 for (i=1;i<=142;i++)
20753 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
20754 }' < /dev/null | genfile --files-from -
20758 echo \"Initial dump\"
20759 tar cvf a0.tar -g a.sna a
20761 echo \"Incremental dump\"
20762 tar cvf a1.tar -g a.sna a
20764 echo incr04.at:34 >"$at_check_line_file"
20766 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20771 TEST_TAR_FORMAT=posix
20772 export TEST_TAR_FORMAT
20773 TAR_OPTIONS="-H posix"
20778 install-sh -d a/b >/dev/null || exit 77
20780 for (i=1;i<=142;i++)
20781 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20782 }' < /dev/null | genfile --files-from -
20786 echo "Initial dump"
20787 tar cvf a0.tar -g a.sna a
20789 echo "Incremental dump"
20790 tar cvf a1.tar -g a.sna a
20791 ) ) >"$at_stdout" 2>"$at_stder1"
20792 at_func_filter_trace $?
20797 TEST_TAR_FORMAT=posix
20798 export TEST_TAR_FORMAT
20799 TAR_OPTIONS="-H posix"
20804 install-sh -d a/b >/dev/null || exit 77
20806 for (i=1;i<=142;i++)
20807 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
20808 }' < /dev/null | genfile --files-from -
20812 echo "Initial dump"
20813 tar cvf a0.tar -g a.sna a
20815 echo "Incremental dump"
20816 tar cvf a1.tar -g a.sna a
20817 ) ) >"$at_stdout" 2>"$at_stderr"
20821 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
20822 tar: a/b: Directory is new
20823 tar: a/c: Directory has been renamed from \`a/b'
20825 $at_diff - "$at_stderr" || at_failed=:
20826 echo >>"$at_stdout"; $as_echo "Initial dump
20829 a/b/one_31_chars_long_file_name_001
20830 a/b/one_31_chars_long_file_name_002
20831 a/b/one_31_chars_long_file_name_003
20832 a/b/one_31_chars_long_file_name_004
20833 a/b/one_31_chars_long_file_name_005
20834 a/b/one_31_chars_long_file_name_006
20835 a/b/one_31_chars_long_file_name_007
20836 a/b/one_31_chars_long_file_name_008
20837 a/b/one_31_chars_long_file_name_009
20838 a/b/one_31_chars_long_file_name_010
20839 a/b/one_31_chars_long_file_name_011
20840 a/b/one_31_chars_long_file_name_012
20841 a/b/one_31_chars_long_file_name_013
20842 a/b/one_31_chars_long_file_name_014
20843 a/b/one_31_chars_long_file_name_015
20844 a/b/one_31_chars_long_file_name_016
20845 a/b/one_31_chars_long_file_name_017
20846 a/b/one_31_chars_long_file_name_018
20847 a/b/one_31_chars_long_file_name_019
20848 a/b/one_31_chars_long_file_name_020
20849 a/b/one_31_chars_long_file_name_021
20850 a/b/one_31_chars_long_file_name_022
20851 a/b/one_31_chars_long_file_name_023
20852 a/b/one_31_chars_long_file_name_024
20853 a/b/one_31_chars_long_file_name_025
20854 a/b/one_31_chars_long_file_name_026
20855 a/b/one_31_chars_long_file_name_027
20856 a/b/one_31_chars_long_file_name_028
20857 a/b/one_31_chars_long_file_name_029
20858 a/b/one_31_chars_long_file_name_030
20859 a/b/one_31_chars_long_file_name_031
20860 a/b/one_31_chars_long_file_name_032
20861 a/b/one_31_chars_long_file_name_033
20862 a/b/one_31_chars_long_file_name_034
20863 a/b/one_31_chars_long_file_name_035
20864 a/b/one_31_chars_long_file_name_036
20865 a/b/one_31_chars_long_file_name_037
20866 a/b/one_31_chars_long_file_name_038
20867 a/b/one_31_chars_long_file_name_039
20868 a/b/one_31_chars_long_file_name_040
20869 a/b/one_31_chars_long_file_name_041
20870 a/b/one_31_chars_long_file_name_042
20871 a/b/one_31_chars_long_file_name_043
20872 a/b/one_31_chars_long_file_name_044
20873 a/b/one_31_chars_long_file_name_045
20874 a/b/one_31_chars_long_file_name_046
20875 a/b/one_31_chars_long_file_name_047
20876 a/b/one_31_chars_long_file_name_048
20877 a/b/one_31_chars_long_file_name_049
20878 a/b/one_31_chars_long_file_name_050
20879 a/b/one_31_chars_long_file_name_051
20880 a/b/one_31_chars_long_file_name_052
20881 a/b/one_31_chars_long_file_name_053
20882 a/b/one_31_chars_long_file_name_054
20883 a/b/one_31_chars_long_file_name_055
20884 a/b/one_31_chars_long_file_name_056
20885 a/b/one_31_chars_long_file_name_057
20886 a/b/one_31_chars_long_file_name_058
20887 a/b/one_31_chars_long_file_name_059
20888 a/b/one_31_chars_long_file_name_060
20889 a/b/one_31_chars_long_file_name_061
20890 a/b/one_31_chars_long_file_name_062
20891 a/b/one_31_chars_long_file_name_063
20892 a/b/one_31_chars_long_file_name_064
20893 a/b/one_31_chars_long_file_name_065
20894 a/b/one_31_chars_long_file_name_066
20895 a/b/one_31_chars_long_file_name_067
20896 a/b/one_31_chars_long_file_name_068
20897 a/b/one_31_chars_long_file_name_069
20898 a/b/one_31_chars_long_file_name_070
20899 a/b/one_31_chars_long_file_name_071
20900 a/b/one_31_chars_long_file_name_072
20901 a/b/one_31_chars_long_file_name_073
20902 a/b/one_31_chars_long_file_name_074
20903 a/b/one_31_chars_long_file_name_075
20904 a/b/one_31_chars_long_file_name_076
20905 a/b/one_31_chars_long_file_name_077
20906 a/b/one_31_chars_long_file_name_078
20907 a/b/one_31_chars_long_file_name_079
20908 a/b/one_31_chars_long_file_name_080
20909 a/b/one_31_chars_long_file_name_081
20910 a/b/one_31_chars_long_file_name_082
20911 a/b/one_31_chars_long_file_name_083
20912 a/b/one_31_chars_long_file_name_084
20913 a/b/one_31_chars_long_file_name_085
20914 a/b/one_31_chars_long_file_name_086
20915 a/b/one_31_chars_long_file_name_087
20916 a/b/one_31_chars_long_file_name_088
20917 a/b/one_31_chars_long_file_name_089
20918 a/b/one_31_chars_long_file_name_090
20919 a/b/one_31_chars_long_file_name_091
20920 a/b/one_31_chars_long_file_name_092
20921 a/b/one_31_chars_long_file_name_093
20922 a/b/one_31_chars_long_file_name_094
20923 a/b/one_31_chars_long_file_name_095
20924 a/b/one_31_chars_long_file_name_096
20925 a/b/one_31_chars_long_file_name_097
20926 a/b/one_31_chars_long_file_name_098
20927 a/b/one_31_chars_long_file_name_099
20928 a/b/one_31_chars_long_file_name_100
20929 a/b/one_31_chars_long_file_name_101
20930 a/b/one_31_chars_long_file_name_102
20931 a/b/one_31_chars_long_file_name_103
20932 a/b/one_31_chars_long_file_name_104
20933 a/b/one_31_chars_long_file_name_105
20934 a/b/one_31_chars_long_file_name_106
20935 a/b/one_31_chars_long_file_name_107
20936 a/b/one_31_chars_long_file_name_108
20937 a/b/one_31_chars_long_file_name_109
20938 a/b/one_31_chars_long_file_name_110
20939 a/b/one_31_chars_long_file_name_111
20940 a/b/one_31_chars_long_file_name_112
20941 a/b/one_31_chars_long_file_name_113
20942 a/b/one_31_chars_long_file_name_114
20943 a/b/one_31_chars_long_file_name_115
20944 a/b/one_31_chars_long_file_name_116
20945 a/b/one_31_chars_long_file_name_117
20946 a/b/one_31_chars_long_file_name_118
20947 a/b/one_31_chars_long_file_name_119
20948 a/b/one_31_chars_long_file_name_120
20949 a/b/one_31_chars_long_file_name_121
20950 a/b/one_31_chars_long_file_name_122
20951 a/b/one_31_chars_long_file_name_123
20952 a/b/one_31_chars_long_file_name_124
20953 a/b/one_31_chars_long_file_name_125
20954 a/b/one_31_chars_long_file_name_126
20955 a/b/one_31_chars_long_file_name_127
20956 a/b/one_31_chars_long_file_name_128
20957 a/b/one_31_chars_long_file_name_129
20958 a/b/one_31_chars_long_file_name_130
20959 a/b/one_31_chars_long_file_name_131
20960 a/b/one_31_chars_long_file_name_132
20961 a/b/one_31_chars_long_file_name_133
20962 a/b/one_31_chars_long_file_name_134
20963 a/b/one_31_chars_long_file_name_135
20964 a/b/one_31_chars_long_file_name_136
20965 a/b/one_31_chars_long_file_name_137
20966 a/b/one_31_chars_long_file_name_138
20967 a/b/one_31_chars_long_file_name_139
20968 a/b/one_31_chars_long_file_name_140
20969 a/b/one_31_chars_long_file_name_141
20970 a/b/one_31_chars_long_file_name_142
20975 $at_diff - "$at_stdout" || at_failed=:
20976 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
20978 $at_failed && at_func_log_failure
20985 $at_times_p && times >"$at_times_file"
20986 ) 5>&1 2>&1 | eval $at_tee_pipe
20987 at_status=`cat "$at_status_file"`
20990 # 56. incr05.at:19: incremental dumps with -C
20991 at_setup_line='incr05.at:19'
20992 at_desc="incremental dumps with -C"
20993 $at_quiet $as_echo_n " 56: $at_desc "
20995 test -f $XFAILFILE && at_xfail=yes
20996 echo "# -*- compilation -*-" >> "$at_group_log"
20998 $as_echo "56. incr05.at:19: testing ..."
21006 $as_echo "$at_srcdir/incr05.at:22:
21009 TEST_TAR_FORMAT=gnu
21010 export TEST_TAR_FORMAT
21011 TAR_OPTIONS=\"-H gnu\"
21017 genfile --file dir/file1
21018 genfile --file dir/sub/file2
21021 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21023 genfile --file dir/file3
21025 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21027 echo incr05.at:22 >"$at_check_line_file"
21029 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21034 TEST_TAR_FORMAT=gnu
21035 export TEST_TAR_FORMAT
21036 TAR_OPTIONS="-H gnu"
21042 genfile --file dir/file1
21043 genfile --file dir/sub/file2
21046 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21048 genfile --file dir/file3
21050 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21051 ) ) >"$at_stdout" 2>"$at_stder1"
21052 at_func_filter_trace $?
21057 TEST_TAR_FORMAT=gnu
21058 export TEST_TAR_FORMAT
21059 TAR_OPTIONS="-H gnu"
21065 genfile --file dir/file1
21066 genfile --file dir/sub/file2
21069 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21071 genfile --file dir/file3
21073 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21074 ) ) >"$at_stdout" 2>"$at_stderr"
21078 at_func_diff_devnull "$at_stderr" || at_failed=:
21079 echo >>"$at_stdout"; $as_echo "Level 0
21089 $at_diff - "$at_stdout" || at_failed=:
21090 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
21092 $at_failed && at_func_log_failure
21096 $as_echo "$at_srcdir/incr05.at:22:
21099 TEST_TAR_FORMAT=oldgnu
21100 export TEST_TAR_FORMAT
21101 TAR_OPTIONS=\"-H oldgnu\"
21107 genfile --file dir/file1
21108 genfile --file dir/sub/file2
21111 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21113 genfile --file dir/file3
21115 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21117 echo incr05.at:22 >"$at_check_line_file"
21119 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21124 TEST_TAR_FORMAT=oldgnu
21125 export TEST_TAR_FORMAT
21126 TAR_OPTIONS="-H oldgnu"
21132 genfile --file dir/file1
21133 genfile --file dir/sub/file2
21136 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21138 genfile --file dir/file3
21140 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21141 ) ) >"$at_stdout" 2>"$at_stder1"
21142 at_func_filter_trace $?
21147 TEST_TAR_FORMAT=oldgnu
21148 export TEST_TAR_FORMAT
21149 TAR_OPTIONS="-H oldgnu"
21155 genfile --file dir/file1
21156 genfile --file dir/sub/file2
21159 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21161 genfile --file dir/file3
21163 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21164 ) ) >"$at_stdout" 2>"$at_stderr"
21168 at_func_diff_devnull "$at_stderr" || at_failed=:
21169 echo >>"$at_stdout"; $as_echo "Level 0
21179 $at_diff - "$at_stdout" || at_failed=:
21180 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
21182 $at_failed && at_func_log_failure
21186 $as_echo "$at_srcdir/incr05.at:22:
21189 TEST_TAR_FORMAT=posix
21190 export TEST_TAR_FORMAT
21191 TAR_OPTIONS=\"-H posix\"
21197 genfile --file dir/file1
21198 genfile --file dir/sub/file2
21201 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21203 genfile --file dir/file3
21205 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21207 echo incr05.at:22 >"$at_check_line_file"
21209 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21214 TEST_TAR_FORMAT=posix
21215 export TEST_TAR_FORMAT
21216 TAR_OPTIONS="-H posix"
21222 genfile --file dir/file1
21223 genfile --file dir/sub/file2
21226 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21228 genfile --file dir/file3
21230 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21231 ) ) >"$at_stdout" 2>"$at_stder1"
21232 at_func_filter_trace $?
21237 TEST_TAR_FORMAT=posix
21238 export TEST_TAR_FORMAT
21239 TAR_OPTIONS="-H posix"
21245 genfile --file dir/file1
21246 genfile --file dir/sub/file2
21249 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21251 genfile --file dir/file3
21253 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
21254 ) ) >"$at_stdout" 2>"$at_stderr"
21258 at_func_diff_devnull "$at_stderr" || at_failed=:
21259 echo >>"$at_stdout"; $as_echo "Level 0
21269 $at_diff - "$at_stdout" || at_failed=:
21270 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
21272 $at_failed && at_func_log_failure
21279 $at_times_p && times >"$at_times_file"
21280 ) 5>&1 2>&1 | eval $at_tee_pipe
21281 at_status=`cat "$at_status_file"`
21284 # 57. incr06.at:19: incremental dumps of nested directories
21285 at_setup_line='incr06.at:19'
21286 at_desc="incremental dumps of nested directories"
21287 $at_quiet $as_echo_n " 57: $at_desc "
21289 test -f $XFAILFILE && at_xfail=yes
21290 echo "# -*- compilation -*-" >> "$at_group_log"
21292 $as_echo "57. incr06.at:19: testing ..."
21300 $as_echo "$at_srcdir/incr06.at:22:
21303 TEST_TAR_FORMAT=gnu
21304 export TEST_TAR_FORMAT
21305 TAR_OPTIONS=\"-H gnu\"
21313 genfile --file dir/file1
21314 genfile --file dir/sub/file2
21315 genfile --file dir/sub/a/file3
21318 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21320 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21323 genfile --file dir/sub/b/file4
21326 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21328 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21330 echo incr06.at:22 >"$at_check_line_file"
21332 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21337 TEST_TAR_FORMAT=gnu
21338 export TEST_TAR_FORMAT
21339 TAR_OPTIONS="-H gnu"
21347 genfile --file dir/file1
21348 genfile --file dir/sub/file2
21349 genfile --file dir/sub/a/file3
21352 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21354 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21357 genfile --file dir/sub/b/file4
21360 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21362 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21363 ) ) >"$at_stdout" 2>"$at_stder1"
21364 at_func_filter_trace $?
21369 TEST_TAR_FORMAT=gnu
21370 export TEST_TAR_FORMAT
21371 TAR_OPTIONS="-H gnu"
21379 genfile --file dir/file1
21380 genfile --file dir/sub/file2
21381 genfile --file dir/sub/a/file3
21384 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21386 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21389 genfile --file dir/sub/b/file4
21392 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21394 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21395 ) ) >"$at_stdout" 2>"$at_stderr"
21399 at_func_diff_devnull "$at_stderr" || at_failed=:
21400 echo >>"$at_stdout"; $as_echo "Level 0 . sub
21431 $at_diff - "$at_stdout" || at_failed=:
21432 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
21434 $at_failed && at_func_log_failure
21438 $as_echo "$at_srcdir/incr06.at:22:
21441 TEST_TAR_FORMAT=oldgnu
21442 export TEST_TAR_FORMAT
21443 TAR_OPTIONS=\"-H oldgnu\"
21451 genfile --file dir/file1
21452 genfile --file dir/sub/file2
21453 genfile --file dir/sub/a/file3
21456 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21458 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21461 genfile --file dir/sub/b/file4
21464 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21466 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21468 echo incr06.at:22 >"$at_check_line_file"
21470 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21475 TEST_TAR_FORMAT=oldgnu
21476 export TEST_TAR_FORMAT
21477 TAR_OPTIONS="-H oldgnu"
21485 genfile --file dir/file1
21486 genfile --file dir/sub/file2
21487 genfile --file dir/sub/a/file3
21490 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21492 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21495 genfile --file dir/sub/b/file4
21498 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21500 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21501 ) ) >"$at_stdout" 2>"$at_stder1"
21502 at_func_filter_trace $?
21507 TEST_TAR_FORMAT=oldgnu
21508 export TEST_TAR_FORMAT
21509 TAR_OPTIONS="-H oldgnu"
21517 genfile --file dir/file1
21518 genfile --file dir/sub/file2
21519 genfile --file dir/sub/a/file3
21522 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21524 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21527 genfile --file dir/sub/b/file4
21530 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21532 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21533 ) ) >"$at_stdout" 2>"$at_stderr"
21537 at_func_diff_devnull "$at_stderr" || at_failed=:
21538 echo >>"$at_stdout"; $as_echo "Level 0 . sub
21569 $at_diff - "$at_stdout" || at_failed=:
21570 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
21572 $at_failed && at_func_log_failure
21576 $as_echo "$at_srcdir/incr06.at:22:
21579 TEST_TAR_FORMAT=posix
21580 export TEST_TAR_FORMAT
21581 TAR_OPTIONS=\"-H posix\"
21589 genfile --file dir/file1
21590 genfile --file dir/sub/file2
21591 genfile --file dir/sub/a/file3
21594 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21596 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21599 genfile --file dir/sub/b/file4
21602 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21604 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21606 echo incr06.at:22 >"$at_check_line_file"
21608 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21613 TEST_TAR_FORMAT=posix
21614 export TEST_TAR_FORMAT
21615 TAR_OPTIONS="-H posix"
21623 genfile --file dir/file1
21624 genfile --file dir/sub/file2
21625 genfile --file dir/sub/a/file3
21628 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21630 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21633 genfile --file dir/sub/b/file4
21636 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21638 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21639 ) ) >"$at_stdout" 2>"$at_stder1"
21640 at_func_filter_trace $?
21645 TEST_TAR_FORMAT=posix
21646 export TEST_TAR_FORMAT
21647 TAR_OPTIONS="-H posix"
21655 genfile --file dir/file1
21656 genfile --file dir/sub/file2
21657 genfile --file dir/sub/a/file3
21660 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21662 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21665 genfile --file dir/sub/b/file4
21668 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
21670 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
21671 ) ) >"$at_stdout" 2>"$at_stderr"
21675 at_func_diff_devnull "$at_stderr" || at_failed=:
21676 echo >>"$at_stdout"; $as_echo "Level 0 . sub
21707 $at_diff - "$at_stdout" || at_failed=:
21708 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
21710 $at_failed && at_func_log_failure
21717 $at_times_p && times >"$at_times_file"
21718 ) 5>&1 2>&1 | eval $at_tee_pipe
21719 at_status=`cat "$at_status_file"`
21722 # 58. filerem01.at:34: file removed as we read it (ca. 22 seconds)
21723 at_setup_line='filerem01.at:34'
21724 at_desc="file removed as we read it (ca. 22 seconds)"
21725 $at_quiet $as_echo_n " 58: $at_desc "
21727 test -f $XFAILFILE && at_xfail=yes
21728 echo "# -*- compilation -*-" >> "$at_group_log"
21730 $as_echo "58. filerem01.at:34: testing ..."
21738 $as_echo "$at_srcdir/filerem01.at:37:
21741 TEST_TAR_FORMAT=gnu
21742 export TEST_TAR_FORMAT
21743 TAR_OPTIONS=\"-H gnu\"
21749 genfile --file dir/file1
21750 genfile --file dir/sub/file2
21752 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
21753 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
21754 --checkpoint-action='echo' -c -f archive.tar \\
21755 --listed-incremental db -v dir >/dev/null
21757 echo filerem01.at:37 >"$at_check_line_file"
21759 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21764 TEST_TAR_FORMAT=gnu
21765 export TEST_TAR_FORMAT
21766 TAR_OPTIONS="-H gnu"
21772 genfile --file dir/file1
21773 genfile --file dir/sub/file2
21775 genfile --run --checkpoint=3 --unlink dir/file1 -- \
21776 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
21777 --checkpoint-action='echo' -c -f archive.tar \
21778 --listed-incremental db -v dir >/dev/null
21779 ) ) >"$at_stdout" 2>"$at_stder1"
21780 at_func_filter_trace $?
21785 TEST_TAR_FORMAT=gnu
21786 export TEST_TAR_FORMAT
21787 TAR_OPTIONS="-H gnu"
21793 genfile --file dir/file1
21794 genfile --file dir/sub/file2
21796 genfile --run --checkpoint=3 --unlink dir/file1 -- \
21797 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
21798 --checkpoint-action='echo' -c -f archive.tar \
21799 --listed-incremental db -v dir >/dev/null
21800 ) ) >"$at_stdout" 2>"$at_stderr"
21804 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
21805 tar: dir/sub: Directory is new
21806 tar: dir/file1: File removed before we read it
21808 $at_diff - "$at_stderr" || at_failed=:
21809 echo stdout:; cat "$at_stdout"
21810 at_func_check_status 1 $at_status "$at_srcdir/filerem01.at:37"
21812 $at_failed && at_func_log_failure
21816 $as_echo "$at_srcdir/filerem01.at:37:
21819 TEST_TAR_FORMAT=posix
21820 export TEST_TAR_FORMAT
21821 TAR_OPTIONS=\"-H posix\"
21827 genfile --file dir/file1
21828 genfile --file dir/sub/file2
21830 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
21831 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
21832 --checkpoint-action='echo' -c -f archive.tar \\
21833 --listed-incremental db -v dir >/dev/null
21835 echo filerem01.at:37 >"$at_check_line_file"
21837 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21842 TEST_TAR_FORMAT=posix
21843 export TEST_TAR_FORMAT
21844 TAR_OPTIONS="-H posix"
21850 genfile --file dir/file1
21851 genfile --file dir/sub/file2
21853 genfile --run --checkpoint=3 --unlink dir/file1 -- \
21854 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
21855 --checkpoint-action='echo' -c -f archive.tar \
21856 --listed-incremental db -v dir >/dev/null
21857 ) ) >"$at_stdout" 2>"$at_stder1"
21858 at_func_filter_trace $?
21863 TEST_TAR_FORMAT=posix
21864 export TEST_TAR_FORMAT
21865 TAR_OPTIONS="-H posix"
21871 genfile --file dir/file1
21872 genfile --file dir/sub/file2
21874 genfile --run --checkpoint=3 --unlink dir/file1 -- \
21875 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
21876 --checkpoint-action='echo' -c -f archive.tar \
21877 --listed-incremental db -v dir >/dev/null
21878 ) ) >"$at_stdout" 2>"$at_stderr"
21882 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
21883 tar: dir/sub: Directory is new
21884 tar: dir/file1: File removed before we read it
21886 $at_diff - "$at_stderr" || at_failed=:
21887 echo stdout:; cat "$at_stdout"
21888 at_func_check_status 1 $at_status "$at_srcdir/filerem01.at:37"
21890 $at_failed && at_func_log_failure
21896 # Timing information:
21898 # For -Hgnu the above command line takes about 8 seconds to execute and
21901 # tar: dir: Directory is new
21902 # tar: dir/sub: Directory is new
21904 # tar: Write checkpoint 1
21905 # tar: Write checkpoint 2
21907 # tar: Write checkpoint 3
21908 # tar: Write checkpoint 4
21910 # tar: Write checkpoint 5
21912 # tar: Write checkpoint 6
21913 # tar: Write checkpoint 7
21914 # tar: Write checkpoint 8
21916 # For -Hposix the above command line takes about 14 seconds to execute and
21919 # ./tar: dir: Directory is new
21920 # ./tar: dir/sub: Directory is new
21922 # ./tar: Write checkpoint 1
21923 # ./tar: Write checkpoint 2
21924 # ./tar: Write checkpoint 3
21926 # ./tar: Write checkpoint 4
21927 # ./tar: Write checkpoint 5
21928 # ./tar: Write checkpoint 6
21930 # ./tar: Write checkpoint 7
21931 # ./tar: Write checkpoint 8
21932 # ./tar: Write checkpoint 9
21934 # ./tar: Write checkpoint 10
21935 # ./tar: Write checkpoint 11
21936 # ./tar: Write checkpoint 12
21937 # ./tar: Write checkpoint 13
21938 # ./tar: Write checkpoint 14
21942 $at_times_p && times >"$at_times_file"
21943 ) 5>&1 2>&1 | eval $at_tee_pipe
21944 at_status=`cat "$at_status_file"`
21947 # 59. filerem02.at:24: toplevel file removed (ca. 24 seconds)
21948 at_setup_line='filerem02.at:24'
21949 at_desc="toplevel file removed (ca. 24 seconds)"
21950 $at_quiet $as_echo_n " 59: $at_desc "
21952 test -f $XFAILFILE && at_xfail=yes
21953 echo "# -*- compilation -*-" >> "$at_group_log"
21955 $as_echo "59. filerem02.at:24: testing ..."
21963 $as_echo "$at_srcdir/filerem02.at:27:
21966 TEST_TAR_FORMAT=gnu
21967 export TEST_TAR_FORMAT
21968 TAR_OPTIONS=\"-H gnu\"
21974 genfile --file dir/file1
21975 genfile --file dir/sub/file2
21977 genfile --file dir2/file1
21979 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
21980 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
21981 --checkpoint-action='echo' -c -f archive.tar \\
21982 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
21984 echo filerem02.at:27 >"$at_check_line_file"
21986 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21991 TEST_TAR_FORMAT=gnu
21992 export TEST_TAR_FORMAT
21993 TAR_OPTIONS="-H gnu"
21999 genfile --file dir/file1
22000 genfile --file dir/sub/file2
22002 genfile --file dir2/file1
22004 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
22005 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22006 --checkpoint-action='echo' -c -f archive.tar \
22007 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
22008 ) ) >"$at_stdout" 2>"$at_stder1"
22009 at_func_filter_trace $?
22014 TEST_TAR_FORMAT=gnu
22015 export TEST_TAR_FORMAT
22016 TAR_OPTIONS="-H gnu"
22022 genfile --file dir/file1
22023 genfile --file dir/sub/file2
22025 genfile --file dir2/file1
22027 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
22028 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22029 --checkpoint-action='echo' -c -f archive.tar \
22030 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
22031 ) ) >"$at_stdout" 2>"$at_stderr"
22035 echo stderr:; cat "$at_stderr"
22036 echo stdout:; cat "$at_stdout"
22037 at_func_check_status 2 $at_status "$at_srcdir/filerem02.at:27"
22039 $at_failed && at_func_log_failure
22043 $as_echo "$at_srcdir/filerem02.at:27:
22046 TEST_TAR_FORMAT=posix
22047 export TEST_TAR_FORMAT
22048 TAR_OPTIONS=\"-H posix\"
22054 genfile --file dir/file1
22055 genfile --file dir/sub/file2
22057 genfile --file dir2/file1
22059 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
22060 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
22061 --checkpoint-action='echo' -c -f archive.tar \\
22062 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
22064 echo filerem02.at:27 >"$at_check_line_file"
22066 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22071 TEST_TAR_FORMAT=posix
22072 export TEST_TAR_FORMAT
22073 TAR_OPTIONS="-H posix"
22079 genfile --file dir/file1
22080 genfile --file dir/sub/file2
22082 genfile --file dir2/file1
22084 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
22085 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22086 --checkpoint-action='echo' -c -f archive.tar \
22087 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
22088 ) ) >"$at_stdout" 2>"$at_stder1"
22089 at_func_filter_trace $?
22094 TEST_TAR_FORMAT=posix
22095 export TEST_TAR_FORMAT
22096 TAR_OPTIONS="-H posix"
22102 genfile --file dir/file1
22103 genfile --file dir/sub/file2
22105 genfile --file dir2/file1
22107 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
22108 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
22109 --checkpoint-action='echo' -c -f archive.tar \
22110 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
22111 ) ) >"$at_stdout" 2>"$at_stderr"
22115 echo stderr:; cat "$at_stderr"
22116 echo stdout:; cat "$at_stdout"
22117 at_func_check_status 2 $at_status "$at_srcdir/filerem02.at:27"
22119 $at_failed && at_func_log_failure
22125 # Ignore stdout and stderr because their contents depend on
22126 # the file system implementation.
22128 # Timing information: see filerem01.at
22131 $at_times_p && times >"$at_times_file"
22132 ) 5>&1 2>&1 | eval $at_tee_pipe
22133 at_status=`cat "$at_status_file"`
22136 # 60. rename01.at:24: renamed dirs in incrementals
22137 at_setup_line='rename01.at:24'
22138 at_desc="renamed dirs in incrementals"
22139 $at_quiet $as_echo_n " 60: $at_desc "
22141 test -f $XFAILFILE && at_xfail=yes
22142 echo "# -*- compilation -*-" >> "$at_group_log"
22144 $as_echo "60. rename01.at:24: testing ..."
22152 $as_echo "$at_srcdir/rename01.at:27:
22155 TEST_TAR_FORMAT=gnu
22156 export TEST_TAR_FORMAT
22157 TAR_OPTIONS=\"-H gnu\"
22162 test -z "`sort < /dev/null 2>&1`" || exit 77
22166 genfile --file foo/file1
22167 genfile --file foo/file2
22169 genfile --file foo/bar/file
22171 echo \"Creating base archive\"
22172 tar -g incr -cf arch.1 -v foo
22176 echo \"Creating incremental archive\"
22177 tar -g incr -cf arch.2 -v foo
22181 tar xfg arch.1 /dev/null
22183 echo \"Begin directory listing 1\"
22185 echo \"End directory listing 1\"
22187 tar xfg arch.2 /dev/null
22188 echo Begin directory listing 2
22190 echo End directory listing 2
22192 echo rename01.at:27 >"$at_check_line_file"
22194 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22199 TEST_TAR_FORMAT=gnu
22200 export TEST_TAR_FORMAT
22201 TAR_OPTIONS="-H gnu"
22206 test -z "`sort < /dev/null 2>&1`" || exit 77
22210 genfile --file foo/file1
22211 genfile --file foo/file2
22213 genfile --file foo/bar/file
22215 echo "Creating base archive"
22216 tar -g incr -cf arch.1 -v foo
22220 echo "Creating incremental archive"
22221 tar -g incr -cf arch.2 -v foo
22225 tar xfg arch.1 /dev/null
22227 echo "Begin directory listing 1"
22229 echo "End directory listing 1"
22231 tar xfg arch.2 /dev/null
22232 echo Begin directory listing 2
22234 echo End directory listing 2
22235 ) ) >"$at_stdout" 2>"$at_stder1"
22236 at_func_filter_trace $?
22241 TEST_TAR_FORMAT=gnu
22242 export TEST_TAR_FORMAT
22243 TAR_OPTIONS="-H gnu"
22248 test -z "`sort < /dev/null 2>&1`" || exit 77
22252 genfile --file foo/file1
22253 genfile --file foo/file2
22255 genfile --file foo/bar/file
22257 echo "Creating base archive"
22258 tar -g incr -cf arch.1 -v foo
22262 echo "Creating incremental archive"
22263 tar -g incr -cf arch.2 -v foo
22267 tar xfg arch.1 /dev/null
22269 echo "Begin directory listing 1"
22271 echo "End directory listing 1"
22273 tar xfg arch.2 /dev/null
22274 echo Begin directory listing 2
22276 echo End directory listing 2
22277 ) ) >"$at_stdout" 2>"$at_stderr"
22281 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
22282 tar: foo/bar: Directory is new
22283 tar: foo/baz: Directory has been renamed from \`foo/bar'
22285 $at_diff - "$at_stderr" || at_failed=:
22286 echo >>"$at_stdout"; $as_echo "Creating base archive
22292 Creating incremental archive
22295 Begin directory listing 1
22301 End directory listing 1
22302 Begin directory listing 2
22308 End directory listing 2
22310 $at_diff - "$at_stdout" || at_failed=:
22311 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
22313 $at_failed && at_func_log_failure
22317 $as_echo "$at_srcdir/rename01.at:27:
22320 TEST_TAR_FORMAT=oldgnu
22321 export TEST_TAR_FORMAT
22322 TAR_OPTIONS=\"-H oldgnu\"
22327 test -z "`sort < /dev/null 2>&1`" || exit 77
22331 genfile --file foo/file1
22332 genfile --file foo/file2
22334 genfile --file foo/bar/file
22336 echo \"Creating base archive\"
22337 tar -g incr -cf arch.1 -v foo
22341 echo \"Creating incremental archive\"
22342 tar -g incr -cf arch.2 -v foo
22346 tar xfg arch.1 /dev/null
22348 echo \"Begin directory listing 1\"
22350 echo \"End directory listing 1\"
22352 tar xfg arch.2 /dev/null
22353 echo Begin directory listing 2
22355 echo End directory listing 2
22357 echo rename01.at:27 >"$at_check_line_file"
22359 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22364 TEST_TAR_FORMAT=oldgnu
22365 export TEST_TAR_FORMAT
22366 TAR_OPTIONS="-H oldgnu"
22371 test -z "`sort < /dev/null 2>&1`" || exit 77
22375 genfile --file foo/file1
22376 genfile --file foo/file2
22378 genfile --file foo/bar/file
22380 echo "Creating base archive"
22381 tar -g incr -cf arch.1 -v foo
22385 echo "Creating incremental archive"
22386 tar -g incr -cf arch.2 -v foo
22390 tar xfg arch.1 /dev/null
22392 echo "Begin directory listing 1"
22394 echo "End directory listing 1"
22396 tar xfg arch.2 /dev/null
22397 echo Begin directory listing 2
22399 echo End directory listing 2
22400 ) ) >"$at_stdout" 2>"$at_stder1"
22401 at_func_filter_trace $?
22406 TEST_TAR_FORMAT=oldgnu
22407 export TEST_TAR_FORMAT
22408 TAR_OPTIONS="-H oldgnu"
22413 test -z "`sort < /dev/null 2>&1`" || exit 77
22417 genfile --file foo/file1
22418 genfile --file foo/file2
22420 genfile --file foo/bar/file
22422 echo "Creating base archive"
22423 tar -g incr -cf arch.1 -v foo
22427 echo "Creating incremental archive"
22428 tar -g incr -cf arch.2 -v foo
22432 tar xfg arch.1 /dev/null
22434 echo "Begin directory listing 1"
22436 echo "End directory listing 1"
22438 tar xfg arch.2 /dev/null
22439 echo Begin directory listing 2
22441 echo End directory listing 2
22442 ) ) >"$at_stdout" 2>"$at_stderr"
22446 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
22447 tar: foo/bar: Directory is new
22448 tar: foo/baz: Directory has been renamed from \`foo/bar'
22450 $at_diff - "$at_stderr" || at_failed=:
22451 echo >>"$at_stdout"; $as_echo "Creating base archive
22457 Creating incremental archive
22460 Begin directory listing 1
22466 End directory listing 1
22467 Begin directory listing 2
22473 End directory listing 2
22475 $at_diff - "$at_stdout" || at_failed=:
22476 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
22478 $at_failed && at_func_log_failure
22482 $as_echo "$at_srcdir/rename01.at:27:
22485 TEST_TAR_FORMAT=posix
22486 export TEST_TAR_FORMAT
22487 TAR_OPTIONS=\"-H posix\"
22492 test -z "`sort < /dev/null 2>&1`" || exit 77
22496 genfile --file foo/file1
22497 genfile --file foo/file2
22499 genfile --file foo/bar/file
22501 echo \"Creating base archive\"
22502 tar -g incr -cf arch.1 -v foo
22506 echo \"Creating incremental archive\"
22507 tar -g incr -cf arch.2 -v foo
22511 tar xfg arch.1 /dev/null
22513 echo \"Begin directory listing 1\"
22515 echo \"End directory listing 1\"
22517 tar xfg arch.2 /dev/null
22518 echo Begin directory listing 2
22520 echo End directory listing 2
22522 echo rename01.at:27 >"$at_check_line_file"
22524 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22529 TEST_TAR_FORMAT=posix
22530 export TEST_TAR_FORMAT
22531 TAR_OPTIONS="-H posix"
22536 test -z "`sort < /dev/null 2>&1`" || exit 77
22540 genfile --file foo/file1
22541 genfile --file foo/file2
22543 genfile --file foo/bar/file
22545 echo "Creating base archive"
22546 tar -g incr -cf arch.1 -v foo
22550 echo "Creating incremental archive"
22551 tar -g incr -cf arch.2 -v foo
22555 tar xfg arch.1 /dev/null
22557 echo "Begin directory listing 1"
22559 echo "End directory listing 1"
22561 tar xfg arch.2 /dev/null
22562 echo Begin directory listing 2
22564 echo End directory listing 2
22565 ) ) >"$at_stdout" 2>"$at_stder1"
22566 at_func_filter_trace $?
22571 TEST_TAR_FORMAT=posix
22572 export TEST_TAR_FORMAT
22573 TAR_OPTIONS="-H posix"
22578 test -z "`sort < /dev/null 2>&1`" || exit 77
22582 genfile --file foo/file1
22583 genfile --file foo/file2
22585 genfile --file foo/bar/file
22587 echo "Creating base archive"
22588 tar -g incr -cf arch.1 -v foo
22592 echo "Creating incremental archive"
22593 tar -g incr -cf arch.2 -v foo
22597 tar xfg arch.1 /dev/null
22599 echo "Begin directory listing 1"
22601 echo "End directory listing 1"
22603 tar xfg arch.2 /dev/null
22604 echo Begin directory listing 2
22606 echo End directory listing 2
22607 ) ) >"$at_stdout" 2>"$at_stderr"
22611 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
22612 tar: foo/bar: Directory is new
22613 tar: foo/baz: Directory has been renamed from \`foo/bar'
22615 $at_diff - "$at_stderr" || at_failed=:
22616 echo >>"$at_stdout"; $as_echo "Creating base archive
22622 Creating incremental archive
22625 Begin directory listing 1
22631 End directory listing 1
22632 Begin directory listing 2
22638 End directory listing 2
22640 $at_diff - "$at_stdout" || at_failed=:
22641 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
22643 $at_failed && at_func_log_failure
22650 $at_times_p && times >"$at_times_file"
22651 ) 5>&1 2>&1 | eval $at_tee_pipe
22652 at_status=`cat "$at_status_file"`
22655 # 61. rename02.at:24: move between hierarchies
22656 at_setup_line='rename02.at:24'
22657 at_desc="move between hierarchies"
22658 $at_quiet $as_echo_n " 61: $at_desc "
22660 test -f $XFAILFILE && at_xfail=yes
22661 echo "# -*- compilation -*-" >> "$at_group_log"
22663 $as_echo "61. rename02.at:24: testing ..."
22671 $as_echo "$at_srcdir/rename02.at:27:
22674 TEST_TAR_FORMAT=gnu
22675 export TEST_TAR_FORMAT
22676 TAR_OPTIONS=\"-H gnu\"
22681 test -z "`sort < /dev/null 2>&1`" || exit 77
22684 genfile --file foo/file1
22685 genfile --file foo/file2
22687 genfile --file foo/bar/file.r
22689 genfile --file foo/bar/baz/file.z
22693 echo \"Creating base archive\"
22694 tar -g incr -cf arch.1 -v foo
22698 echo \"Creating incremental archive\"
22699 tar -g incr -cf arch.2 -v foo
22703 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22706 echo \"Begin directory listing 1\"
22708 echo \"End directory listing 1\"
22710 tar xfgv arch.2 /dev/null --warning=no-timestamp
22711 echo Begin directory listing 2
22713 echo End directory listing 2
22715 echo rename02.at:27 >"$at_check_line_file"
22717 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22722 TEST_TAR_FORMAT=gnu
22723 export TEST_TAR_FORMAT
22724 TAR_OPTIONS="-H gnu"
22729 test -z "`sort < /dev/null 2>&1`" || exit 77
22732 genfile --file foo/file1
22733 genfile --file foo/file2
22735 genfile --file foo/bar/file.r
22737 genfile --file foo/bar/baz/file.z
22741 echo "Creating base archive"
22742 tar -g incr -cf arch.1 -v foo
22746 echo "Creating incremental archive"
22747 tar -g incr -cf arch.2 -v foo
22751 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22754 echo "Begin directory listing 1"
22756 echo "End directory listing 1"
22758 tar xfgv arch.2 /dev/null --warning=no-timestamp
22759 echo Begin directory listing 2
22761 echo End directory listing 2
22762 ) ) >"$at_stdout" 2>"$at_stder1"
22763 at_func_filter_trace $?
22768 TEST_TAR_FORMAT=gnu
22769 export TEST_TAR_FORMAT
22770 TAR_OPTIONS="-H gnu"
22775 test -z "`sort < /dev/null 2>&1`" || exit 77
22778 genfile --file foo/file1
22779 genfile --file foo/file2
22781 genfile --file foo/bar/file.r
22783 genfile --file foo/bar/baz/file.z
22787 echo "Creating base archive"
22788 tar -g incr -cf arch.1 -v foo
22792 echo "Creating incremental archive"
22793 tar -g incr -cf arch.2 -v foo
22797 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22800 echo "Begin directory listing 1"
22802 echo "End directory listing 1"
22804 tar xfgv arch.2 /dev/null --warning=no-timestamp
22805 echo Begin directory listing 2
22807 echo End directory listing 2
22808 ) ) >"$at_stdout" 2>"$at_stderr"
22812 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
22813 tar: foo/bar: Directory is new
22814 tar: foo/bar/baz: Directory is new
22815 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
22817 $at_diff - "$at_stderr" || at_failed=:
22818 echo >>"$at_stdout"; $as_echo "Creating base archive
22826 Creating incremental archive
22830 Begin directory listing 1
22838 End directory listing 1
22842 Begin directory listing 2
22850 End directory listing 2
22852 $at_diff - "$at_stdout" || at_failed=:
22853 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
22855 $at_failed && at_func_log_failure
22859 $as_echo "$at_srcdir/rename02.at:27:
22862 TEST_TAR_FORMAT=oldgnu
22863 export TEST_TAR_FORMAT
22864 TAR_OPTIONS=\"-H oldgnu\"
22869 test -z "`sort < /dev/null 2>&1`" || exit 77
22872 genfile --file foo/file1
22873 genfile --file foo/file2
22875 genfile --file foo/bar/file.r
22877 genfile --file foo/bar/baz/file.z
22881 echo \"Creating base archive\"
22882 tar -g incr -cf arch.1 -v foo
22886 echo \"Creating incremental archive\"
22887 tar -g incr -cf arch.2 -v foo
22891 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22894 echo \"Begin directory listing 1\"
22896 echo \"End directory listing 1\"
22898 tar xfgv arch.2 /dev/null --warning=no-timestamp
22899 echo Begin directory listing 2
22901 echo End directory listing 2
22903 echo rename02.at:27 >"$at_check_line_file"
22905 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22910 TEST_TAR_FORMAT=oldgnu
22911 export TEST_TAR_FORMAT
22912 TAR_OPTIONS="-H oldgnu"
22917 test -z "`sort < /dev/null 2>&1`" || exit 77
22920 genfile --file foo/file1
22921 genfile --file foo/file2
22923 genfile --file foo/bar/file.r
22925 genfile --file foo/bar/baz/file.z
22929 echo "Creating base archive"
22930 tar -g incr -cf arch.1 -v foo
22934 echo "Creating incremental archive"
22935 tar -g incr -cf arch.2 -v foo
22939 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22942 echo "Begin directory listing 1"
22944 echo "End directory listing 1"
22946 tar xfgv arch.2 /dev/null --warning=no-timestamp
22947 echo Begin directory listing 2
22949 echo End directory listing 2
22950 ) ) >"$at_stdout" 2>"$at_stder1"
22951 at_func_filter_trace $?
22956 TEST_TAR_FORMAT=oldgnu
22957 export TEST_TAR_FORMAT
22958 TAR_OPTIONS="-H oldgnu"
22963 test -z "`sort < /dev/null 2>&1`" || exit 77
22966 genfile --file foo/file1
22967 genfile --file foo/file2
22969 genfile --file foo/bar/file.r
22971 genfile --file foo/bar/baz/file.z
22975 echo "Creating base archive"
22976 tar -g incr -cf arch.1 -v foo
22980 echo "Creating incremental archive"
22981 tar -g incr -cf arch.2 -v foo
22985 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
22988 echo "Begin directory listing 1"
22990 echo "End directory listing 1"
22992 tar xfgv arch.2 /dev/null --warning=no-timestamp
22993 echo Begin directory listing 2
22995 echo End directory listing 2
22996 ) ) >"$at_stdout" 2>"$at_stderr"
23000 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23001 tar: foo/bar: Directory is new
23002 tar: foo/bar/baz: Directory is new
23003 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
23005 $at_diff - "$at_stderr" || at_failed=:
23006 echo >>"$at_stdout"; $as_echo "Creating base archive
23014 Creating incremental archive
23018 Begin directory listing 1
23026 End directory listing 1
23030 Begin directory listing 2
23038 End directory listing 2
23040 $at_diff - "$at_stdout" || at_failed=:
23041 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
23043 $at_failed && at_func_log_failure
23047 $as_echo "$at_srcdir/rename02.at:27:
23050 TEST_TAR_FORMAT=posix
23051 export TEST_TAR_FORMAT
23052 TAR_OPTIONS=\"-H posix\"
23057 test -z "`sort < /dev/null 2>&1`" || exit 77
23060 genfile --file foo/file1
23061 genfile --file foo/file2
23063 genfile --file foo/bar/file.r
23065 genfile --file foo/bar/baz/file.z
23069 echo \"Creating base archive\"
23070 tar -g incr -cf arch.1 -v foo
23074 echo \"Creating incremental archive\"
23075 tar -g incr -cf arch.2 -v foo
23079 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
23082 echo \"Begin directory listing 1\"
23084 echo \"End directory listing 1\"
23086 tar xfgv arch.2 /dev/null --warning=no-timestamp
23087 echo Begin directory listing 2
23089 echo End directory listing 2
23091 echo rename02.at:27 >"$at_check_line_file"
23093 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23098 TEST_TAR_FORMAT=posix
23099 export TEST_TAR_FORMAT
23100 TAR_OPTIONS="-H posix"
23105 test -z "`sort < /dev/null 2>&1`" || exit 77
23108 genfile --file foo/file1
23109 genfile --file foo/file2
23111 genfile --file foo/bar/file.r
23113 genfile --file foo/bar/baz/file.z
23117 echo "Creating base archive"
23118 tar -g incr -cf arch.1 -v foo
23122 echo "Creating incremental archive"
23123 tar -g incr -cf arch.2 -v foo
23127 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
23130 echo "Begin directory listing 1"
23132 echo "End directory listing 1"
23134 tar xfgv arch.2 /dev/null --warning=no-timestamp
23135 echo Begin directory listing 2
23137 echo End directory listing 2
23138 ) ) >"$at_stdout" 2>"$at_stder1"
23139 at_func_filter_trace $?
23144 TEST_TAR_FORMAT=posix
23145 export TEST_TAR_FORMAT
23146 TAR_OPTIONS="-H posix"
23151 test -z "`sort < /dev/null 2>&1`" || exit 77
23154 genfile --file foo/file1
23155 genfile --file foo/file2
23157 genfile --file foo/bar/file.r
23159 genfile --file foo/bar/baz/file.z
23163 echo "Creating base archive"
23164 tar -g incr -cf arch.1 -v foo
23168 echo "Creating incremental archive"
23169 tar -g incr -cf arch.2 -v foo
23173 tar xfg arch.1 /dev/null --warning=no-timestamp 2>tmperr
23176 echo "Begin directory listing 1"
23178 echo "End directory listing 1"
23180 tar xfgv arch.2 /dev/null --warning=no-timestamp
23181 echo Begin directory listing 2
23183 echo End directory listing 2
23184 ) ) >"$at_stdout" 2>"$at_stderr"
23188 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
23189 tar: foo/bar: Directory is new
23190 tar: foo/bar/baz: Directory is new
23191 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
23193 $at_diff - "$at_stderr" || at_failed=:
23194 echo >>"$at_stdout"; $as_echo "Creating base archive
23202 Creating incremental archive
23206 Begin directory listing 1
23214 End directory listing 1
23218 Begin directory listing 2
23226 End directory listing 2
23228 $at_diff - "$at_stdout" || at_failed=:
23229 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
23231 $at_failed && at_func_log_failure
23238 $at_times_p && times >"$at_times_file"
23239 ) 5>&1 2>&1 | eval $at_tee_pipe
23240 at_status=`cat "$at_status_file"`
23243 # 62. rename03.at:23: cyclic renames
23244 at_setup_line='rename03.at:23'
23245 at_desc="cyclic renames"
23246 $at_quiet $as_echo_n " 62: $at_desc "
23248 test -f $XFAILFILE && at_xfail=yes
23249 echo "# -*- compilation -*-" >> "$at_group_log"
23251 $as_echo "62. rename03.at:23: testing ..."
23259 $as_echo "$at_srcdir/rename03.at:26:
23262 TEST_TAR_FORMAT=gnu
23263 export TEST_TAR_FORMAT
23264 TAR_OPTIONS=\"-H gnu\"
23269 test -z "`sort < /dev/null 2>&1`" || exit 77
23273 genfile --file foo/file1
23274 genfile --file foo/file2
23277 genfile --file foo/a/filea
23280 genfile --file foo/b/fileb
23283 genfile --file foo/c/filec
23287 echo \"First dump\"
23288 echo \"First dump\">&2
23289 tar -g incr -cf arch.1 -v foo 2>tmperr
23292 # Shuffle directories:
23299 echo \"Second dump\"
23300 echo \"Second dump\" >&2
23301 tar -g incr -cf arch.2 -v foo 2>tmperr
23304 tar xfg arch.1 /dev/null --warning=no-timestamp
23306 echo \"Begin directory listing 1\"
23308 echo \"End directory listing 1\"
23310 tar xfgv arch.2 /dev/null --warning=no-timestamp
23311 echo Begin directory listing 2
23313 echo End directory listing 2
23315 echo rename03.at:26 >"$at_check_line_file"
23317 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23322 TEST_TAR_FORMAT=gnu
23323 export TEST_TAR_FORMAT
23324 TAR_OPTIONS="-H gnu"
23329 test -z "`sort < /dev/null 2>&1`" || exit 77
23333 genfile --file foo/file1
23334 genfile --file foo/file2
23337 genfile --file foo/a/filea
23340 genfile --file foo/b/fileb
23343 genfile --file foo/c/filec
23348 echo "First dump">&2
23349 tar -g incr -cf arch.1 -v foo 2>tmperr
23352 # Shuffle directories:
23360 echo "Second dump" >&2
23361 tar -g incr -cf arch.2 -v foo 2>tmperr
23364 tar xfg arch.1 /dev/null --warning=no-timestamp
23366 echo "Begin directory listing 1"
23368 echo "End directory listing 1"
23370 tar xfgv arch.2 /dev/null --warning=no-timestamp
23371 echo Begin directory listing 2
23373 echo End directory listing 2
23374 ) ) >"$at_stdout" 2>"$at_stder1"
23375 at_func_filter_trace $?
23380 TEST_TAR_FORMAT=gnu
23381 export TEST_TAR_FORMAT
23382 TAR_OPTIONS="-H gnu"
23387 test -z "`sort < /dev/null 2>&1`" || exit 77
23391 genfile --file foo/file1
23392 genfile --file foo/file2
23395 genfile --file foo/a/filea
23398 genfile --file foo/b/fileb
23401 genfile --file foo/c/filec
23406 echo "First dump">&2
23407 tar -g incr -cf arch.1 -v foo 2>tmperr
23410 # Shuffle directories:
23418 echo "Second dump" >&2
23419 tar -g incr -cf arch.2 -v foo 2>tmperr
23422 tar xfg arch.1 /dev/null --warning=no-timestamp
23424 echo "Begin directory listing 1"
23426 echo "End directory listing 1"
23428 tar xfgv arch.2 /dev/null --warning=no-timestamp
23429 echo Begin directory listing 2
23431 echo End directory listing 2
23432 ) ) >"$at_stdout" 2>"$at_stderr"
23436 echo >>"$at_stderr"; $as_echo "First dump
23437 tar: foo/a: Directory is new
23438 tar: foo/b: Directory is new
23439 tar: foo/c: Directory is new
23440 tar: foo: Directory is new
23442 tar: foo/a: Directory has been renamed from \`foo/c'
23443 tar: foo/b: Directory has been renamed from \`foo/a'
23444 tar: foo/c: Directory has been renamed from \`foo/b'
23446 $at_diff - "$at_stderr" || at_failed=:
23447 echo >>"$at_stdout"; $as_echo "First dump
23462 Begin directory listing 1
23472 End directory listing 1
23477 Begin directory listing 2
23487 End directory listing 2
23489 $at_diff - "$at_stdout" || at_failed=:
23490 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
23492 $at_failed && at_func_log_failure
23496 $as_echo "$at_srcdir/rename03.at:26:
23499 TEST_TAR_FORMAT=oldgnu
23500 export TEST_TAR_FORMAT
23501 TAR_OPTIONS=\"-H oldgnu\"
23506 test -z "`sort < /dev/null 2>&1`" || exit 77
23510 genfile --file foo/file1
23511 genfile --file foo/file2
23514 genfile --file foo/a/filea
23517 genfile --file foo/b/fileb
23520 genfile --file foo/c/filec
23524 echo \"First dump\"
23525 echo \"First dump\">&2
23526 tar -g incr -cf arch.1 -v foo 2>tmperr
23529 # Shuffle directories:
23536 echo \"Second dump\"
23537 echo \"Second dump\" >&2
23538 tar -g incr -cf arch.2 -v foo 2>tmperr
23541 tar xfg arch.1 /dev/null --warning=no-timestamp
23543 echo \"Begin directory listing 1\"
23545 echo \"End directory listing 1\"
23547 tar xfgv arch.2 /dev/null --warning=no-timestamp
23548 echo Begin directory listing 2
23550 echo End directory listing 2
23552 echo rename03.at:26 >"$at_check_line_file"
23554 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23559 TEST_TAR_FORMAT=oldgnu
23560 export TEST_TAR_FORMAT
23561 TAR_OPTIONS="-H oldgnu"
23566 test -z "`sort < /dev/null 2>&1`" || exit 77
23570 genfile --file foo/file1
23571 genfile --file foo/file2
23574 genfile --file foo/a/filea
23577 genfile --file foo/b/fileb
23580 genfile --file foo/c/filec
23585 echo "First dump">&2
23586 tar -g incr -cf arch.1 -v foo 2>tmperr
23589 # Shuffle directories:
23597 echo "Second dump" >&2
23598 tar -g incr -cf arch.2 -v foo 2>tmperr
23601 tar xfg arch.1 /dev/null --warning=no-timestamp
23603 echo "Begin directory listing 1"
23605 echo "End directory listing 1"
23607 tar xfgv arch.2 /dev/null --warning=no-timestamp
23608 echo Begin directory listing 2
23610 echo End directory listing 2
23611 ) ) >"$at_stdout" 2>"$at_stder1"
23612 at_func_filter_trace $?
23617 TEST_TAR_FORMAT=oldgnu
23618 export TEST_TAR_FORMAT
23619 TAR_OPTIONS="-H oldgnu"
23624 test -z "`sort < /dev/null 2>&1`" || exit 77
23628 genfile --file foo/file1
23629 genfile --file foo/file2
23632 genfile --file foo/a/filea
23635 genfile --file foo/b/fileb
23638 genfile --file foo/c/filec
23643 echo "First dump">&2
23644 tar -g incr -cf arch.1 -v foo 2>tmperr
23647 # Shuffle directories:
23655 echo "Second dump" >&2
23656 tar -g incr -cf arch.2 -v foo 2>tmperr
23659 tar xfg arch.1 /dev/null --warning=no-timestamp
23661 echo "Begin directory listing 1"
23663 echo "End directory listing 1"
23665 tar xfgv arch.2 /dev/null --warning=no-timestamp
23666 echo Begin directory listing 2
23668 echo End directory listing 2
23669 ) ) >"$at_stdout" 2>"$at_stderr"
23673 echo >>"$at_stderr"; $as_echo "First dump
23674 tar: foo/a: Directory is new
23675 tar: foo/b: Directory is new
23676 tar: foo/c: Directory is new
23677 tar: foo: Directory is new
23679 tar: foo/a: Directory has been renamed from \`foo/c'
23680 tar: foo/b: Directory has been renamed from \`foo/a'
23681 tar: foo/c: Directory has been renamed from \`foo/b'
23683 $at_diff - "$at_stderr" || at_failed=:
23684 echo >>"$at_stdout"; $as_echo "First dump
23699 Begin directory listing 1
23709 End directory listing 1
23714 Begin directory listing 2
23724 End directory listing 2
23726 $at_diff - "$at_stdout" || at_failed=:
23727 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
23729 $at_failed && at_func_log_failure
23733 $as_echo "$at_srcdir/rename03.at:26:
23736 TEST_TAR_FORMAT=posix
23737 export TEST_TAR_FORMAT
23738 TAR_OPTIONS=\"-H posix\"
23743 test -z "`sort < /dev/null 2>&1`" || exit 77
23747 genfile --file foo/file1
23748 genfile --file foo/file2
23751 genfile --file foo/a/filea
23754 genfile --file foo/b/fileb
23757 genfile --file foo/c/filec
23761 echo \"First dump\"
23762 echo \"First dump\">&2
23763 tar -g incr -cf arch.1 -v foo 2>tmperr
23766 # Shuffle directories:
23773 echo \"Second dump\"
23774 echo \"Second dump\" >&2
23775 tar -g incr -cf arch.2 -v foo 2>tmperr
23778 tar xfg arch.1 /dev/null --warning=no-timestamp
23780 echo \"Begin directory listing 1\"
23782 echo \"End directory listing 1\"
23784 tar xfgv arch.2 /dev/null --warning=no-timestamp
23785 echo Begin directory listing 2
23787 echo End directory listing 2
23789 echo rename03.at:26 >"$at_check_line_file"
23791 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23796 TEST_TAR_FORMAT=posix
23797 export TEST_TAR_FORMAT
23798 TAR_OPTIONS="-H posix"
23803 test -z "`sort < /dev/null 2>&1`" || exit 77
23807 genfile --file foo/file1
23808 genfile --file foo/file2
23811 genfile --file foo/a/filea
23814 genfile --file foo/b/fileb
23817 genfile --file foo/c/filec
23822 echo "First dump">&2
23823 tar -g incr -cf arch.1 -v foo 2>tmperr
23826 # Shuffle directories:
23834 echo "Second dump" >&2
23835 tar -g incr -cf arch.2 -v foo 2>tmperr
23838 tar xfg arch.1 /dev/null --warning=no-timestamp
23840 echo "Begin directory listing 1"
23842 echo "End directory listing 1"
23844 tar xfgv arch.2 /dev/null --warning=no-timestamp
23845 echo Begin directory listing 2
23847 echo End directory listing 2
23848 ) ) >"$at_stdout" 2>"$at_stder1"
23849 at_func_filter_trace $?
23854 TEST_TAR_FORMAT=posix
23855 export TEST_TAR_FORMAT
23856 TAR_OPTIONS="-H posix"
23861 test -z "`sort < /dev/null 2>&1`" || exit 77
23865 genfile --file foo/file1
23866 genfile --file foo/file2
23869 genfile --file foo/a/filea
23872 genfile --file foo/b/fileb
23875 genfile --file foo/c/filec
23880 echo "First dump">&2
23881 tar -g incr -cf arch.1 -v foo 2>tmperr
23884 # Shuffle directories:
23892 echo "Second dump" >&2
23893 tar -g incr -cf arch.2 -v foo 2>tmperr
23896 tar xfg arch.1 /dev/null --warning=no-timestamp
23898 echo "Begin directory listing 1"
23900 echo "End directory listing 1"
23902 tar xfgv arch.2 /dev/null --warning=no-timestamp
23903 echo Begin directory listing 2
23905 echo End directory listing 2
23906 ) ) >"$at_stdout" 2>"$at_stderr"
23910 echo >>"$at_stderr"; $as_echo "First dump
23911 tar: foo/a: Directory is new
23912 tar: foo/b: Directory is new
23913 tar: foo/c: Directory is new
23914 tar: foo: Directory is new
23916 tar: foo/a: Directory has been renamed from \`foo/c'
23917 tar: foo/b: Directory has been renamed from \`foo/a'
23918 tar: foo/c: Directory has been renamed from \`foo/b'
23920 $at_diff - "$at_stderr" || at_failed=:
23921 echo >>"$at_stdout"; $as_echo "First dump
23936 Begin directory listing 1
23946 End directory listing 1
23951 Begin directory listing 2
23961 End directory listing 2
23963 $at_diff - "$at_stdout" || at_failed=:
23964 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
23966 $at_failed && at_func_log_failure
23973 $at_times_p && times >"$at_times_file"
23974 ) 5>&1 2>&1 | eval $at_tee_pipe
23975 at_status=`cat "$at_status_file"`
23978 # 63. rename04.at:27: renamed directory containing subdirectories
23979 at_setup_line='rename04.at:27'
23980 at_desc="renamed directory containing subdirectories"
23981 $at_quiet $as_echo_n " 63: $at_desc "
23983 test -f $XFAILFILE && at_xfail=yes
23984 echo "# -*- compilation -*-" >> "$at_group_log"
23986 $as_echo "63. rename04.at:27: testing ..."
23994 $as_echo "$at_srcdir/rename04.at:30:
23997 TEST_TAR_FORMAT=gnu
23998 export TEST_TAR_FORMAT
23999 TAR_OPTIONS=\"-H gnu\"
24004 test -z "`sort < /dev/null 2>&1`" || exit 77
24007 decho Creating directory structure
24009 mkdir directory/subdir
24010 genfile --file=directory/file
24012 decho Creating initial archive
24013 tar -cf archive.1 -g db.1 directory
24018 decho Creating incremental archive
24020 tar -cf archive.2 -g db.2 dir
24024 decho First restore
24025 tar -xf archive.1 -g db.1
24026 find directory | sort
24028 decho Second restore
24029 tar -xf archive.2 -g db.2
24032 echo rename04.at:30 >"$at_check_line_file"
24034 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24039 TEST_TAR_FORMAT=gnu
24040 export TEST_TAR_FORMAT
24041 TAR_OPTIONS="-H gnu"
24046 test -z "`sort < /dev/null 2>&1`" || exit 77
24049 decho Creating directory structure
24051 mkdir directory/subdir
24052 genfile --file=directory/file
24054 decho Creating initial archive
24055 tar -cf archive.1 -g db.1 directory
24060 decho Creating incremental archive
24062 tar -cf archive.2 -g db.2 dir
24066 decho First restore
24067 tar -xf archive.1 -g db.1
24068 find directory | sort
24070 decho Second restore
24071 tar -xf archive.2 -g db.2
24073 ) ) >"$at_stdout" 2>"$at_stder1"
24074 at_func_filter_trace $?
24079 TEST_TAR_FORMAT=gnu
24080 export TEST_TAR_FORMAT
24081 TAR_OPTIONS="-H gnu"
24086 test -z "`sort < /dev/null 2>&1`" || exit 77
24089 decho Creating directory structure
24091 mkdir directory/subdir
24092 genfile --file=directory/file
24094 decho Creating initial archive
24095 tar -cf archive.1 -g db.1 directory
24100 decho Creating incremental archive
24102 tar -cf archive.2 -g db.2 dir
24106 decho First restore
24107 tar -xf archive.1 -g db.1
24108 find directory | sort
24110 decho Second restore
24111 tar -xf archive.2 -g db.2
24113 ) ) >"$at_stdout" 2>"$at_stderr"
24117 echo >>"$at_stderr"; $as_echo "Creating directory structure
24118 Creating initial archive
24120 Creating incremental archive
24124 $at_diff - "$at_stderr" || at_failed=:
24125 echo >>"$at_stdout"; $as_echo "Creating directory structure
24126 Creating initial archive
24128 Creating incremental archive
24137 $at_diff - "$at_stdout" || at_failed=:
24138 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
24140 $at_failed && at_func_log_failure
24144 $as_echo "$at_srcdir/rename04.at:30:
24147 TEST_TAR_FORMAT=oldgnu
24148 export TEST_TAR_FORMAT
24149 TAR_OPTIONS=\"-H oldgnu\"
24154 test -z "`sort < /dev/null 2>&1`" || exit 77
24157 decho Creating directory structure
24159 mkdir directory/subdir
24160 genfile --file=directory/file
24162 decho Creating initial archive
24163 tar -cf archive.1 -g db.1 directory
24168 decho Creating incremental archive
24170 tar -cf archive.2 -g db.2 dir
24174 decho First restore
24175 tar -xf archive.1 -g db.1
24176 find directory | sort
24178 decho Second restore
24179 tar -xf archive.2 -g db.2
24182 echo rename04.at:30 >"$at_check_line_file"
24184 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24189 TEST_TAR_FORMAT=oldgnu
24190 export TEST_TAR_FORMAT
24191 TAR_OPTIONS="-H oldgnu"
24196 test -z "`sort < /dev/null 2>&1`" || exit 77
24199 decho Creating directory structure
24201 mkdir directory/subdir
24202 genfile --file=directory/file
24204 decho Creating initial archive
24205 tar -cf archive.1 -g db.1 directory
24210 decho Creating incremental archive
24212 tar -cf archive.2 -g db.2 dir
24216 decho First restore
24217 tar -xf archive.1 -g db.1
24218 find directory | sort
24220 decho Second restore
24221 tar -xf archive.2 -g db.2
24223 ) ) >"$at_stdout" 2>"$at_stder1"
24224 at_func_filter_trace $?
24229 TEST_TAR_FORMAT=oldgnu
24230 export TEST_TAR_FORMAT
24231 TAR_OPTIONS="-H oldgnu"
24236 test -z "`sort < /dev/null 2>&1`" || exit 77
24239 decho Creating directory structure
24241 mkdir directory/subdir
24242 genfile --file=directory/file
24244 decho Creating initial archive
24245 tar -cf archive.1 -g db.1 directory
24250 decho Creating incremental archive
24252 tar -cf archive.2 -g db.2 dir
24256 decho First restore
24257 tar -xf archive.1 -g db.1
24258 find directory | sort
24260 decho Second restore
24261 tar -xf archive.2 -g db.2
24263 ) ) >"$at_stdout" 2>"$at_stderr"
24267 echo >>"$at_stderr"; $as_echo "Creating directory structure
24268 Creating initial archive
24270 Creating incremental archive
24274 $at_diff - "$at_stderr" || at_failed=:
24275 echo >>"$at_stdout"; $as_echo "Creating directory structure
24276 Creating initial archive
24278 Creating incremental archive
24287 $at_diff - "$at_stdout" || at_failed=:
24288 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
24290 $at_failed && at_func_log_failure
24294 $as_echo "$at_srcdir/rename04.at:30:
24297 TEST_TAR_FORMAT=posix
24298 export TEST_TAR_FORMAT
24299 TAR_OPTIONS=\"-H posix\"
24304 test -z "`sort < /dev/null 2>&1`" || exit 77
24307 decho Creating directory structure
24309 mkdir directory/subdir
24310 genfile --file=directory/file
24312 decho Creating initial archive
24313 tar -cf archive.1 -g db.1 directory
24318 decho Creating incremental archive
24320 tar -cf archive.2 -g db.2 dir
24324 decho First restore
24325 tar -xf archive.1 -g db.1
24326 find directory | sort
24328 decho Second restore
24329 tar -xf archive.2 -g db.2
24332 echo rename04.at:30 >"$at_check_line_file"
24334 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24339 TEST_TAR_FORMAT=posix
24340 export TEST_TAR_FORMAT
24341 TAR_OPTIONS="-H posix"
24346 test -z "`sort < /dev/null 2>&1`" || exit 77
24349 decho Creating directory structure
24351 mkdir directory/subdir
24352 genfile --file=directory/file
24354 decho Creating initial archive
24355 tar -cf archive.1 -g db.1 directory
24360 decho Creating incremental archive
24362 tar -cf archive.2 -g db.2 dir
24366 decho First restore
24367 tar -xf archive.1 -g db.1
24368 find directory | sort
24370 decho Second restore
24371 tar -xf archive.2 -g db.2
24373 ) ) >"$at_stdout" 2>"$at_stder1"
24374 at_func_filter_trace $?
24379 TEST_TAR_FORMAT=posix
24380 export TEST_TAR_FORMAT
24381 TAR_OPTIONS="-H posix"
24386 test -z "`sort < /dev/null 2>&1`" || exit 77
24389 decho Creating directory structure
24391 mkdir directory/subdir
24392 genfile --file=directory/file
24394 decho Creating initial archive
24395 tar -cf archive.1 -g db.1 directory
24400 decho Creating incremental archive
24402 tar -cf archive.2 -g db.2 dir
24406 decho First restore
24407 tar -xf archive.1 -g db.1
24408 find directory | sort
24410 decho Second restore
24411 tar -xf archive.2 -g db.2
24413 ) ) >"$at_stdout" 2>"$at_stderr"
24417 echo >>"$at_stderr"; $as_echo "Creating directory structure
24418 Creating initial archive
24420 Creating incremental archive
24424 $at_diff - "$at_stderr" || at_failed=:
24425 echo >>"$at_stdout"; $as_echo "Creating directory structure
24426 Creating initial archive
24428 Creating incremental archive
24437 $at_diff - "$at_stdout" || at_failed=:
24438 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
24440 $at_failed && at_func_log_failure
24447 $at_times_p && times >"$at_times_file"
24448 ) 5>&1 2>&1 | eval $at_tee_pipe
24449 at_status=`cat "$at_status_file"`
24452 # 64. rename05.at:24: renamed subdirectories
24453 at_setup_line='rename05.at:24'
24454 at_desc="renamed subdirectories"
24455 $at_quiet $as_echo_n " 64: $at_desc "
24457 test -f $XFAILFILE && at_xfail=yes
24458 echo "# -*- compilation -*-" >> "$at_group_log"
24460 $as_echo "64. rename05.at:24: testing ..."
24468 $as_echo "$at_srcdir/rename05.at:27:
24471 TEST_TAR_FORMAT=gnu
24472 export TEST_TAR_FORMAT
24473 TAR_OPTIONS=\"-H gnu\"
24478 test -z "`sort < /dev/null 2>&1`" || exit 77
24481 decho Creating directory structure
24483 mkdir directory/subdir
24484 genfile --file=directory/file
24486 decho Creating initial archive
24487 tar -cf archive.1 -g db.1 directory
24490 mv directory/subdir directory/subdir.0
24493 decho Creating incremental archive
24495 tar -cf archive.2 -g db.2 dir
24499 decho First restore
24500 tar -xf archive.1 -g db.1 --warning=no-timestamp
24501 find directory | sort
24503 decho Second restore
24504 tar -xf archive.2 -g db.2 --warning=no-timestamp
24507 echo rename05.at:27 >"$at_check_line_file"
24509 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24514 TEST_TAR_FORMAT=gnu
24515 export TEST_TAR_FORMAT
24516 TAR_OPTIONS="-H gnu"
24521 test -z "`sort < /dev/null 2>&1`" || exit 77
24524 decho Creating directory structure
24526 mkdir directory/subdir
24527 genfile --file=directory/file
24529 decho Creating initial archive
24530 tar -cf archive.1 -g db.1 directory
24533 mv directory/subdir directory/subdir.0
24536 decho Creating incremental archive
24538 tar -cf archive.2 -g db.2 dir
24542 decho First restore
24543 tar -xf archive.1 -g db.1 --warning=no-timestamp
24544 find directory | sort
24546 decho Second restore
24547 tar -xf archive.2 -g db.2 --warning=no-timestamp
24549 ) ) >"$at_stdout" 2>"$at_stder1"
24550 at_func_filter_trace $?
24555 TEST_TAR_FORMAT=gnu
24556 export TEST_TAR_FORMAT
24557 TAR_OPTIONS="-H gnu"
24562 test -z "`sort < /dev/null 2>&1`" || exit 77
24565 decho Creating directory structure
24567 mkdir directory/subdir
24568 genfile --file=directory/file
24570 decho Creating initial archive
24571 tar -cf archive.1 -g db.1 directory
24574 mv directory/subdir directory/subdir.0
24577 decho Creating incremental archive
24579 tar -cf archive.2 -g db.2 dir
24583 decho First restore
24584 tar -xf archive.1 -g db.1 --warning=no-timestamp
24585 find directory | sort
24587 decho Second restore
24588 tar -xf archive.2 -g db.2 --warning=no-timestamp
24590 ) ) >"$at_stdout" 2>"$at_stderr"
24594 echo >>"$at_stderr"; $as_echo "Creating directory structure
24595 Creating initial archive
24597 Creating incremental archive
24601 $at_diff - "$at_stderr" || at_failed=:
24602 echo >>"$at_stdout"; $as_echo "Creating directory structure
24603 Creating initial archive
24605 Creating incremental archive
24614 $at_diff - "$at_stdout" || at_failed=:
24615 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
24617 $at_failed && at_func_log_failure
24621 $as_echo "$at_srcdir/rename05.at:27:
24624 TEST_TAR_FORMAT=oldgnu
24625 export TEST_TAR_FORMAT
24626 TAR_OPTIONS=\"-H oldgnu\"
24631 test -z "`sort < /dev/null 2>&1`" || exit 77
24634 decho Creating directory structure
24636 mkdir directory/subdir
24637 genfile --file=directory/file
24639 decho Creating initial archive
24640 tar -cf archive.1 -g db.1 directory
24643 mv directory/subdir directory/subdir.0
24646 decho Creating incremental archive
24648 tar -cf archive.2 -g db.2 dir
24652 decho First restore
24653 tar -xf archive.1 -g db.1 --warning=no-timestamp
24654 find directory | sort
24656 decho Second restore
24657 tar -xf archive.2 -g db.2 --warning=no-timestamp
24660 echo rename05.at:27 >"$at_check_line_file"
24662 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24667 TEST_TAR_FORMAT=oldgnu
24668 export TEST_TAR_FORMAT
24669 TAR_OPTIONS="-H oldgnu"
24674 test -z "`sort < /dev/null 2>&1`" || exit 77
24677 decho Creating directory structure
24679 mkdir directory/subdir
24680 genfile --file=directory/file
24682 decho Creating initial archive
24683 tar -cf archive.1 -g db.1 directory
24686 mv directory/subdir directory/subdir.0
24689 decho Creating incremental archive
24691 tar -cf archive.2 -g db.2 dir
24695 decho First restore
24696 tar -xf archive.1 -g db.1 --warning=no-timestamp
24697 find directory | sort
24699 decho Second restore
24700 tar -xf archive.2 -g db.2 --warning=no-timestamp
24702 ) ) >"$at_stdout" 2>"$at_stder1"
24703 at_func_filter_trace $?
24708 TEST_TAR_FORMAT=oldgnu
24709 export TEST_TAR_FORMAT
24710 TAR_OPTIONS="-H oldgnu"
24715 test -z "`sort < /dev/null 2>&1`" || exit 77
24718 decho Creating directory structure
24720 mkdir directory/subdir
24721 genfile --file=directory/file
24723 decho Creating initial archive
24724 tar -cf archive.1 -g db.1 directory
24727 mv directory/subdir directory/subdir.0
24730 decho Creating incremental archive
24732 tar -cf archive.2 -g db.2 dir
24736 decho First restore
24737 tar -xf archive.1 -g db.1 --warning=no-timestamp
24738 find directory | sort
24740 decho Second restore
24741 tar -xf archive.2 -g db.2 --warning=no-timestamp
24743 ) ) >"$at_stdout" 2>"$at_stderr"
24747 echo >>"$at_stderr"; $as_echo "Creating directory structure
24748 Creating initial archive
24750 Creating incremental archive
24754 $at_diff - "$at_stderr" || at_failed=:
24755 echo >>"$at_stdout"; $as_echo "Creating directory structure
24756 Creating initial archive
24758 Creating incremental archive
24767 $at_diff - "$at_stdout" || at_failed=:
24768 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
24770 $at_failed && at_func_log_failure
24774 $as_echo "$at_srcdir/rename05.at:27:
24777 TEST_TAR_FORMAT=posix
24778 export TEST_TAR_FORMAT
24779 TAR_OPTIONS=\"-H posix\"
24784 test -z "`sort < /dev/null 2>&1`" || exit 77
24787 decho Creating directory structure
24789 mkdir directory/subdir
24790 genfile --file=directory/file
24792 decho Creating initial archive
24793 tar -cf archive.1 -g db.1 directory
24796 mv directory/subdir directory/subdir.0
24799 decho Creating incremental archive
24801 tar -cf archive.2 -g db.2 dir
24805 decho First restore
24806 tar -xf archive.1 -g db.1 --warning=no-timestamp
24807 find directory | sort
24809 decho Second restore
24810 tar -xf archive.2 -g db.2 --warning=no-timestamp
24813 echo rename05.at:27 >"$at_check_line_file"
24815 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24820 TEST_TAR_FORMAT=posix
24821 export TEST_TAR_FORMAT
24822 TAR_OPTIONS="-H posix"
24827 test -z "`sort < /dev/null 2>&1`" || exit 77
24830 decho Creating directory structure
24832 mkdir directory/subdir
24833 genfile --file=directory/file
24835 decho Creating initial archive
24836 tar -cf archive.1 -g db.1 directory
24839 mv directory/subdir directory/subdir.0
24842 decho Creating incremental archive
24844 tar -cf archive.2 -g db.2 dir
24848 decho First restore
24849 tar -xf archive.1 -g db.1 --warning=no-timestamp
24850 find directory | sort
24852 decho Second restore
24853 tar -xf archive.2 -g db.2 --warning=no-timestamp
24855 ) ) >"$at_stdout" 2>"$at_stder1"
24856 at_func_filter_trace $?
24861 TEST_TAR_FORMAT=posix
24862 export TEST_TAR_FORMAT
24863 TAR_OPTIONS="-H posix"
24868 test -z "`sort < /dev/null 2>&1`" || exit 77
24871 decho Creating directory structure
24873 mkdir directory/subdir
24874 genfile --file=directory/file
24876 decho Creating initial archive
24877 tar -cf archive.1 -g db.1 directory
24880 mv directory/subdir directory/subdir.0
24883 decho Creating incremental archive
24885 tar -cf archive.2 -g db.2 dir
24889 decho First restore
24890 tar -xf archive.1 -g db.1 --warning=no-timestamp
24891 find directory | sort
24893 decho Second restore
24894 tar -xf archive.2 -g db.2 --warning=no-timestamp
24896 ) ) >"$at_stdout" 2>"$at_stderr"
24900 echo >>"$at_stderr"; $as_echo "Creating directory structure
24901 Creating initial archive
24903 Creating incremental archive
24907 $at_diff - "$at_stderr" || at_failed=:
24908 echo >>"$at_stdout"; $as_echo "Creating directory structure
24909 Creating initial archive
24911 Creating incremental archive
24920 $at_diff - "$at_stdout" || at_failed=:
24921 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
24923 $at_failed && at_func_log_failure
24930 $at_times_p && times >"$at_times_file"
24931 ) 5>&1 2>&1 | eval $at_tee_pipe
24932 at_status=`cat "$at_status_file"`
24935 # 65. chtype.at:27: changed file types in incrementals
24936 at_setup_line='chtype.at:27'
24937 at_desc="changed file types in incrementals"
24938 $at_quiet $as_echo_n " 65: $at_desc "
24940 test -f $XFAILFILE && at_xfail=yes
24941 echo "# -*- compilation -*-" >> "$at_group_log"
24943 $as_echo "65. chtype.at:27: testing ..."
24951 $as_echo "$at_srcdir/chtype.at:30:
24954 TEST_TAR_FORMAT=gnu
24955 export TEST_TAR_FORMAT
24956 TAR_OPTIONS=\"-H gnu\"
24961 test -z "`sort < /dev/null 2>&1`" || exit 77
24964 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
24966 genfile --file directory/a/a
24969 tar --create --file=archive.1 --listed-incremental=db.1 directory
24973 # Remove directory b and create a file with this name.
24974 # Previous versions were not able to restore over this file.
24976 genfile --file directory/b
24977 genfile --file directory/a/b
24980 tar --create --file=archive.2 --listed-incremental=db.2 directory
24985 echo Restore archive.1
24986 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
24987 echo Restore archive.2
24988 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
24989 find directory | sort
24991 echo chtype.at:30 >"$at_check_line_file"
24993 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24998 TEST_TAR_FORMAT=gnu
24999 export TEST_TAR_FORMAT
25000 TAR_OPTIONS="-H gnu"
25005 test -z "`sort < /dev/null 2>&1`" || exit 77
25008 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25010 genfile --file directory/a/a
25013 tar --create --file=archive.1 --listed-incremental=db.1 directory
25017 # Remove directory b and create a file with this name.
25018 # Previous versions were not able to restore over this file.
25020 genfile --file directory/b
25021 genfile --file directory/a/b
25024 tar --create --file=archive.2 --listed-incremental=db.2 directory
25029 echo Restore archive.1
25030 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25031 echo Restore archive.2
25032 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25033 find directory | sort
25034 ) ) >"$at_stdout" 2>"$at_stder1"
25035 at_func_filter_trace $?
25040 TEST_TAR_FORMAT=gnu
25041 export TEST_TAR_FORMAT
25042 TAR_OPTIONS="-H gnu"
25047 test -z "`sort < /dev/null 2>&1`" || exit 77
25050 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25052 genfile --file directory/a/a
25055 tar --create --file=archive.1 --listed-incremental=db.1 directory
25059 # Remove directory b and create a file with this name.
25060 # Previous versions were not able to restore over this file.
25062 genfile --file directory/b
25063 genfile --file directory/a/b
25066 tar --create --file=archive.2 --listed-incremental=db.2 directory
25071 echo Restore archive.1
25072 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25073 echo Restore archive.2
25074 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25075 find directory | sort
25076 ) ) >"$at_stdout" 2>"$at_stderr"
25080 at_func_diff_devnull "$at_stderr" || at_failed=:
25081 echo >>"$at_stdout"; $as_echo "First backup
25091 $at_diff - "$at_stdout" || at_failed=:
25092 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
25094 $at_failed && at_func_log_failure
25098 $as_echo "$at_srcdir/chtype.at:30:
25101 TEST_TAR_FORMAT=oldgnu
25102 export TEST_TAR_FORMAT
25103 TAR_OPTIONS=\"-H oldgnu\"
25108 test -z "`sort < /dev/null 2>&1`" || exit 77
25111 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25113 genfile --file directory/a/a
25116 tar --create --file=archive.1 --listed-incremental=db.1 directory
25120 # Remove directory b and create a file with this name.
25121 # Previous versions were not able to restore over this file.
25123 genfile --file directory/b
25124 genfile --file directory/a/b
25127 tar --create --file=archive.2 --listed-incremental=db.2 directory
25132 echo Restore archive.1
25133 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25134 echo Restore archive.2
25135 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25136 find directory | sort
25138 echo chtype.at:30 >"$at_check_line_file"
25140 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25145 TEST_TAR_FORMAT=oldgnu
25146 export TEST_TAR_FORMAT
25147 TAR_OPTIONS="-H oldgnu"
25152 test -z "`sort < /dev/null 2>&1`" || exit 77
25155 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25157 genfile --file directory/a/a
25160 tar --create --file=archive.1 --listed-incremental=db.1 directory
25164 # Remove directory b and create a file with this name.
25165 # Previous versions were not able to restore over this file.
25167 genfile --file directory/b
25168 genfile --file directory/a/b
25171 tar --create --file=archive.2 --listed-incremental=db.2 directory
25176 echo Restore archive.1
25177 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25178 echo Restore archive.2
25179 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25180 find directory | sort
25181 ) ) >"$at_stdout" 2>"$at_stder1"
25182 at_func_filter_trace $?
25187 TEST_TAR_FORMAT=oldgnu
25188 export TEST_TAR_FORMAT
25189 TAR_OPTIONS="-H oldgnu"
25194 test -z "`sort < /dev/null 2>&1`" || exit 77
25197 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25199 genfile --file directory/a/a
25202 tar --create --file=archive.1 --listed-incremental=db.1 directory
25206 # Remove directory b and create a file with this name.
25207 # Previous versions were not able to restore over this file.
25209 genfile --file directory/b
25210 genfile --file directory/a/b
25213 tar --create --file=archive.2 --listed-incremental=db.2 directory
25218 echo Restore archive.1
25219 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25220 echo Restore archive.2
25221 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25222 find directory | sort
25223 ) ) >"$at_stdout" 2>"$at_stderr"
25227 at_func_diff_devnull "$at_stderr" || at_failed=:
25228 echo >>"$at_stdout"; $as_echo "First backup
25238 $at_diff - "$at_stdout" || at_failed=:
25239 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
25241 $at_failed && at_func_log_failure
25245 $as_echo "$at_srcdir/chtype.at:30:
25248 TEST_TAR_FORMAT=posix
25249 export TEST_TAR_FORMAT
25250 TAR_OPTIONS=\"-H posix\"
25255 test -z "`sort < /dev/null 2>&1`" || exit 77
25258 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25260 genfile --file directory/a/a
25263 tar --create --file=archive.1 --listed-incremental=db.1 directory
25267 # Remove directory b and create a file with this name.
25268 # Previous versions were not able to restore over this file.
25270 genfile --file directory/b
25271 genfile --file directory/a/b
25274 tar --create --file=archive.2 --listed-incremental=db.2 directory
25279 echo Restore archive.1
25280 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25281 echo Restore archive.2
25282 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25283 find directory | sort
25285 echo chtype.at:30 >"$at_check_line_file"
25287 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25292 TEST_TAR_FORMAT=posix
25293 export TEST_TAR_FORMAT
25294 TAR_OPTIONS="-H posix"
25299 test -z "`sort < /dev/null 2>&1`" || exit 77
25302 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25304 genfile --file directory/a/a
25307 tar --create --file=archive.1 --listed-incremental=db.1 directory
25311 # Remove directory b and create a file with this name.
25312 # Previous versions were not able to restore over this file.
25314 genfile --file directory/b
25315 genfile --file directory/a/b
25318 tar --create --file=archive.2 --listed-incremental=db.2 directory
25323 echo Restore archive.1
25324 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25325 echo Restore archive.2
25326 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25327 find directory | sort
25328 ) ) >"$at_stdout" 2>"$at_stder1"
25329 at_func_filter_trace $?
25334 TEST_TAR_FORMAT=posix
25335 export TEST_TAR_FORMAT
25336 TAR_OPTIONS="-H posix"
25341 test -z "`sort < /dev/null 2>&1`" || exit 77
25344 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
25346 genfile --file directory/a/a
25349 tar --create --file=archive.1 --listed-incremental=db.1 directory
25353 # Remove directory b and create a file with this name.
25354 # Previous versions were not able to restore over this file.
25356 genfile --file directory/b
25357 genfile --file directory/a/b
25360 tar --create --file=archive.2 --listed-incremental=db.2 directory
25365 echo Restore archive.1
25366 tar -xf archive.1 --listed-incremental=/dev/null --warning=no-timestamp
25367 echo Restore archive.2
25368 tar -xf archive.2 --listed-incremental=/dev/null --warning=no-timestamp
25369 find directory | sort
25370 ) ) >"$at_stdout" 2>"$at_stderr"
25374 at_func_diff_devnull "$at_stderr" || at_failed=:
25375 echo >>"$at_stdout"; $as_echo "First backup
25385 $at_diff - "$at_stdout" || at_failed=:
25386 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
25388 $at_failed && at_func_log_failure
25395 $at_times_p && times >"$at_times_file"
25396 ) 5>&1 2>&1 | eval $at_tee_pipe
25397 at_status=`cat "$at_status_file"`
25400 # 66. ignfail.at:23: ignfail
25401 at_setup_line='ignfail.at:23'
25403 $at_quiet $as_echo_n " 66: $at_desc "
25405 test -f $XFAILFILE && at_xfail=yes
25406 echo "# -*- compilation -*-" >> "$at_group_log"
25408 $as_echo "66. ignfail.at:23: testing ..."
25416 $as_echo "$at_srcdir/ignfail.at:26:
25420 export TEST_TAR_FORMAT
25421 TAR_OPTIONS=\"-H v7\"
25425 # The test is meaningless for super-user.
25429 cat $$ > /dev/null 2>&1
25432 test $result -eq 0 && exit 77
25437 touch directory/file
25441 tar cf archive file
25444 test \$status = 2 || exit 1
25448 tar cf archive --ignore-failed-read file || exit 1
25451 test \$status = 0 || exit 1
25454 chmod 000 directory
25455 tar cf archive directory
25457 chmod 700 directory
25458 test \$status = 2 || exit 1
25461 chmod 000 directory
25462 tar cf archive --ignore-failed-read directory || exit 1
25464 chmod 700 directory
25467 echo ignfail.at:26 >"$at_check_line_file"
25469 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25475 export TEST_TAR_FORMAT
25476 TAR_OPTIONS="-H v7"
25480 # The test is meaningless for super-user.
25484 cat $$ > /dev/null 2>&1
25487 test $result -eq 0 && exit 77
25492 touch directory/file
25496 tar cf archive file
25499 test $status = 2 || exit 1
25503 tar cf archive --ignore-failed-read file || exit 1
25506 test $status = 0 || exit 1
25509 chmod 000 directory
25510 tar cf archive directory
25512 chmod 700 directory
25513 test $status = 2 || exit 1
25516 chmod 000 directory
25517 tar cf archive --ignore-failed-read directory || exit 1
25519 chmod 700 directory
25521 ) ) >"$at_stdout" 2>"$at_stder1"
25522 at_func_filter_trace $?
25528 export TEST_TAR_FORMAT
25529 TAR_OPTIONS="-H v7"
25533 # The test is meaningless for super-user.
25537 cat $$ > /dev/null 2>&1
25540 test $result -eq 0 && exit 77
25545 touch directory/file
25549 tar cf archive file
25552 test $status = 2 || exit 1
25556 tar cf archive --ignore-failed-read file || exit 1
25559 test $status = 0 || exit 1
25562 chmod 000 directory
25563 tar cf archive directory
25565 chmod 700 directory
25566 test $status = 2 || exit 1
25569 chmod 000 directory
25570 tar cf archive --ignore-failed-read directory || exit 1
25572 chmod 700 directory
25574 ) ) >"$at_stdout" 2>"$at_stderr"
25578 echo >>"$at_stderr"; $as_echo "-----
25579 tar: file: Cannot open: Permission denied
25580 tar: Exiting with failure status due to previous errors
25582 tar: file: Warning: Cannot open: Permission denied
25584 tar: directory: Cannot open: Permission denied
25585 tar: Exiting with failure status due to previous errors
25587 tar: directory: Warning: Cannot open: Permission denied
25589 $at_diff - "$at_stderr" || at_failed=:
25590 at_func_diff_devnull "$at_stdout" || at_failed=:
25591 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
25593 $at_failed && at_func_log_failure
25597 $as_echo "$at_srcdir/ignfail.at:26:
25600 TEST_TAR_FORMAT=oldgnu
25601 export TEST_TAR_FORMAT
25602 TAR_OPTIONS=\"-H oldgnu\"
25606 # The test is meaningless for super-user.
25610 cat $$ > /dev/null 2>&1
25613 test $result -eq 0 && exit 77
25618 touch directory/file
25622 tar cf archive file
25625 test \$status = 2 || exit 1
25629 tar cf archive --ignore-failed-read file || exit 1
25632 test \$status = 0 || exit 1
25635 chmod 000 directory
25636 tar cf archive directory
25638 chmod 700 directory
25639 test \$status = 2 || exit 1
25642 chmod 000 directory
25643 tar cf archive --ignore-failed-read directory || exit 1
25645 chmod 700 directory
25648 echo ignfail.at:26 >"$at_check_line_file"
25650 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25655 TEST_TAR_FORMAT=oldgnu
25656 export TEST_TAR_FORMAT
25657 TAR_OPTIONS="-H oldgnu"
25661 # The test is meaningless for super-user.
25665 cat $$ > /dev/null 2>&1
25668 test $result -eq 0 && exit 77
25673 touch directory/file
25677 tar cf archive file
25680 test $status = 2 || exit 1
25684 tar cf archive --ignore-failed-read file || exit 1
25687 test $status = 0 || exit 1
25690 chmod 000 directory
25691 tar cf archive directory
25693 chmod 700 directory
25694 test $status = 2 || exit 1
25697 chmod 000 directory
25698 tar cf archive --ignore-failed-read directory || exit 1
25700 chmod 700 directory
25702 ) ) >"$at_stdout" 2>"$at_stder1"
25703 at_func_filter_trace $?
25708 TEST_TAR_FORMAT=oldgnu
25709 export TEST_TAR_FORMAT
25710 TAR_OPTIONS="-H oldgnu"
25714 # The test is meaningless for super-user.
25718 cat $$ > /dev/null 2>&1
25721 test $result -eq 0 && exit 77
25726 touch directory/file
25730 tar cf archive file
25733 test $status = 2 || exit 1
25737 tar cf archive --ignore-failed-read file || exit 1
25740 test $status = 0 || exit 1
25743 chmod 000 directory
25744 tar cf archive directory
25746 chmod 700 directory
25747 test $status = 2 || exit 1
25750 chmod 000 directory
25751 tar cf archive --ignore-failed-read directory || exit 1
25753 chmod 700 directory
25755 ) ) >"$at_stdout" 2>"$at_stderr"
25759 echo >>"$at_stderr"; $as_echo "-----
25760 tar: file: Cannot open: Permission denied
25761 tar: Exiting with failure status due to previous errors
25763 tar: file: Warning: Cannot open: Permission denied
25765 tar: directory: Cannot open: Permission denied
25766 tar: Exiting with failure status due to previous errors
25768 tar: directory: Warning: Cannot open: Permission denied
25770 $at_diff - "$at_stderr" || at_failed=:
25771 at_func_diff_devnull "$at_stdout" || at_failed=:
25772 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
25774 $at_failed && at_func_log_failure
25778 $as_echo "$at_srcdir/ignfail.at:26:
25781 TEST_TAR_FORMAT=ustar
25782 export TEST_TAR_FORMAT
25783 TAR_OPTIONS=\"-H ustar\"
25787 # The test is meaningless for super-user.
25791 cat $$ > /dev/null 2>&1
25794 test $result -eq 0 && exit 77
25799 touch directory/file
25803 tar cf archive file
25806 test \$status = 2 || exit 1
25810 tar cf archive --ignore-failed-read file || exit 1
25813 test \$status = 0 || exit 1
25816 chmod 000 directory
25817 tar cf archive directory
25819 chmod 700 directory
25820 test \$status = 2 || exit 1
25823 chmod 000 directory
25824 tar cf archive --ignore-failed-read directory || exit 1
25826 chmod 700 directory
25829 echo ignfail.at:26 >"$at_check_line_file"
25831 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25836 TEST_TAR_FORMAT=ustar
25837 export TEST_TAR_FORMAT
25838 TAR_OPTIONS="-H ustar"
25842 # The test is meaningless for super-user.
25846 cat $$ > /dev/null 2>&1
25849 test $result -eq 0 && exit 77
25854 touch directory/file
25858 tar cf archive file
25861 test $status = 2 || exit 1
25865 tar cf archive --ignore-failed-read file || exit 1
25868 test $status = 0 || exit 1
25871 chmod 000 directory
25872 tar cf archive directory
25874 chmod 700 directory
25875 test $status = 2 || exit 1
25878 chmod 000 directory
25879 tar cf archive --ignore-failed-read directory || exit 1
25881 chmod 700 directory
25883 ) ) >"$at_stdout" 2>"$at_stder1"
25884 at_func_filter_trace $?
25889 TEST_TAR_FORMAT=ustar
25890 export TEST_TAR_FORMAT
25891 TAR_OPTIONS="-H ustar"
25895 # The test is meaningless for super-user.
25899 cat $$ > /dev/null 2>&1
25902 test $result -eq 0 && exit 77
25907 touch directory/file
25911 tar cf archive file
25914 test $status = 2 || exit 1
25918 tar cf archive --ignore-failed-read file || exit 1
25921 test $status = 0 || exit 1
25924 chmod 000 directory
25925 tar cf archive directory
25927 chmod 700 directory
25928 test $status = 2 || exit 1
25931 chmod 000 directory
25932 tar cf archive --ignore-failed-read directory || exit 1
25934 chmod 700 directory
25936 ) ) >"$at_stdout" 2>"$at_stderr"
25940 echo >>"$at_stderr"; $as_echo "-----
25941 tar: file: Cannot open: Permission denied
25942 tar: Exiting with failure status due to previous errors
25944 tar: file: Warning: Cannot open: Permission denied
25946 tar: directory: Cannot open: Permission denied
25947 tar: Exiting with failure status due to previous errors
25949 tar: directory: Warning: Cannot open: Permission denied
25951 $at_diff - "$at_stderr" || at_failed=:
25952 at_func_diff_devnull "$at_stdout" || at_failed=:
25953 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
25955 $at_failed && at_func_log_failure
25959 $as_echo "$at_srcdir/ignfail.at:26:
25962 TEST_TAR_FORMAT=posix
25963 export TEST_TAR_FORMAT
25964 TAR_OPTIONS=\"-H posix\"
25968 # The test is meaningless for super-user.
25972 cat $$ > /dev/null 2>&1
25975 test $result -eq 0 && exit 77
25980 touch directory/file
25984 tar cf archive file
25987 test \$status = 2 || exit 1
25991 tar cf archive --ignore-failed-read file || exit 1
25994 test \$status = 0 || exit 1
25997 chmod 000 directory
25998 tar cf archive directory
26000 chmod 700 directory
26001 test \$status = 2 || exit 1
26004 chmod 000 directory
26005 tar cf archive --ignore-failed-read directory || exit 1
26007 chmod 700 directory
26010 echo ignfail.at:26 >"$at_check_line_file"
26012 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26017 TEST_TAR_FORMAT=posix
26018 export TEST_TAR_FORMAT
26019 TAR_OPTIONS="-H posix"
26023 # The test is meaningless for super-user.
26027 cat $$ > /dev/null 2>&1
26030 test $result -eq 0 && exit 77
26035 touch directory/file
26039 tar cf archive file
26042 test $status = 2 || exit 1
26046 tar cf archive --ignore-failed-read file || exit 1
26049 test $status = 0 || exit 1
26052 chmod 000 directory
26053 tar cf archive directory
26055 chmod 700 directory
26056 test $status = 2 || exit 1
26059 chmod 000 directory
26060 tar cf archive --ignore-failed-read directory || exit 1
26062 chmod 700 directory
26064 ) ) >"$at_stdout" 2>"$at_stder1"
26065 at_func_filter_trace $?
26070 TEST_TAR_FORMAT=posix
26071 export TEST_TAR_FORMAT
26072 TAR_OPTIONS="-H posix"
26076 # The test is meaningless for super-user.
26080 cat $$ > /dev/null 2>&1
26083 test $result -eq 0 && exit 77
26088 touch directory/file
26092 tar cf archive file
26095 test $status = 2 || exit 1
26099 tar cf archive --ignore-failed-read file || exit 1
26102 test $status = 0 || exit 1
26105 chmod 000 directory
26106 tar cf archive directory
26108 chmod 700 directory
26109 test $status = 2 || exit 1
26112 chmod 000 directory
26113 tar cf archive --ignore-failed-read directory || exit 1
26115 chmod 700 directory
26117 ) ) >"$at_stdout" 2>"$at_stderr"
26121 echo >>"$at_stderr"; $as_echo "-----
26122 tar: file: Cannot open: Permission denied
26123 tar: Exiting with failure status due to previous errors
26125 tar: file: Warning: Cannot open: Permission denied
26127 tar: directory: Cannot open: Permission denied
26128 tar: Exiting with failure status due to previous errors
26130 tar: directory: Warning: Cannot open: Permission denied
26132 $at_diff - "$at_stderr" || at_failed=:
26133 at_func_diff_devnull "$at_stdout" || at_failed=:
26134 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
26136 $at_failed && at_func_log_failure
26140 $as_echo "$at_srcdir/ignfail.at:26:
26143 TEST_TAR_FORMAT=gnu
26144 export TEST_TAR_FORMAT
26145 TAR_OPTIONS=\"-H gnu\"
26149 # The test is meaningless for super-user.
26153 cat $$ > /dev/null 2>&1
26156 test $result -eq 0 && exit 77
26161 touch directory/file
26165 tar cf archive file
26168 test \$status = 2 || exit 1
26172 tar cf archive --ignore-failed-read file || exit 1
26175 test \$status = 0 || exit 1
26178 chmod 000 directory
26179 tar cf archive directory
26181 chmod 700 directory
26182 test \$status = 2 || exit 1
26185 chmod 000 directory
26186 tar cf archive --ignore-failed-read directory || exit 1
26188 chmod 700 directory
26191 echo ignfail.at:26 >"$at_check_line_file"
26193 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26198 TEST_TAR_FORMAT=gnu
26199 export TEST_TAR_FORMAT
26200 TAR_OPTIONS="-H gnu"
26204 # The test is meaningless for super-user.
26208 cat $$ > /dev/null 2>&1
26211 test $result -eq 0 && exit 77
26216 touch directory/file
26220 tar cf archive file
26223 test $status = 2 || exit 1
26227 tar cf archive --ignore-failed-read file || exit 1
26230 test $status = 0 || exit 1
26233 chmod 000 directory
26234 tar cf archive directory
26236 chmod 700 directory
26237 test $status = 2 || exit 1
26240 chmod 000 directory
26241 tar cf archive --ignore-failed-read directory || exit 1
26243 chmod 700 directory
26245 ) ) >"$at_stdout" 2>"$at_stder1"
26246 at_func_filter_trace $?
26251 TEST_TAR_FORMAT=gnu
26252 export TEST_TAR_FORMAT
26253 TAR_OPTIONS="-H gnu"
26257 # The test is meaningless for super-user.
26261 cat $$ > /dev/null 2>&1
26264 test $result -eq 0 && exit 77
26269 touch directory/file
26273 tar cf archive file
26276 test $status = 2 || exit 1
26280 tar cf archive --ignore-failed-read file || exit 1
26283 test $status = 0 || exit 1
26286 chmod 000 directory
26287 tar cf archive directory
26289 chmod 700 directory
26290 test $status = 2 || exit 1
26293 chmod 000 directory
26294 tar cf archive --ignore-failed-read directory || exit 1
26296 chmod 700 directory
26298 ) ) >"$at_stdout" 2>"$at_stderr"
26302 echo >>"$at_stderr"; $as_echo "-----
26303 tar: file: Cannot open: Permission denied
26304 tar: Exiting with failure status due to previous errors
26306 tar: file: Warning: Cannot open: Permission denied
26308 tar: directory: Cannot open: Permission denied
26309 tar: Exiting with failure status due to previous errors
26311 tar: directory: Warning: Cannot open: Permission denied
26313 $at_diff - "$at_stderr" || at_failed=:
26314 at_func_diff_devnull "$at_stdout" || at_failed=:
26315 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
26317 $at_failed && at_func_log_failure
26324 $at_times_p && times >"$at_times_file"
26325 ) 5>&1 2>&1 | eval $at_tee_pipe
26326 at_status=`cat "$at_status_file"`
26329 # 67. link01.at:33: link count gt 2
26330 at_setup_line='link01.at:33'
26331 at_desc="link count gt 2"
26332 $at_quiet $as_echo_n " 67: $at_desc "
26334 test -f $XFAILFILE && at_xfail=yes
26335 echo "# -*- compilation -*-" >> "$at_group_log"
26337 $as_echo "67. link01.at:33: testing ..."
26345 $as_echo "$at_srcdir/link01.at:36:
26349 export TEST_TAR_FORMAT
26350 TAR_OPTIONS=\"-H v7\"
26355 mkdir directory/test1
26356 mkdir directory/test2
26358 echo TEST > directory/test1/test.txt
26359 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26361 tar cf archive directory/test1/test.txt directory/test1/test.txt
26364 tar xf archive --warning=no-timestamp
26368 echo link01.at:36 >"$at_check_line_file"
26370 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26376 export TEST_TAR_FORMAT
26377 TAR_OPTIONS="-H v7"
26382 mkdir directory/test1
26383 mkdir directory/test2
26385 echo TEST > directory/test1/test.txt
26386 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26388 tar cf archive directory/test1/test.txt directory/test1/test.txt
26391 tar xf archive --warning=no-timestamp
26394 ) ) >"$at_stdout" 2>"$at_stder1"
26395 at_func_filter_trace $?
26401 export TEST_TAR_FORMAT
26402 TAR_OPTIONS="-H v7"
26407 mkdir directory/test1
26408 mkdir directory/test2
26410 echo TEST > directory/test1/test.txt
26411 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26413 tar cf archive directory/test1/test.txt directory/test1/test.txt
26416 tar xf archive --warning=no-timestamp
26419 ) ) >"$at_stdout" 2>"$at_stderr"
26423 at_func_diff_devnull "$at_stderr" || at_failed=:
26424 echo >>"$at_stdout"; $as_echo "test.txt
26426 $at_diff - "$at_stdout" || at_failed=:
26427 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
26429 $at_failed && at_func_log_failure
26433 $as_echo "$at_srcdir/link01.at:36:
26436 TEST_TAR_FORMAT=oldgnu
26437 export TEST_TAR_FORMAT
26438 TAR_OPTIONS=\"-H oldgnu\"
26443 mkdir directory/test1
26444 mkdir directory/test2
26446 echo TEST > directory/test1/test.txt
26447 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26449 tar cf archive directory/test1/test.txt directory/test1/test.txt
26452 tar xf archive --warning=no-timestamp
26456 echo link01.at:36 >"$at_check_line_file"
26458 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26463 TEST_TAR_FORMAT=oldgnu
26464 export TEST_TAR_FORMAT
26465 TAR_OPTIONS="-H oldgnu"
26470 mkdir directory/test1
26471 mkdir directory/test2
26473 echo TEST > directory/test1/test.txt
26474 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26476 tar cf archive directory/test1/test.txt directory/test1/test.txt
26479 tar xf archive --warning=no-timestamp
26482 ) ) >"$at_stdout" 2>"$at_stder1"
26483 at_func_filter_trace $?
26488 TEST_TAR_FORMAT=oldgnu
26489 export TEST_TAR_FORMAT
26490 TAR_OPTIONS="-H oldgnu"
26495 mkdir directory/test1
26496 mkdir directory/test2
26498 echo TEST > directory/test1/test.txt
26499 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26501 tar cf archive directory/test1/test.txt directory/test1/test.txt
26504 tar xf archive --warning=no-timestamp
26507 ) ) >"$at_stdout" 2>"$at_stderr"
26511 at_func_diff_devnull "$at_stderr" || at_failed=:
26512 echo >>"$at_stdout"; $as_echo "test.txt
26514 $at_diff - "$at_stdout" || at_failed=:
26515 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
26517 $at_failed && at_func_log_failure
26521 $as_echo "$at_srcdir/link01.at:36:
26524 TEST_TAR_FORMAT=ustar
26525 export TEST_TAR_FORMAT
26526 TAR_OPTIONS=\"-H ustar\"
26531 mkdir directory/test1
26532 mkdir directory/test2
26534 echo TEST > directory/test1/test.txt
26535 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26537 tar cf archive directory/test1/test.txt directory/test1/test.txt
26540 tar xf archive --warning=no-timestamp
26544 echo link01.at:36 >"$at_check_line_file"
26546 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26551 TEST_TAR_FORMAT=ustar
26552 export TEST_TAR_FORMAT
26553 TAR_OPTIONS="-H ustar"
26558 mkdir directory/test1
26559 mkdir directory/test2
26561 echo TEST > directory/test1/test.txt
26562 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26564 tar cf archive directory/test1/test.txt directory/test1/test.txt
26567 tar xf archive --warning=no-timestamp
26570 ) ) >"$at_stdout" 2>"$at_stder1"
26571 at_func_filter_trace $?
26576 TEST_TAR_FORMAT=ustar
26577 export TEST_TAR_FORMAT
26578 TAR_OPTIONS="-H ustar"
26583 mkdir directory/test1
26584 mkdir directory/test2
26586 echo TEST > directory/test1/test.txt
26587 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26589 tar cf archive directory/test1/test.txt directory/test1/test.txt
26592 tar xf archive --warning=no-timestamp
26595 ) ) >"$at_stdout" 2>"$at_stderr"
26599 at_func_diff_devnull "$at_stderr" || at_failed=:
26600 echo >>"$at_stdout"; $as_echo "test.txt
26602 $at_diff - "$at_stdout" || at_failed=:
26603 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
26605 $at_failed && at_func_log_failure
26609 $as_echo "$at_srcdir/link01.at:36:
26612 TEST_TAR_FORMAT=posix
26613 export TEST_TAR_FORMAT
26614 TAR_OPTIONS=\"-H posix\"
26619 mkdir directory/test1
26620 mkdir directory/test2
26622 echo TEST > directory/test1/test.txt
26623 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26625 tar cf archive directory/test1/test.txt directory/test1/test.txt
26628 tar xf archive --warning=no-timestamp
26632 echo link01.at:36 >"$at_check_line_file"
26634 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26639 TEST_TAR_FORMAT=posix
26640 export TEST_TAR_FORMAT
26641 TAR_OPTIONS="-H posix"
26646 mkdir directory/test1
26647 mkdir directory/test2
26649 echo TEST > directory/test1/test.txt
26650 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26652 tar cf archive directory/test1/test.txt directory/test1/test.txt
26655 tar xf archive --warning=no-timestamp
26658 ) ) >"$at_stdout" 2>"$at_stder1"
26659 at_func_filter_trace $?
26664 TEST_TAR_FORMAT=posix
26665 export TEST_TAR_FORMAT
26666 TAR_OPTIONS="-H posix"
26671 mkdir directory/test1
26672 mkdir directory/test2
26674 echo TEST > directory/test1/test.txt
26675 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26677 tar cf archive directory/test1/test.txt directory/test1/test.txt
26680 tar xf archive --warning=no-timestamp
26683 ) ) >"$at_stdout" 2>"$at_stderr"
26687 at_func_diff_devnull "$at_stderr" || at_failed=:
26688 echo >>"$at_stdout"; $as_echo "test.txt
26690 $at_diff - "$at_stdout" || at_failed=:
26691 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
26693 $at_failed && at_func_log_failure
26697 $as_echo "$at_srcdir/link01.at:36:
26700 TEST_TAR_FORMAT=gnu
26701 export TEST_TAR_FORMAT
26702 TAR_OPTIONS=\"-H gnu\"
26707 mkdir directory/test1
26708 mkdir directory/test2
26710 echo TEST > directory/test1/test.txt
26711 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26713 tar cf archive directory/test1/test.txt directory/test1/test.txt
26716 tar xf archive --warning=no-timestamp
26720 echo link01.at:36 >"$at_check_line_file"
26722 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26727 TEST_TAR_FORMAT=gnu
26728 export TEST_TAR_FORMAT
26729 TAR_OPTIONS="-H gnu"
26734 mkdir directory/test1
26735 mkdir directory/test2
26737 echo TEST > directory/test1/test.txt
26738 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26740 tar cf archive directory/test1/test.txt directory/test1/test.txt
26743 tar xf archive --warning=no-timestamp
26746 ) ) >"$at_stdout" 2>"$at_stder1"
26747 at_func_filter_trace $?
26752 TEST_TAR_FORMAT=gnu
26753 export TEST_TAR_FORMAT
26754 TAR_OPTIONS="-H gnu"
26759 mkdir directory/test1
26760 mkdir directory/test2
26762 echo TEST > directory/test1/test.txt
26763 ln directory/test1/test.txt directory/test2/test.txt || exit 77
26765 tar cf archive directory/test1/test.txt directory/test1/test.txt
26768 tar xf archive --warning=no-timestamp
26771 ) ) >"$at_stdout" 2>"$at_stderr"
26775 at_func_diff_devnull "$at_stderr" || at_failed=:
26776 echo >>"$at_stdout"; $as_echo "test.txt
26778 $at_diff - "$at_stdout" || at_failed=:
26779 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
26781 $at_failed && at_func_log_failure
26788 $at_times_p && times >"$at_times_file"
26789 ) 5>&1 2>&1 | eval $at_tee_pipe
26790 at_status=`cat "$at_status_file"`
26793 # 68. link02.at:32: preserve hard links with --remove-files
26794 at_setup_line='link02.at:32'
26795 at_desc="preserve hard links with --remove-files"
26796 $at_quiet $as_echo_n " 68: $at_desc "
26798 test -f $XFAILFILE && at_xfail=yes
26799 echo "# -*- compilation -*-" >> "$at_group_log"
26801 $as_echo "68. link02.at:32: testing ..."
26809 $as_echo "$at_srcdir/link02.at:35:
26813 export TEST_TAR_FORMAT
26814 TAR_OPTIONS=\"-H v7\"
26818 genfile -l 64 -f file1
26822 tar -c -f archive --remove-files file1 file2 file3 file4
26823 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26825 echo link02.at:35 >"$at_check_line_file"
26827 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26833 export TEST_TAR_FORMAT
26834 TAR_OPTIONS="-H v7"
26838 genfile -l 64 -f file1
26842 tar -c -f archive --remove-files file1 file2 file3 file4
26843 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26844 ) ) >"$at_stdout" 2>"$at_stder1"
26845 at_func_filter_trace $?
26851 export TEST_TAR_FORMAT
26852 TAR_OPTIONS="-H v7"
26856 genfile -l 64 -f file1
26860 tar -c -f archive --remove-files file1 file2 file3 file4
26861 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26862 ) ) >"$at_stdout" 2>"$at_stderr"
26866 at_func_diff_devnull "$at_stderr" || at_failed=:
26867 echo >>"$at_stdout"; $as_echo "file1
26871 $at_diff - "$at_stdout" || at_failed=:
26872 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
26874 $at_failed && at_func_log_failure
26878 $as_echo "$at_srcdir/link02.at:35:
26881 TEST_TAR_FORMAT=oldgnu
26882 export TEST_TAR_FORMAT
26883 TAR_OPTIONS=\"-H oldgnu\"
26887 genfile -l 64 -f file1
26891 tar -c -f archive --remove-files file1 file2 file3 file4
26892 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26894 echo link02.at:35 >"$at_check_line_file"
26896 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26901 TEST_TAR_FORMAT=oldgnu
26902 export TEST_TAR_FORMAT
26903 TAR_OPTIONS="-H oldgnu"
26907 genfile -l 64 -f file1
26911 tar -c -f archive --remove-files file1 file2 file3 file4
26912 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26913 ) ) >"$at_stdout" 2>"$at_stder1"
26914 at_func_filter_trace $?
26919 TEST_TAR_FORMAT=oldgnu
26920 export TEST_TAR_FORMAT
26921 TAR_OPTIONS="-H oldgnu"
26925 genfile -l 64 -f file1
26929 tar -c -f archive --remove-files file1 file2 file3 file4
26930 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26931 ) ) >"$at_stdout" 2>"$at_stderr"
26935 at_func_diff_devnull "$at_stderr" || at_failed=:
26936 echo >>"$at_stdout"; $as_echo "file1
26940 $at_diff - "$at_stdout" || at_failed=:
26941 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
26943 $at_failed && at_func_log_failure
26947 $as_echo "$at_srcdir/link02.at:35:
26950 TEST_TAR_FORMAT=ustar
26951 export TEST_TAR_FORMAT
26952 TAR_OPTIONS=\"-H ustar\"
26956 genfile -l 64 -f file1
26960 tar -c -f archive --remove-files file1 file2 file3 file4
26961 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26963 echo link02.at:35 >"$at_check_line_file"
26965 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26970 TEST_TAR_FORMAT=ustar
26971 export TEST_TAR_FORMAT
26972 TAR_OPTIONS="-H ustar"
26976 genfile -l 64 -f file1
26980 tar -c -f archive --remove-files file1 file2 file3 file4
26981 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
26982 ) ) >"$at_stdout" 2>"$at_stder1"
26983 at_func_filter_trace $?
26988 TEST_TAR_FORMAT=ustar
26989 export TEST_TAR_FORMAT
26990 TAR_OPTIONS="-H ustar"
26994 genfile -l 64 -f file1
26998 tar -c -f archive --remove-files file1 file2 file3 file4
26999 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27000 ) ) >"$at_stdout" 2>"$at_stderr"
27004 at_func_diff_devnull "$at_stderr" || at_failed=:
27005 echo >>"$at_stdout"; $as_echo "file1
27009 $at_diff - "$at_stdout" || at_failed=:
27010 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
27012 $at_failed && at_func_log_failure
27016 $as_echo "$at_srcdir/link02.at:35:
27019 TEST_TAR_FORMAT=posix
27020 export TEST_TAR_FORMAT
27021 TAR_OPTIONS=\"-H posix\"
27025 genfile -l 64 -f file1
27029 tar -c -f archive --remove-files file1 file2 file3 file4
27030 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27032 echo link02.at:35 >"$at_check_line_file"
27034 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27039 TEST_TAR_FORMAT=posix
27040 export TEST_TAR_FORMAT
27041 TAR_OPTIONS="-H posix"
27045 genfile -l 64 -f file1
27049 tar -c -f archive --remove-files file1 file2 file3 file4
27050 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27051 ) ) >"$at_stdout" 2>"$at_stder1"
27052 at_func_filter_trace $?
27057 TEST_TAR_FORMAT=posix
27058 export TEST_TAR_FORMAT
27059 TAR_OPTIONS="-H posix"
27063 genfile -l 64 -f file1
27067 tar -c -f archive --remove-files file1 file2 file3 file4
27068 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27069 ) ) >"$at_stdout" 2>"$at_stderr"
27073 at_func_diff_devnull "$at_stderr" || at_failed=:
27074 echo >>"$at_stdout"; $as_echo "file1
27078 $at_diff - "$at_stdout" || at_failed=:
27079 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
27081 $at_failed && at_func_log_failure
27085 $as_echo "$at_srcdir/link02.at:35:
27088 TEST_TAR_FORMAT=gnu
27089 export TEST_TAR_FORMAT
27090 TAR_OPTIONS=\"-H gnu\"
27094 genfile -l 64 -f file1
27098 tar -c -f archive --remove-files file1 file2 file3 file4
27099 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27101 echo link02.at:35 >"$at_check_line_file"
27103 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27108 TEST_TAR_FORMAT=gnu
27109 export TEST_TAR_FORMAT
27110 TAR_OPTIONS="-H gnu"
27114 genfile -l 64 -f file1
27118 tar -c -f archive --remove-files file1 file2 file3 file4
27119 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27120 ) ) >"$at_stdout" 2>"$at_stder1"
27121 at_func_filter_trace $?
27126 TEST_TAR_FORMAT=gnu
27127 export TEST_TAR_FORMAT
27128 TAR_OPTIONS="-H gnu"
27132 genfile -l 64 -f file1
27136 tar -c -f archive --remove-files file1 file2 file3 file4
27137 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
27138 ) ) >"$at_stdout" 2>"$at_stderr"
27142 at_func_diff_devnull "$at_stderr" || at_failed=:
27143 echo >>"$at_stdout"; $as_echo "file1
27147 $at_diff - "$at_stdout" || at_failed=:
27148 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
27150 $at_failed && at_func_log_failure
27157 $at_times_p && times >"$at_times_file"
27158 ) 5>&1 2>&1 | eval $at_tee_pipe
27159 at_status=`cat "$at_status_file"`
27162 # 69. link03.at:24: working -l with --remove-files
27163 at_setup_line='link03.at:24'
27164 at_desc="working -l with --remove-files"
27165 $at_quiet $as_echo_n " 69: $at_desc "
27167 test -f $XFAILFILE && at_xfail=yes
27168 echo "# -*- compilation -*-" >> "$at_group_log"
27170 $as_echo "69. link03.at:24: testing ..."
27180 $as_echo "$at_srcdir/link03.at:34:
27184 export TEST_TAR_FORMAT
27185 TAR_OPTIONS=\"-H v7\"
27190 genfile -l 64 -f file1
27196 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27198 genfile -l 64 -f file1
27204 tar -c -f archive.2 -l --remove-files file1 file2 file3
27205 echo testing archive.2
27206 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27208 echo link03.at:34 >"$at_check_line_file"
27210 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27216 export TEST_TAR_FORMAT
27217 TAR_OPTIONS="-H v7"
27222 genfile -l 64 -f file1
27228 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27230 genfile -l 64 -f file1
27236 tar -c -f archive.2 -l --remove-files file1 file2 file3
27237 echo testing archive.2
27238 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27239 ) ) >"$at_stdout" 2>"$at_stder1"
27240 at_func_filter_trace $?
27246 export TEST_TAR_FORMAT
27247 TAR_OPTIONS="-H v7"
27252 genfile -l 64 -f file1
27258 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27260 genfile -l 64 -f file1
27266 tar -c -f archive.2 -l --remove-files file1 file2 file3
27267 echo testing archive.2
27268 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27269 ) ) >"$at_stdout" 2>"$at_stderr"
27273 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
27275 $at_diff - "$at_stderr" || at_failed=:
27276 echo >>"$at_stdout"; $as_echo "archive.1
27282 $at_diff - "$at_stdout" || at_failed=:
27283 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
27285 $at_failed && at_func_log_failure
27289 $as_echo "$at_srcdir/link03.at:34:
27292 TEST_TAR_FORMAT=oldgnu
27293 export TEST_TAR_FORMAT
27294 TAR_OPTIONS=\"-H oldgnu\"
27299 genfile -l 64 -f file1
27305 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27307 genfile -l 64 -f file1
27313 tar -c -f archive.2 -l --remove-files file1 file2 file3
27314 echo testing archive.2
27315 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27317 echo link03.at:34 >"$at_check_line_file"
27319 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27324 TEST_TAR_FORMAT=oldgnu
27325 export TEST_TAR_FORMAT
27326 TAR_OPTIONS="-H oldgnu"
27331 genfile -l 64 -f file1
27337 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27339 genfile -l 64 -f file1
27345 tar -c -f archive.2 -l --remove-files file1 file2 file3
27346 echo testing archive.2
27347 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27348 ) ) >"$at_stdout" 2>"$at_stder1"
27349 at_func_filter_trace $?
27354 TEST_TAR_FORMAT=oldgnu
27355 export TEST_TAR_FORMAT
27356 TAR_OPTIONS="-H oldgnu"
27361 genfile -l 64 -f file1
27367 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27369 genfile -l 64 -f file1
27375 tar -c -f archive.2 -l --remove-files file1 file2 file3
27376 echo testing archive.2
27377 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27378 ) ) >"$at_stdout" 2>"$at_stderr"
27382 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
27384 $at_diff - "$at_stderr" || at_failed=:
27385 echo >>"$at_stdout"; $as_echo "archive.1
27391 $at_diff - "$at_stdout" || at_failed=:
27392 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
27394 $at_failed && at_func_log_failure
27398 $as_echo "$at_srcdir/link03.at:34:
27401 TEST_TAR_FORMAT=ustar
27402 export TEST_TAR_FORMAT
27403 TAR_OPTIONS=\"-H ustar\"
27408 genfile -l 64 -f file1
27414 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27416 genfile -l 64 -f file1
27422 tar -c -f archive.2 -l --remove-files file1 file2 file3
27423 echo testing archive.2
27424 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27426 echo link03.at:34 >"$at_check_line_file"
27428 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27433 TEST_TAR_FORMAT=ustar
27434 export TEST_TAR_FORMAT
27435 TAR_OPTIONS="-H ustar"
27440 genfile -l 64 -f file1
27446 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27448 genfile -l 64 -f file1
27454 tar -c -f archive.2 -l --remove-files file1 file2 file3
27455 echo testing archive.2
27456 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27457 ) ) >"$at_stdout" 2>"$at_stder1"
27458 at_func_filter_trace $?
27463 TEST_TAR_FORMAT=ustar
27464 export TEST_TAR_FORMAT
27465 TAR_OPTIONS="-H ustar"
27470 genfile -l 64 -f file1
27476 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27478 genfile -l 64 -f file1
27484 tar -c -f archive.2 -l --remove-files file1 file2 file3
27485 echo testing archive.2
27486 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27487 ) ) >"$at_stdout" 2>"$at_stderr"
27491 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
27493 $at_diff - "$at_stderr" || at_failed=:
27494 echo >>"$at_stdout"; $as_echo "archive.1
27500 $at_diff - "$at_stdout" || at_failed=:
27501 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
27503 $at_failed && at_func_log_failure
27507 $as_echo "$at_srcdir/link03.at:34:
27510 TEST_TAR_FORMAT=posix
27511 export TEST_TAR_FORMAT
27512 TAR_OPTIONS=\"-H posix\"
27517 genfile -l 64 -f file1
27523 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27525 genfile -l 64 -f file1
27531 tar -c -f archive.2 -l --remove-files file1 file2 file3
27532 echo testing archive.2
27533 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27535 echo link03.at:34 >"$at_check_line_file"
27537 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27542 TEST_TAR_FORMAT=posix
27543 export TEST_TAR_FORMAT
27544 TAR_OPTIONS="-H posix"
27549 genfile -l 64 -f file1
27555 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27557 genfile -l 64 -f file1
27563 tar -c -f archive.2 -l --remove-files file1 file2 file3
27564 echo testing archive.2
27565 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27566 ) ) >"$at_stdout" 2>"$at_stder1"
27567 at_func_filter_trace $?
27572 TEST_TAR_FORMAT=posix
27573 export TEST_TAR_FORMAT
27574 TAR_OPTIONS="-H posix"
27579 genfile -l 64 -f file1
27585 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27587 genfile -l 64 -f file1
27593 tar -c -f archive.2 -l --remove-files file1 file2 file3
27594 echo testing archive.2
27595 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27596 ) ) >"$at_stdout" 2>"$at_stderr"
27600 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
27602 $at_diff - "$at_stderr" || at_failed=:
27603 echo >>"$at_stdout"; $as_echo "archive.1
27609 $at_diff - "$at_stdout" || at_failed=:
27610 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
27612 $at_failed && at_func_log_failure
27616 $as_echo "$at_srcdir/link03.at:34:
27619 TEST_TAR_FORMAT=gnu
27620 export TEST_TAR_FORMAT
27621 TAR_OPTIONS=\"-H gnu\"
27626 genfile -l 64 -f file1
27632 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27634 genfile -l 64 -f file1
27640 tar -c -f archive.2 -l --remove-files file1 file2 file3
27641 echo testing archive.2
27642 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27644 echo link03.at:34 >"$at_check_line_file"
27646 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27651 TEST_TAR_FORMAT=gnu
27652 export TEST_TAR_FORMAT
27653 TAR_OPTIONS="-H gnu"
27658 genfile -l 64 -f file1
27664 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27666 genfile -l 64 -f file1
27672 tar -c -f archive.2 -l --remove-files file1 file2 file3
27673 echo testing archive.2
27674 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27675 ) ) >"$at_stdout" 2>"$at_stder1"
27676 at_func_filter_trace $?
27681 TEST_TAR_FORMAT=gnu
27682 export TEST_TAR_FORMAT
27683 TAR_OPTIONS="-H gnu"
27688 genfile -l 64 -f file1
27694 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
27696 genfile -l 64 -f file1
27702 tar -c -f archive.2 -l --remove-files file1 file2 file3
27703 echo testing archive.2
27704 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
27705 ) ) >"$at_stdout" 2>"$at_stderr"
27709 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
27711 $at_diff - "$at_stderr" || at_failed=:
27712 echo >>"$at_stdout"; $as_echo "archive.1
27718 $at_diff - "$at_stdout" || at_failed=:
27719 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
27721 $at_failed && at_func_log_failure
27728 $at_times_p && times >"$at_times_file"
27729 ) 5>&1 2>&1 | eval $at_tee_pipe
27730 at_status=`cat "$at_status_file"`
27733 # 70. link04.at:29: link count is 1 but multiple occurrences
27734 at_setup_line='link04.at:29'
27735 at_desc="link count is 1 but multiple occurrences"
27736 $at_quiet $as_echo_n " 70: $at_desc "
27738 test -f $XFAILFILE && at_xfail=yes
27739 echo "# -*- compilation -*-" >> "$at_group_log"
27741 $as_echo "70. link04.at:29: testing ..."
27749 $as_echo "$at_srcdir/link04.at:32:
27753 export TEST_TAR_FORMAT
27754 TAR_OPTIONS=\"-H v7\"
27759 echo TEST > dir/file
27760 ln -s file dir/symlink || exit 77
27762 tar cf archive dir dir
27763 tar tvf archive | sed '
27764 s,.*[0-9] dir/,dir/,
27769 tar chf archive dir
27770 tar tvf archive | sed '
27771 s,.*[0-9] dir/,dir/,
27776 echo link04.at:32 >"$at_check_line_file"
27778 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27784 export TEST_TAR_FORMAT
27785 TAR_OPTIONS="-H v7"
27790 echo TEST > dir/file
27791 ln -s file dir/symlink || exit 77
27793 tar cf archive dir dir
27794 tar tvf archive | sed '
27795 s,.*[0-9] dir/,dir/,
27800 tar chf archive dir
27801 tar tvf archive | sed '
27802 s,.*[0-9] dir/,dir/,
27806 ) ) >"$at_stdout" 2>"$at_stder1"
27807 at_func_filter_trace $?
27813 export TEST_TAR_FORMAT
27814 TAR_OPTIONS="-H v7"
27819 echo TEST > dir/file
27820 ln -s file dir/symlink || exit 77
27822 tar cf archive dir dir
27823 tar tvf archive | sed '
27824 s,.*[0-9] dir/,dir/,
27829 tar chf archive dir
27830 tar tvf archive | sed '
27831 s,.*[0-9] dir/,dir/,
27835 ) ) >"$at_stdout" 2>"$at_stderr"
27839 at_func_diff_devnull "$at_stderr" || at_failed=:
27840 echo >>"$at_stdout"; $as_echo "dir/
27843 dir/file link to dir/file
27844 dir/symlink -> file
27845 dir/symlink link to dir/symlink
27849 dir/FOO link to dir/FOO
27851 $at_diff - "$at_stdout" || at_failed=:
27852 at_func_check_status 0 $at_status "$at_srcdir/link04.at:32"
27854 $at_failed && at_func_log_failure
27858 $as_echo "$at_srcdir/link04.at:32:
27861 TEST_TAR_FORMAT=oldgnu
27862 export TEST_TAR_FORMAT
27863 TAR_OPTIONS=\"-H oldgnu\"
27868 echo TEST > dir/file
27869 ln -s file dir/symlink || exit 77
27871 tar cf archive dir dir
27872 tar tvf archive | sed '
27873 s,.*[0-9] dir/,dir/,
27878 tar chf archive dir
27879 tar tvf archive | sed '
27880 s,.*[0-9] dir/,dir/,
27885 echo link04.at:32 >"$at_check_line_file"
27887 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27892 TEST_TAR_FORMAT=oldgnu
27893 export TEST_TAR_FORMAT
27894 TAR_OPTIONS="-H oldgnu"
27899 echo TEST > dir/file
27900 ln -s file dir/symlink || exit 77
27902 tar cf archive dir dir
27903 tar tvf archive | sed '
27904 s,.*[0-9] dir/,dir/,
27909 tar chf archive dir
27910 tar tvf archive | sed '
27911 s,.*[0-9] dir/,dir/,
27915 ) ) >"$at_stdout" 2>"$at_stder1"
27916 at_func_filter_trace $?
27921 TEST_TAR_FORMAT=oldgnu
27922 export TEST_TAR_FORMAT
27923 TAR_OPTIONS="-H oldgnu"
27928 echo TEST > dir/file
27929 ln -s file dir/symlink || exit 77
27931 tar cf archive dir dir
27932 tar tvf archive | sed '
27933 s,.*[0-9] dir/,dir/,
27938 tar chf archive dir
27939 tar tvf archive | sed '
27940 s,.*[0-9] dir/,dir/,
27944 ) ) >"$at_stdout" 2>"$at_stderr"
27948 at_func_diff_devnull "$at_stderr" || at_failed=:
27949 echo >>"$at_stdout"; $as_echo "dir/
27952 dir/file link to dir/file
27953 dir/symlink -> file
27954 dir/symlink link to dir/symlink
27958 dir/FOO link to dir/FOO
27960 $at_diff - "$at_stdout" || at_failed=:
27961 at_func_check_status 0 $at_status "$at_srcdir/link04.at:32"
27963 $at_failed && at_func_log_failure
27967 $as_echo "$at_srcdir/link04.at:32:
27970 TEST_TAR_FORMAT=ustar
27971 export TEST_TAR_FORMAT
27972 TAR_OPTIONS=\"-H ustar\"
27977 echo TEST > dir/file
27978 ln -s file dir/symlink || exit 77
27980 tar cf archive dir dir
27981 tar tvf archive | sed '
27982 s,.*[0-9] dir/,dir/,
27987 tar chf archive dir
27988 tar tvf archive | sed '
27989 s,.*[0-9] dir/,dir/,
27994 echo link04.at:32 >"$at_check_line_file"
27996 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28001 TEST_TAR_FORMAT=ustar
28002 export TEST_TAR_FORMAT
28003 TAR_OPTIONS="-H ustar"
28008 echo TEST > dir/file
28009 ln -s file dir/symlink || exit 77
28011 tar cf archive dir dir
28012 tar tvf archive | sed '
28013 s,.*[0-9] dir/,dir/,
28018 tar chf archive dir
28019 tar tvf archive | sed '
28020 s,.*[0-9] dir/,dir/,
28024 ) ) >"$at_stdout" 2>"$at_stder1"
28025 at_func_filter_trace $?
28030 TEST_TAR_FORMAT=ustar
28031 export TEST_TAR_FORMAT
28032 TAR_OPTIONS="-H ustar"
28037 echo TEST > dir/file
28038 ln -s file dir/symlink || exit 77
28040 tar cf archive dir dir
28041 tar tvf archive | sed '
28042 s,.*[0-9] dir/,dir/,
28047 tar chf archive dir
28048 tar tvf archive | sed '
28049 s,.*[0-9] dir/,dir/,
28053 ) ) >"$at_stdout" 2>"$at_stderr"
28057 at_func_diff_devnull "$at_stderr" || at_failed=:
28058 echo >>"$at_stdout"; $as_echo "dir/
28061 dir/file link to dir/file
28062 dir/symlink -> file
28063 dir/symlink link to dir/symlink
28067 dir/FOO link to dir/FOO
28069 $at_diff - "$at_stdout" || at_failed=:
28070 at_func_check_status 0 $at_status "$at_srcdir/link04.at:32"
28072 $at_failed && at_func_log_failure
28076 $as_echo "$at_srcdir/link04.at:32:
28079 TEST_TAR_FORMAT=posix
28080 export TEST_TAR_FORMAT
28081 TAR_OPTIONS=\"-H posix\"
28086 echo TEST > dir/file
28087 ln -s file dir/symlink || exit 77
28089 tar cf archive dir dir
28090 tar tvf archive | sed '
28091 s,.*[0-9] dir/,dir/,
28096 tar chf archive dir
28097 tar tvf archive | sed '
28098 s,.*[0-9] dir/,dir/,
28103 echo link04.at:32 >"$at_check_line_file"
28105 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28110 TEST_TAR_FORMAT=posix
28111 export TEST_TAR_FORMAT
28112 TAR_OPTIONS="-H posix"
28117 echo TEST > dir/file
28118 ln -s file dir/symlink || exit 77
28120 tar cf archive dir dir
28121 tar tvf archive | sed '
28122 s,.*[0-9] dir/,dir/,
28127 tar chf archive dir
28128 tar tvf archive | sed '
28129 s,.*[0-9] dir/,dir/,
28133 ) ) >"$at_stdout" 2>"$at_stder1"
28134 at_func_filter_trace $?
28139 TEST_TAR_FORMAT=posix
28140 export TEST_TAR_FORMAT
28141 TAR_OPTIONS="-H posix"
28146 echo TEST > dir/file
28147 ln -s file dir/symlink || exit 77
28149 tar cf archive dir dir
28150 tar tvf archive | sed '
28151 s,.*[0-9] dir/,dir/,
28156 tar chf archive dir
28157 tar tvf archive | sed '
28158 s,.*[0-9] dir/,dir/,
28162 ) ) >"$at_stdout" 2>"$at_stderr"
28166 at_func_diff_devnull "$at_stderr" || at_failed=:
28167 echo >>"$at_stdout"; $as_echo "dir/
28170 dir/file link to dir/file
28171 dir/symlink -> file
28172 dir/symlink link to dir/symlink
28176 dir/FOO link to dir/FOO
28178 $at_diff - "$at_stdout" || at_failed=:
28179 at_func_check_status 0 $at_status "$at_srcdir/link04.at:32"
28181 $at_failed && at_func_log_failure
28185 $as_echo "$at_srcdir/link04.at:32:
28188 TEST_TAR_FORMAT=gnu
28189 export TEST_TAR_FORMAT
28190 TAR_OPTIONS=\"-H gnu\"
28195 echo TEST > dir/file
28196 ln -s file dir/symlink || exit 77
28198 tar cf archive dir dir
28199 tar tvf archive | sed '
28200 s,.*[0-9] dir/,dir/,
28205 tar chf archive dir
28206 tar tvf archive | sed '
28207 s,.*[0-9] dir/,dir/,
28212 echo link04.at:32 >"$at_check_line_file"
28214 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28219 TEST_TAR_FORMAT=gnu
28220 export TEST_TAR_FORMAT
28221 TAR_OPTIONS="-H gnu"
28226 echo TEST > dir/file
28227 ln -s file dir/symlink || exit 77
28229 tar cf archive dir dir
28230 tar tvf archive | sed '
28231 s,.*[0-9] dir/,dir/,
28236 tar chf archive dir
28237 tar tvf archive | sed '
28238 s,.*[0-9] dir/,dir/,
28242 ) ) >"$at_stdout" 2>"$at_stder1"
28243 at_func_filter_trace $?
28248 TEST_TAR_FORMAT=gnu
28249 export TEST_TAR_FORMAT
28250 TAR_OPTIONS="-H gnu"
28255 echo TEST > dir/file
28256 ln -s file dir/symlink || exit 77
28258 tar cf archive dir dir
28259 tar tvf archive | sed '
28260 s,.*[0-9] dir/,dir/,
28265 tar chf archive dir
28266 tar tvf archive | sed '
28267 s,.*[0-9] dir/,dir/,
28271 ) ) >"$at_stdout" 2>"$at_stderr"
28275 at_func_diff_devnull "$at_stderr" || at_failed=:
28276 echo >>"$at_stdout"; $as_echo "dir/
28279 dir/file link to dir/file
28280 dir/symlink -> file
28281 dir/symlink link to dir/symlink
28285 dir/FOO link to dir/FOO
28287 $at_diff - "$at_stdout" || at_failed=:
28288 at_func_check_status 0 $at_status "$at_srcdir/link04.at:32"
28290 $at_failed && at_func_log_failure
28297 $at_times_p && times >"$at_times_file"
28298 ) 5>&1 2>&1 | eval $at_tee_pipe
28299 at_status=`cat "$at_status_file"`
28302 # 71. longv7.at:24: long names in V7 archives
28303 at_setup_line='longv7.at:24'
28304 at_desc="long names in V7 archives"
28305 $at_quiet $as_echo_n " 71: $at_desc "
28307 test -f $XFAILFILE && at_xfail=yes
28308 echo "# -*- compilation -*-" >> "$at_group_log"
28310 $as_echo "71. longv7.at:24: testing ..."
28321 $as_echo "$at_srcdir/longv7.at:30:
28325 export TEST_TAR_FORMAT
28326 TAR_OPTIONS=\"-H v7\"
28330 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
28331 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
28333 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
28337 echo longv7.at:30 >"$at_check_line_file"
28339 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28345 export TEST_TAR_FORMAT
28346 TAR_OPTIONS="-H v7"
28350 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
28351 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
28353 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
28356 ) ) >"$at_stdout" 2>"$at_stder1"
28357 at_func_filter_trace $?
28363 export TEST_TAR_FORMAT
28364 TAR_OPTIONS="-H v7"
28368 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
28369 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
28371 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
28374 ) ) >"$at_stdout" 2>"$at_stderr"
28378 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
28379 tar: Exiting with failure status due to previous errors
28381 $at_diff - "$at_stderr" || at_failed=:
28382 echo >>"$at_stdout"; $as_echo "separator
28383 this_is_a_very_long_name_for_a_directory_which_causes_problems/
28385 $at_diff - "$at_stdout" || at_failed=:
28386 at_func_check_status 0 $at_status "$at_srcdir/longv7.at:30"
28388 $at_failed && at_func_log_failure
28395 $at_times_p && times >"$at_times_file"
28396 ) 5>&1 2>&1 | eval $at_tee_pipe
28397 at_status=`cat "$at_status_file"`
28400 # 72. long01.at:28: long file names divisible by block size
28401 at_setup_line='long01.at:28'
28402 at_desc="long file names divisible by block size"
28403 $at_quiet $as_echo_n " 72: $at_desc "
28405 test -f $XFAILFILE && at_xfail=yes
28406 echo "# -*- compilation -*-" >> "$at_group_log"
28408 $as_echo "72. long01.at:28: testing ..."
28420 $as_echo "$at_srcdir/long01.at:36:
28423 TEST_TAR_FORMAT=gnu
28424 export TEST_TAR_FORMAT
28425 TAR_OPTIONS=\"-H gnu\"
28430 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
28431 echo test > endfile
28433 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
28435 echo long01.at:36 >"$at_check_line_file"
28437 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28442 TEST_TAR_FORMAT=gnu
28443 export TEST_TAR_FORMAT
28444 TAR_OPTIONS="-H gnu"
28449 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
28450 echo test > endfile
28452 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
28453 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
28454 at_func_filter_trace $?
28459 TEST_TAR_FORMAT=gnu
28460 export TEST_TAR_FORMAT
28461 TAR_OPTIONS="-H gnu"
28466 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
28467 echo test > endfile
28469 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
28470 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
28474 at_func_diff_devnull "$at_stderr" || at_failed=:
28475 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
28478 $at_diff - "$at_stdout" || at_failed=:
28479 at_func_check_status 0 $at_status "$at_srcdir/long01.at:36"
28481 $at_failed && at_func_log_failure
28485 $as_echo "$at_srcdir/long01.at:36:
28488 TEST_TAR_FORMAT=oldgnu
28489 export TEST_TAR_FORMAT
28490 TAR_OPTIONS=\"-H oldgnu\"
28495 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
28496 echo test > endfile
28498 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
28500 echo long01.at:36 >"$at_check_line_file"
28502 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28507 TEST_TAR_FORMAT=oldgnu
28508 export TEST_TAR_FORMAT
28509 TAR_OPTIONS="-H oldgnu"
28514 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
28515 echo test > endfile
28517 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
28518 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
28519 at_func_filter_trace $?
28524 TEST_TAR_FORMAT=oldgnu
28525 export TEST_TAR_FORMAT
28526 TAR_OPTIONS="-H oldgnu"
28531 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
28532 echo test > endfile
28534 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
28535 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
28539 at_func_diff_devnull "$at_stderr" || at_failed=:
28540 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
28543 $at_diff - "$at_stdout" || at_failed=:
28544 at_func_check_status 0 $at_status "$at_srcdir/long01.at:36"
28546 $at_failed && at_func_log_failure
28553 $at_times_p && times >"$at_times_file"
28554 ) 5>&1 2>&1 | eval $at_tee_pipe
28555 at_status=`cat "$at_status_file"`
28558 # 73. lustar01.at:21: ustar: unsplittable file name
28559 at_setup_line='lustar01.at:21'
28560 at_desc="ustar: unsplittable file name"
28561 $at_quiet $as_echo_n " 73: $at_desc "
28563 test -f $XFAILFILE && at_xfail=yes
28564 echo "# -*- compilation -*-" >> "$at_group_log"
28566 $as_echo "73. lustar01.at:21: testing ..."
28576 $as_echo "$at_srcdir/lustar01.at:27:
28579 TEST_TAR_FORMAT=ustar
28580 export TEST_TAR_FORMAT
28581 TAR_OPTIONS=\"-H ustar\"
28585 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
28586 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
28588 echo lustar01.at:27 >"$at_check_line_file"
28590 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28595 TEST_TAR_FORMAT=ustar
28596 export TEST_TAR_FORMAT
28597 TAR_OPTIONS="-H ustar"
28601 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
28602 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
28603 ) ) >"$at_stdout" 2>"$at_stder1"
28604 at_func_filter_trace $?
28609 TEST_TAR_FORMAT=ustar
28610 export TEST_TAR_FORMAT
28611 TAR_OPTIONS="-H ustar"
28615 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
28616 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
28617 ) ) >"$at_stdout" 2>"$at_stderr"
28621 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
28622 tar: Exiting with failure status due to previous errors
28624 $at_diff - "$at_stderr" || at_failed=:
28625 at_func_diff_devnull "$at_stdout" || at_failed=:
28626 at_func_check_status 2 $at_status "$at_srcdir/lustar01.at:27"
28628 $at_failed && at_func_log_failure
28635 $at_times_p && times >"$at_times_file"
28636 ) 5>&1 2>&1 | eval $at_tee_pipe
28637 at_status=`cat "$at_status_file"`
28640 # 74. lustar02.at:21: ustar: unsplittable path name
28641 at_setup_line='lustar02.at:21'
28642 at_desc="ustar: unsplittable path name"
28643 $at_quiet $as_echo_n " 74: $at_desc "
28645 test -f $XFAILFILE && at_xfail=yes
28646 echo "# -*- compilation -*-" >> "$at_group_log"
28648 $as_echo "74. lustar02.at:21: testing ..."
28662 $as_echo "$at_srcdir/lustar02.at:32:
28665 TEST_TAR_FORMAT=ustar
28666 export TEST_TAR_FORMAT
28667 TAR_OPTIONS=\"-H ustar\"
28672 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
28673 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
28675 echo lustar02.at:32 >"$at_check_line_file"
28677 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28682 TEST_TAR_FORMAT=ustar
28683 export TEST_TAR_FORMAT
28684 TAR_OPTIONS="-H ustar"
28689 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
28690 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
28691 ) ) >"$at_stdout" 2>"$at_stder1"
28692 at_func_filter_trace $?
28697 TEST_TAR_FORMAT=ustar
28698 export TEST_TAR_FORMAT
28699 TAR_OPTIONS="-H ustar"
28704 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
28705 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
28706 ) ) >"$at_stdout" 2>"$at_stderr"
28710 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
28711 tar: Exiting with failure status due to previous errors
28713 $at_diff - "$at_stderr" || at_failed=:
28714 at_func_diff_devnull "$at_stdout" || at_failed=:
28715 at_func_check_status 2 $at_status "$at_srcdir/lustar02.at:32"
28717 $at_failed && at_func_log_failure
28724 $at_times_p && times >"$at_times_file"
28725 ) 5>&1 2>&1 | eval $at_tee_pipe
28726 at_status=`cat "$at_status_file"`
28729 # 75. lustar03.at:21: ustar: splitting long names
28730 at_setup_line='lustar03.at:21'
28731 at_desc="ustar: splitting long names"
28732 $at_quiet $as_echo_n " 75: $at_desc "
28734 test -f $XFAILFILE && at_xfail=yes
28735 echo "# -*- compilation -*-" >> "$at_group_log"
28737 $as_echo "75. lustar03.at:21: testing ..."
28749 $as_echo "$at_srcdir/lustar03.at:29:
28752 TEST_TAR_FORMAT=ustar
28753 export TEST_TAR_FORMAT
28754 TAR_OPTIONS=\"-H ustar\"
28759 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
28760 echo \"Create archive\"
28761 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
28762 echo \"List archive\"
28764 echo lustar03.at:29 >"$at_check_line_file"
28766 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28771 TEST_TAR_FORMAT=ustar
28772 export TEST_TAR_FORMAT
28773 TAR_OPTIONS="-H ustar"
28778 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
28779 echo "Create archive"
28780 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
28781 echo "List archive"
28782 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
28783 at_func_filter_trace $?
28788 TEST_TAR_FORMAT=ustar
28789 export TEST_TAR_FORMAT
28790 TAR_OPTIONS="-H ustar"
28795 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
28796 echo "Create archive"
28797 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
28798 echo "List archive"
28799 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
28803 at_func_diff_devnull "$at_stderr" || at_failed=:
28804 echo >>"$at_stdout"; $as_echo "Create archive
28806 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/
28807 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
28809 $at_diff - "$at_stdout" || at_failed=:
28810 at_func_check_status 0 $at_status "$at_srcdir/lustar03.at:29"
28812 $at_failed && at_func_log_failure
28819 $at_times_p && times >"$at_times_file"
28820 ) 5>&1 2>&1 | eval $at_tee_pipe
28821 at_status=`cat "$at_status_file"`
28824 # 76. multiv01.at:23: multivolume dumps from pipes
28825 at_setup_line='multiv01.at:23'
28826 at_desc="multivolume dumps from pipes"
28827 $at_quiet $as_echo_n " 76: $at_desc "
28829 test -f $XFAILFILE && at_xfail=yes
28830 echo "# -*- compilation -*-" >> "$at_group_log"
28832 $as_echo "76. multiv01.at:23: testing ..."
28837 # Fixme: should be configurable
28838 # TRUSS=truss -o /tmp/tr
28844 $as_echo "$at_srcdir/multiv01.at:30:
28847 TEST_TAR_FORMAT=gnu
28848 export TEST_TAR_FORMAT
28849 TAR_OPTIONS=\"-H gnu\"
28854 genfile --length 7168 --file file1
28856 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
28857 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
28858 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
28859 for count in 2 3 4 5 6 7 8 ; do
28860 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
28864 if test \$TEST_TAR_FORMAT = pax; then
28870 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
28871 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
28873 mkdir extract-dir-pipe
28874 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
28875 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
28876 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
28877 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
28879 cmp file1 extract-dir-pipe/file1
28880 cmp file2 extract-dir-pipe/file2
28882 echo multiv01.at:30 >"$at_check_line_file"
28884 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
28889 TEST_TAR_FORMAT=gnu
28890 export TEST_TAR_FORMAT
28891 TAR_OPTIONS="-H gnu"
28896 genfile --length 7168 --file file1
28898 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
28899 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
28900 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
28901 for count in 2 3 4 5 6 7 8 ; do
28902 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
28906 if test $TEST_TAR_FORMAT = pax; then
28912 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
28913 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
28915 mkdir extract-dir-pipe
28916 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
28917 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
28918 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
28919 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
28921 cmp file1 extract-dir-pipe/file1
28922 cmp file2 extract-dir-pipe/file2
28923 ) ) >"$at_stdout" 2>"$at_stder1"
28924 at_func_filter_trace $?
28929 TEST_TAR_FORMAT=gnu
28930 export TEST_TAR_FORMAT
28931 TAR_OPTIONS="-H gnu"
28936 genfile --length 7168 --file file1
28938 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
28939 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
28940 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
28941 for count in 2 3 4 5 6 7 8 ; do
28942 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
28946 if test $TEST_TAR_FORMAT = pax; then
28952 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
28953 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
28955 mkdir extract-dir-pipe
28956 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
28957 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
28958 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
28959 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
28961 cmp file1 extract-dir-pipe/file1
28962 cmp file2 extract-dir-pipe/file2
28963 ) ) >"$at_stdout" 2>"$at_stderr"
28967 at_func_diff_devnull "$at_stderr" || at_failed=:
28968 at_func_diff_devnull "$at_stdout" || at_failed=:
28969 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
28971 $at_failed && at_func_log_failure
28975 $as_echo "$at_srcdir/multiv01.at:30:
28978 TEST_TAR_FORMAT=oldgnu
28979 export TEST_TAR_FORMAT
28980 TAR_OPTIONS=\"-H oldgnu\"
28985 genfile --length 7168 --file file1
28987 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
28988 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
28989 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
28990 for count in 2 3 4 5 6 7 8 ; do
28991 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
28995 if test \$TEST_TAR_FORMAT = pax; then
29001 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
29002 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29004 mkdir extract-dir-pipe
29005 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29006 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
29007 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
29008 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
29010 cmp file1 extract-dir-pipe/file1
29011 cmp file2 extract-dir-pipe/file2
29013 echo multiv01.at:30 >"$at_check_line_file"
29015 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
29020 TEST_TAR_FORMAT=oldgnu
29021 export TEST_TAR_FORMAT
29022 TAR_OPTIONS="-H oldgnu"
29027 genfile --length 7168 --file file1
29029 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29030 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29031 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29032 for count in 2 3 4 5 6 7 8 ; do
29033 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29037 if test $TEST_TAR_FORMAT = pax; then
29043 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29044 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29046 mkdir extract-dir-pipe
29047 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29048 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
29049 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
29050 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
29052 cmp file1 extract-dir-pipe/file1
29053 cmp file2 extract-dir-pipe/file2
29054 ) ) >"$at_stdout" 2>"$at_stder1"
29055 at_func_filter_trace $?
29060 TEST_TAR_FORMAT=oldgnu
29061 export TEST_TAR_FORMAT
29062 TAR_OPTIONS="-H oldgnu"
29067 genfile --length 7168 --file file1
29069 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29070 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29071 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29072 for count in 2 3 4 5 6 7 8 ; do
29073 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29077 if test $TEST_TAR_FORMAT = pax; then
29083 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29084 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29086 mkdir extract-dir-pipe
29087 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29088 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
29089 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
29090 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
29092 cmp file1 extract-dir-pipe/file1
29093 cmp file2 extract-dir-pipe/file2
29094 ) ) >"$at_stdout" 2>"$at_stderr"
29098 at_func_diff_devnull "$at_stderr" || at_failed=:
29099 at_func_diff_devnull "$at_stdout" || at_failed=:
29100 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
29102 $at_failed && at_func_log_failure
29106 $as_echo "$at_srcdir/multiv01.at:30:
29109 TEST_TAR_FORMAT=pax
29110 export TEST_TAR_FORMAT
29111 TAR_OPTIONS=\"-H pax\"
29116 genfile --length 7168 --file file1
29118 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
29119 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
29120 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
29121 for count in 2 3 4 5 6 7 8 ; do
29122 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
29126 if test \$TEST_TAR_FORMAT = pax; then
29132 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
29133 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29135 mkdir extract-dir-pipe
29136 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29137 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
29138 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \\
29139 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
29141 cmp file1 extract-dir-pipe/file1
29142 cmp file2 extract-dir-pipe/file2
29144 echo multiv01.at:30 >"$at_check_line_file"
29146 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
29151 TEST_TAR_FORMAT=pax
29152 export TEST_TAR_FORMAT
29153 TAR_OPTIONS="-H pax"
29158 genfile --length 7168 --file file1
29160 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29161 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29162 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29163 for count in 2 3 4 5 6 7 8 ; do
29164 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29168 if test $TEST_TAR_FORMAT = pax; then
29174 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29175 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29177 mkdir extract-dir-pipe
29178 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29179 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
29180 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
29181 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
29183 cmp file1 extract-dir-pipe/file1
29184 cmp file2 extract-dir-pipe/file2
29185 ) ) >"$at_stdout" 2>"$at_stder1"
29186 at_func_filter_trace $?
29191 TEST_TAR_FORMAT=pax
29192 export TEST_TAR_FORMAT
29193 TAR_OPTIONS="-H pax"
29198 genfile --length 7168 --file file1
29200 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
29201 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
29202 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29203 for count in 2 3 4 5 6 7 8 ; do
29204 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
29208 if test $TEST_TAR_FORMAT = pax; then
29214 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
29215 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
29217 mkdir extract-dir-pipe
29218 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
29219 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
29220 -C extract-dir-pipe -x --multi-volume --warning=no-timestamp \
29221 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
29223 cmp file1 extract-dir-pipe/file1
29224 cmp file2 extract-dir-pipe/file2
29225 ) ) >"$at_stdout" 2>"$at_stderr"
29229 at_func_diff_devnull "$at_stderr" || at_failed=:
29230 at_func_diff_devnull "$at_stdout" || at_failed=:
29231 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
29233 $at_failed && at_func_log_failure
29240 $at_times_p && times >"$at_times_file"
29241 ) 5>&1 2>&1 | eval $at_tee_pipe
29242 at_status=`cat "$at_status_file"`
29245 # 77. multiv02.at:28: skipping a straddling member
29246 at_setup_line='multiv02.at:28'
29247 at_desc="skipping a straddling member"
29248 $at_quiet $as_echo_n " 77: $at_desc "
29250 test -f $XFAILFILE && at_xfail=yes
29251 echo "# -*- compilation -*-" >> "$at_group_log"
29253 $as_echo "77. multiv02.at:28: testing ..."
29261 $as_echo "$at_srcdir/multiv02.at:31:
29264 TEST_TAR_FORMAT=gnu
29265 export TEST_TAR_FORMAT
29266 TAR_OPTIONS=\"-H gnu\"
29270 genfile --length 10240 --file en
29271 genfile --length 20000 --file to
29272 genfile --length 20000 --file tre
29273 genfile --length 10240 --file fire
29277 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29279 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29281 echo multiv02.at:31 >"$at_check_line_file"
29283 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29288 TEST_TAR_FORMAT=gnu
29289 export TEST_TAR_FORMAT
29290 TAR_OPTIONS="-H gnu"
29294 genfile --length 10240 --file en
29295 genfile --length 20000 --file to
29296 genfile --length 20000 --file tre
29297 genfile --length 10240 --file fire
29301 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29303 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29304 ) ) >"$at_stdout" 2>"$at_stder1"
29305 at_func_filter_trace $?
29310 TEST_TAR_FORMAT=gnu
29311 export TEST_TAR_FORMAT
29312 TAR_OPTIONS="-H gnu"
29316 genfile --length 10240 --file en
29317 genfile --length 20000 --file to
29318 genfile --length 20000 --file tre
29319 genfile --length 10240 --file fire
29323 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29325 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29326 ) ) >"$at_stdout" 2>"$at_stderr"
29330 at_func_diff_devnull "$at_stderr" || at_failed=:
29331 echo >>"$at_stdout"; $as_echo "separator
29334 $at_diff - "$at_stdout" || at_failed=:
29335 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
29337 $at_failed && at_func_log_failure
29341 $as_echo "$at_srcdir/multiv02.at:31:
29344 TEST_TAR_FORMAT=oldgnu
29345 export TEST_TAR_FORMAT
29346 TAR_OPTIONS=\"-H oldgnu\"
29350 genfile --length 10240 --file en
29351 genfile --length 20000 --file to
29352 genfile --length 20000 --file tre
29353 genfile --length 10240 --file fire
29357 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29359 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29361 echo multiv02.at:31 >"$at_check_line_file"
29363 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29368 TEST_TAR_FORMAT=oldgnu
29369 export TEST_TAR_FORMAT
29370 TAR_OPTIONS="-H oldgnu"
29374 genfile --length 10240 --file en
29375 genfile --length 20000 --file to
29376 genfile --length 20000 --file tre
29377 genfile --length 10240 --file fire
29381 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29383 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29384 ) ) >"$at_stdout" 2>"$at_stder1"
29385 at_func_filter_trace $?
29390 TEST_TAR_FORMAT=oldgnu
29391 export TEST_TAR_FORMAT
29392 TAR_OPTIONS="-H oldgnu"
29396 genfile --length 10240 --file en
29397 genfile --length 20000 --file to
29398 genfile --length 20000 --file tre
29399 genfile --length 10240 --file fire
29403 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29405 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29406 ) ) >"$at_stdout" 2>"$at_stderr"
29410 at_func_diff_devnull "$at_stderr" || at_failed=:
29411 echo >>"$at_stdout"; $as_echo "separator
29414 $at_diff - "$at_stdout" || at_failed=:
29415 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
29417 $at_failed && at_func_log_failure
29421 $as_echo "$at_srcdir/multiv02.at:31:
29424 TEST_TAR_FORMAT=pax
29425 export TEST_TAR_FORMAT
29426 TAR_OPTIONS=\"-H pax\"
29430 genfile --length 10240 --file en
29431 genfile --length 20000 --file to
29432 genfile --length 20000 --file tre
29433 genfile --length 10240 --file fire
29437 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29439 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29441 echo multiv02.at:31 >"$at_check_line_file"
29443 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29448 TEST_TAR_FORMAT=pax
29449 export TEST_TAR_FORMAT
29450 TAR_OPTIONS="-H pax"
29454 genfile --length 10240 --file en
29455 genfile --length 20000 --file to
29456 genfile --length 20000 --file tre
29457 genfile --length 10240 --file fire
29461 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29463 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29464 ) ) >"$at_stdout" 2>"$at_stder1"
29465 at_func_filter_trace $?
29470 TEST_TAR_FORMAT=pax
29471 export TEST_TAR_FORMAT
29472 TAR_OPTIONS="-H pax"
29476 genfile --length 10240 --file en
29477 genfile --length 20000 --file to
29478 genfile --length 20000 --file tre
29479 genfile --length 10240 --file fire
29483 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
29485 tar -v -x -f A.tar -f B.tar -f C.tar -M en --warning=no-timestamp || exit 1
29486 ) ) >"$at_stdout" 2>"$at_stderr"
29490 at_func_diff_devnull "$at_stderr" || at_failed=:
29491 echo >>"$at_stdout"; $as_echo "separator
29494 $at_diff - "$at_stdout" || at_failed=:
29495 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
29497 $at_failed && at_func_log_failure
29504 $at_times_p && times >"$at_times_file"
29505 ) 5>&1 2>&1 | eval $at_tee_pipe
29506 at_status=`cat "$at_status_file"`
29509 # 78. multiv03.at:30: MV archive & long filenames
29510 at_setup_line='multiv03.at:30'
29511 at_desc="MV archive & long filenames"
29512 $at_quiet $as_echo_n " 78: $at_desc "
29514 test -f $XFAILFILE && at_xfail=yes
29515 echo "# -*- compilation -*-" >> "$at_group_log"
29517 $as_echo "78. multiv03.at:30: testing ..."
29525 $as_echo "$at_srcdir/multiv03.at:33:
29528 TEST_TAR_FORMAT=gnu
29529 export TEST_TAR_FORMAT
29530 TAR_OPTIONS=\"-H gnu\"
29534 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
29535 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
29537 cat > ../experr <<EOF
29538 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
29539 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
29542 cat > ../expout <<EOF
29548 genfile --length 15360 --file \$AFILE
29552 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
29553 tar -tM -f arch.1 -f arch.2 || exit 1
29557 genfile --length 15360 --file \$BFILE
29558 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
29562 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29565 echo multiv03.at:33 >"$at_check_line_file"
29567 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29572 TEST_TAR_FORMAT=gnu
29573 export TEST_TAR_FORMAT
29574 TAR_OPTIONS="-H gnu"
29578 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
29579 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
29581 cat > ../experr <<EOF
29582 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
29583 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
29586 cat > ../expout <<EOF
29592 genfile --length 15360 --file $AFILE
29596 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
29597 tar -tM -f arch.1 -f arch.2 || exit 1
29601 genfile --length 15360 --file $BFILE
29602 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
29606 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29608 ) ) >"$at_stdout" 2>"$at_stder1"
29609 at_func_filter_trace $?
29614 TEST_TAR_FORMAT=gnu
29615 export TEST_TAR_FORMAT
29616 TAR_OPTIONS="-H gnu"
29620 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
29621 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
29623 cat > ../experr <<EOF
29624 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
29625 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
29628 cat > ../expout <<EOF
29634 genfile --length 15360 --file $AFILE
29638 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
29639 tar -tM -f arch.1 -f arch.2 || exit 1
29643 genfile --length 15360 --file $BFILE
29644 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
29648 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29650 ) ) >"$at_stdout" 2>"$at_stderr"
29654 $at_diff experr "$at_stderr" || at_failed=:
29655 $at_diff expout "$at_stdout" || at_failed=:
29656 at_func_check_status 0 $at_status "$at_srcdir/multiv03.at:33"
29658 $at_failed && at_func_log_failure
29662 $as_echo "$at_srcdir/multiv03.at:33:
29665 TEST_TAR_FORMAT=oldgnu
29666 export TEST_TAR_FORMAT
29667 TAR_OPTIONS=\"-H oldgnu\"
29671 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
29672 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
29674 cat > ../experr <<EOF
29675 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
29676 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
29679 cat > ../expout <<EOF
29685 genfile --length 15360 --file \$AFILE
29689 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
29690 tar -tM -f arch.1 -f arch.2 || exit 1
29694 genfile --length 15360 --file \$BFILE
29695 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
29699 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29702 echo multiv03.at:33 >"$at_check_line_file"
29704 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29709 TEST_TAR_FORMAT=oldgnu
29710 export TEST_TAR_FORMAT
29711 TAR_OPTIONS="-H oldgnu"
29715 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
29716 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
29718 cat > ../experr <<EOF
29719 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
29720 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
29723 cat > ../expout <<EOF
29729 genfile --length 15360 --file $AFILE
29733 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
29734 tar -tM -f arch.1 -f arch.2 || exit 1
29738 genfile --length 15360 --file $BFILE
29739 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
29743 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29745 ) ) >"$at_stdout" 2>"$at_stder1"
29746 at_func_filter_trace $?
29751 TEST_TAR_FORMAT=oldgnu
29752 export TEST_TAR_FORMAT
29753 TAR_OPTIONS="-H oldgnu"
29757 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
29758 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
29760 cat > ../experr <<EOF
29761 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
29762 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
29765 cat > ../expout <<EOF
29771 genfile --length 15360 --file $AFILE
29775 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
29776 tar -tM -f arch.1 -f arch.2 || exit 1
29780 genfile --length 15360 --file $BFILE
29781 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
29785 tar -M -x -f arch.1 -f arch.2 --warning=no-timestamp || exit 1
29787 ) ) >"$at_stdout" 2>"$at_stderr"
29791 $at_diff experr "$at_stderr" || at_failed=:
29792 $at_diff expout "$at_stdout" || at_failed=:
29793 at_func_check_status 0 $at_status "$at_srcdir/multiv03.at:33"
29795 $at_failed && at_func_log_failure
29802 $at_times_p && times >"$at_times_file"
29803 ) 5>&1 2>&1 | eval $at_tee_pipe
29804 at_status=`cat "$at_status_file"`
29807 # 79. multiv04.at:36: split directory members in a MV archive
29808 at_setup_line='multiv04.at:36'
29809 at_desc="split directory members in a MV archive"
29810 $at_quiet $as_echo_n " 79: $at_desc "
29812 test -f $XFAILFILE && at_xfail=yes
29813 echo "# -*- compilation -*-" >> "$at_group_log"
29815 $as_echo "79. multiv04.at:36: testing ..."
29823 $as_echo "$at_srcdir/multiv04.at:39:
29826 TEST_TAR_FORMAT=gnu
29827 export TEST_TAR_FORMAT
29828 TAR_OPTIONS=\"-H gnu\"
29834 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
29840 tar --listed-incremental=list -c -f archive.a directory
29844 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
29848 tar -MRt -f arc.1 -f arc.2)"
29849 echo multiv04.at:39 >"$at_check_line_file"
29851 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29856 TEST_TAR_FORMAT=gnu
29857 export TEST_TAR_FORMAT
29858 TAR_OPTIONS="-H gnu"
29864 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
29870 tar --listed-incremental=list -c -f archive.a directory
29874 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
29878 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stder1"
29879 at_func_filter_trace $?
29884 TEST_TAR_FORMAT=gnu
29885 export TEST_TAR_FORMAT
29886 TAR_OPTIONS="-H gnu"
29892 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
29898 tar --listed-incremental=list -c -f archive.a directory
29902 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
29906 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stderr"
29910 at_func_diff_devnull "$at_stderr" || at_failed=:
29911 echo >>"$at_stdout"; $as_echo "directory/
29913 block 0: directory/
29914 block 35: ** Block of NULs **
29916 $at_diff - "$at_stdout" || at_failed=:
29917 at_func_check_status 0 $at_status "$at_srcdir/multiv04.at:39"
29919 $at_failed && at_func_log_failure
29923 $as_echo "$at_srcdir/multiv04.at:39:
29926 TEST_TAR_FORMAT=oldgnu
29927 export TEST_TAR_FORMAT
29928 TAR_OPTIONS=\"-H oldgnu\"
29934 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
29940 tar --listed-incremental=list -c -f archive.a directory
29944 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
29948 tar -MRt -f arc.1 -f arc.2)"
29949 echo multiv04.at:39 >"$at_check_line_file"
29951 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29956 TEST_TAR_FORMAT=oldgnu
29957 export TEST_TAR_FORMAT
29958 TAR_OPTIONS="-H oldgnu"
29964 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
29970 tar --listed-incremental=list -c -f archive.a directory
29974 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
29978 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stder1"
29979 at_func_filter_trace $?
29984 TEST_TAR_FORMAT=oldgnu
29985 export TEST_TAR_FORMAT
29986 TAR_OPTIONS="-H oldgnu"
29992 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
29998 tar --listed-incremental=list -c -f archive.a directory
30002 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
30006 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stderr"
30010 at_func_diff_devnull "$at_stderr" || at_failed=:
30011 echo >>"$at_stdout"; $as_echo "directory/
30013 block 0: directory/
30014 block 35: ** Block of NULs **
30016 $at_diff - "$at_stdout" || at_failed=:
30017 at_func_check_status 0 $at_status "$at_srcdir/multiv04.at:39"
30019 $at_failed && at_func_log_failure
30026 $at_times_p && times >"$at_times_file"
30027 ) 5>&1 2>&1 | eval $at_tee_pipe
30028 at_status=`cat "$at_status_file"`
30031 # 80. multiv05.at:26: Restoring after an out of sync volume
30032 at_setup_line='multiv05.at:26'
30033 at_desc="Restoring after an out of sync volume"
30034 $at_quiet $as_echo_n " 80: $at_desc "
30036 test -f $XFAILFILE && at_xfail=yes
30037 echo "# -*- compilation -*-" >> "$at_group_log"
30039 $as_echo "80. multiv05.at:26: testing ..."
30048 $as_echo "$at_srcdir/multiv05.at:30:
30051 TEST_TAR_FORMAT=gnu
30052 export TEST_TAR_FORMAT
30053 TAR_OPTIONS=\"-H gnu\"
30059 genfile --length 250k --file jeden
30060 genfile --length 250k --file dwa
30061 genfile --length 250k --file trzy
30062 genfile --length 250k --file cztery
30063 genfile --length 250k --file piec
30064 genfile --length 250k --file szesc
30067 echo Creating archive
30068 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
30071 mv jeden dwa trzy cztery piec szesc bak
30072 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
30074 cmp bak/jeden jeden || exit 1
30076 cmp bak/dwa dwa || exit 1
30078 cmp bak/trzy trzy || exit 1
30079 echo Diffing cztery
30080 cmp bak/cztery cztery || exit 1
30082 cmp bak/piec piec || exit 1
30084 cmp bak/szesc szesc || exit 1
30086 echo multiv05.at:30 >"$at_check_line_file"
30088 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30093 TEST_TAR_FORMAT=gnu
30094 export TEST_TAR_FORMAT
30095 TAR_OPTIONS="-H gnu"
30101 genfile --length 250k --file jeden
30102 genfile --length 250k --file dwa
30103 genfile --length 250k --file trzy
30104 genfile --length 250k --file cztery
30105 genfile --length 250k --file piec
30106 genfile --length 250k --file szesc
30109 echo Creating archive
30110 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
30113 mv jeden dwa trzy cztery piec szesc bak
30114 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
30116 cmp bak/jeden jeden || exit 1
30118 cmp bak/dwa dwa || exit 1
30120 cmp bak/trzy trzy || exit 1
30121 echo Diffing cztery
30122 cmp bak/cztery cztery || exit 1
30124 cmp bak/piec piec || exit 1
30126 cmp bak/szesc szesc || exit 1
30127 ) ) >"$at_stdout" 2>"$at_stder1"
30128 at_func_filter_trace $?
30133 TEST_TAR_FORMAT=gnu
30134 export TEST_TAR_FORMAT
30135 TAR_OPTIONS="-H gnu"
30141 genfile --length 250k --file jeden
30142 genfile --length 250k --file dwa
30143 genfile --length 250k --file trzy
30144 genfile --length 250k --file cztery
30145 genfile --length 250k --file piec
30146 genfile --length 250k --file szesc
30149 echo Creating archive
30150 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
30153 mv jeden dwa trzy cztery piec szesc bak
30154 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
30156 cmp bak/jeden jeden || exit 1
30158 cmp bak/dwa dwa || exit 1
30160 cmp bak/trzy trzy || exit 1
30161 echo Diffing cztery
30162 cmp bak/cztery cztery || exit 1
30164 cmp bak/piec piec || exit 1
30166 cmp bak/szesc szesc || exit 1
30167 ) ) >"$at_stdout" 2>"$at_stderr"
30171 echo >>"$at_stderr"; $as_echo "tar: \`trzy' is not continued on this volume
30173 $at_diff - "$at_stderr" || at_failed=:
30174 echo >>"$at_stdout"; $as_echo "Creating archive
30189 $at_diff - "$at_stdout" || at_failed=:
30190 at_func_check_status 0 $at_status "$at_srcdir/multiv05.at:30"
30192 $at_failed && at_func_log_failure
30199 $at_times_p && times >"$at_times_file"
30200 ) 5>&1 2>&1 | eval $at_tee_pipe
30201 at_status=`cat "$at_status_file"`
30204 # 81. multiv06.at:27: Multivolumes with L=record_size
30205 at_setup_line='multiv06.at:27'
30206 at_desc="Multivolumes with L=record_size"
30207 $at_quiet $as_echo_n " 81: $at_desc "
30209 test -f $XFAILFILE && at_xfail=yes
30210 echo "# -*- compilation -*-" >> "$at_group_log"
30212 $as_echo "81. multiv06.at:27: testing ..."
30220 $as_echo "$at_srcdir/multiv06.at:30:
30223 TEST_TAR_FORMAT=gnu
30224 export TEST_TAR_FORMAT
30225 TAR_OPTIONS=\"-H gnu\"
30230 decho Creating file
30231 genfile --length 20139 --file file
30232 decho Creating archive
30233 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30234 decho Testing archive
30235 tar -t -M -farc.1 -farc.2 -farc.3)"
30236 echo multiv06.at:30 >"$at_check_line_file"
30238 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30243 TEST_TAR_FORMAT=gnu
30244 export TEST_TAR_FORMAT
30245 TAR_OPTIONS="-H gnu"
30250 decho Creating file
30251 genfile --length 20139 --file file
30252 decho Creating archive
30253 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30254 decho Testing archive
30255 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
30256 at_func_filter_trace $?
30261 TEST_TAR_FORMAT=gnu
30262 export TEST_TAR_FORMAT
30263 TAR_OPTIONS="-H gnu"
30268 decho Creating file
30269 genfile --length 20139 --file file
30270 decho Creating archive
30271 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30272 decho Testing archive
30273 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
30277 echo >>"$at_stderr"; $as_echo "Creating file
30281 $at_diff - "$at_stderr" || at_failed=:
30282 echo >>"$at_stdout"; $as_echo "Creating file
30287 $at_diff - "$at_stdout" || at_failed=:
30288 at_func_check_status 0 $at_status "$at_srcdir/multiv06.at:30"
30290 $at_failed && at_func_log_failure
30294 $as_echo "$at_srcdir/multiv06.at:30:
30297 TEST_TAR_FORMAT=pax
30298 export TEST_TAR_FORMAT
30299 TAR_OPTIONS=\"-H pax\"
30304 decho Creating file
30305 genfile --length 20139 --file file
30306 decho Creating archive
30307 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30308 decho Testing archive
30309 tar -t -M -farc.1 -farc.2 -farc.3)"
30310 echo multiv06.at:30 >"$at_check_line_file"
30312 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30317 TEST_TAR_FORMAT=pax
30318 export TEST_TAR_FORMAT
30319 TAR_OPTIONS="-H pax"
30324 decho Creating file
30325 genfile --length 20139 --file file
30326 decho Creating archive
30327 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30328 decho Testing archive
30329 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
30330 at_func_filter_trace $?
30335 TEST_TAR_FORMAT=pax
30336 export TEST_TAR_FORMAT
30337 TAR_OPTIONS="-H pax"
30342 decho Creating file
30343 genfile --length 20139 --file file
30344 decho Creating archive
30345 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
30346 decho Testing archive
30347 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
30351 echo >>"$at_stderr"; $as_echo "Creating file
30355 $at_diff - "$at_stderr" || at_failed=:
30356 echo >>"$at_stdout"; $as_echo "Creating file
30361 $at_diff - "$at_stdout" || at_failed=:
30362 at_func_check_status 0 $at_status "$at_srcdir/multiv06.at:30"
30364 $at_failed && at_func_log_failure
30371 $at_times_p && times >"$at_times_file"
30372 ) 5>&1 2>&1 | eval $at_tee_pipe
30373 at_status=`cat "$at_status_file"`
30376 # 82. multiv07.at:26: volumes split at an extended header
30377 at_setup_line='multiv07.at:26'
30378 at_desc="volumes split at an extended header"
30379 $at_quiet $as_echo_n " 82: $at_desc "
30381 test -f \$XFAILFILE && at_xfail=yes
30382 test -f $XFAILFILE && at_xfail=yes
30383 test -f $XFAILFILE && at_xfail=yes
30384 echo "# -*- compilation -*-" >> "$at_group_log"
30386 $as_echo "82. multiv07.at:26: testing ..."
30392 $as_echo "$at_srcdir/multiv07.at:29:
30395 test -z "$TEST_DATA_DIR" && exit 77
30396 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30398 test -z "$TEST_DATA_DIR" && exit 77
30399 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30404 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
30406 echo multiv07.at:29 >"$at_check_line_file"
30408 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30413 test -z "$TEST_DATA_DIR" && exit 77
30414 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30416 test -z "$TEST_DATA_DIR" && exit 77
30417 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30422 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
30423 ) >"$at_stdout" 2>"$at_stder1"
30424 at_func_filter_trace $?
30429 test -z "$TEST_DATA_DIR" && exit 77
30430 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30432 test -z "$TEST_DATA_DIR" && exit 77
30433 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
30438 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
30439 ) >"$at_stdout" 2>"$at_stderr"
30443 at_func_diff_devnull "$at_stderr" || at_failed=:
30444 echo >>"$at_stdout"; $as_echo "Archive volumes split at an extended header Volume 1
30448 $at_diff - "$at_stdout" || at_failed=:
30449 at_func_check_status 0 $at_status "$at_srcdir/multiv07.at:29"
30451 $at_failed && at_func_log_failure
30456 $at_times_p && times >"$at_times_file"
30457 ) 5>&1 2>&1 | eval $at_tee_pipe
30458 at_status=`cat "$at_status_file"`
30461 # 83. multiv08.at:23: multivolume header creation
30462 at_setup_line='multiv08.at:23'
30463 at_desc="multivolume header creation"
30464 $at_quiet $as_echo_n " 83: $at_desc "
30466 test -f $XFAILFILE && at_xfail=yes
30467 echo "# -*- compilation -*-" >> "$at_group_log"
30469 $as_echo "83. multiv08.at:23: testing ..."
30477 $as_echo "$at_srcdir/multiv08.at:26:
30480 TEST_TAR_FORMAT=gnu
30481 export TEST_TAR_FORMAT
30482 TAR_OPTIONS=\"-H gnu\"
30486 genfile --length 9472 --file a
30487 genfile --length 9984 --file b
30489 tar -c -M -L10 -f A.tar -f B.tar -f C.tar a b
30491 tar -tMR -f A.tar -f B.tar -f C.tar
30493 echo multiv08.at:26 >"$at_check_line_file"
30495 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30500 TEST_TAR_FORMAT=gnu
30501 export TEST_TAR_FORMAT
30502 TAR_OPTIONS="-H gnu"
30506 genfile --length 9472 --file a
30507 genfile --length 9984 --file b
30509 tar -c -M -L10 -f A.tar -f B.tar -f C.tar a b
30511 tar -tMR -f A.tar -f B.tar -f C.tar
30512 ) ) >"$at_stdout" 2>"$at_stder1"
30513 at_func_filter_trace $?
30518 TEST_TAR_FORMAT=gnu
30519 export TEST_TAR_FORMAT
30520 TAR_OPTIONS="-H gnu"
30524 genfile --length 9472 --file a
30525 genfile --length 9984 --file b
30527 tar -c -M -L10 -f A.tar -f B.tar -f C.tar a b
30529 tar -tMR -f A.tar -f B.tar -f C.tar
30530 ) ) >"$at_stdout" 2>"$at_stderr"
30534 echo >>"$at_stderr"; $as_echo "Creating
30537 $at_diff - "$at_stderr" || at_failed=:
30538 echo >>"$at_stdout"; $as_echo "Creating
30542 block 43: ** Block of NULs **
30544 $at_diff - "$at_stdout" || at_failed=:
30545 at_func_check_status 0 $at_status "$at_srcdir/multiv08.at:26"
30547 $at_failed && at_func_log_failure
30554 $at_times_p && times >"$at_times_file"
30555 ) 5>&1 2>&1 | eval $at_tee_pipe
30556 at_status=`cat "$at_status_file"`
30559 # 84. old.at:23: old archives
30560 at_setup_line='old.at:23'
30561 at_desc="old archives"
30562 $at_quiet $as_echo_n " 84: $at_desc "
30564 echo "# -*- compilation -*-" >> "$at_group_log"
30566 $as_echo "84. old.at:23: testing ..."
30573 $as_echo "$at_srcdir/old.at:27:
30575 tar cfvo archive directory || exit 1
30578 echo old.at:27 >"$at_check_line_file"
30580 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30584 tar cfvo archive directory || exit 1
30586 ) >"$at_stdout" 2>"$at_stder1"
30587 at_func_filter_trace $?
30591 tar cfvo archive directory || exit 1
30593 ) >"$at_stdout" 2>"$at_stderr"
30597 at_func_diff_devnull "$at_stderr" || at_failed=:
30598 echo >>"$at_stdout"; $as_echo "directory/
30601 $at_diff - "$at_stdout" || at_failed=:
30602 at_func_check_status 0 $at_status "$at_srcdir/old.at:27"
30604 $at_failed && at_func_log_failure
30609 $at_times_p && times >"$at_times_file"
30610 ) 5>&1 2>&1 | eval $at_tee_pipe
30611 at_status=`cat "$at_status_file"`
30614 # 85. recurse.at:21: recurse
30615 at_setup_line='recurse.at:21'
30617 $at_quiet $as_echo_n " 85: $at_desc "
30619 test -f $XFAILFILE && at_xfail=yes
30620 echo "# -*- compilation -*-" >> "$at_group_log"
30622 $as_echo "85. recurse.at:21: testing ..."
30630 $as_echo "$at_srcdir/recurse.at:24:
30634 export TEST_TAR_FORMAT
30635 TAR_OPTIONS=\"-H v7\"
30640 touch directory/file
30641 tar --create --file archive --no-recursion directory || exit 1
30644 echo recurse.at:24 >"$at_check_line_file"
30646 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30652 export TEST_TAR_FORMAT
30653 TAR_OPTIONS="-H v7"
30658 touch directory/file
30659 tar --create --file archive --no-recursion directory || exit 1
30661 ) ) >"$at_stdout" 2>"$at_stder1"
30662 at_func_filter_trace $?
30668 export TEST_TAR_FORMAT
30669 TAR_OPTIONS="-H v7"
30674 touch directory/file
30675 tar --create --file archive --no-recursion directory || exit 1
30677 ) ) >"$at_stdout" 2>"$at_stderr"
30681 at_func_diff_devnull "$at_stderr" || at_failed=:
30682 echo >>"$at_stdout"; $as_echo "directory/
30684 $at_diff - "$at_stdout" || at_failed=:
30685 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
30687 $at_failed && at_func_log_failure
30691 $as_echo "$at_srcdir/recurse.at:24:
30694 TEST_TAR_FORMAT=oldgnu
30695 export TEST_TAR_FORMAT
30696 TAR_OPTIONS=\"-H oldgnu\"
30701 touch directory/file
30702 tar --create --file archive --no-recursion directory || exit 1
30705 echo recurse.at:24 >"$at_check_line_file"
30707 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30712 TEST_TAR_FORMAT=oldgnu
30713 export TEST_TAR_FORMAT
30714 TAR_OPTIONS="-H oldgnu"
30719 touch directory/file
30720 tar --create --file archive --no-recursion directory || exit 1
30722 ) ) >"$at_stdout" 2>"$at_stder1"
30723 at_func_filter_trace $?
30728 TEST_TAR_FORMAT=oldgnu
30729 export TEST_TAR_FORMAT
30730 TAR_OPTIONS="-H oldgnu"
30735 touch directory/file
30736 tar --create --file archive --no-recursion directory || exit 1
30738 ) ) >"$at_stdout" 2>"$at_stderr"
30742 at_func_diff_devnull "$at_stderr" || at_failed=:
30743 echo >>"$at_stdout"; $as_echo "directory/
30745 $at_diff - "$at_stdout" || at_failed=:
30746 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
30748 $at_failed && at_func_log_failure
30752 $as_echo "$at_srcdir/recurse.at:24:
30755 TEST_TAR_FORMAT=ustar
30756 export TEST_TAR_FORMAT
30757 TAR_OPTIONS=\"-H ustar\"
30762 touch directory/file
30763 tar --create --file archive --no-recursion directory || exit 1
30766 echo recurse.at:24 >"$at_check_line_file"
30768 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30773 TEST_TAR_FORMAT=ustar
30774 export TEST_TAR_FORMAT
30775 TAR_OPTIONS="-H ustar"
30780 touch directory/file
30781 tar --create --file archive --no-recursion directory || exit 1
30783 ) ) >"$at_stdout" 2>"$at_stder1"
30784 at_func_filter_trace $?
30789 TEST_TAR_FORMAT=ustar
30790 export TEST_TAR_FORMAT
30791 TAR_OPTIONS="-H ustar"
30796 touch directory/file
30797 tar --create --file archive --no-recursion directory || exit 1
30799 ) ) >"$at_stdout" 2>"$at_stderr"
30803 at_func_diff_devnull "$at_stderr" || at_failed=:
30804 echo >>"$at_stdout"; $as_echo "directory/
30806 $at_diff - "$at_stdout" || at_failed=:
30807 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
30809 $at_failed && at_func_log_failure
30813 $as_echo "$at_srcdir/recurse.at:24:
30816 TEST_TAR_FORMAT=posix
30817 export TEST_TAR_FORMAT
30818 TAR_OPTIONS=\"-H posix\"
30823 touch directory/file
30824 tar --create --file archive --no-recursion directory || exit 1
30827 echo recurse.at:24 >"$at_check_line_file"
30829 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30834 TEST_TAR_FORMAT=posix
30835 export TEST_TAR_FORMAT
30836 TAR_OPTIONS="-H posix"
30841 touch directory/file
30842 tar --create --file archive --no-recursion directory || exit 1
30844 ) ) >"$at_stdout" 2>"$at_stder1"
30845 at_func_filter_trace $?
30850 TEST_TAR_FORMAT=posix
30851 export TEST_TAR_FORMAT
30852 TAR_OPTIONS="-H posix"
30857 touch directory/file
30858 tar --create --file archive --no-recursion directory || exit 1
30860 ) ) >"$at_stdout" 2>"$at_stderr"
30864 at_func_diff_devnull "$at_stderr" || at_failed=:
30865 echo >>"$at_stdout"; $as_echo "directory/
30867 $at_diff - "$at_stdout" || at_failed=:
30868 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
30870 $at_failed && at_func_log_failure
30874 $as_echo "$at_srcdir/recurse.at:24:
30877 TEST_TAR_FORMAT=gnu
30878 export TEST_TAR_FORMAT
30879 TAR_OPTIONS=\"-H gnu\"
30884 touch directory/file
30885 tar --create --file archive --no-recursion directory || exit 1
30888 echo recurse.at:24 >"$at_check_line_file"
30890 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30895 TEST_TAR_FORMAT=gnu
30896 export TEST_TAR_FORMAT
30897 TAR_OPTIONS="-H gnu"
30902 touch directory/file
30903 tar --create --file archive --no-recursion directory || exit 1
30905 ) ) >"$at_stdout" 2>"$at_stder1"
30906 at_func_filter_trace $?
30911 TEST_TAR_FORMAT=gnu
30912 export TEST_TAR_FORMAT
30913 TAR_OPTIONS="-H gnu"
30918 touch directory/file
30919 tar --create --file archive --no-recursion directory || exit 1
30921 ) ) >"$at_stdout" 2>"$at_stderr"
30925 at_func_diff_devnull "$at_stderr" || at_failed=:
30926 echo >>"$at_stdout"; $as_echo "directory/
30928 $at_diff - "$at_stdout" || at_failed=:
30929 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
30931 $at_failed && at_func_log_failure
30938 $at_times_p && times >"$at_times_file"
30939 ) 5>&1 2>&1 | eval $at_tee_pipe
30940 at_status=`cat "$at_status_file"`
30943 # 86. same-order01.at:26: working -C with --same-order
30944 at_setup_line='same-order01.at:26'
30945 at_desc="working -C with --same-order"
30946 $at_quiet $as_echo_n " 86: $at_desc "
30948 test -f $XFAILFILE && at_xfail=yes
30949 echo "# -*- compilation -*-" >> "$at_group_log"
30951 $as_echo "86. same-order01.at:26: testing ..."
30959 $as_echo "$at_srcdir/same-order01.at:29:
30963 export TEST_TAR_FORMAT
30964 TAR_OPTIONS=\"-H v7\"
30969 test -z "`sort < /dev/null 2>&1`" || exit 77
30972 genfile -l 1024 -f file1
30973 genfile -l 1024 -f file2
30974 tar cf archive file1 file2
30977 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
30981 echo same-order01.at:29 >"$at_check_line_file"
30983 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30989 export TEST_TAR_FORMAT
30990 TAR_OPTIONS="-H v7"
30995 test -z "`sort < /dev/null 2>&1`" || exit 77
30998 genfile -l 1024 -f file1
30999 genfile -l 1024 -f file2
31000 tar cf archive file1 file2
31003 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31006 ) ) >"$at_stdout" 2>"$at_stder1"
31007 at_func_filter_trace $?
31013 export TEST_TAR_FORMAT
31014 TAR_OPTIONS="-H v7"
31019 test -z "`sort < /dev/null 2>&1`" || exit 77
31022 genfile -l 1024 -f file1
31023 genfile -l 1024 -f file2
31024 tar cf archive file1 file2
31027 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31030 ) ) >"$at_stdout" 2>"$at_stderr"
31034 at_func_diff_devnull "$at_stderr" || at_failed=:
31035 echo >>"$at_stdout"; $as_echo "file1
31038 $at_diff - "$at_stdout" || at_failed=:
31039 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
31041 $at_failed && at_func_log_failure
31045 $as_echo "$at_srcdir/same-order01.at:29:
31048 TEST_TAR_FORMAT=oldgnu
31049 export TEST_TAR_FORMAT
31050 TAR_OPTIONS=\"-H oldgnu\"
31055 test -z "`sort < /dev/null 2>&1`" || exit 77
31058 genfile -l 1024 -f file1
31059 genfile -l 1024 -f file2
31060 tar cf archive file1 file2
31063 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31067 echo same-order01.at:29 >"$at_check_line_file"
31069 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31074 TEST_TAR_FORMAT=oldgnu
31075 export TEST_TAR_FORMAT
31076 TAR_OPTIONS="-H oldgnu"
31081 test -z "`sort < /dev/null 2>&1`" || exit 77
31084 genfile -l 1024 -f file1
31085 genfile -l 1024 -f file2
31086 tar cf archive file1 file2
31089 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31092 ) ) >"$at_stdout" 2>"$at_stder1"
31093 at_func_filter_trace $?
31098 TEST_TAR_FORMAT=oldgnu
31099 export TEST_TAR_FORMAT
31100 TAR_OPTIONS="-H oldgnu"
31105 test -z "`sort < /dev/null 2>&1`" || exit 77
31108 genfile -l 1024 -f file1
31109 genfile -l 1024 -f file2
31110 tar cf archive file1 file2
31113 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31116 ) ) >"$at_stdout" 2>"$at_stderr"
31120 at_func_diff_devnull "$at_stderr" || at_failed=:
31121 echo >>"$at_stdout"; $as_echo "file1
31124 $at_diff - "$at_stdout" || at_failed=:
31125 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
31127 $at_failed && at_func_log_failure
31131 $as_echo "$at_srcdir/same-order01.at:29:
31134 TEST_TAR_FORMAT=ustar
31135 export TEST_TAR_FORMAT
31136 TAR_OPTIONS=\"-H ustar\"
31141 test -z "`sort < /dev/null 2>&1`" || exit 77
31144 genfile -l 1024 -f file1
31145 genfile -l 1024 -f file2
31146 tar cf archive file1 file2
31149 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31153 echo same-order01.at:29 >"$at_check_line_file"
31155 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31160 TEST_TAR_FORMAT=ustar
31161 export TEST_TAR_FORMAT
31162 TAR_OPTIONS="-H ustar"
31167 test -z "`sort < /dev/null 2>&1`" || exit 77
31170 genfile -l 1024 -f file1
31171 genfile -l 1024 -f file2
31172 tar cf archive file1 file2
31175 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31178 ) ) >"$at_stdout" 2>"$at_stder1"
31179 at_func_filter_trace $?
31184 TEST_TAR_FORMAT=ustar
31185 export TEST_TAR_FORMAT
31186 TAR_OPTIONS="-H ustar"
31191 test -z "`sort < /dev/null 2>&1`" || exit 77
31194 genfile -l 1024 -f file1
31195 genfile -l 1024 -f file2
31196 tar cf archive file1 file2
31199 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31202 ) ) >"$at_stdout" 2>"$at_stderr"
31206 at_func_diff_devnull "$at_stderr" || at_failed=:
31207 echo >>"$at_stdout"; $as_echo "file1
31210 $at_diff - "$at_stdout" || at_failed=:
31211 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
31213 $at_failed && at_func_log_failure
31217 $as_echo "$at_srcdir/same-order01.at:29:
31220 TEST_TAR_FORMAT=posix
31221 export TEST_TAR_FORMAT
31222 TAR_OPTIONS=\"-H posix\"
31227 test -z "`sort < /dev/null 2>&1`" || exit 77
31230 genfile -l 1024 -f file1
31231 genfile -l 1024 -f file2
31232 tar cf archive file1 file2
31235 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31239 echo same-order01.at:29 >"$at_check_line_file"
31241 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31246 TEST_TAR_FORMAT=posix
31247 export TEST_TAR_FORMAT
31248 TAR_OPTIONS="-H posix"
31253 test -z "`sort < /dev/null 2>&1`" || exit 77
31256 genfile -l 1024 -f file1
31257 genfile -l 1024 -f file2
31258 tar cf archive file1 file2
31261 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31264 ) ) >"$at_stdout" 2>"$at_stder1"
31265 at_func_filter_trace $?
31270 TEST_TAR_FORMAT=posix
31271 export TEST_TAR_FORMAT
31272 TAR_OPTIONS="-H posix"
31277 test -z "`sort < /dev/null 2>&1`" || exit 77
31280 genfile -l 1024 -f file1
31281 genfile -l 1024 -f file2
31282 tar cf archive file1 file2
31285 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31288 ) ) >"$at_stdout" 2>"$at_stderr"
31292 at_func_diff_devnull "$at_stderr" || at_failed=:
31293 echo >>"$at_stdout"; $as_echo "file1
31296 $at_diff - "$at_stdout" || at_failed=:
31297 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
31299 $at_failed && at_func_log_failure
31303 $as_echo "$at_srcdir/same-order01.at:29:
31306 TEST_TAR_FORMAT=gnu
31307 export TEST_TAR_FORMAT
31308 TAR_OPTIONS=\"-H gnu\"
31313 test -z "`sort < /dev/null 2>&1`" || exit 77
31316 genfile -l 1024 -f file1
31317 genfile -l 1024 -f file2
31318 tar cf archive file1 file2
31321 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31325 echo same-order01.at:29 >"$at_check_line_file"
31327 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31332 TEST_TAR_FORMAT=gnu
31333 export TEST_TAR_FORMAT
31334 TAR_OPTIONS="-H gnu"
31339 test -z "`sort < /dev/null 2>&1`" || exit 77
31342 genfile -l 1024 -f file1
31343 genfile -l 1024 -f file2
31344 tar cf archive file1 file2
31347 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31350 ) ) >"$at_stdout" 2>"$at_stder1"
31351 at_func_filter_trace $?
31356 TEST_TAR_FORMAT=gnu
31357 export TEST_TAR_FORMAT
31358 TAR_OPTIONS="-H gnu"
31363 test -z "`sort < /dev/null 2>&1`" || exit 77
31366 genfile -l 1024 -f file1
31367 genfile -l 1024 -f file2
31368 tar cf archive file1 file2
31371 tar -xf archive --same-order -C directory --warning=no-timestamp || exit 1
31374 ) ) >"$at_stdout" 2>"$at_stderr"
31378 at_func_diff_devnull "$at_stderr" || at_failed=:
31379 echo >>"$at_stdout"; $as_echo "file1
31382 $at_diff - "$at_stdout" || at_failed=:
31383 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
31385 $at_failed && at_func_log_failure
31392 $at_times_p && times >"$at_times_file"
31393 ) 5>&1 2>&1 | eval $at_tee_pipe
31394 at_status=`cat "$at_status_file"`
31397 # 87. same-order02.at:25: multiple -C options
31398 at_setup_line='same-order02.at:25'
31399 at_desc="multiple -C options"
31400 $at_quiet $as_echo_n " 87: $at_desc "
31402 test -f $XFAILFILE && at_xfail=yes
31403 echo "# -*- compilation -*-" >> "$at_group_log"
31405 $as_echo "87. same-order02.at:25: testing ..."
31413 $as_echo "$at_srcdir/same-order02.at:28:
31417 export TEST_TAR_FORMAT
31418 TAR_OPTIONS=\"-H v7\"
31422 genfile -l 1024 -f file1
31423 genfile -l 1024 -f file2
31424 tar cf archive file1 file2
31430 tar -xf archive --same-order --warning=no-timestamp \\
31431 -C \$HERE/en file1 \\
31432 -C \$HERE/to file2 || exit 1
31438 echo same-order02.at:28 >"$at_check_line_file"
31440 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
31446 export TEST_TAR_FORMAT
31447 TAR_OPTIONS="-H v7"
31451 genfile -l 1024 -f file1
31452 genfile -l 1024 -f file2
31453 tar cf archive file1 file2
31459 tar -xf archive --same-order --warning=no-timestamp \
31460 -C $HERE/en file1 \
31461 -C $HERE/to file2 || exit 1
31466 ) ) >"$at_stdout" 2>"$at_stder1"
31467 at_func_filter_trace $?
31473 export TEST_TAR_FORMAT
31474 TAR_OPTIONS="-H v7"
31478 genfile -l 1024 -f file1
31479 genfile -l 1024 -f file2
31480 tar cf archive file1 file2
31486 tar -xf archive --same-order --warning=no-timestamp \
31487 -C $HERE/en file1 \
31488 -C $HERE/to file2 || exit 1
31493 ) ) >"$at_stdout" 2>"$at_stderr"
31497 at_func_diff_devnull "$at_stderr" || at_failed=:
31498 echo >>"$at_stdout"; $as_echo "file1
31502 $at_diff - "$at_stdout" || at_failed=:
31503 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
31505 $at_failed && at_func_log_failure
31509 $as_echo "$at_srcdir/same-order02.at:28:
31512 TEST_TAR_FORMAT=oldgnu
31513 export TEST_TAR_FORMAT
31514 TAR_OPTIONS=\"-H oldgnu\"
31518 genfile -l 1024 -f file1
31519 genfile -l 1024 -f file2
31520 tar cf archive file1 file2
31526 tar -xf archive --same-order --warning=no-timestamp \\
31527 -C \$HERE/en file1 \\
31528 -C \$HERE/to file2 || exit 1
31534 echo same-order02.at:28 >"$at_check_line_file"
31536 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
31541 TEST_TAR_FORMAT=oldgnu
31542 export TEST_TAR_FORMAT
31543 TAR_OPTIONS="-H oldgnu"
31547 genfile -l 1024 -f file1
31548 genfile -l 1024 -f file2
31549 tar cf archive file1 file2
31555 tar -xf archive --same-order --warning=no-timestamp \
31556 -C $HERE/en file1 \
31557 -C $HERE/to file2 || exit 1
31562 ) ) >"$at_stdout" 2>"$at_stder1"
31563 at_func_filter_trace $?
31568 TEST_TAR_FORMAT=oldgnu
31569 export TEST_TAR_FORMAT
31570 TAR_OPTIONS="-H oldgnu"
31574 genfile -l 1024 -f file1
31575 genfile -l 1024 -f file2
31576 tar cf archive file1 file2
31582 tar -xf archive --same-order --warning=no-timestamp \
31583 -C $HERE/en file1 \
31584 -C $HERE/to file2 || exit 1
31589 ) ) >"$at_stdout" 2>"$at_stderr"
31593 at_func_diff_devnull "$at_stderr" || at_failed=:
31594 echo >>"$at_stdout"; $as_echo "file1
31598 $at_diff - "$at_stdout" || at_failed=:
31599 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
31601 $at_failed && at_func_log_failure
31605 $as_echo "$at_srcdir/same-order02.at:28:
31608 TEST_TAR_FORMAT=ustar
31609 export TEST_TAR_FORMAT
31610 TAR_OPTIONS=\"-H ustar\"
31614 genfile -l 1024 -f file1
31615 genfile -l 1024 -f file2
31616 tar cf archive file1 file2
31622 tar -xf archive --same-order --warning=no-timestamp \\
31623 -C \$HERE/en file1 \\
31624 -C \$HERE/to file2 || exit 1
31630 echo same-order02.at:28 >"$at_check_line_file"
31632 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
31637 TEST_TAR_FORMAT=ustar
31638 export TEST_TAR_FORMAT
31639 TAR_OPTIONS="-H ustar"
31643 genfile -l 1024 -f file1
31644 genfile -l 1024 -f file2
31645 tar cf archive file1 file2
31651 tar -xf archive --same-order --warning=no-timestamp \
31652 -C $HERE/en file1 \
31653 -C $HERE/to file2 || exit 1
31658 ) ) >"$at_stdout" 2>"$at_stder1"
31659 at_func_filter_trace $?
31664 TEST_TAR_FORMAT=ustar
31665 export TEST_TAR_FORMAT
31666 TAR_OPTIONS="-H ustar"
31670 genfile -l 1024 -f file1
31671 genfile -l 1024 -f file2
31672 tar cf archive file1 file2
31678 tar -xf archive --same-order --warning=no-timestamp \
31679 -C $HERE/en file1 \
31680 -C $HERE/to file2 || exit 1
31685 ) ) >"$at_stdout" 2>"$at_stderr"
31689 at_func_diff_devnull "$at_stderr" || at_failed=:
31690 echo >>"$at_stdout"; $as_echo "file1
31694 $at_diff - "$at_stdout" || at_failed=:
31695 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
31697 $at_failed && at_func_log_failure
31701 $as_echo "$at_srcdir/same-order02.at:28:
31704 TEST_TAR_FORMAT=posix
31705 export TEST_TAR_FORMAT
31706 TAR_OPTIONS=\"-H posix\"
31710 genfile -l 1024 -f file1
31711 genfile -l 1024 -f file2
31712 tar cf archive file1 file2
31718 tar -xf archive --same-order --warning=no-timestamp \\
31719 -C \$HERE/en file1 \\
31720 -C \$HERE/to file2 || exit 1
31726 echo same-order02.at:28 >"$at_check_line_file"
31728 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
31733 TEST_TAR_FORMAT=posix
31734 export TEST_TAR_FORMAT
31735 TAR_OPTIONS="-H posix"
31739 genfile -l 1024 -f file1
31740 genfile -l 1024 -f file2
31741 tar cf archive file1 file2
31747 tar -xf archive --same-order --warning=no-timestamp \
31748 -C $HERE/en file1 \
31749 -C $HERE/to file2 || exit 1
31754 ) ) >"$at_stdout" 2>"$at_stder1"
31755 at_func_filter_trace $?
31760 TEST_TAR_FORMAT=posix
31761 export TEST_TAR_FORMAT
31762 TAR_OPTIONS="-H posix"
31766 genfile -l 1024 -f file1
31767 genfile -l 1024 -f file2
31768 tar cf archive file1 file2
31774 tar -xf archive --same-order --warning=no-timestamp \
31775 -C $HERE/en file1 \
31776 -C $HERE/to file2 || exit 1
31781 ) ) >"$at_stdout" 2>"$at_stderr"
31785 at_func_diff_devnull "$at_stderr" || at_failed=:
31786 echo >>"$at_stdout"; $as_echo "file1
31790 $at_diff - "$at_stdout" || at_failed=:
31791 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
31793 $at_failed && at_func_log_failure
31797 $as_echo "$at_srcdir/same-order02.at:28:
31800 TEST_TAR_FORMAT=gnu
31801 export TEST_TAR_FORMAT
31802 TAR_OPTIONS=\"-H gnu\"
31806 genfile -l 1024 -f file1
31807 genfile -l 1024 -f file2
31808 tar cf archive file1 file2
31814 tar -xf archive --same-order --warning=no-timestamp \\
31815 -C \$HERE/en file1 \\
31816 -C \$HERE/to file2 || exit 1
31822 echo same-order02.at:28 >"$at_check_line_file"
31824 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
31829 TEST_TAR_FORMAT=gnu
31830 export TEST_TAR_FORMAT
31831 TAR_OPTIONS="-H gnu"
31835 genfile -l 1024 -f file1
31836 genfile -l 1024 -f file2
31837 tar cf archive file1 file2
31843 tar -xf archive --same-order --warning=no-timestamp \
31844 -C $HERE/en file1 \
31845 -C $HERE/to file2 || exit 1
31850 ) ) >"$at_stdout" 2>"$at_stder1"
31851 at_func_filter_trace $?
31856 TEST_TAR_FORMAT=gnu
31857 export TEST_TAR_FORMAT
31858 TAR_OPTIONS="-H gnu"
31862 genfile -l 1024 -f file1
31863 genfile -l 1024 -f file2
31864 tar cf archive file1 file2
31870 tar -xf archive --same-order --warning=no-timestamp \
31871 -C $HERE/en file1 \
31872 -C $HERE/to file2 || exit 1
31877 ) ) >"$at_stdout" 2>"$at_stderr"
31881 at_func_diff_devnull "$at_stderr" || at_failed=:
31882 echo >>"$at_stdout"; $as_echo "file1
31886 $at_diff - "$at_stdout" || at_failed=:
31887 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
31889 $at_failed && at_func_log_failure
31896 $at_times_p && times >"$at_times_file"
31897 ) 5>&1 2>&1 | eval $at_tee_pipe
31898 at_status=`cat "$at_status_file"`
31901 # 88. shortrec.at:25: short records
31902 at_setup_line='shortrec.at:25'
31903 at_desc="short records"
31904 $at_quiet $as_echo_n " 88: $at_desc "
31906 test -f $XFAILFILE && at_xfail=yes
31907 echo "# -*- compilation -*-" >> "$at_group_log"
31909 $as_echo "88. shortrec.at:25: testing ..."
31917 $as_echo "$at_srcdir/shortrec.at:28:
31921 export TEST_TAR_FORMAT
31922 TAR_OPTIONS=\"-H v7\"
31927 (cd directory && touch a b c d e f g h i j k l m n o p q r)
31928 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
31929 tar -c -b 1 -f archive directory
31930 tar -t -f archive > /dev/null
31931 tar -t -f - < archive > /dev/null
31935 echo shortrec.at:28 >"$at_check_line_file"
31937 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31943 export TEST_TAR_FORMAT
31944 TAR_OPTIONS="-H v7"
31949 (cd directory && touch a b c d e f g h i j k l m n o p q r)
31950 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
31951 tar -c -b 1 -f archive directory
31952 tar -t -f archive > /dev/null
31953 tar -t -f - < archive > /dev/null
31956 ) ) >"$at_stdout" 2>"$at_stder1"
31957 at_func_filter_trace $?
31963 export TEST_TAR_FORMAT
31964 TAR_OPTIONS="-H v7"
31969 (cd directory && touch a b c d e f g h i j k l m n o p q r)
31970 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
31971 tar -c -b 1 -f archive directory
31972 tar -t -f archive > /dev/null
31973 tar -t -f - < archive > /dev/null
31976 ) ) >"$at_stdout" 2>"$at_stderr"
31980 at_func_diff_devnull "$at_stderr" || at_failed=:
31981 at_func_diff_devnull "$at_stdout" || at_failed=:
31982 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
31984 $at_failed && at_func_log_failure
31988 $as_echo "$at_srcdir/shortrec.at:28:
31991 TEST_TAR_FORMAT=oldgnu
31992 export TEST_TAR_FORMAT
31993 TAR_OPTIONS=\"-H oldgnu\"
31998 (cd directory && touch a b c d e f g h i j k l m n o p q r)
31999 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32000 tar -c -b 1 -f archive directory
32001 tar -t -f archive > /dev/null
32002 tar -t -f - < archive > /dev/null
32006 echo shortrec.at:28 >"$at_check_line_file"
32008 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32013 TEST_TAR_FORMAT=oldgnu
32014 export TEST_TAR_FORMAT
32015 TAR_OPTIONS="-H oldgnu"
32020 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32021 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32022 tar -c -b 1 -f archive directory
32023 tar -t -f archive > /dev/null
32024 tar -t -f - < archive > /dev/null
32027 ) ) >"$at_stdout" 2>"$at_stder1"
32028 at_func_filter_trace $?
32033 TEST_TAR_FORMAT=oldgnu
32034 export TEST_TAR_FORMAT
32035 TAR_OPTIONS="-H oldgnu"
32040 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32041 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32042 tar -c -b 1 -f archive directory
32043 tar -t -f archive > /dev/null
32044 tar -t -f - < archive > /dev/null
32047 ) ) >"$at_stdout" 2>"$at_stderr"
32051 at_func_diff_devnull "$at_stderr" || at_failed=:
32052 at_func_diff_devnull "$at_stdout" || at_failed=:
32053 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
32055 $at_failed && at_func_log_failure
32059 $as_echo "$at_srcdir/shortrec.at:28:
32062 TEST_TAR_FORMAT=ustar
32063 export TEST_TAR_FORMAT
32064 TAR_OPTIONS=\"-H ustar\"
32069 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32070 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32071 tar -c -b 1 -f archive directory
32072 tar -t -f archive > /dev/null
32073 tar -t -f - < archive > /dev/null
32077 echo shortrec.at:28 >"$at_check_line_file"
32079 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32084 TEST_TAR_FORMAT=ustar
32085 export TEST_TAR_FORMAT
32086 TAR_OPTIONS="-H ustar"
32091 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32092 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32093 tar -c -b 1 -f archive directory
32094 tar -t -f archive > /dev/null
32095 tar -t -f - < archive > /dev/null
32098 ) ) >"$at_stdout" 2>"$at_stder1"
32099 at_func_filter_trace $?
32104 TEST_TAR_FORMAT=ustar
32105 export TEST_TAR_FORMAT
32106 TAR_OPTIONS="-H ustar"
32111 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32112 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32113 tar -c -b 1 -f archive directory
32114 tar -t -f archive > /dev/null
32115 tar -t -f - < archive > /dev/null
32118 ) ) >"$at_stdout" 2>"$at_stderr"
32122 at_func_diff_devnull "$at_stderr" || at_failed=:
32123 at_func_diff_devnull "$at_stdout" || at_failed=:
32124 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
32126 $at_failed && at_func_log_failure
32130 $as_echo "$at_srcdir/shortrec.at:28:
32133 TEST_TAR_FORMAT=posix
32134 export TEST_TAR_FORMAT
32135 TAR_OPTIONS=\"-H posix\"
32140 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32141 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32142 tar -c -b 1 -f archive directory
32143 tar -t -f archive > /dev/null
32144 tar -t -f - < archive > /dev/null
32148 echo shortrec.at:28 >"$at_check_line_file"
32150 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32155 TEST_TAR_FORMAT=posix
32156 export TEST_TAR_FORMAT
32157 TAR_OPTIONS="-H posix"
32162 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32163 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32164 tar -c -b 1 -f archive directory
32165 tar -t -f archive > /dev/null
32166 tar -t -f - < archive > /dev/null
32169 ) ) >"$at_stdout" 2>"$at_stder1"
32170 at_func_filter_trace $?
32175 TEST_TAR_FORMAT=posix
32176 export TEST_TAR_FORMAT
32177 TAR_OPTIONS="-H posix"
32182 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32183 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32184 tar -c -b 1 -f archive directory
32185 tar -t -f archive > /dev/null
32186 tar -t -f - < archive > /dev/null
32189 ) ) >"$at_stdout" 2>"$at_stderr"
32193 at_func_diff_devnull "$at_stderr" || at_failed=:
32194 at_func_diff_devnull "$at_stdout" || at_failed=:
32195 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
32197 $at_failed && at_func_log_failure
32201 $as_echo "$at_srcdir/shortrec.at:28:
32204 TEST_TAR_FORMAT=gnu
32205 export TEST_TAR_FORMAT
32206 TAR_OPTIONS=\"-H gnu\"
32211 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32212 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32213 tar -c -b 1 -f archive directory
32214 tar -t -f archive > /dev/null
32215 tar -t -f - < archive > /dev/null
32219 echo shortrec.at:28 >"$at_check_line_file"
32221 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32226 TEST_TAR_FORMAT=gnu
32227 export TEST_TAR_FORMAT
32228 TAR_OPTIONS="-H gnu"
32233 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32234 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32235 tar -c -b 1 -f archive directory
32236 tar -t -f archive > /dev/null
32237 tar -t -f - < archive > /dev/null
32240 ) ) >"$at_stdout" 2>"$at_stder1"
32241 at_func_filter_trace $?
32246 TEST_TAR_FORMAT=gnu
32247 export TEST_TAR_FORMAT
32248 TAR_OPTIONS="-H gnu"
32253 (cd directory && touch a b c d e f g h i j k l m n o p q r)
32254 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
32255 tar -c -b 1 -f archive directory
32256 tar -t -f archive > /dev/null
32257 tar -t -f - < archive > /dev/null
32260 ) ) >"$at_stdout" 2>"$at_stderr"
32264 at_func_diff_devnull "$at_stderr" || at_failed=:
32265 at_func_diff_devnull "$at_stdout" || at_failed=:
32266 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
32268 $at_failed && at_func_log_failure
32275 $at_times_p && times >"$at_times_file"
32276 ) 5>&1 2>&1 | eval $at_tee_pipe
32277 at_status=`cat "$at_status_file"`
32280 # 89. sparse01.at:21: sparse files
32281 at_setup_line='sparse01.at:21'
32282 at_desc="sparse files"
32283 $at_quiet $as_echo_n " 89: $at_desc "
32285 test -f $XFAILFILE && at_xfail=yes
32286 echo "# -*- compilation -*-" >> "$at_group_log"
32288 $as_echo "89. sparse01.at:21: testing ..."
32296 $as_echo "$at_srcdir/sparse01.at:24:
32299 TEST_TAR_FORMAT=posix
32300 export TEST_TAR_FORMAT
32301 TAR_OPTIONS=\"-H posix\"
32305 genfile --length 1000 -f begin
32306 genfile --length 1000 -f end
32307 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32308 tar -c -f archive --sparse begin sparsefile end || exit 1
32314 tar Cxf directory archive --warning=no-timestamp
32315 genfile --stat=name,size sparsefile
32316 cmp sparsefile directory/sparsefile
32318 echo sparse01.at:24 >"$at_check_line_file"
32320 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32325 TEST_TAR_FORMAT=posix
32326 export TEST_TAR_FORMAT
32327 TAR_OPTIONS="-H posix"
32331 genfile --length 1000 -f begin
32332 genfile --length 1000 -f end
32333 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32334 tar -c -f archive --sparse begin sparsefile end || exit 1
32340 tar Cxf directory archive --warning=no-timestamp
32341 genfile --stat=name,size sparsefile
32342 cmp sparsefile directory/sparsefile
32343 ) ) >"$at_stdout" 2>"$at_stder1"
32344 at_func_filter_trace $?
32349 TEST_TAR_FORMAT=posix
32350 export TEST_TAR_FORMAT
32351 TAR_OPTIONS="-H posix"
32355 genfile --length 1000 -f begin
32356 genfile --length 1000 -f end
32357 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32358 tar -c -f archive --sparse begin sparsefile end || exit 1
32364 tar Cxf directory archive --warning=no-timestamp
32365 genfile --stat=name,size sparsefile
32366 cmp sparsefile directory/sparsefile
32367 ) ) >"$at_stdout" 2>"$at_stderr"
32371 at_func_diff_devnull "$at_stderr" || at_failed=:
32372 echo stdout:; tee stdout <"$at_stdout"
32373 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
32375 $at_failed && at_func_log_failure
32379 $as_echo "$at_srcdir/sparse01.at:24:
32382 TEST_TAR_FORMAT=gnu
32383 export TEST_TAR_FORMAT
32384 TAR_OPTIONS=\"-H gnu\"
32388 genfile --length 1000 -f begin
32389 genfile --length 1000 -f end
32390 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32391 tar -c -f archive --sparse begin sparsefile end || exit 1
32397 tar Cxf directory archive --warning=no-timestamp
32398 genfile --stat=name,size sparsefile
32399 cmp sparsefile directory/sparsefile
32401 echo sparse01.at:24 >"$at_check_line_file"
32403 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32408 TEST_TAR_FORMAT=gnu
32409 export TEST_TAR_FORMAT
32410 TAR_OPTIONS="-H gnu"
32414 genfile --length 1000 -f begin
32415 genfile --length 1000 -f end
32416 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32417 tar -c -f archive --sparse begin sparsefile end || exit 1
32423 tar Cxf directory archive --warning=no-timestamp
32424 genfile --stat=name,size sparsefile
32425 cmp sparsefile directory/sparsefile
32426 ) ) >"$at_stdout" 2>"$at_stder1"
32427 at_func_filter_trace $?
32432 TEST_TAR_FORMAT=gnu
32433 export TEST_TAR_FORMAT
32434 TAR_OPTIONS="-H gnu"
32438 genfile --length 1000 -f begin
32439 genfile --length 1000 -f end
32440 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32441 tar -c -f archive --sparse begin sparsefile end || exit 1
32447 tar Cxf directory archive --warning=no-timestamp
32448 genfile --stat=name,size sparsefile
32449 cmp sparsefile directory/sparsefile
32450 ) ) >"$at_stdout" 2>"$at_stderr"
32454 at_func_diff_devnull "$at_stderr" || at_failed=:
32455 echo stdout:; tee stdout <"$at_stdout"
32456 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
32458 $at_failed && at_func_log_failure
32462 $as_echo "$at_srcdir/sparse01.at:24:
32465 TEST_TAR_FORMAT=oldgnu
32466 export TEST_TAR_FORMAT
32467 TAR_OPTIONS=\"-H oldgnu\"
32471 genfile --length 1000 -f begin
32472 genfile --length 1000 -f end
32473 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32474 tar -c -f archive --sparse begin sparsefile end || exit 1
32480 tar Cxf directory archive --warning=no-timestamp
32481 genfile --stat=name,size sparsefile
32482 cmp sparsefile directory/sparsefile
32484 echo sparse01.at:24 >"$at_check_line_file"
32486 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32491 TEST_TAR_FORMAT=oldgnu
32492 export TEST_TAR_FORMAT
32493 TAR_OPTIONS="-H oldgnu"
32497 genfile --length 1000 -f begin
32498 genfile --length 1000 -f end
32499 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32500 tar -c -f archive --sparse begin sparsefile end || exit 1
32506 tar Cxf directory archive --warning=no-timestamp
32507 genfile --stat=name,size sparsefile
32508 cmp sparsefile directory/sparsefile
32509 ) ) >"$at_stdout" 2>"$at_stder1"
32510 at_func_filter_trace $?
32515 TEST_TAR_FORMAT=oldgnu
32516 export TEST_TAR_FORMAT
32517 TAR_OPTIONS="-H oldgnu"
32521 genfile --length 1000 -f begin
32522 genfile --length 1000 -f end
32523 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32524 tar -c -f archive --sparse begin sparsefile end || exit 1
32530 tar Cxf directory archive --warning=no-timestamp
32531 genfile --stat=name,size sparsefile
32532 cmp sparsefile directory/sparsefile
32533 ) ) >"$at_stdout" 2>"$at_stderr"
32537 at_func_diff_devnull "$at_stderr" || at_failed=:
32538 echo stdout:; tee stdout <"$at_stdout"
32539 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
32541 $at_failed && at_func_log_failure
32548 cat >stdout.re <<'_ATEOF'
32550 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
32551 -rw-r--r-- ^ ^ * *10344448 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
32552 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
32554 sparsefile 10344448
32557 awk '{print NR " " $0}' stdout > $$.1
32558 awk '{print NR " " $0}' stdout.re | join - $$.1 |
32559 while read NUM RE LINE
32561 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
32566 $at_times_p && times >"$at_times_file"
32567 ) 5>&1 2>&1 | eval $at_tee_pipe
32568 at_status=`cat "$at_status_file"`
32571 # 90. sparse02.at:21: extracting sparse file over a pipe
32572 at_setup_line='sparse02.at:21'
32573 at_desc="extracting sparse file over a pipe"
32574 $at_quiet $as_echo_n " 90: $at_desc "
32576 test -f $XFAILFILE && at_xfail=yes
32577 echo "# -*- compilation -*-" >> "$at_group_log"
32579 $as_echo "90. sparse02.at:21: testing ..."
32584 # Tar 1.14 - 1.15.1 was unable to extract sparse files to a pipe.
32585 # References: <16896.21739.460782.124775@jik.kamens.brookline.ma.us>
32586 # http://lists.gnu.org/archive/html/bug-tar/2005-02/msg00003.html
32591 $as_echo "$at_srcdir/sparse02.at:28:
32594 TEST_TAR_FORMAT=posix
32595 export TEST_TAR_FORMAT
32596 TAR_OPTIONS=\"-H posix\"
32600 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32601 tar -c -f archive --sparse sparsefile || exit 1
32604 tar xfO archive | cat - > sparsecopy || exit 1
32605 cmp sparsefile sparsecopy
32607 echo sparse02.at:28 >"$at_check_line_file"
32609 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32614 TEST_TAR_FORMAT=posix
32615 export TEST_TAR_FORMAT
32616 TAR_OPTIONS="-H posix"
32620 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32621 tar -c -f archive --sparse sparsefile || exit 1
32624 tar xfO archive | cat - > sparsecopy || exit 1
32625 cmp sparsefile sparsecopy
32626 ) ) >"$at_stdout" 2>"$at_stder1"
32627 at_func_filter_trace $?
32632 TEST_TAR_FORMAT=posix
32633 export TEST_TAR_FORMAT
32634 TAR_OPTIONS="-H posix"
32638 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32639 tar -c -f archive --sparse sparsefile || exit 1
32642 tar xfO archive | cat - > sparsecopy || exit 1
32643 cmp sparsefile sparsecopy
32644 ) ) >"$at_stdout" 2>"$at_stderr"
32648 at_func_diff_devnull "$at_stderr" || at_failed=:
32649 echo >>"$at_stdout"; $as_echo "separator
32651 $at_diff - "$at_stdout" || at_failed=:
32652 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
32654 $at_failed && at_func_log_failure
32658 $as_echo "$at_srcdir/sparse02.at:28:
32661 TEST_TAR_FORMAT=gnu
32662 export TEST_TAR_FORMAT
32663 TAR_OPTIONS=\"-H gnu\"
32667 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32668 tar -c -f archive --sparse sparsefile || exit 1
32671 tar xfO archive | cat - > sparsecopy || exit 1
32672 cmp sparsefile sparsecopy
32674 echo sparse02.at:28 >"$at_check_line_file"
32676 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32681 TEST_TAR_FORMAT=gnu
32682 export TEST_TAR_FORMAT
32683 TAR_OPTIONS="-H gnu"
32687 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32688 tar -c -f archive --sparse sparsefile || exit 1
32691 tar xfO archive | cat - > sparsecopy || exit 1
32692 cmp sparsefile sparsecopy
32693 ) ) >"$at_stdout" 2>"$at_stder1"
32694 at_func_filter_trace $?
32699 TEST_TAR_FORMAT=gnu
32700 export TEST_TAR_FORMAT
32701 TAR_OPTIONS="-H gnu"
32705 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32706 tar -c -f archive --sparse sparsefile || exit 1
32709 tar xfO archive | cat - > sparsecopy || exit 1
32710 cmp sparsefile sparsecopy
32711 ) ) >"$at_stdout" 2>"$at_stderr"
32715 at_func_diff_devnull "$at_stderr" || at_failed=:
32716 echo >>"$at_stdout"; $as_echo "separator
32718 $at_diff - "$at_stdout" || at_failed=:
32719 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
32721 $at_failed && at_func_log_failure
32725 $as_echo "$at_srcdir/sparse02.at:28:
32728 TEST_TAR_FORMAT=oldgnu
32729 export TEST_TAR_FORMAT
32730 TAR_OPTIONS=\"-H oldgnu\"
32734 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32735 tar -c -f archive --sparse sparsefile || exit 1
32738 tar xfO archive | cat - > sparsecopy || exit 1
32739 cmp sparsefile sparsecopy
32741 echo sparse02.at:28 >"$at_check_line_file"
32743 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32748 TEST_TAR_FORMAT=oldgnu
32749 export TEST_TAR_FORMAT
32750 TAR_OPTIONS="-H oldgnu"
32754 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32755 tar -c -f archive --sparse sparsefile || exit 1
32758 tar xfO archive | cat - > sparsecopy || exit 1
32759 cmp sparsefile sparsecopy
32760 ) ) >"$at_stdout" 2>"$at_stder1"
32761 at_func_filter_trace $?
32766 TEST_TAR_FORMAT=oldgnu
32767 export TEST_TAR_FORMAT
32768 TAR_OPTIONS="-H oldgnu"
32772 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
32773 tar -c -f archive --sparse sparsefile || exit 1
32776 tar xfO archive | cat - > sparsecopy || exit 1
32777 cmp sparsefile sparsecopy
32778 ) ) >"$at_stdout" 2>"$at_stderr"
32782 at_func_diff_devnull "$at_stderr" || at_failed=:
32783 echo >>"$at_stdout"; $as_echo "separator
32785 $at_diff - "$at_stdout" || at_failed=:
32786 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
32788 $at_failed && at_func_log_failure
32795 $at_times_p && times >"$at_times_file"
32796 ) 5>&1 2>&1 | eval $at_tee_pipe
32797 at_status=`cat "$at_status_file"`
32800 # 91. sparse03.at:21: storing sparse files > 8G
32801 at_setup_line='sparse03.at:21'
32802 at_desc="storing sparse files > 8G"
32803 $at_quiet $as_echo_n " 91: $at_desc "
32805 test -f $XFAILFILE && at_xfail=yes
32806 echo "# -*- compilation -*-" >> "$at_group_log"
32808 $as_echo "91. sparse03.at:21: testing ..."
32813 # Tar 1.15.1 incorrectly computed sparse member size if the extended
32814 # PAX header contained size keyword.
32815 # References: <87vf46nb36.fsf@penguin.cs.ucla.edu>
32816 # http://lists.gnu.org/archive/html/bug-tar/2005-06/msg00040.html
32821 $as_echo "$at_srcdir/sparse03.at:29:
32824 TEST_TAR_FORMAT=posix
32825 export TEST_TAR_FORMAT
32826 TAR_OPTIONS=\"-H posix\"
32830 genfile --length 1000 --file begin
32831 genfile --length 1000 --file end
32832 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
32833 tar -c -f archive --sparse begin sparsefile end || exit 1
32839 tar Cxf directory archive
32840 genfile --stat=name,size sparsefile
32841 cmp sparsefile directory/sparsefile
32843 echo sparse03.at:29 >"$at_check_line_file"
32845 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32850 TEST_TAR_FORMAT=posix
32851 export TEST_TAR_FORMAT
32852 TAR_OPTIONS="-H posix"
32856 genfile --length 1000 --file begin
32857 genfile --length 1000 --file end
32858 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
32859 tar -c -f archive --sparse begin sparsefile end || exit 1
32865 tar Cxf directory archive
32866 genfile --stat=name,size sparsefile
32867 cmp sparsefile directory/sparsefile
32868 ) ) >"$at_stdout" 2>"$at_stder1"
32869 at_func_filter_trace $?
32874 TEST_TAR_FORMAT=posix
32875 export TEST_TAR_FORMAT
32876 TAR_OPTIONS="-H posix"
32880 genfile --length 1000 --file begin
32881 genfile --length 1000 --file end
32882 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
32883 tar -c -f archive --sparse begin sparsefile end || exit 1
32889 tar Cxf directory archive
32890 genfile --stat=name,size sparsefile
32891 cmp sparsefile directory/sparsefile
32892 ) ) >"$at_stdout" 2>"$at_stderr"
32896 at_func_diff_devnull "$at_stderr" || at_failed=:
32897 echo stdout:; tee stdout <"$at_stdout"
32898 at_func_check_status 0 $at_status "$at_srcdir/sparse03.at:29"
32900 $at_failed && at_func_log_failure
32907 cat >stdout.re <<'_ATEOF'
32909 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
32910 -rw-r--r-- ^ ^ * *8589935104 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
32911 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
32913 sparsefile 8589935104
32916 awk '{print NR " " $0}' stdout > $$.1
32917 awk '{print NR " " $0}' stdout.re | join - $$.1 |
32918 while read NUM RE LINE
32920 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
32925 $at_times_p && times >"$at_times_file"
32926 ) 5>&1 2>&1 | eval $at_tee_pipe
32927 at_status=`cat "$at_status_file"`
32930 # 92. sparsemv.at:21: sparse files in MV archives
32931 at_setup_line='sparsemv.at:21'
32932 at_desc="sparse files in MV archives"
32933 $at_quiet $as_echo_n " 92: $at_desc "
32935 test -f $XFAILFILE && at_xfail=yes
32936 echo "# -*- compilation -*-" >> "$at_group_log"
32938 $as_echo "92. sparsemv.at:21: testing ..."
32943 # Check if sparse files are correctly split between GNU multi-volume
32945 # There are two cases: the file can be split within an empty (null) block,
32946 # or within a data block. Since null blocks are not archived, the first
32947 # case means the file is split between two consecutive data blocks.
32953 $as_echo "$at_srcdir/sparsemv.at:31:
32956 TEST_TAR_FORMAT=gnu
32957 export TEST_TAR_FORMAT
32958 TAR_OPTIONS=\"-H gnu\"
32963 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
32964 echo \"Pass 1: Split between data blocks\"
32965 echo \"Create archive\"
32966 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
32967 echo \"Test archive\"
32968 tar --record-size=512 -t -M -f arc.1 -f arc.2
32969 echo \"Compare archive\"
32970 tar --record-size=512 -d -M -f arc.1 -f arc.2
32972 echo \"Pass 2: Split within a data block\"
32973 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
32974 echo \"Create archive\"
32975 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
32976 echo \"Test archive\"
32977 tar --record-size=512 -t -M -f arc.1 -f arc.2
32978 echo \"Compare archive\"
32979 tar --record-size=512 -d -M -f arc.1 -f arc.2
32981 echo sparsemv.at:31 >"$at_check_line_file"
32983 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32988 TEST_TAR_FORMAT=gnu
32989 export TEST_TAR_FORMAT
32990 TAR_OPTIONS="-H gnu"
32995 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
32996 echo "Pass 1: Split between data blocks"
32997 echo "Create archive"
32998 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
32999 echo "Test archive"
33000 tar --record-size=512 -t -M -f arc.1 -f arc.2
33001 echo "Compare archive"
33002 tar --record-size=512 -d -M -f arc.1 -f arc.2
33004 echo "Pass 2: Split within a data block"
33005 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33006 echo "Create archive"
33007 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33008 echo "Test archive"
33009 tar --record-size=512 -t -M -f arc.1 -f arc.2
33010 echo "Compare archive"
33011 tar --record-size=512 -d -M -f arc.1 -f arc.2
33012 ) ) >"$at_stdout" 2>"$at_stder1"
33013 at_func_filter_trace $?
33018 TEST_TAR_FORMAT=gnu
33019 export TEST_TAR_FORMAT
33020 TAR_OPTIONS="-H gnu"
33025 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33026 echo "Pass 1: Split between data blocks"
33027 echo "Create archive"
33028 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33029 echo "Test archive"
33030 tar --record-size=512 -t -M -f arc.1 -f arc.2
33031 echo "Compare archive"
33032 tar --record-size=512 -d -M -f arc.1 -f arc.2
33034 echo "Pass 2: Split within a data block"
33035 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33036 echo "Create archive"
33037 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33038 echo "Test archive"
33039 tar --record-size=512 -t -M -f arc.1 -f arc.2
33040 echo "Compare archive"
33041 tar --record-size=512 -d -M -f arc.1 -f arc.2
33042 ) ) >"$at_stdout" 2>"$at_stderr"
33046 at_func_diff_devnull "$at_stderr" || at_failed=:
33047 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
33052 Pass 2: Split within a data block
33058 $at_diff - "$at_stdout" || at_failed=:
33059 at_func_check_status 0 $at_status "$at_srcdir/sparsemv.at:31"
33061 $at_failed && at_func_log_failure
33065 $as_echo "$at_srcdir/sparsemv.at:31:
33068 TEST_TAR_FORMAT=oldgnu
33069 export TEST_TAR_FORMAT
33070 TAR_OPTIONS=\"-H oldgnu\"
33075 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33076 echo \"Pass 1: Split between data blocks\"
33077 echo \"Create archive\"
33078 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33079 echo \"Test archive\"
33080 tar --record-size=512 -t -M -f arc.1 -f arc.2
33081 echo \"Compare archive\"
33082 tar --record-size=512 -d -M -f arc.1 -f arc.2
33084 echo \"Pass 2: Split within a data block\"
33085 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33086 echo \"Create archive\"
33087 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33088 echo \"Test archive\"
33089 tar --record-size=512 -t -M -f arc.1 -f arc.2
33090 echo \"Compare archive\"
33091 tar --record-size=512 -d -M -f arc.1 -f arc.2
33093 echo sparsemv.at:31 >"$at_check_line_file"
33095 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33100 TEST_TAR_FORMAT=oldgnu
33101 export TEST_TAR_FORMAT
33102 TAR_OPTIONS="-H oldgnu"
33107 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33108 echo "Pass 1: Split between data blocks"
33109 echo "Create archive"
33110 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33111 echo "Test archive"
33112 tar --record-size=512 -t -M -f arc.1 -f arc.2
33113 echo "Compare archive"
33114 tar --record-size=512 -d -M -f arc.1 -f arc.2
33116 echo "Pass 2: Split within a data block"
33117 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33118 echo "Create archive"
33119 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33120 echo "Test archive"
33121 tar --record-size=512 -t -M -f arc.1 -f arc.2
33122 echo "Compare archive"
33123 tar --record-size=512 -d -M -f arc.1 -f arc.2
33124 ) ) >"$at_stdout" 2>"$at_stder1"
33125 at_func_filter_trace $?
33130 TEST_TAR_FORMAT=oldgnu
33131 export TEST_TAR_FORMAT
33132 TAR_OPTIONS="-H oldgnu"
33137 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33138 echo "Pass 1: Split between data blocks"
33139 echo "Create archive"
33140 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33141 echo "Test archive"
33142 tar --record-size=512 -t -M -f arc.1 -f arc.2
33143 echo "Compare archive"
33144 tar --record-size=512 -d -M -f arc.1 -f arc.2
33146 echo "Pass 2: Split within a data block"
33147 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33148 echo "Create archive"
33149 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
33150 echo "Test archive"
33151 tar --record-size=512 -t -M -f arc.1 -f arc.2
33152 echo "Compare archive"
33153 tar --record-size=512 -d -M -f arc.1 -f arc.2
33154 ) ) >"$at_stdout" 2>"$at_stderr"
33158 at_func_diff_devnull "$at_stderr" || at_failed=:
33159 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
33164 Pass 2: Split within a data block
33170 $at_diff - "$at_stdout" || at_failed=:
33171 at_func_check_status 0 $at_status "$at_srcdir/sparsemv.at:31"
33173 $at_failed && at_func_log_failure
33180 $at_times_p && times >"$at_times_file"
33181 ) 5>&1 2>&1 | eval $at_tee_pipe
33182 at_status=`cat "$at_status_file"`
33185 # 93. spmvp00.at:21: sparse files in PAX MV archives, v.0.0
33186 at_setup_line='spmvp00.at:21'
33187 at_desc="sparse files in PAX MV archives, v.0.0"
33188 $at_quiet $as_echo_n " 93: $at_desc "
33190 test -f $XFAILFILE && at_xfail=yes
33191 echo "# -*- compilation -*-" >> "$at_group_log"
33193 $as_echo "93. spmvp00.at:21: testing ..."
33202 $as_echo "$at_srcdir/spmvp00.at:24:
33205 TEST_TAR_FORMAT=pax
33206 export TEST_TAR_FORMAT
33207 TAR_OPTIONS=\"-H pax\"
33212 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
33213 echo \"Pass 1: Split between data blocks\"
33214 echo \"Create archive\"
33215 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33216 echo \"Test archive\"
33217 tar -t -M -f arc.1 -f arc.2 -f arc.3
33218 echo \"Compare archive\"
33219 tar -d -M -f arc.1 -f arc.2 -f arc.3
33221 echo \"Pass 2: Split within a data block\"
33222 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33223 echo \"Create archive\"
33224 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33225 echo \"Test archive\"
33226 tar -t -M -f arc.1 -f arc.2 -f arc.3
33227 echo \"Compare archive\"
33228 tar -d -M -f arc.1 -f arc.2 -f arc.3
33230 echo spmvp00.at:24 >"$at_check_line_file"
33232 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33237 TEST_TAR_FORMAT=pax
33238 export TEST_TAR_FORMAT
33239 TAR_OPTIONS="-H pax"
33244 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
33245 echo "Pass 1: Split between data blocks"
33246 echo "Create archive"
33247 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33248 echo "Test archive"
33249 tar -t -M -f arc.1 -f arc.2 -f arc.3
33250 echo "Compare archive"
33251 tar -d -M -f arc.1 -f arc.2 -f arc.3
33253 echo "Pass 2: Split within a data block"
33254 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33255 echo "Create archive"
33256 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33257 echo "Test archive"
33258 tar -t -M -f arc.1 -f arc.2 -f arc.3
33259 echo "Compare archive"
33260 tar -d -M -f arc.1 -f arc.2 -f arc.3
33261 ) ) >"$at_stdout" 2>"$at_stder1"
33262 at_func_filter_trace $?
33267 TEST_TAR_FORMAT=pax
33268 export TEST_TAR_FORMAT
33269 TAR_OPTIONS="-H pax"
33274 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
33275 echo "Pass 1: Split between data blocks"
33276 echo "Create archive"
33277 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33278 echo "Test archive"
33279 tar -t -M -f arc.1 -f arc.2 -f arc.3
33280 echo "Compare archive"
33281 tar -d -M -f arc.1 -f arc.2 -f arc.3
33283 echo "Pass 2: Split within a data block"
33284 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33285 echo "Create archive"
33286 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33287 echo "Test archive"
33288 tar -t -M -f arc.1 -f arc.2 -f arc.3
33289 echo "Compare archive"
33290 tar -d -M -f arc.1 -f arc.2 -f arc.3
33291 ) ) >"$at_stdout" 2>"$at_stderr"
33295 at_func_diff_devnull "$at_stderr" || at_failed=:
33296 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
33301 Pass 2: Split within a data block
33307 $at_diff - "$at_stdout" || at_failed=:
33308 at_func_check_status 0 $at_status "$at_srcdir/spmvp00.at:24"
33310 $at_failed && at_func_log_failure
33317 $at_times_p && times >"$at_times_file"
33318 ) 5>&1 2>&1 | eval $at_tee_pipe
33319 at_status=`cat "$at_status_file"`
33322 # 94. spmvp01.at:21: sparse files in PAX MV archives, v.0.1
33323 at_setup_line='spmvp01.at:21'
33324 at_desc="sparse files in PAX MV archives, v.0.1"
33325 $at_quiet $as_echo_n " 94: $at_desc "
33327 test -f $XFAILFILE && at_xfail=yes
33328 echo "# -*- compilation -*-" >> "$at_group_log"
33330 $as_echo "94. spmvp01.at:21: testing ..."
33339 $as_echo "$at_srcdir/spmvp01.at:24:
33342 TEST_TAR_FORMAT=pax
33343 export TEST_TAR_FORMAT
33344 TAR_OPTIONS=\"-H pax\"
33349 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33350 echo \"Pass 1: Split between data blocks\"
33351 echo \"Create archive\"
33352 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33353 echo \"Test archive\"
33354 tar -t -M -f arc.1 -f arc.2 -f arc.3
33355 echo \"Compare archive\"
33356 tar -d -M -f arc.1 -f arc.2 -f arc.3
33358 echo \"Pass 2: Split within a data block\"
33359 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33360 echo \"Create archive\"
33361 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33362 echo \"Test archive\"
33363 tar -t -M -f arc.1 -f arc.2 -f arc.3
33364 echo \"Compare archive\"
33365 tar -d -M -f arc.1 -f arc.2 -f arc.3
33367 echo spmvp01.at:24 >"$at_check_line_file"
33369 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33374 TEST_TAR_FORMAT=pax
33375 export TEST_TAR_FORMAT
33376 TAR_OPTIONS="-H pax"
33381 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33382 echo "Pass 1: Split between data blocks"
33383 echo "Create archive"
33384 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33385 echo "Test archive"
33386 tar -t -M -f arc.1 -f arc.2 -f arc.3
33387 echo "Compare archive"
33388 tar -d -M -f arc.1 -f arc.2 -f arc.3
33390 echo "Pass 2: Split within a data block"
33391 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33392 echo "Create archive"
33393 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33394 echo "Test archive"
33395 tar -t -M -f arc.1 -f arc.2 -f arc.3
33396 echo "Compare archive"
33397 tar -d -M -f arc.1 -f arc.2 -f arc.3
33398 ) ) >"$at_stdout" 2>"$at_stder1"
33399 at_func_filter_trace $?
33404 TEST_TAR_FORMAT=pax
33405 export TEST_TAR_FORMAT
33406 TAR_OPTIONS="-H pax"
33411 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
33412 echo "Pass 1: Split between data blocks"
33413 echo "Create archive"
33414 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33415 echo "Test archive"
33416 tar -t -M -f arc.1 -f arc.2 -f arc.3
33417 echo "Compare archive"
33418 tar -d -M -f arc.1 -f arc.2 -f arc.3
33420 echo "Pass 2: Split within a data block"
33421 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
33422 echo "Create archive"
33423 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33424 echo "Test archive"
33425 tar -t -M -f arc.1 -f arc.2 -f arc.3
33426 echo "Compare archive"
33427 tar -d -M -f arc.1 -f arc.2 -f arc.3
33428 ) ) >"$at_stdout" 2>"$at_stderr"
33432 at_func_diff_devnull "$at_stderr" || at_failed=:
33433 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
33438 Pass 2: Split within a data block
33444 $at_diff - "$at_stdout" || at_failed=:
33445 at_func_check_status 0 $at_status "$at_srcdir/spmvp01.at:24"
33447 $at_failed && at_func_log_failure
33454 $at_times_p && times >"$at_times_file"
33455 ) 5>&1 2>&1 | eval $at_tee_pipe
33456 at_status=`cat "$at_status_file"`
33459 # 95. spmvp10.at:21: sparse files in PAX MV archives, v.1.0
33460 at_setup_line='spmvp10.at:21'
33461 at_desc="sparse files in PAX MV archives, v.1.0"
33462 $at_quiet $as_echo_n " 95: $at_desc "
33464 test -f $XFAILFILE && at_xfail=yes
33465 echo "# -*- compilation -*-" >> "$at_group_log"
33467 $as_echo "95. spmvp10.at:21: testing ..."
33476 $as_echo "$at_srcdir/spmvp10.at:24:
33479 TEST_TAR_FORMAT=pax
33480 export TEST_TAR_FORMAT
33481 TAR_OPTIONS=\"-H pax\"
33486 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33487 echo \"Pass 1: Split between data blocks\"
33488 echo \"Create archive\"
33489 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33490 echo \"Test archive\"
33491 tar -t -M -f arc.1 -f arc.2 -f arc.3
33492 echo \"Compare archive\"
33493 tar -d -M -f arc.1 -f arc.2 -f arc.3
33495 echo \"Pass 2: Split within a data block\"
33496 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
33497 echo \"Create archive\"
33498 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33499 echo \"Test archive\"
33500 tar -t -M -f arc.1 -f arc.2 -f arc.3
33501 echo \"Compare archive\"
33502 tar -d -M -f arc.1 -f arc.2 -f arc.3
33504 echo spmvp10.at:24 >"$at_check_line_file"
33506 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33511 TEST_TAR_FORMAT=pax
33512 export TEST_TAR_FORMAT
33513 TAR_OPTIONS="-H pax"
33518 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33519 echo "Pass 1: Split between data blocks"
33520 echo "Create archive"
33521 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33522 echo "Test archive"
33523 tar -t -M -f arc.1 -f arc.2 -f arc.3
33524 echo "Compare archive"
33525 tar -d -M -f arc.1 -f arc.2 -f arc.3
33527 echo "Pass 2: Split within a data block"
33528 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
33529 echo "Create archive"
33530 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33531 echo "Test archive"
33532 tar -t -M -f arc.1 -f arc.2 -f arc.3
33533 echo "Compare archive"
33534 tar -d -M -f arc.1 -f arc.2 -f arc.3
33535 ) ) >"$at_stdout" 2>"$at_stder1"
33536 at_func_filter_trace $?
33541 TEST_TAR_FORMAT=pax
33542 export TEST_TAR_FORMAT
33543 TAR_OPTIONS="-H pax"
33548 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
33549 echo "Pass 1: Split between data blocks"
33550 echo "Create archive"
33551 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33552 echo "Test archive"
33553 tar -t -M -f arc.1 -f arc.2 -f arc.3
33554 echo "Compare archive"
33555 tar -d -M -f arc.1 -f arc.2 -f arc.3
33557 echo "Pass 2: Split within a data block"
33558 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
33559 echo "Create archive"
33560 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
33561 echo "Test archive"
33562 tar -t -M -f arc.1 -f arc.2 -f arc.3
33563 echo "Compare archive"
33564 tar -d -M -f arc.1 -f arc.2 -f arc.3
33565 ) ) >"$at_stdout" 2>"$at_stderr"
33569 at_func_diff_devnull "$at_stderr" || at_failed=:
33570 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
33575 Pass 2: Split within a data block
33581 $at_diff - "$at_stdout" || at_failed=:
33582 at_func_check_status 0 $at_status "$at_srcdir/spmvp10.at:24"
33584 $at_failed && at_func_log_failure
33591 $at_times_p && times >"$at_times_file"
33592 ) 5>&1 2>&1 | eval $at_tee_pipe
33593 at_status=`cat "$at_status_file"`
33596 # 96. update.at:28: update unchanged directories
33597 at_setup_line='update.at:28'
33598 at_desc="update unchanged directories"
33599 $at_quiet $as_echo_n " 96: $at_desc "
33601 test -f $XFAILFILE && at_xfail=yes
33602 echo "# -*- compilation -*-" >> "$at_group_log"
33604 $as_echo "96. update.at:28: testing ..."
33612 $as_echo "$at_srcdir/update.at:31:
33616 export TEST_TAR_FORMAT
33617 TAR_OPTIONS=\"-H v7\"
33622 test -z "`sort < /dev/null 2>&1`" || exit 77
33625 genfile --length 10240 --pattern zeros --file directory/file1
33626 genfile --length 10240 --pattern default --file directory/file2
33628 tar cf archive directory || exit 1
33630 tar uf archive directory || exit 1
33632 tar tf archive | sort || exit 1
33634 echo update.at:31 >"$at_check_line_file"
33636 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33642 export TEST_TAR_FORMAT
33643 TAR_OPTIONS="-H v7"
33648 test -z "`sort < /dev/null 2>&1`" || exit 77
33651 genfile --length 10240 --pattern zeros --file directory/file1
33652 genfile --length 10240 --pattern default --file directory/file2
33654 tar cf archive directory || exit 1
33656 tar uf archive directory || exit 1
33658 tar tf archive | sort || exit 1
33659 ) ) >"$at_stdout" 2>"$at_stder1"
33660 at_func_filter_trace $?
33666 export TEST_TAR_FORMAT
33667 TAR_OPTIONS="-H v7"
33672 test -z "`sort < /dev/null 2>&1`" || exit 77
33675 genfile --length 10240 --pattern zeros --file directory/file1
33676 genfile --length 10240 --pattern default --file directory/file2
33678 tar cf archive directory || exit 1
33680 tar uf archive directory || exit 1
33682 tar tf archive | sort || exit 1
33683 ) ) >"$at_stdout" 2>"$at_stderr"
33687 at_func_diff_devnull "$at_stderr" || at_failed=:
33688 echo >>"$at_stdout"; $as_echo "separator
33694 $at_diff - "$at_stdout" || at_failed=:
33695 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
33697 $at_failed && at_func_log_failure
33701 $as_echo "$at_srcdir/update.at:31:
33704 TEST_TAR_FORMAT=oldgnu
33705 export TEST_TAR_FORMAT
33706 TAR_OPTIONS=\"-H oldgnu\"
33711 test -z "`sort < /dev/null 2>&1`" || exit 77
33714 genfile --length 10240 --pattern zeros --file directory/file1
33715 genfile --length 10240 --pattern default --file directory/file2
33717 tar cf archive directory || exit 1
33719 tar uf archive directory || exit 1
33721 tar tf archive | sort || exit 1
33723 echo update.at:31 >"$at_check_line_file"
33725 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33730 TEST_TAR_FORMAT=oldgnu
33731 export TEST_TAR_FORMAT
33732 TAR_OPTIONS="-H oldgnu"
33737 test -z "`sort < /dev/null 2>&1`" || exit 77
33740 genfile --length 10240 --pattern zeros --file directory/file1
33741 genfile --length 10240 --pattern default --file directory/file2
33743 tar cf archive directory || exit 1
33745 tar uf archive directory || exit 1
33747 tar tf archive | sort || exit 1
33748 ) ) >"$at_stdout" 2>"$at_stder1"
33749 at_func_filter_trace $?
33754 TEST_TAR_FORMAT=oldgnu
33755 export TEST_TAR_FORMAT
33756 TAR_OPTIONS="-H oldgnu"
33761 test -z "`sort < /dev/null 2>&1`" || exit 77
33764 genfile --length 10240 --pattern zeros --file directory/file1
33765 genfile --length 10240 --pattern default --file directory/file2
33767 tar cf archive directory || exit 1
33769 tar uf archive directory || exit 1
33771 tar tf archive | sort || exit 1
33772 ) ) >"$at_stdout" 2>"$at_stderr"
33776 at_func_diff_devnull "$at_stderr" || at_failed=:
33777 echo >>"$at_stdout"; $as_echo "separator
33783 $at_diff - "$at_stdout" || at_failed=:
33784 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
33786 $at_failed && at_func_log_failure
33790 $as_echo "$at_srcdir/update.at:31:
33793 TEST_TAR_FORMAT=ustar
33794 export TEST_TAR_FORMAT
33795 TAR_OPTIONS=\"-H ustar\"
33800 test -z "`sort < /dev/null 2>&1`" || exit 77
33803 genfile --length 10240 --pattern zeros --file directory/file1
33804 genfile --length 10240 --pattern default --file directory/file2
33806 tar cf archive directory || exit 1
33808 tar uf archive directory || exit 1
33810 tar tf archive | sort || exit 1
33812 echo update.at:31 >"$at_check_line_file"
33814 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33819 TEST_TAR_FORMAT=ustar
33820 export TEST_TAR_FORMAT
33821 TAR_OPTIONS="-H ustar"
33826 test -z "`sort < /dev/null 2>&1`" || exit 77
33829 genfile --length 10240 --pattern zeros --file directory/file1
33830 genfile --length 10240 --pattern default --file directory/file2
33832 tar cf archive directory || exit 1
33834 tar uf archive directory || exit 1
33836 tar tf archive | sort || exit 1
33837 ) ) >"$at_stdout" 2>"$at_stder1"
33838 at_func_filter_trace $?
33843 TEST_TAR_FORMAT=ustar
33844 export TEST_TAR_FORMAT
33845 TAR_OPTIONS="-H ustar"
33850 test -z "`sort < /dev/null 2>&1`" || exit 77
33853 genfile --length 10240 --pattern zeros --file directory/file1
33854 genfile --length 10240 --pattern default --file directory/file2
33856 tar cf archive directory || exit 1
33858 tar uf archive directory || exit 1
33860 tar tf archive | sort || exit 1
33861 ) ) >"$at_stdout" 2>"$at_stderr"
33865 at_func_diff_devnull "$at_stderr" || at_failed=:
33866 echo >>"$at_stdout"; $as_echo "separator
33872 $at_diff - "$at_stdout" || at_failed=:
33873 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
33875 $at_failed && at_func_log_failure
33879 $as_echo "$at_srcdir/update.at:31:
33882 TEST_TAR_FORMAT=posix
33883 export TEST_TAR_FORMAT
33884 TAR_OPTIONS=\"-H posix\"
33889 test -z "`sort < /dev/null 2>&1`" || exit 77
33892 genfile --length 10240 --pattern zeros --file directory/file1
33893 genfile --length 10240 --pattern default --file directory/file2
33895 tar cf archive directory || exit 1
33897 tar uf archive directory || exit 1
33899 tar tf archive | sort || exit 1
33901 echo update.at:31 >"$at_check_line_file"
33903 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33908 TEST_TAR_FORMAT=posix
33909 export TEST_TAR_FORMAT
33910 TAR_OPTIONS="-H posix"
33915 test -z "`sort < /dev/null 2>&1`" || exit 77
33918 genfile --length 10240 --pattern zeros --file directory/file1
33919 genfile --length 10240 --pattern default --file directory/file2
33921 tar cf archive directory || exit 1
33923 tar uf archive directory || exit 1
33925 tar tf archive | sort || exit 1
33926 ) ) >"$at_stdout" 2>"$at_stder1"
33927 at_func_filter_trace $?
33932 TEST_TAR_FORMAT=posix
33933 export TEST_TAR_FORMAT
33934 TAR_OPTIONS="-H posix"
33939 test -z "`sort < /dev/null 2>&1`" || exit 77
33942 genfile --length 10240 --pattern zeros --file directory/file1
33943 genfile --length 10240 --pattern default --file directory/file2
33945 tar cf archive directory || exit 1
33947 tar uf archive directory || exit 1
33949 tar tf archive | sort || exit 1
33950 ) ) >"$at_stdout" 2>"$at_stderr"
33954 at_func_diff_devnull "$at_stderr" || at_failed=:
33955 echo >>"$at_stdout"; $as_echo "separator
33961 $at_diff - "$at_stdout" || at_failed=:
33962 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
33964 $at_failed && at_func_log_failure
33968 $as_echo "$at_srcdir/update.at:31:
33971 TEST_TAR_FORMAT=gnu
33972 export TEST_TAR_FORMAT
33973 TAR_OPTIONS=\"-H gnu\"
33978 test -z "`sort < /dev/null 2>&1`" || exit 77
33981 genfile --length 10240 --pattern zeros --file directory/file1
33982 genfile --length 10240 --pattern default --file directory/file2
33984 tar cf archive directory || exit 1
33986 tar uf archive directory || exit 1
33988 tar tf archive | sort || exit 1
33990 echo update.at:31 >"$at_check_line_file"
33992 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33997 TEST_TAR_FORMAT=gnu
33998 export TEST_TAR_FORMAT
33999 TAR_OPTIONS="-H gnu"
34004 test -z "`sort < /dev/null 2>&1`" || exit 77
34007 genfile --length 10240 --pattern zeros --file directory/file1
34008 genfile --length 10240 --pattern default --file directory/file2
34010 tar cf archive directory || exit 1
34012 tar uf archive directory || exit 1
34014 tar tf archive | sort || exit 1
34015 ) ) >"$at_stdout" 2>"$at_stder1"
34016 at_func_filter_trace $?
34021 TEST_TAR_FORMAT=gnu
34022 export TEST_TAR_FORMAT
34023 TAR_OPTIONS="-H gnu"
34028 test -z "`sort < /dev/null 2>&1`" || exit 77
34031 genfile --length 10240 --pattern zeros --file directory/file1
34032 genfile --length 10240 --pattern default --file directory/file2
34034 tar cf archive directory || exit 1
34036 tar uf archive directory || exit 1
34038 tar tf archive | sort || exit 1
34039 ) ) >"$at_stdout" 2>"$at_stderr"
34043 at_func_diff_devnull "$at_stderr" || at_failed=:
34044 echo >>"$at_stdout"; $as_echo "separator
34050 $at_diff - "$at_stdout" || at_failed=:
34051 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
34053 $at_failed && at_func_log_failure
34060 $at_times_p && times >"$at_times_file"
34061 ) 5>&1 2>&1 | eval $at_tee_pipe
34062 at_status=`cat "$at_status_file"`
34065 # 97. update01.at:29: update directories
34066 at_setup_line='update01.at:29'
34067 at_desc="update directories"
34068 $at_quiet $as_echo_n " 97: $at_desc "
34070 test -f $XFAILFILE && at_xfail=yes
34071 echo "# -*- compilation -*-" >> "$at_group_log"
34073 $as_echo "97. update01.at:29: testing ..."
34081 $as_echo "$at_srcdir/update01.at:32:
34085 export TEST_TAR_FORMAT
34086 TAR_OPTIONS=\"-H v7\"
34091 test -z "`sort < /dev/null 2>&1`" || exit 77
34105 tar tf arc | sort || exit 1
34107 echo update01.at:32 >"$at_check_line_file"
34109 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34115 export TEST_TAR_FORMAT
34116 TAR_OPTIONS="-H v7"
34121 test -z "`sort < /dev/null 2>&1`" || exit 77
34135 tar tf arc | sort || exit 1
34136 ) ) >"$at_stdout" 2>"$at_stder1"
34137 at_func_filter_trace $?
34143 export TEST_TAR_FORMAT
34144 TAR_OPTIONS="-H v7"
34149 test -z "`sort < /dev/null 2>&1`" || exit 77
34163 tar tf arc | sort || exit 1
34164 ) ) >"$at_stdout" 2>"$at_stderr"
34168 at_func_diff_devnull "$at_stderr" || at_failed=:
34169 echo >>"$at_stdout"; $as_echo "separator
34176 $at_diff - "$at_stdout" || at_failed=:
34177 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
34179 $at_failed && at_func_log_failure
34183 $as_echo "$at_srcdir/update01.at:32:
34186 TEST_TAR_FORMAT=oldgnu
34187 export TEST_TAR_FORMAT
34188 TAR_OPTIONS=\"-H oldgnu\"
34193 test -z "`sort < /dev/null 2>&1`" || exit 77
34207 tar tf arc | sort || exit 1
34209 echo update01.at:32 >"$at_check_line_file"
34211 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34216 TEST_TAR_FORMAT=oldgnu
34217 export TEST_TAR_FORMAT
34218 TAR_OPTIONS="-H oldgnu"
34223 test -z "`sort < /dev/null 2>&1`" || exit 77
34237 tar tf arc | sort || exit 1
34238 ) ) >"$at_stdout" 2>"$at_stder1"
34239 at_func_filter_trace $?
34244 TEST_TAR_FORMAT=oldgnu
34245 export TEST_TAR_FORMAT
34246 TAR_OPTIONS="-H oldgnu"
34251 test -z "`sort < /dev/null 2>&1`" || exit 77
34265 tar tf arc | sort || exit 1
34266 ) ) >"$at_stdout" 2>"$at_stderr"
34270 at_func_diff_devnull "$at_stderr" || at_failed=:
34271 echo >>"$at_stdout"; $as_echo "separator
34278 $at_diff - "$at_stdout" || at_failed=:
34279 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
34281 $at_failed && at_func_log_failure
34285 $as_echo "$at_srcdir/update01.at:32:
34288 TEST_TAR_FORMAT=ustar
34289 export TEST_TAR_FORMAT
34290 TAR_OPTIONS=\"-H ustar\"
34295 test -z "`sort < /dev/null 2>&1`" || exit 77
34309 tar tf arc | sort || exit 1
34311 echo update01.at:32 >"$at_check_line_file"
34313 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34318 TEST_TAR_FORMAT=ustar
34319 export TEST_TAR_FORMAT
34320 TAR_OPTIONS="-H ustar"
34325 test -z "`sort < /dev/null 2>&1`" || exit 77
34339 tar tf arc | sort || exit 1
34340 ) ) >"$at_stdout" 2>"$at_stder1"
34341 at_func_filter_trace $?
34346 TEST_TAR_FORMAT=ustar
34347 export TEST_TAR_FORMAT
34348 TAR_OPTIONS="-H ustar"
34353 test -z "`sort < /dev/null 2>&1`" || exit 77
34367 tar tf arc | sort || exit 1
34368 ) ) >"$at_stdout" 2>"$at_stderr"
34372 at_func_diff_devnull "$at_stderr" || at_failed=:
34373 echo >>"$at_stdout"; $as_echo "separator
34380 $at_diff - "$at_stdout" || at_failed=:
34381 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
34383 $at_failed && at_func_log_failure
34387 $as_echo "$at_srcdir/update01.at:32:
34390 TEST_TAR_FORMAT=posix
34391 export TEST_TAR_FORMAT
34392 TAR_OPTIONS=\"-H posix\"
34397 test -z "`sort < /dev/null 2>&1`" || exit 77
34411 tar tf arc | sort || exit 1
34413 echo update01.at:32 >"$at_check_line_file"
34415 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34420 TEST_TAR_FORMAT=posix
34421 export TEST_TAR_FORMAT
34422 TAR_OPTIONS="-H posix"
34427 test -z "`sort < /dev/null 2>&1`" || exit 77
34441 tar tf arc | sort || exit 1
34442 ) ) >"$at_stdout" 2>"$at_stder1"
34443 at_func_filter_trace $?
34448 TEST_TAR_FORMAT=posix
34449 export TEST_TAR_FORMAT
34450 TAR_OPTIONS="-H posix"
34455 test -z "`sort < /dev/null 2>&1`" || exit 77
34469 tar tf arc | sort || exit 1
34470 ) ) >"$at_stdout" 2>"$at_stderr"
34474 at_func_diff_devnull "$at_stderr" || at_failed=:
34475 echo >>"$at_stdout"; $as_echo "separator
34482 $at_diff - "$at_stdout" || at_failed=:
34483 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
34485 $at_failed && at_func_log_failure
34489 $as_echo "$at_srcdir/update01.at:32:
34492 TEST_TAR_FORMAT=gnu
34493 export TEST_TAR_FORMAT
34494 TAR_OPTIONS=\"-H gnu\"
34499 test -z "`sort < /dev/null 2>&1`" || exit 77
34513 tar tf arc | sort || exit 1
34515 echo update01.at:32 >"$at_check_line_file"
34517 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34522 TEST_TAR_FORMAT=gnu
34523 export TEST_TAR_FORMAT
34524 TAR_OPTIONS="-H gnu"
34529 test -z "`sort < /dev/null 2>&1`" || exit 77
34543 tar tf arc | sort || exit 1
34544 ) ) >"$at_stdout" 2>"$at_stder1"
34545 at_func_filter_trace $?
34550 TEST_TAR_FORMAT=gnu
34551 export TEST_TAR_FORMAT
34552 TAR_OPTIONS="-H gnu"
34557 test -z "`sort < /dev/null 2>&1`" || exit 77
34571 tar tf arc | sort || exit 1
34572 ) ) >"$at_stdout" 2>"$at_stderr"
34576 at_func_diff_devnull "$at_stderr" || at_failed=:
34577 echo >>"$at_stdout"; $as_echo "separator
34584 $at_diff - "$at_stdout" || at_failed=:
34585 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
34587 $at_failed && at_func_log_failure
34594 $at_times_p && times >"$at_times_file"
34595 ) 5>&1 2>&1 | eval $at_tee_pipe
34596 at_status=`cat "$at_status_file"`
34599 # 98. update02.at:26: update changed files
34600 at_setup_line='update02.at:26'
34601 at_desc="update changed files"
34602 $at_quiet $as_echo_n " 98: $at_desc "
34604 test -f $XFAILFILE && at_xfail=yes
34605 echo "# -*- compilation -*-" >> "$at_group_log"
34607 $as_echo "98. update02.at:26: testing ..."
34615 $as_echo "$at_srcdir/update02.at:29:
34619 export TEST_TAR_FORMAT
34620 TAR_OPTIONS=\"-H v7\"
34625 test -z "`sort < /dev/null 2>&1`" || exit 77
34639 tar tf arc | sort || exit 1
34641 echo update02.at:29 >"$at_check_line_file"
34643 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34649 export TEST_TAR_FORMAT
34650 TAR_OPTIONS="-H v7"
34655 test -z "`sort < /dev/null 2>&1`" || exit 77
34669 tar tf arc | sort || exit 1
34670 ) ) >"$at_stdout" 2>"$at_stder1"
34671 at_func_filter_trace $?
34677 export TEST_TAR_FORMAT
34678 TAR_OPTIONS="-H v7"
34683 test -z "`sort < /dev/null 2>&1`" || exit 77
34697 tar tf arc | sort || exit 1
34698 ) ) >"$at_stdout" 2>"$at_stderr"
34702 at_func_diff_devnull "$at_stderr" || at_failed=:
34703 echo >>"$at_stdout"; $as_echo "separator
34710 $at_diff - "$at_stdout" || at_failed=:
34711 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
34713 $at_failed && at_func_log_failure
34717 $as_echo "$at_srcdir/update02.at:29:
34720 TEST_TAR_FORMAT=oldgnu
34721 export TEST_TAR_FORMAT
34722 TAR_OPTIONS=\"-H oldgnu\"
34727 test -z "`sort < /dev/null 2>&1`" || exit 77
34741 tar tf arc | sort || exit 1
34743 echo update02.at:29 >"$at_check_line_file"
34745 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34750 TEST_TAR_FORMAT=oldgnu
34751 export TEST_TAR_FORMAT
34752 TAR_OPTIONS="-H oldgnu"
34757 test -z "`sort < /dev/null 2>&1`" || exit 77
34771 tar tf arc | sort || exit 1
34772 ) ) >"$at_stdout" 2>"$at_stder1"
34773 at_func_filter_trace $?
34778 TEST_TAR_FORMAT=oldgnu
34779 export TEST_TAR_FORMAT
34780 TAR_OPTIONS="-H oldgnu"
34785 test -z "`sort < /dev/null 2>&1`" || exit 77
34799 tar tf arc | sort || exit 1
34800 ) ) >"$at_stdout" 2>"$at_stderr"
34804 at_func_diff_devnull "$at_stderr" || at_failed=:
34805 echo >>"$at_stdout"; $as_echo "separator
34812 $at_diff - "$at_stdout" || at_failed=:
34813 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
34815 $at_failed && at_func_log_failure
34819 $as_echo "$at_srcdir/update02.at:29:
34822 TEST_TAR_FORMAT=ustar
34823 export TEST_TAR_FORMAT
34824 TAR_OPTIONS=\"-H ustar\"
34829 test -z "`sort < /dev/null 2>&1`" || exit 77
34843 tar tf arc | sort || exit 1
34845 echo update02.at:29 >"$at_check_line_file"
34847 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34852 TEST_TAR_FORMAT=ustar
34853 export TEST_TAR_FORMAT
34854 TAR_OPTIONS="-H ustar"
34859 test -z "`sort < /dev/null 2>&1`" || exit 77
34873 tar tf arc | sort || exit 1
34874 ) ) >"$at_stdout" 2>"$at_stder1"
34875 at_func_filter_trace $?
34880 TEST_TAR_FORMAT=ustar
34881 export TEST_TAR_FORMAT
34882 TAR_OPTIONS="-H ustar"
34887 test -z "`sort < /dev/null 2>&1`" || exit 77
34901 tar tf arc | sort || exit 1
34902 ) ) >"$at_stdout" 2>"$at_stderr"
34906 at_func_diff_devnull "$at_stderr" || at_failed=:
34907 echo >>"$at_stdout"; $as_echo "separator
34914 $at_diff - "$at_stdout" || at_failed=:
34915 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
34917 $at_failed && at_func_log_failure
34921 $as_echo "$at_srcdir/update02.at:29:
34924 TEST_TAR_FORMAT=posix
34925 export TEST_TAR_FORMAT
34926 TAR_OPTIONS=\"-H posix\"
34931 test -z "`sort < /dev/null 2>&1`" || exit 77
34945 tar tf arc | sort || exit 1
34947 echo update02.at:29 >"$at_check_line_file"
34949 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34954 TEST_TAR_FORMAT=posix
34955 export TEST_TAR_FORMAT
34956 TAR_OPTIONS="-H posix"
34961 test -z "`sort < /dev/null 2>&1`" || exit 77
34975 tar tf arc | sort || exit 1
34976 ) ) >"$at_stdout" 2>"$at_stder1"
34977 at_func_filter_trace $?
34982 TEST_TAR_FORMAT=posix
34983 export TEST_TAR_FORMAT
34984 TAR_OPTIONS="-H posix"
34989 test -z "`sort < /dev/null 2>&1`" || exit 77
35003 tar tf arc | sort || exit 1
35004 ) ) >"$at_stdout" 2>"$at_stderr"
35008 at_func_diff_devnull "$at_stderr" || at_failed=:
35009 echo >>"$at_stdout"; $as_echo "separator
35016 $at_diff - "$at_stdout" || at_failed=:
35017 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
35019 $at_failed && at_func_log_failure
35023 $as_echo "$at_srcdir/update02.at:29:
35026 TEST_TAR_FORMAT=gnu
35027 export TEST_TAR_FORMAT
35028 TAR_OPTIONS=\"-H gnu\"
35033 test -z "`sort < /dev/null 2>&1`" || exit 77
35047 tar tf arc | sort || exit 1
35049 echo update02.at:29 >"$at_check_line_file"
35051 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35056 TEST_TAR_FORMAT=gnu
35057 export TEST_TAR_FORMAT
35058 TAR_OPTIONS="-H gnu"
35063 test -z "`sort < /dev/null 2>&1`" || exit 77
35077 tar tf arc | sort || exit 1
35078 ) ) >"$at_stdout" 2>"$at_stder1"
35079 at_func_filter_trace $?
35084 TEST_TAR_FORMAT=gnu
35085 export TEST_TAR_FORMAT
35086 TAR_OPTIONS="-H gnu"
35091 test -z "`sort < /dev/null 2>&1`" || exit 77
35105 tar tf arc | sort || exit 1
35106 ) ) >"$at_stdout" 2>"$at_stderr"
35110 at_func_diff_devnull "$at_stderr" || at_failed=:
35111 echo >>"$at_stdout"; $as_echo "separator
35118 $at_diff - "$at_stdout" || at_failed=:
35119 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
35121 $at_failed && at_func_log_failure
35128 $at_times_p && times >"$at_times_file"
35129 ) 5>&1 2>&1 | eval $at_tee_pipe
35130 at_status=`cat "$at_status_file"`
35133 # 99. volume.at:23: volume
35134 at_setup_line='volume.at:23'
35136 $at_quiet $as_echo_n " 99: $at_desc "
35138 test -f $XFAILFILE && at_xfail=yes
35139 echo "# -*- compilation -*-" >> "$at_group_log"
35141 $as_echo "99. volume.at:23: testing ..."
35149 $as_echo "$at_srcdir/volume.at:26:
35152 TEST_TAR_FORMAT=gnu
35153 export TEST_TAR_FORMAT
35154 TAR_OPTIONS=\"-H gnu\"
35158 tar -cf archive -V label -T /dev/null || exit 1
35160 tar xfV archive label || exit 1
35161 tar xfV archive 'la?el' || exit 1
35162 tar xfV archive 'l*l' || exit 1
35165 tar xfV archive lab
35166 test \$? = 2 || exit 1
35168 tar xfV archive bel
35169 test \$? = 2 || exit 1
35171 tar xfV archive babel
35174 echo volume.at:26 >"$at_check_line_file"
35176 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35181 TEST_TAR_FORMAT=gnu
35182 export TEST_TAR_FORMAT
35183 TAR_OPTIONS="-H gnu"
35187 tar -cf archive -V label -T /dev/null || exit 1
35189 tar xfV archive label || exit 1
35190 tar xfV archive 'la?el' || exit 1
35191 tar xfV archive 'l*l' || exit 1
35194 tar xfV archive lab
35195 test $? = 2 || exit 1
35197 tar xfV archive bel
35198 test $? = 2 || exit 1
35200 tar xfV archive babel
35202 ) ) >"$at_stdout" 2>"$at_stder1"
35203 at_func_filter_trace $?
35208 TEST_TAR_FORMAT=gnu
35209 export TEST_TAR_FORMAT
35210 TAR_OPTIONS="-H gnu"
35214 tar -cf archive -V label -T /dev/null || exit 1
35216 tar xfV archive label || exit 1
35217 tar xfV archive 'la?el' || exit 1
35218 tar xfV archive 'l*l' || exit 1
35221 tar xfV archive lab
35222 test $? = 2 || exit 1
35224 tar xfV archive bel
35225 test $? = 2 || exit 1
35227 tar xfV archive babel
35229 ) ) >"$at_stdout" 2>"$at_stderr"
35233 echo >>"$at_stderr"; $as_echo "-----
35234 tar: Volume \`label' does not match \`lab'
35235 tar: Error is not recoverable: exiting now
35237 tar: Volume \`label' does not match \`bel'
35238 tar: Error is not recoverable: exiting now
35240 tar: Volume \`label' does not match \`babel'
35241 tar: Error is not recoverable: exiting now
35243 $at_diff - "$at_stderr" || at_failed=:
35244 at_func_diff_devnull "$at_stdout" || at_failed=:
35245 at_func_check_status 0 $at_status "$at_srcdir/volume.at:26"
35247 $at_failed && at_func_log_failure
35251 $as_echo "$at_srcdir/volume.at:26:
35254 TEST_TAR_FORMAT=oldgnu
35255 export TEST_TAR_FORMAT
35256 TAR_OPTIONS=\"-H oldgnu\"
35260 tar -cf archive -V label -T /dev/null || exit 1
35262 tar xfV archive label || exit 1
35263 tar xfV archive 'la?el' || exit 1
35264 tar xfV archive 'l*l' || exit 1
35267 tar xfV archive lab
35268 test \$? = 2 || exit 1
35270 tar xfV archive bel
35271 test \$? = 2 || exit 1
35273 tar xfV archive babel
35276 echo volume.at:26 >"$at_check_line_file"
35278 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35283 TEST_TAR_FORMAT=oldgnu
35284 export TEST_TAR_FORMAT
35285 TAR_OPTIONS="-H oldgnu"
35289 tar -cf archive -V label -T /dev/null || exit 1
35291 tar xfV archive label || exit 1
35292 tar xfV archive 'la?el' || exit 1
35293 tar xfV archive 'l*l' || exit 1
35296 tar xfV archive lab
35297 test $? = 2 || exit 1
35299 tar xfV archive bel
35300 test $? = 2 || exit 1
35302 tar xfV archive babel
35304 ) ) >"$at_stdout" 2>"$at_stder1"
35305 at_func_filter_trace $?
35310 TEST_TAR_FORMAT=oldgnu
35311 export TEST_TAR_FORMAT
35312 TAR_OPTIONS="-H oldgnu"
35316 tar -cf archive -V label -T /dev/null || exit 1
35318 tar xfV archive label || exit 1
35319 tar xfV archive 'la?el' || exit 1
35320 tar xfV archive 'l*l' || exit 1
35323 tar xfV archive lab
35324 test $? = 2 || exit 1
35326 tar xfV archive bel
35327 test $? = 2 || exit 1
35329 tar xfV archive babel
35331 ) ) >"$at_stdout" 2>"$at_stderr"
35335 echo >>"$at_stderr"; $as_echo "-----
35336 tar: Volume \`label' does not match \`lab'
35337 tar: Error is not recoverable: exiting now
35339 tar: Volume \`label' does not match \`bel'
35340 tar: Error is not recoverable: exiting now
35342 tar: Volume \`label' does not match \`babel'
35343 tar: Error is not recoverable: exiting now
35345 $at_diff - "$at_stderr" || at_failed=:
35346 at_func_diff_devnull "$at_stdout" || at_failed=:
35347 at_func_check_status 0 $at_status "$at_srcdir/volume.at:26"
35349 $at_failed && at_func_log_failure
35356 $at_times_p && times >"$at_times_file"
35357 ) 5>&1 2>&1 | eval $at_tee_pipe
35358 at_status=`cat "$at_status_file"`
35361 # 100. volsize.at:29: volume header size
35362 at_setup_line='volsize.at:29'
35363 at_desc="volume header size"
35364 $at_quiet $as_echo_n "100: $at_desc "
35366 test -f $XFAILFILE && at_xfail=yes
35367 echo "# -*- compilation -*-" >> "$at_group_log"
35369 $as_echo "100. volsize.at:29: testing ..."
35377 $as_echo "$at_srcdir/volsize.at:32:
35381 export TEST_TAR_FORMAT
35382 TAR_OPTIONS=\"-H v7\"
35387 test -z "`sort < /dev/null 2>&1`" || exit 77
35390 test -z "$TEST_DATA_DIR" && exit 77
35391 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35394 tar tf \$TEST_DATA_DIR/abc.tar
35395 echo Verbose Listing
35396 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
35397 echo Extracted directory
35398 tar xf \$TEST_DATA_DIR/abc.tar
35401 echo volsize.at:32 >"$at_check_line_file"
35403 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35409 export TEST_TAR_FORMAT
35410 TAR_OPTIONS="-H v7"
35415 test -z "`sort < /dev/null 2>&1`" || exit 77
35418 test -z "$TEST_DATA_DIR" && exit 77
35419 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35422 tar tf $TEST_DATA_DIR/abc.tar
35423 echo Verbose Listing
35424 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35425 echo Extracted directory
35426 tar xf $TEST_DATA_DIR/abc.tar
35428 ) ) >"$at_stdout" 2>"$at_stder1"
35429 at_func_filter_trace $?
35435 export TEST_TAR_FORMAT
35436 TAR_OPTIONS="-H v7"
35441 test -z "`sort < /dev/null 2>&1`" || exit 77
35444 test -z "$TEST_DATA_DIR" && exit 77
35445 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35448 tar tf $TEST_DATA_DIR/abc.tar
35449 echo Verbose Listing
35450 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35451 echo Extracted directory
35452 tar xf $TEST_DATA_DIR/abc.tar
35454 ) ) >"$at_stdout" 2>"$at_stderr"
35458 at_func_diff_devnull "$at_stderr" || at_failed=:
35459 echo >>"$at_stdout"; $as_echo "Short Listing
35463 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
35464 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
35465 Extracted directory
35469 $at_diff - "$at_stdout" || at_failed=:
35470 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
35472 $at_failed && at_func_log_failure
35476 $as_echo "$at_srcdir/volsize.at:32:
35479 TEST_TAR_FORMAT=oldgnu
35480 export TEST_TAR_FORMAT
35481 TAR_OPTIONS=\"-H oldgnu\"
35486 test -z "`sort < /dev/null 2>&1`" || exit 77
35489 test -z "$TEST_DATA_DIR" && exit 77
35490 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35493 tar tf \$TEST_DATA_DIR/abc.tar
35494 echo Verbose Listing
35495 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
35496 echo Extracted directory
35497 tar xf \$TEST_DATA_DIR/abc.tar
35500 echo volsize.at:32 >"$at_check_line_file"
35502 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35507 TEST_TAR_FORMAT=oldgnu
35508 export TEST_TAR_FORMAT
35509 TAR_OPTIONS="-H oldgnu"
35514 test -z "`sort < /dev/null 2>&1`" || exit 77
35517 test -z "$TEST_DATA_DIR" && exit 77
35518 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35521 tar tf $TEST_DATA_DIR/abc.tar
35522 echo Verbose Listing
35523 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35524 echo Extracted directory
35525 tar xf $TEST_DATA_DIR/abc.tar
35527 ) ) >"$at_stdout" 2>"$at_stder1"
35528 at_func_filter_trace $?
35533 TEST_TAR_FORMAT=oldgnu
35534 export TEST_TAR_FORMAT
35535 TAR_OPTIONS="-H oldgnu"
35540 test -z "`sort < /dev/null 2>&1`" || exit 77
35543 test -z "$TEST_DATA_DIR" && exit 77
35544 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35547 tar tf $TEST_DATA_DIR/abc.tar
35548 echo Verbose Listing
35549 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35550 echo Extracted directory
35551 tar xf $TEST_DATA_DIR/abc.tar
35553 ) ) >"$at_stdout" 2>"$at_stderr"
35557 at_func_diff_devnull "$at_stderr" || at_failed=:
35558 echo >>"$at_stdout"; $as_echo "Short Listing
35562 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
35563 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
35564 Extracted directory
35568 $at_diff - "$at_stdout" || at_failed=:
35569 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
35571 $at_failed && at_func_log_failure
35575 $as_echo "$at_srcdir/volsize.at:32:
35578 TEST_TAR_FORMAT=ustar
35579 export TEST_TAR_FORMAT
35580 TAR_OPTIONS=\"-H ustar\"
35585 test -z "`sort < /dev/null 2>&1`" || exit 77
35588 test -z "$TEST_DATA_DIR" && exit 77
35589 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35592 tar tf \$TEST_DATA_DIR/abc.tar
35593 echo Verbose Listing
35594 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
35595 echo Extracted directory
35596 tar xf \$TEST_DATA_DIR/abc.tar
35599 echo volsize.at:32 >"$at_check_line_file"
35601 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35606 TEST_TAR_FORMAT=ustar
35607 export TEST_TAR_FORMAT
35608 TAR_OPTIONS="-H ustar"
35613 test -z "`sort < /dev/null 2>&1`" || exit 77
35616 test -z "$TEST_DATA_DIR" && exit 77
35617 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35620 tar tf $TEST_DATA_DIR/abc.tar
35621 echo Verbose Listing
35622 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35623 echo Extracted directory
35624 tar xf $TEST_DATA_DIR/abc.tar
35626 ) ) >"$at_stdout" 2>"$at_stder1"
35627 at_func_filter_trace $?
35632 TEST_TAR_FORMAT=ustar
35633 export TEST_TAR_FORMAT
35634 TAR_OPTIONS="-H ustar"
35639 test -z "`sort < /dev/null 2>&1`" || exit 77
35642 test -z "$TEST_DATA_DIR" && exit 77
35643 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35646 tar tf $TEST_DATA_DIR/abc.tar
35647 echo Verbose Listing
35648 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35649 echo Extracted directory
35650 tar xf $TEST_DATA_DIR/abc.tar
35652 ) ) >"$at_stdout" 2>"$at_stderr"
35656 at_func_diff_devnull "$at_stderr" || at_failed=:
35657 echo >>"$at_stdout"; $as_echo "Short Listing
35661 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
35662 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
35663 Extracted directory
35667 $at_diff - "$at_stdout" || at_failed=:
35668 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
35670 $at_failed && at_func_log_failure
35674 $as_echo "$at_srcdir/volsize.at:32:
35677 TEST_TAR_FORMAT=posix
35678 export TEST_TAR_FORMAT
35679 TAR_OPTIONS=\"-H posix\"
35684 test -z "`sort < /dev/null 2>&1`" || exit 77
35687 test -z "$TEST_DATA_DIR" && exit 77
35688 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35691 tar tf \$TEST_DATA_DIR/abc.tar
35692 echo Verbose Listing
35693 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
35694 echo Extracted directory
35695 tar xf \$TEST_DATA_DIR/abc.tar
35698 echo volsize.at:32 >"$at_check_line_file"
35700 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35705 TEST_TAR_FORMAT=posix
35706 export TEST_TAR_FORMAT
35707 TAR_OPTIONS="-H posix"
35712 test -z "`sort < /dev/null 2>&1`" || exit 77
35715 test -z "$TEST_DATA_DIR" && exit 77
35716 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35719 tar tf $TEST_DATA_DIR/abc.tar
35720 echo Verbose Listing
35721 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35722 echo Extracted directory
35723 tar xf $TEST_DATA_DIR/abc.tar
35725 ) ) >"$at_stdout" 2>"$at_stder1"
35726 at_func_filter_trace $?
35731 TEST_TAR_FORMAT=posix
35732 export TEST_TAR_FORMAT
35733 TAR_OPTIONS="-H posix"
35738 test -z "`sort < /dev/null 2>&1`" || exit 77
35741 test -z "$TEST_DATA_DIR" && exit 77
35742 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35745 tar tf $TEST_DATA_DIR/abc.tar
35746 echo Verbose Listing
35747 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35748 echo Extracted directory
35749 tar xf $TEST_DATA_DIR/abc.tar
35751 ) ) >"$at_stdout" 2>"$at_stderr"
35755 at_func_diff_devnull "$at_stderr" || at_failed=:
35756 echo >>"$at_stdout"; $as_echo "Short Listing
35760 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
35761 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
35762 Extracted directory
35766 $at_diff - "$at_stdout" || at_failed=:
35767 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
35769 $at_failed && at_func_log_failure
35773 $as_echo "$at_srcdir/volsize.at:32:
35776 TEST_TAR_FORMAT=gnu
35777 export TEST_TAR_FORMAT
35778 TAR_OPTIONS=\"-H gnu\"
35783 test -z "`sort < /dev/null 2>&1`" || exit 77
35786 test -z "$TEST_DATA_DIR" && exit 77
35787 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35790 tar tf \$TEST_DATA_DIR/abc.tar
35791 echo Verbose Listing
35792 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
35793 echo Extracted directory
35794 tar xf \$TEST_DATA_DIR/abc.tar
35797 echo volsize.at:32 >"$at_check_line_file"
35799 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35804 TEST_TAR_FORMAT=gnu
35805 export TEST_TAR_FORMAT
35806 TAR_OPTIONS="-H gnu"
35811 test -z "`sort < /dev/null 2>&1`" || exit 77
35814 test -z "$TEST_DATA_DIR" && exit 77
35815 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35818 tar tf $TEST_DATA_DIR/abc.tar
35819 echo Verbose Listing
35820 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35821 echo Extracted directory
35822 tar xf $TEST_DATA_DIR/abc.tar
35824 ) ) >"$at_stdout" 2>"$at_stder1"
35825 at_func_filter_trace $?
35830 TEST_TAR_FORMAT=gnu
35831 export TEST_TAR_FORMAT
35832 TAR_OPTIONS="-H gnu"
35837 test -z "`sort < /dev/null 2>&1`" || exit 77
35840 test -z "$TEST_DATA_DIR" && exit 77
35841 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
35844 tar tf $TEST_DATA_DIR/abc.tar
35845 echo Verbose Listing
35846 tar --utc -tvf $TEST_DATA_DIR/abc.tar
35847 echo Extracted directory
35848 tar xf $TEST_DATA_DIR/abc.tar
35850 ) ) >"$at_stdout" 2>"$at_stderr"
35854 at_func_diff_devnull "$at_stderr" || at_failed=:
35855 echo >>"$at_stdout"; $as_echo "Short Listing
35859 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
35860 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
35861 Extracted directory
35865 $at_diff - "$at_stdout" || at_failed=:
35866 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
35868 $at_failed && at_func_log_failure
35875 $at_times_p && times >"$at_times_file"
35876 ) 5>&1 2>&1 | eval $at_tee_pipe
35877 at_status=`cat "$at_status_file"`
35880 # 101. comprec.at:21: compressed format recognition
35881 at_setup_line='comprec.at:21'
35882 at_desc="compressed format recognition"
35883 $at_quiet $as_echo_n "101: $at_desc "
35885 test -f $XFAILFILE && at_xfail=yes
35886 echo "# -*- compilation -*-" >> "$at_group_log"
35888 $as_echo "101. comprec.at:21: testing ..."
35897 $as_echo "$at_srcdir/comprec.at:25:
35901 export TEST_TAR_FORMAT
35902 TAR_OPTIONS=\"-H v7\"
35907 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35909 genfile --length 10240 --file file1
35911 tar cfz archive file1
35914 tar xfv archive --warning=no-timestamp
35917 echo comprec.at:25 >"$at_check_line_file"
35919 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35925 export TEST_TAR_FORMAT
35926 TAR_OPTIONS="-H v7"
35931 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35933 genfile --length 10240 --file file1
35935 tar cfz archive file1
35938 tar xfv archive --warning=no-timestamp
35940 ) ) >"$at_stdout" 2>"$at_stder1"
35941 at_func_filter_trace $?
35947 export TEST_TAR_FORMAT
35948 TAR_OPTIONS="-H v7"
35953 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35955 genfile --length 10240 --file file1
35957 tar cfz archive file1
35960 tar xfv archive --warning=no-timestamp
35962 ) ) >"$at_stdout" 2>"$at_stderr"
35966 at_func_diff_devnull "$at_stderr" || at_failed=:
35967 echo >>"$at_stdout"; $as_echo "separator
35971 $at_diff - "$at_stdout" || at_failed=:
35972 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
35974 $at_failed && at_func_log_failure
35978 $as_echo "$at_srcdir/comprec.at:25:
35981 TEST_TAR_FORMAT=oldgnu
35982 export TEST_TAR_FORMAT
35983 TAR_OPTIONS=\"-H oldgnu\"
35988 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35990 genfile --length 10240 --file file1
35992 tar cfz archive file1
35995 tar xfv archive --warning=no-timestamp
35998 echo comprec.at:25 >"$at_check_line_file"
36000 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36005 TEST_TAR_FORMAT=oldgnu
36006 export TEST_TAR_FORMAT
36007 TAR_OPTIONS="-H oldgnu"
36012 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36014 genfile --length 10240 --file file1
36016 tar cfz archive file1
36019 tar xfv archive --warning=no-timestamp
36021 ) ) >"$at_stdout" 2>"$at_stder1"
36022 at_func_filter_trace $?
36027 TEST_TAR_FORMAT=oldgnu
36028 export TEST_TAR_FORMAT
36029 TAR_OPTIONS="-H oldgnu"
36034 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36036 genfile --length 10240 --file file1
36038 tar cfz archive file1
36041 tar xfv archive --warning=no-timestamp
36043 ) ) >"$at_stdout" 2>"$at_stderr"
36047 at_func_diff_devnull "$at_stderr" || at_failed=:
36048 echo >>"$at_stdout"; $as_echo "separator
36052 $at_diff - "$at_stdout" || at_failed=:
36053 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
36055 $at_failed && at_func_log_failure
36059 $as_echo "$at_srcdir/comprec.at:25:
36062 TEST_TAR_FORMAT=ustar
36063 export TEST_TAR_FORMAT
36064 TAR_OPTIONS=\"-H ustar\"
36069 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36071 genfile --length 10240 --file file1
36073 tar cfz archive file1
36076 tar xfv archive --warning=no-timestamp
36079 echo comprec.at:25 >"$at_check_line_file"
36081 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36086 TEST_TAR_FORMAT=ustar
36087 export TEST_TAR_FORMAT
36088 TAR_OPTIONS="-H ustar"
36093 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36095 genfile --length 10240 --file file1
36097 tar cfz archive file1
36100 tar xfv archive --warning=no-timestamp
36102 ) ) >"$at_stdout" 2>"$at_stder1"
36103 at_func_filter_trace $?
36108 TEST_TAR_FORMAT=ustar
36109 export TEST_TAR_FORMAT
36110 TAR_OPTIONS="-H ustar"
36115 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36117 genfile --length 10240 --file file1
36119 tar cfz archive file1
36122 tar xfv archive --warning=no-timestamp
36124 ) ) >"$at_stdout" 2>"$at_stderr"
36128 at_func_diff_devnull "$at_stderr" || at_failed=:
36129 echo >>"$at_stdout"; $as_echo "separator
36133 $at_diff - "$at_stdout" || at_failed=:
36134 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
36136 $at_failed && at_func_log_failure
36140 $as_echo "$at_srcdir/comprec.at:25:
36143 TEST_TAR_FORMAT=posix
36144 export TEST_TAR_FORMAT
36145 TAR_OPTIONS=\"-H posix\"
36150 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36152 genfile --length 10240 --file file1
36154 tar cfz archive file1
36157 tar xfv archive --warning=no-timestamp
36160 echo comprec.at:25 >"$at_check_line_file"
36162 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36167 TEST_TAR_FORMAT=posix
36168 export TEST_TAR_FORMAT
36169 TAR_OPTIONS="-H posix"
36174 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36176 genfile --length 10240 --file file1
36178 tar cfz archive file1
36181 tar xfv archive --warning=no-timestamp
36183 ) ) >"$at_stdout" 2>"$at_stder1"
36184 at_func_filter_trace $?
36189 TEST_TAR_FORMAT=posix
36190 export TEST_TAR_FORMAT
36191 TAR_OPTIONS="-H posix"
36196 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36198 genfile --length 10240 --file file1
36200 tar cfz archive file1
36203 tar xfv archive --warning=no-timestamp
36205 ) ) >"$at_stdout" 2>"$at_stderr"
36209 at_func_diff_devnull "$at_stderr" || at_failed=:
36210 echo >>"$at_stdout"; $as_echo "separator
36214 $at_diff - "$at_stdout" || at_failed=:
36215 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
36217 $at_failed && at_func_log_failure
36221 $as_echo "$at_srcdir/comprec.at:25:
36224 TEST_TAR_FORMAT=gnu
36225 export TEST_TAR_FORMAT
36226 TAR_OPTIONS=\"-H gnu\"
36231 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36233 genfile --length 10240 --file file1
36235 tar cfz archive file1
36238 tar xfv archive --warning=no-timestamp
36241 echo comprec.at:25 >"$at_check_line_file"
36243 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36248 TEST_TAR_FORMAT=gnu
36249 export TEST_TAR_FORMAT
36250 TAR_OPTIONS="-H gnu"
36255 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36257 genfile --length 10240 --file file1
36259 tar cfz archive file1
36262 tar xfv archive --warning=no-timestamp
36264 ) ) >"$at_stdout" 2>"$at_stder1"
36265 at_func_filter_trace $?
36270 TEST_TAR_FORMAT=gnu
36271 export TEST_TAR_FORMAT
36272 TAR_OPTIONS="-H gnu"
36277 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
36279 genfile --length 10240 --file file1
36281 tar cfz archive file1
36284 tar xfv archive --warning=no-timestamp
36286 ) ) >"$at_stdout" 2>"$at_stderr"
36290 at_func_diff_devnull "$at_stderr" || at_failed=:
36291 echo >>"$at_stdout"; $as_echo "separator
36295 $at_diff - "$at_stdout" || at_failed=:
36296 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
36298 $at_failed && at_func_log_failure
36305 $at_times_p && times >"$at_times_file"
36306 ) 5>&1 2>&1 | eval $at_tee_pipe
36307 at_status=`cat "$at_status_file"`
36310 # 102. shortfile.at:26: short input files
36311 at_setup_line='shortfile.at:26'
36312 at_desc="short input files"
36313 $at_quiet $as_echo_n "102: $at_desc "
36315 test -f $XFAILFILE && at_xfail=yes
36316 echo "# -*- compilation -*-" >> "$at_group_log"
36318 $as_echo "102. shortfile.at:26: testing ..."
36326 $as_echo "$at_srcdir/shortfile.at:29:
36329 TEST_TAR_FORMAT=gnu
36330 export TEST_TAR_FORMAT
36331 TAR_OPTIONS=\"-H gnu\"
36335 genfile --length 511 --file foo || exit 5
36338 echo shortfile.at:29 >"$at_check_line_file"
36340 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36345 TEST_TAR_FORMAT=gnu
36346 export TEST_TAR_FORMAT
36347 TAR_OPTIONS="-H gnu"
36351 genfile --length 511 --file foo || exit 5
36353 ) ) >"$at_stdout" 2>"$at_stder1"
36354 at_func_filter_trace $?
36359 TEST_TAR_FORMAT=gnu
36360 export TEST_TAR_FORMAT
36361 TAR_OPTIONS="-H gnu"
36365 genfile --length 511 --file foo || exit 5
36367 ) ) >"$at_stdout" 2>"$at_stderr"
36371 echo >>"$at_stderr"; $as_echo "tar: This does not look like a tar archive
36372 tar: Exiting with failure status due to previous errors
36374 $at_diff - "$at_stderr" || at_failed=:
36375 at_func_diff_devnull "$at_stdout" || at_failed=:
36376 at_func_check_status 2 $at_status "$at_srcdir/shortfile.at:29"
36378 $at_failed && at_func_log_failure
36385 $at_times_p && times >"$at_times_file"
36386 ) 5>&1 2>&1 | eval $at_tee_pipe
36387 at_status=`cat "$at_status_file"`
36390 # 103. shortupd.at:29: updating short archives
36391 at_setup_line='shortupd.at:29'
36392 at_desc="updating short archives"
36393 $at_quiet $as_echo_n "103: $at_desc "
36395 test -f $XFAILFILE && at_xfail=yes
36396 echo "# -*- compilation -*-" >> "$at_group_log"
36398 $as_echo "103. shortupd.at:29: testing ..."
36406 $as_echo "$at_srcdir/shortupd.at:32:
36410 export TEST_TAR_FORMAT
36411 TAR_OPTIONS=\"-H v7\"
36418 echo shortupd.at:32 >"$at_check_line_file"
36420 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36426 export TEST_TAR_FORMAT
36427 TAR_OPTIONS="-H v7"
36433 ) ) >"$at_stdout" 2>"$at_stder1"
36434 at_func_filter_trace $?
36440 export TEST_TAR_FORMAT
36441 TAR_OPTIONS="-H v7"
36447 ) ) >"$at_stdout" 2>"$at_stderr"
36451 at_func_diff_devnull "$at_stderr" || at_failed=:
36452 at_func_diff_devnull "$at_stdout" || at_failed=:
36453 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
36455 $at_failed && at_func_log_failure
36459 $as_echo "$at_srcdir/shortupd.at:32:
36462 TEST_TAR_FORMAT=oldgnu
36463 export TEST_TAR_FORMAT
36464 TAR_OPTIONS=\"-H oldgnu\"
36471 echo shortupd.at:32 >"$at_check_line_file"
36473 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36478 TEST_TAR_FORMAT=oldgnu
36479 export TEST_TAR_FORMAT
36480 TAR_OPTIONS="-H oldgnu"
36486 ) ) >"$at_stdout" 2>"$at_stder1"
36487 at_func_filter_trace $?
36492 TEST_TAR_FORMAT=oldgnu
36493 export TEST_TAR_FORMAT
36494 TAR_OPTIONS="-H oldgnu"
36500 ) ) >"$at_stdout" 2>"$at_stderr"
36504 at_func_diff_devnull "$at_stderr" || at_failed=:
36505 at_func_diff_devnull "$at_stdout" || at_failed=:
36506 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
36508 $at_failed && at_func_log_failure
36512 $as_echo "$at_srcdir/shortupd.at:32:
36515 TEST_TAR_FORMAT=ustar
36516 export TEST_TAR_FORMAT
36517 TAR_OPTIONS=\"-H ustar\"
36524 echo shortupd.at:32 >"$at_check_line_file"
36526 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36531 TEST_TAR_FORMAT=ustar
36532 export TEST_TAR_FORMAT
36533 TAR_OPTIONS="-H ustar"
36539 ) ) >"$at_stdout" 2>"$at_stder1"
36540 at_func_filter_trace $?
36545 TEST_TAR_FORMAT=ustar
36546 export TEST_TAR_FORMAT
36547 TAR_OPTIONS="-H ustar"
36553 ) ) >"$at_stdout" 2>"$at_stderr"
36557 at_func_diff_devnull "$at_stderr" || at_failed=:
36558 at_func_diff_devnull "$at_stdout" || at_failed=:
36559 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
36561 $at_failed && at_func_log_failure
36565 $as_echo "$at_srcdir/shortupd.at:32:
36568 TEST_TAR_FORMAT=posix
36569 export TEST_TAR_FORMAT
36570 TAR_OPTIONS=\"-H posix\"
36577 echo shortupd.at:32 >"$at_check_line_file"
36579 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36584 TEST_TAR_FORMAT=posix
36585 export TEST_TAR_FORMAT
36586 TAR_OPTIONS="-H posix"
36592 ) ) >"$at_stdout" 2>"$at_stder1"
36593 at_func_filter_trace $?
36598 TEST_TAR_FORMAT=posix
36599 export TEST_TAR_FORMAT
36600 TAR_OPTIONS="-H posix"
36606 ) ) >"$at_stdout" 2>"$at_stderr"
36610 at_func_diff_devnull "$at_stderr" || at_failed=:
36611 at_func_diff_devnull "$at_stdout" || at_failed=:
36612 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
36614 $at_failed && at_func_log_failure
36618 $as_echo "$at_srcdir/shortupd.at:32:
36621 TEST_TAR_FORMAT=gnu
36622 export TEST_TAR_FORMAT
36623 TAR_OPTIONS=\"-H gnu\"
36630 echo shortupd.at:32 >"$at_check_line_file"
36632 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36637 TEST_TAR_FORMAT=gnu
36638 export TEST_TAR_FORMAT
36639 TAR_OPTIONS="-H gnu"
36645 ) ) >"$at_stdout" 2>"$at_stder1"
36646 at_func_filter_trace $?
36651 TEST_TAR_FORMAT=gnu
36652 export TEST_TAR_FORMAT
36653 TAR_OPTIONS="-H gnu"
36659 ) ) >"$at_stdout" 2>"$at_stderr"
36663 at_func_diff_devnull "$at_stderr" || at_failed=:
36664 at_func_diff_devnull "$at_stdout" || at_failed=:
36665 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
36667 $at_failed && at_func_log_failure
36674 $at_times_p && times >"$at_times_file"
36675 ) 5>&1 2>&1 | eval $at_tee_pipe
36676 at_status=`cat "$at_status_file"`
36679 # 104. truncate.at:29: truncate
36680 at_setup_line='truncate.at:29'
36682 $at_quiet $as_echo_n "104: $at_desc "
36684 test -f $XFAILFILE && at_xfail=yes
36685 echo "# -*- compilation -*-" >> "$at_group_log"
36687 $as_echo "104. truncate.at:29: testing ..."
36695 $as_echo "$at_srcdir/truncate.at:32:
36699 export TEST_TAR_FORMAT
36700 TAR_OPTIONS=\"-H v7\"
36704 genfile --file foo --length 50000k
36706 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36707 echo Exit status: \$?
36710 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36712 echo truncate.at:32 >"$at_check_line_file"
36714 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36720 export TEST_TAR_FORMAT
36721 TAR_OPTIONS="-H v7"
36725 genfile --file foo --length 50000k
36727 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36728 echo Exit status: $?
36731 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36732 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
36733 at_func_filter_trace $?
36739 export TEST_TAR_FORMAT
36740 TAR_OPTIONS="-H v7"
36744 genfile --file foo --length 50000k
36746 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36747 echo Exit status: $?
36750 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36751 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
36755 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
36757 $at_diff - "$at_stderr" || at_failed=:
36758 echo >>"$at_stdout"; $as_echo "foo
36763 foo: Mod time differs
36766 $at_diff - "$at_stdout" || at_failed=:
36767 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
36769 $at_failed && at_func_log_failure
36773 $as_echo "$at_srcdir/truncate.at:32:
36776 TEST_TAR_FORMAT=oldgnu
36777 export TEST_TAR_FORMAT
36778 TAR_OPTIONS=\"-H oldgnu\"
36782 genfile --file foo --length 50000k
36784 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36785 echo Exit status: \$?
36788 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36790 echo truncate.at:32 >"$at_check_line_file"
36792 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36797 TEST_TAR_FORMAT=oldgnu
36798 export TEST_TAR_FORMAT
36799 TAR_OPTIONS="-H oldgnu"
36803 genfile --file foo --length 50000k
36805 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36806 echo Exit status: $?
36809 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36810 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
36811 at_func_filter_trace $?
36816 TEST_TAR_FORMAT=oldgnu
36817 export TEST_TAR_FORMAT
36818 TAR_OPTIONS="-H oldgnu"
36822 genfile --file foo --length 50000k
36824 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36825 echo Exit status: $?
36828 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36829 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
36833 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
36835 $at_diff - "$at_stderr" || at_failed=:
36836 echo >>"$at_stdout"; $as_echo "foo
36841 foo: Mod time differs
36844 $at_diff - "$at_stdout" || at_failed=:
36845 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
36847 $at_failed && at_func_log_failure
36851 $as_echo "$at_srcdir/truncate.at:32:
36854 TEST_TAR_FORMAT=ustar
36855 export TEST_TAR_FORMAT
36856 TAR_OPTIONS=\"-H ustar\"
36860 genfile --file foo --length 50000k
36862 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36863 echo Exit status: \$?
36866 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36868 echo truncate.at:32 >"$at_check_line_file"
36870 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36875 TEST_TAR_FORMAT=ustar
36876 export TEST_TAR_FORMAT
36877 TAR_OPTIONS="-H ustar"
36881 genfile --file foo --length 50000k
36883 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36884 echo Exit status: $?
36887 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36888 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
36889 at_func_filter_trace $?
36894 TEST_TAR_FORMAT=ustar
36895 export TEST_TAR_FORMAT
36896 TAR_OPTIONS="-H ustar"
36900 genfile --file foo --length 50000k
36902 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36903 echo Exit status: $?
36906 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36907 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
36911 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
36913 $at_diff - "$at_stderr" || at_failed=:
36914 echo >>"$at_stdout"; $as_echo "foo
36919 foo: Mod time differs
36922 $at_diff - "$at_stdout" || at_failed=:
36923 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
36925 $at_failed && at_func_log_failure
36929 $as_echo "$at_srcdir/truncate.at:32:
36932 TEST_TAR_FORMAT=posix
36933 export TEST_TAR_FORMAT
36934 TAR_OPTIONS=\"-H posix\"
36938 genfile --file foo --length 50000k
36940 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36941 echo Exit status: \$?
36944 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36946 echo truncate.at:32 >"$at_check_line_file"
36948 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
36953 TEST_TAR_FORMAT=posix
36954 export TEST_TAR_FORMAT
36955 TAR_OPTIONS="-H posix"
36959 genfile --file foo --length 50000k
36961 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36962 echo Exit status: $?
36965 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36966 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
36967 at_func_filter_trace $?
36972 TEST_TAR_FORMAT=posix
36973 export TEST_TAR_FORMAT
36974 TAR_OPTIONS="-H posix"
36978 genfile --file foo --length 50000k
36980 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
36981 echo Exit status: $?
36984 genfile --file foo --seek 49995k --length 5k --pattern=zeros
36985 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
36989 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
36991 $at_diff - "$at_stderr" || at_failed=:
36992 echo >>"$at_stdout"; $as_echo "foo
36997 foo: Mod time differs
37000 $at_diff - "$at_stdout" || at_failed=:
37001 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
37003 $at_failed && at_func_log_failure
37007 $as_echo "$at_srcdir/truncate.at:32:
37010 TEST_TAR_FORMAT=gnu
37011 export TEST_TAR_FORMAT
37012 TAR_OPTIONS=\"-H gnu\"
37016 genfile --file foo --length 50000k
37018 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
37019 echo Exit status: \$?
37022 genfile --file foo --seek 49995k --length 5k --pattern=zeros
37024 echo truncate.at:32 >"$at_check_line_file"
37026 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37031 TEST_TAR_FORMAT=gnu
37032 export TEST_TAR_FORMAT
37033 TAR_OPTIONS="-H gnu"
37037 genfile --file foo --length 50000k
37039 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
37040 echo Exit status: $?
37043 genfile --file foo --seek 49995k --length 5k --pattern=zeros
37044 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
37045 at_func_filter_trace $?
37050 TEST_TAR_FORMAT=gnu
37051 export TEST_TAR_FORMAT
37052 TAR_OPTIONS="-H gnu"
37056 genfile --file foo --length 50000k
37058 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
37059 echo Exit status: $?
37062 genfile --file foo --seek 49995k --length 5k --pattern=zeros
37063 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
37067 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
37069 $at_diff - "$at_stderr" || at_failed=:
37070 echo >>"$at_stdout"; $as_echo "foo
37075 foo: Mod time differs
37078 $at_diff - "$at_stdout" || at_failed=:
37079 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
37081 $at_failed && at_func_log_failure
37088 $at_times_p && times >"$at_times_file"
37089 ) 5>&1 2>&1 | eval $at_tee_pipe
37090 at_status=`cat "$at_status_file"`
37093 # 105. grow.at:24: grow
37094 at_setup_line='grow.at:24'
37096 $at_quiet $as_echo_n "105: $at_desc "
37098 test -f $XFAILFILE && at_xfail=yes
37099 echo "# -*- compilation -*-" >> "$at_group_log"
37101 $as_echo "105. grow.at:24: testing ..."
37109 $as_echo "$at_srcdir/grow.at:27:
37113 export TEST_TAR_FORMAT
37114 TAR_OPTIONS=\"-H v7\"
37118 genfile --file foo --length 50000k
37120 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37122 echo grow.at:27 >"$at_check_line_file"
37124 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37130 export TEST_TAR_FORMAT
37131 TAR_OPTIONS="-H v7"
37135 genfile --file foo --length 50000k
37137 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37138 ) ) >"$at_stdout" 2>"$at_stder1"
37139 at_func_filter_trace $?
37145 export TEST_TAR_FORMAT
37146 TAR_OPTIONS="-H v7"
37150 genfile --file foo --length 50000k
37152 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37153 ) ) >"$at_stdout" 2>"$at_stderr"
37157 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
37159 $at_diff - "$at_stderr" || at_failed=:
37160 echo >>"$at_stdout"; $as_echo "foo
37163 $at_diff - "$at_stdout" || at_failed=:
37164 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
37166 $at_failed && at_func_log_failure
37170 $as_echo "$at_srcdir/grow.at:27:
37173 TEST_TAR_FORMAT=oldgnu
37174 export TEST_TAR_FORMAT
37175 TAR_OPTIONS=\"-H oldgnu\"
37179 genfile --file foo --length 50000k
37181 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37183 echo grow.at:27 >"$at_check_line_file"
37185 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37190 TEST_TAR_FORMAT=oldgnu
37191 export TEST_TAR_FORMAT
37192 TAR_OPTIONS="-H oldgnu"
37196 genfile --file foo --length 50000k
37198 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37199 ) ) >"$at_stdout" 2>"$at_stder1"
37200 at_func_filter_trace $?
37205 TEST_TAR_FORMAT=oldgnu
37206 export TEST_TAR_FORMAT
37207 TAR_OPTIONS="-H oldgnu"
37211 genfile --file foo --length 50000k
37213 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37214 ) ) >"$at_stdout" 2>"$at_stderr"
37218 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
37220 $at_diff - "$at_stderr" || at_failed=:
37221 echo >>"$at_stdout"; $as_echo "foo
37224 $at_diff - "$at_stdout" || at_failed=:
37225 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
37227 $at_failed && at_func_log_failure
37231 $as_echo "$at_srcdir/grow.at:27:
37234 TEST_TAR_FORMAT=ustar
37235 export TEST_TAR_FORMAT
37236 TAR_OPTIONS=\"-H ustar\"
37240 genfile --file foo --length 50000k
37242 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37244 echo grow.at:27 >"$at_check_line_file"
37246 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37251 TEST_TAR_FORMAT=ustar
37252 export TEST_TAR_FORMAT
37253 TAR_OPTIONS="-H ustar"
37257 genfile --file foo --length 50000k
37259 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37260 ) ) >"$at_stdout" 2>"$at_stder1"
37261 at_func_filter_trace $?
37266 TEST_TAR_FORMAT=ustar
37267 export TEST_TAR_FORMAT
37268 TAR_OPTIONS="-H ustar"
37272 genfile --file foo --length 50000k
37274 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37275 ) ) >"$at_stdout" 2>"$at_stderr"
37279 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
37281 $at_diff - "$at_stderr" || at_failed=:
37282 echo >>"$at_stdout"; $as_echo "foo
37285 $at_diff - "$at_stdout" || at_failed=:
37286 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
37288 $at_failed && at_func_log_failure
37292 $as_echo "$at_srcdir/grow.at:27:
37295 TEST_TAR_FORMAT=posix
37296 export TEST_TAR_FORMAT
37297 TAR_OPTIONS=\"-H posix\"
37301 genfile --file foo --length 50000k
37303 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37305 echo grow.at:27 >"$at_check_line_file"
37307 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37312 TEST_TAR_FORMAT=posix
37313 export TEST_TAR_FORMAT
37314 TAR_OPTIONS="-H posix"
37318 genfile --file foo --length 50000k
37320 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37321 ) ) >"$at_stdout" 2>"$at_stder1"
37322 at_func_filter_trace $?
37327 TEST_TAR_FORMAT=posix
37328 export TEST_TAR_FORMAT
37329 TAR_OPTIONS="-H posix"
37333 genfile --file foo --length 50000k
37335 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37336 ) ) >"$at_stdout" 2>"$at_stderr"
37340 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
37342 $at_diff - "$at_stderr" || at_failed=:
37343 echo >>"$at_stdout"; $as_echo "foo
37346 $at_diff - "$at_stdout" || at_failed=:
37347 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
37349 $at_failed && at_func_log_failure
37353 $as_echo "$at_srcdir/grow.at:27:
37356 TEST_TAR_FORMAT=gnu
37357 export TEST_TAR_FORMAT
37358 TAR_OPTIONS=\"-H gnu\"
37362 genfile --file foo --length 50000k
37364 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37366 echo grow.at:27 >"$at_check_line_file"
37368 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37373 TEST_TAR_FORMAT=gnu
37374 export TEST_TAR_FORMAT
37375 TAR_OPTIONS="-H gnu"
37379 genfile --file foo --length 50000k
37381 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37382 ) ) >"$at_stdout" 2>"$at_stder1"
37383 at_func_filter_trace $?
37388 TEST_TAR_FORMAT=gnu
37389 export TEST_TAR_FORMAT
37390 TAR_OPTIONS="-H gnu"
37394 genfile --file foo --length 50000k
37396 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
37397 ) ) >"$at_stdout" 2>"$at_stderr"
37401 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
37403 $at_diff - "$at_stderr" || at_failed=:
37404 echo >>"$at_stdout"; $as_echo "foo
37407 $at_diff - "$at_stdout" || at_failed=:
37408 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
37410 $at_failed && at_func_log_failure
37417 $at_times_p && times >"$at_times_file"
37418 ) 5>&1 2>&1 | eval $at_tee_pipe
37419 at_status=`cat "$at_status_file"`
37422 # 106. remfiles01.at:28: remove-files with compression
37423 at_setup_line='remfiles01.at:28'
37424 at_desc="remove-files with compression"
37425 $at_quiet $as_echo_n "106: $at_desc "
37427 echo "# -*- compilation -*-" >> "$at_group_log"
37429 $as_echo "106. remfiles01.at:28: testing ..."
37436 $as_echo "$at_srcdir/remfiles01.at:32:
37440 cat $$ > /dev/null 2>&1
37443 test $result -eq 0 && exit 77
37446 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37449 test -z "`sort < /dev/null 2>&1`" || exit 77
37454 genfile --file a --length 0
37459 # Depending on when the SIGPIPE gets delivered, the invocation below
37460 # may finish with either
37461 # tar: a: Cannot write: Broken pipe
37463 # tar: Child returned status 2
37465 tar -c -f a -z --remove-files b c 2>err
37467 sed -n '/(child)/p' err >&2
37470 # Gzip exit code is propagated to the shell. Usually it is
37471 # 141. We convert all non-zero exits to 2 to make it predictable.
37472 test \$EC && exit 2
37474 echo remfiles01.at:32 >"$at_check_line_file"
37476 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37482 cat $$ > /dev/null 2>&1
37485 test $result -eq 0 && exit 77
37488 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37491 test -z "`sort < /dev/null 2>&1`" || exit 77
37496 genfile --file a --length 0
37501 # Depending on when the SIGPIPE gets delivered, the invocation below
37502 # may finish with either
37503 # tar: a: Cannot write: Broken pipe
37505 # tar: Child returned status 2
37507 tar -c -f a -z --remove-files b c 2>err
37509 sed -n '/(child)/p' err >&2
37512 # Gzip exit code is propagated to the shell. Usually it is
37513 # 141. We convert all non-zero exits to 2 to make it predictable.
37515 ) >"$at_stdout" 2>"$at_stder1"
37516 at_func_filter_trace $?
37522 cat $$ > /dev/null 2>&1
37525 test $result -eq 0 && exit 77
37528 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37531 test -z "`sort < /dev/null 2>&1`" || exit 77
37536 genfile --file a --length 0
37541 # Depending on when the SIGPIPE gets delivered, the invocation below
37542 # may finish with either
37543 # tar: a: Cannot write: Broken pipe
37545 # tar: Child returned status 2
37547 tar -c -f a -z --remove-files b c 2>err
37549 sed -n '/(child)/p' err >&2
37552 # Gzip exit code is propagated to the shell. Usually it is
37553 # 141. We convert all non-zero exits to 2 to make it predictable.
37555 ) >"$at_stdout" 2>"$at_stderr"
37559 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Permission denied
37560 tar (child): Error is not recoverable: exiting now
37562 $at_diff - "$at_stderr" || at_failed=:
37563 echo >>"$at_stdout"; $as_echo ".
37568 $at_diff - "$at_stdout" || at_failed=:
37569 at_func_check_status 2 $at_status "$at_srcdir/remfiles01.at:32"
37571 $at_failed && at_func_log_failure
37576 $at_times_p && times >"$at_times_file"
37577 ) 5>&1 2>&1 | eval $at_tee_pipe
37578 at_status=`cat "$at_status_file"`
37581 # 107. remfiles02.at:28: remove-files with compression: grand-child
37582 at_setup_line='remfiles02.at:28'
37583 at_desc="remove-files with compression: grand-child"
37584 $at_quiet $as_echo_n "107: $at_desc "
37586 echo "# -*- compilation -*-" >> "$at_group_log"
37588 $as_echo "107. remfiles02.at:28: testing ..."
37595 $as_echo "$at_srcdir/remfiles02.at:32:
37597 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37600 test -z "`sort < /dev/null 2>&1`" || exit 77
37609 tar -c -f a -z --remove-files b c 2>err
37611 sed -n '/(child)/p' err >&2
37616 echo remfiles02.at:32 >"$at_check_line_file"
37618 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37622 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37625 test -z "`sort < /dev/null 2>&1`" || exit 77
37634 tar -c -f a -z --remove-files b c 2>err
37636 sed -n '/(child)/p' err >&2
37640 ) >"$at_stdout" 2>"$at_stder1"
37641 at_func_filter_trace $?
37645 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
37648 test -z "`sort < /dev/null 2>&1`" || exit 77
37657 tar -c -f a -z --remove-files b c 2>err
37659 sed -n '/(child)/p' err >&2
37663 ) >"$at_stdout" 2>"$at_stderr"
37667 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Is a directory
37668 tar (child): Error is not recoverable: exiting now
37670 $at_diff - "$at_stderr" || at_failed=:
37671 echo >>"$at_stdout"; $as_echo ".
37676 $at_diff - "$at_stdout" || at_failed=:
37677 at_func_check_status 2 $at_status "$at_srcdir/remfiles02.at:32"
37679 $at_failed && at_func_log_failure
37684 $at_times_p && times >"$at_times_file"
37685 ) 5>&1 2>&1 | eval $at_tee_pipe
37686 at_status=`cat "$at_status_file"`
37689 # 108. remfiles03.at:28: remove-files with symbolic links
37690 at_setup_line='remfiles03.at:28'
37691 at_desc="remove-files with symbolic links"
37692 $at_quiet $as_echo_n "108: $at_desc "
37694 echo "# -*- compilation -*-" >> "$at_group_log"
37696 $as_echo "108. remfiles03.at:28: testing ..."
37702 $as_echo "$at_srcdir/remfiles03.at:31:
37705 ln -s b a/c || exit 77
37706 tar --remove-files -cf a.tar a
37709 echo remfiles03.at:31 >"$at_check_line_file"
37711 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37716 ln -s b a/c || exit 77
37717 tar --remove-files -cf a.tar a
37719 ) >"$at_stdout" 2>"$at_stder1"
37720 at_func_filter_trace $?
37725 ln -s b a/c || exit 77
37726 tar --remove-files -cf a.tar a
37728 ) >"$at_stdout" 2>"$at_stderr"
37732 echo >>"$at_stderr"; $as_echo "genfile: stat(a) failed: No such file or directory
37734 $at_diff - "$at_stderr" || at_failed=:
37735 at_func_diff_devnull "$at_stdout" || at_failed=:
37736 at_func_check_status 0 $at_status "$at_srcdir/remfiles03.at:31"
37738 $at_failed && at_func_log_failure
37743 $at_times_p && times >"$at_times_file"
37744 ) 5>&1 2>&1 | eval $at_tee_pipe
37745 at_status=`cat "$at_status_file"`
37748 # 109. sigpipe.at:19: sigpipe handling
37749 at_setup_line='sigpipe.at:19'
37750 at_desc="sigpipe handling"
37751 $at_quiet $as_echo_n "109: $at_desc "
37753 echo "# -*- compilation -*-" >> "$at_group_log"
37755 $as_echo "109. sigpipe.at:19: testing ..."
37760 # Description: Tar 1.23 ignored sigpipe which lead to spurious "write
37761 # error" diagnostics when piping output to another programs.
37762 # Reported-by: "Dmitry V. Levin" <ldv@altlinux.org>
37763 # References: http://lists.gnu.org/archive/html/bug-tar/2010-03/msg00039.html
37764 # <20100319184141.GC30047@wo.int.altlinux.org>
37767 $as_echo "$at_srcdir/sigpipe.at:28:
37768 genfile --length 2048 --file first
37769 genfile --length 2048 --file second
37770 genfile --length 2049 --file third
37772 tar cf archive first second third
37776 echo sigpipe.at:28 >"$at_check_line_file"
37778 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37781 genfile --length 2048 --file first
37782 genfile --length 2048 --file second
37783 genfile --length 2049 --file third
37785 tar cf archive first second third
37788 ) >"$at_stdout" 2>"$at_stder1"
37789 at_func_filter_trace $?
37792 genfile --length 2048 --file first
37793 genfile --length 2048 --file second
37794 genfile --length 2049 --file third
37796 tar cf archive first second third
37799 ) >"$at_stdout" 2>"$at_stderr"
37803 at_func_diff_devnull "$at_stderr" || at_failed=:
37804 at_func_diff_devnull "$at_stdout" || at_failed=:
37805 at_func_check_status 0 $at_status "$at_srcdir/sigpipe.at:28"
37807 $at_failed && at_func_log_failure
37812 $at_times_p && times >"$at_times_file"
37813 ) 5>&1 2>&1 | eval $at_tee_pipe
37814 at_status=`cat "$at_status_file"`
37817 # 110. gtarfail.at:21: gtarfail
37818 at_setup_line='gtarfail.at:21'
37820 $at_quiet $as_echo_n "110: $at_desc "
37822 echo "# -*- compilation -*-" >> "$at_group_log"
37824 $as_echo "110. gtarfail.at:21: testing ..."
37832 $as_echo "$at_srcdir/gtarfail.at:26:
37834 test -z "$STAR_TESTSCRIPTS" && exit 77
37835 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37838 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail.tar
37840 echo gtarfail.at:26 >"$at_check_line_file"
37842 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37846 test -z "$STAR_TESTSCRIPTS" && exit 77
37847 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37850 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.tar
37851 ) >"$at_stdout" 2>"$at_stder1"
37852 at_func_filter_trace $?
37856 test -z "$STAR_TESTSCRIPTS" && exit 77
37857 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37860 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.tar
37861 ) >"$at_stdout" 2>"$at_stderr"
37865 at_func_diff_devnull "$at_stderr" || at_failed=:
37866 echo >>"$at_stdout"; $as_echo "-rw-r--r-- jes/glone 518 2001-05-25 14:41 vedpowered.gif
37867 -rw-r--r-- jes/glone 6825 1997-04-29 00:19 cd.gif
37868 -rw-r--r-- jes/glone 33354 1999-06-22 12:17 DSCN0049c.JPG
37869 -rw-r--r-- jes/glone 86159 2001-06-05 18:16 Window1.jpg
37870 -rw-r--r-- jes/glone 1310 2001-05-25 13:05 vipower.gif
37871 -rw-rw-rw- jes/glone 148753 1998-09-15 13:08 billyboy.jpg
37873 $at_diff - "$at_stdout" || at_failed=:
37874 at_func_check_status 0 $at_status "$at_srcdir/gtarfail.at:26"
37876 $at_failed && at_func_log_failure
37881 $at_times_p && times >"$at_times_file"
37882 ) 5>&1 2>&1 | eval $at_tee_pipe
37883 at_status=`cat "$at_status_file"`
37886 # 111. gtarfail2.at:21: gtarfail2
37887 at_setup_line='gtarfail2.at:21'
37888 at_desc="gtarfail2"
37889 $at_quiet $as_echo_n "111: $at_desc "
37891 echo "# -*- compilation -*-" >> "$at_group_log"
37893 $as_echo "111. gtarfail2.at:21: testing ..."
37901 $as_echo "$at_srcdir/gtarfail2.at:26:
37903 test -z "$STAR_TESTSCRIPTS" && exit 77
37904 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37906 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail2.tar
37908 echo gtarfail2.at:26 >"$at_check_line_file"
37910 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37914 test -z "$STAR_TESTSCRIPTS" && exit 77
37915 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37917 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.tar
37918 ) >"$at_stdout" 2>"$at_stder1"
37919 at_func_filter_trace $?
37923 test -z "$STAR_TESTSCRIPTS" && exit 77
37924 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37926 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.tar
37927 ) >"$at_stdout" 2>"$at_stderr"
37931 at_func_diff_devnull "$at_stderr" || at_failed=:
37932 echo >>"$at_stdout"; $as_echo "-rwxr-xr-x jes/glone 214 2001-09-21 14:08 .clean
37933 lrwxrwxrwx jes/cats 0 1998-05-07 12:39 RULES -> makefiles/RULES
37934 drwxr-sr-x jes/glone 0 2001-12-10 00:00 build/
37935 -rw-r--r-- jes/glone 312019 2001-12-10 00:00 build/smake-1.2.tar.gz
37936 drwxr-sr-x jes/glone 0 2001-11-09 18:20 build/psmake/
37937 -rwxr-xr-x jes/glone 259 2000-01-09 16:36 build/psmake/MAKE
37938 -rwxr-xr-x jes/glone 4820 2001-02-25 22:45 build/psmake/MAKE.sh
37939 -rw-r--r-- jes/glone 647 2001-02-25 23:50 build/psmake/Makefile
37940 lrwxrwxrwx jes/glone 0 2001-08-29 10:53 build/psmake/archconf.c -> ../archconf.c
37941 lrwxrwxrwx jes/glone 0 2001-08-29 10:54 build/psmake/astoi.c -> ../../lib/astoi.c
37943 $at_diff - "$at_stdout" || at_failed=:
37944 at_func_check_status 0 $at_status "$at_srcdir/gtarfail2.at:26"
37946 $at_failed && at_func_log_failure
37951 $at_times_p && times >"$at_times_file"
37952 ) 5>&1 2>&1 | eval $at_tee_pipe
37953 at_status=`cat "$at_status_file"`
37956 # 112. multi-fail.at:21: multi-fail
37957 at_setup_line='multi-fail.at:21'
37958 at_desc="multi-fail"
37959 $at_quiet $as_echo_n "112: $at_desc "
37961 echo "# -*- compilation -*-" >> "$at_group_log"
37963 $as_echo "112. multi-fail.at:21: testing ..."
37971 $as_echo "$at_srcdir/multi-fail.at:26:
37973 test -z "$STAR_TESTSCRIPTS" && exit 77
37974 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37977 test -z "$STAR_TESTSCRIPTS" && exit 77
37978 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37981 tar --utc -tvM -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \\
37982 -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
37984 echo multi-fail.at:26 >"$at_check_line_file"
37986 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
37990 test -z "$STAR_TESTSCRIPTS" && exit 77
37991 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37994 test -z "$STAR_TESTSCRIPTS" && exit 77
37995 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
37998 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
37999 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
38000 ) >"$at_stdout" 2>"$at_stder1"
38001 at_func_filter_trace $?
38005 test -z "$STAR_TESTSCRIPTS" && exit 77
38006 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38009 test -z "$STAR_TESTSCRIPTS" && exit 77
38010 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38013 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
38014 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
38015 ) >"$at_stdout" 2>"$at_stderr"
38019 at_func_diff_devnull "$at_stderr" || at_failed=:
38020 echo >>"$at_stdout"; $as_echo "drwxrwsr-x joerg/bs 0 2003-10-11 14:32 OBJ/i386-sunos5-gcc/
38021 -rw-r--r-- joerg/bs 1 2003-10-11 14:32 OBJ/i386-sunos5-gcc/Dnull
38022 -rw-r--r-- joerg/bs 1743 2003-10-10 18:06 OBJ/i386-sunos5-gcc/star.d
38023 -rw-r--r-- joerg/bs 1460 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.d
38024 -rw-r--r-- joerg/bs 1540 2003-10-10 18:06 OBJ/i386-sunos5-gcc/cpiohdr.d
38025 -rw-r--r-- joerg/bs 2245 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xheader.d
38026 -rw-r--r-- joerg/bs 1254 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xattr.d
38027 -rw-r--r-- joerg/bs 1330 2003-10-10 18:06 OBJ/i386-sunos5-gcc/list.d
38028 -rw-r--r-- joerg/bs 1745 2003-10-10 18:06 OBJ/i386-sunos5-gcc/extract.d
38029 -rw-r--r-- joerg/bs 1518 2003-10-10 18:06 OBJ/i386-sunos5-gcc/create.d
38030 -rw-r--r-- joerg/bs 1235 2003-10-10 18:06 OBJ/i386-sunos5-gcc/append.d
38031 -rw-r--r-- joerg/bs 1368 2003-10-10 18:06 OBJ/i386-sunos5-gcc/diff.d
38032 -rw-r--r-- joerg/bs 1423 2003-10-10 18:06 OBJ/i386-sunos5-gcc/remove.d
38033 -rw-r--r-- joerg/bs 1493 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.d
38034 -rw-r--r-- joerg/bs 1572 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.d
38035 -rw-r--r-- joerg/bs 1453 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.d
38036 -rw-r--r-- joerg/bs 2257 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.d
38037 -rw-r--r-- joerg/bs 969 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.d
38038 -rw-r--r-- joerg/bs 1308 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.d
38039 -rw-r--r-- joerg/bs 1287 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.d
38040 -rw-r--r-- joerg/bs 1105 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.d
38041 -rw-r--r-- joerg/bs 1230 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.d
38042 -rw-r--r-- joerg/bs 1091 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.d
38043 -rw-r--r-- joerg/bs 961 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.d
38044 -rw-r--r-- joerg/bs 1113 2003-10-10 18:07 OBJ/i386-sunos5-gcc/props.d
38045 -rw-r--r-- joerg/bs 2146 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fetchdir.d
38046 -rw-r--r-- joerg/bs 1093 2003-10-10 18:07 OBJ/i386-sunos5-gcc/unicode.d
38047 -rw-r--r-- joerg/bs 1211 2003-10-10 18:07 OBJ/i386-sunos5-gcc/subst.d
38048 -rw-r--r-- joerg/bs 2076 2003-10-11 11:53 OBJ/i386-sunos5-gcc/volhdr.d
38049 -rw-r--r-- joerg/bs 1480 2003-10-10 18:07 OBJ/i386-sunos5-gcc/chdir.d
38050 -rw-r--r-- joerg/bs 42460 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star.o
38051 -rw-r--r-- joerg/bs 22564 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.o
38052 -rw-r--r-- joerg/bs 7880 2003-10-10 18:07 OBJ/i386-sunos5-gcc/cpiohdr.o
38053 -rw-r--r-- joerg/bs 14624 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xheader.o
38054 -rw-r--r-- joerg/bs 924 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xattr.o
38055 -rw-r--r-- joerg/bs 6120 2003-10-10 18:07 OBJ/i386-sunos5-gcc/list.o
38056 -rw-r--r-- joerg/bs 12764 2003-10-10 18:07 OBJ/i386-sunos5-gcc/extract.o
38057 -rw-r--r-- joerg/bs 14668 2003-10-10 18:07 OBJ/i386-sunos5-gcc/create.o
38058 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/append.o
38059 -rw-r--r-- joerg/bs 7636 2003-10-10 18:07 OBJ/i386-sunos5-gcc/diff.o
38060 -rw-r--r-- joerg/bs 3072 2003-10-10 18:07 OBJ/i386-sunos5-gcc/remove.o
38061 -rw-r--r-- joerg/bs 5612 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.o
38062 -rw-r--r-- joerg/bs 6220 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.o
38063 -rw-r--r-- joerg/bs 1092 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.o
38064 -rw-r--r-- joerg/bs 20996 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.o
38065 -rw-r--r-- joerg/bs 2060 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.o
38066 -rw-r--r-- joerg/bs 1664 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.o
38067 -rw-r--r-- joerg/bs 10564 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.o
38068 -rw-r--r-- joerg/bs 3864 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.o
38069 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.o
38070 -rw-r--r-- joerg/bs 952 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.o
38071 -rw-r--r-- joerg/bs 2756 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.o
38073 $at_diff - "$at_stdout" || at_failed=:
38074 at_func_check_status 0 $at_status "$at_srcdir/multi-fail.at:26"
38076 $at_failed && at_func_log_failure
38081 $at_times_p && times >"$at_times_file"
38082 ) 5>&1 2>&1 | eval $at_tee_pipe
38083 at_status=`cat "$at_status_file"`
38086 # 113. ustar-big-2g.at:21: ustar-big-2g
38087 at_setup_line='ustar-big-2g.at:21'
38088 at_desc="ustar-big-2g"
38089 $at_quiet $as_echo_n "113: $at_desc "
38091 echo "# -*- compilation -*-" >> "$at_group_log"
38093 $as_echo "113. ustar-big-2g.at:21: testing ..."
38101 $as_echo "$at_srcdir/ustar-big-2g.at:26:
38103 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38106 test -z "$STAR_TESTSCRIPTS" && exit 77
38107 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38110 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
38112 echo ustar-big-2g.at:26 >"$at_check_line_file"
38114 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38118 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38121 test -z "$STAR_TESTSCRIPTS" && exit 77
38122 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38125 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
38126 ) >"$at_stdout" 2>"$at_stder1"
38127 at_func_filter_trace $?
38131 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38134 test -z "$STAR_TESTSCRIPTS" && exit 77
38135 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38138 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
38139 ) >"$at_stdout" 2>"$at_stderr"
38143 echo stderr:; tee stderr <"$at_stderr"
38144 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 2147483647 2002-06-15 14:53 big
38145 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
38147 $at_diff - "$at_stdout" || at_failed=:
38148 at_func_check_status 0 $at_status "$at_srcdir/ustar-big-2g.at:26"
38150 $at_failed && at_func_log_failure
38155 cat >stderr.re <<'_ATEOF'
38156 tar: Record size = .*
38159 awk '{print NR " " $0}' stderr > $$.1
38160 awk '{print NR " " $0}' stderr.re | join - $$.1 |
38161 while read NUM RE LINE
38163 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
38168 $at_times_p && times >"$at_times_file"
38169 ) 5>&1 2>&1 | eval $at_tee_pipe
38170 at_status=`cat "$at_status_file"`
38173 # 114. ustar-big-8g.at:21: ustar-big-8g
38174 at_setup_line='ustar-big-8g.at:21'
38175 at_desc="ustar-big-8g"
38176 $at_quiet $as_echo_n "114: $at_desc "
38178 echo "# -*- compilation -*-" >> "$at_group_log"
38180 $as_echo "114. ustar-big-8g.at:21: testing ..."
38188 $as_echo "$at_srcdir/ustar-big-8g.at:26:
38190 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38193 test -z "$STAR_TESTSCRIPTS" && exit 77
38194 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38197 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
38199 echo ustar-big-8g.at:26 >"$at_check_line_file"
38201 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38205 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38208 test -z "$STAR_TESTSCRIPTS" && exit 77
38209 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38212 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
38213 ) >"$at_stdout" 2>"$at_stder1"
38214 at_func_filter_trace $?
38218 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38221 test -z "$STAR_TESTSCRIPTS" && exit 77
38222 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38225 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
38226 ) >"$at_stdout" 2>"$at_stderr"
38230 echo stderr:; tee stderr <"$at_stderr"
38231 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 8589934591 2002-06-15 15:08 8gb-1
38232 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
38234 $at_diff - "$at_stdout" || at_failed=:
38235 at_func_check_status 0 $at_status "$at_srcdir/ustar-big-8g.at:26"
38237 $at_failed && at_func_log_failure
38242 cat >stderr.re <<'_ATEOF'
38243 tar: Record size = .*
38246 awk '{print NR " " $0}' stderr > $$.1
38247 awk '{print NR " " $0}' stderr.re | join - $$.1 |
38248 while read NUM RE LINE
38250 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
38255 $at_times_p && times >"$at_times_file"
38256 ) 5>&1 2>&1 | eval $at_tee_pipe
38257 at_status=`cat "$at_status_file"`
38260 # 115. pax-big-10g.at:21: pax-big-10g
38261 at_setup_line='pax-big-10g.at:21'
38262 at_desc="pax-big-10g"
38263 $at_quiet $as_echo_n "115: $at_desc "
38265 echo "# -*- compilation -*-" >> "$at_group_log"
38267 $as_echo "115. pax-big-10g.at:21: testing ..."
38275 $as_echo "$at_srcdir/pax-big-10g.at:26:
38277 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38280 test -z "$STAR_TESTSCRIPTS" && exit 77
38281 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38284 tar --utc -tvjf \$STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
38286 echo pax-big-10g.at:26 >"$at_check_line_file"
38288 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
38292 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38295 test -z "$STAR_TESTSCRIPTS" && exit 77
38296 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38299 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
38300 ) >"$at_stdout" 2>"$at_stder1"
38301 at_func_filter_trace $?
38305 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
38308 test -z "$STAR_TESTSCRIPTS" && exit 77
38309 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
38312 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
38313 ) >"$at_stdout" 2>"$at_stderr"
38317 echo stderr:; tee stderr <"$at_stderr"
38318 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 10737418240 2002-06-15 21:18 10g
38319 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
38321 $at_diff - "$at_stdout" || at_failed=:
38322 at_func_check_status 0 $at_status "$at_srcdir/pax-big-10g.at:26"
38324 $at_failed && at_func_log_failure
38329 cat >stderr.re <<'_ATEOF'
38330 tar: Record size = .*
38333 awk '{print NR " " $0}' stderr > $$.1
38334 awk '{print NR " " $0}' stderr.re | join - $$.1 |
38335 while read NUM RE LINE
38337 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
38342 $at_times_p && times >"$at_times_file"
38343 ) 5>&1 2>&1 | eval $at_tee_pipe
38344 at_status=`cat "$at_status_file"`