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'
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;exclude.at:23;exclude;exclude;
643 14;exclude01.at:17;exclude wildcards;exclude exclude01;
644 15;exclude02.at:17;exclude: anchoring;exclude exclude02;
645 16;exclude03.at:17;exclude: wildcards match slash;exclude exclude03;
646 17;exclude04.at:17;exclude: case insensitive;exclude exclude04;
647 18;exclude05.at:19;exclude: lots of excludes;exclude exclude05;
648 19;delete01.at:23;deleting a member after a big one;delete delete01;
649 20;delete02.at:23;deleting a member from stdin archive;delete delete02;
650 21;delete03.at:21;deleting members with long names;delete delete03;
651 22;delete04.at:23;deleting a large last member;delete delete04;
652 23;delete05.at:27;deleting non-existing member;delete delete05;
653 24;extrac01.at:23;extract over an existing directory;extract extract01;
654 25;extrac02.at:23;extracting symlinks over an existing file;extract extract02 symlink;
655 26;extrac03.at:23;extraction loops;extract extract03;
656 27;extrac04.at:23;extract + fnmatch;extract extract04 fnmatch;
657 28;extrac05.at:30;extracting selected members from pax;extract extract05;
658 29;extrac06.at:33;mode of extracted directories;extract extract06 directory mode;
659 30;extrac07.at:27;extracting symlinks to a read-only dir;extract extract07 read-only symlink;
660 31;extrac08.at:33;restoring mode on existing directory;extract extrac08;
661 32;label01.at:19;single-volume label;label label01;
662 33;label02.at:19;multi-volume label;label label02 multi-label multivolume multiv;
663 34;backup01.at:33;extracting existing dir with --backup;extract backup backup01;
664 35;gzip.at:23;gzip;gzip;
665 36;incremental.at:23;incremental;incremental incr00;
666 37;incr01.at:27;restore broken symlinks from incremental;incremental incr01;
667 38;incr02.at:32;restoring timestamps from incremental;incremental timestamp restore incr02;
668 39;listed01.at:26;--listed for individual files;listed incremental listed01;
669 40;listed02.at:28;working --listed;listed incremental listed02;
670 41;incr03.at:28;renamed files in incrementals;incremental incr03 rename;
671 42;incr04.at:29;proper icontents initialization;incremental incr04 icontents;
672 43;incr05.at:19;incremental dumps with -C;incremental incr05;
673 44;incr06.at:19;incremental dumps of nested directories;incremental incr06;
674 45;filerem01.at:34;file removed as we read it (ca. 22 seconds);create incremental filechange filerem filerem01;
675 46;filerem02.at:24;toplevel file removed (ca. 24 seconds);create incremental filechange filerem filerem02;
676 47;rename01.at:24;renamed dirs in incrementals;incremental rename rename01;
677 48;rename02.at:24;move between hierarchies;incremental rename rename02;
678 49;rename03.at:23;cyclic renames;incremental rename rename03 cyclic-rename;
679 50;rename04.at:27;renamed directory containing subdirectories;incremental rename04 rename;
680 51;rename05.at:24;renamed subdirectories;incremental rename05 rename;
681 52;chtype.at:27;changed file types in incrementals;incremental chtype;
682 53;ignfail.at:23;ignfail;ignfail;
683 54;link01.at:33;link count gt 2;hardlinks link01;
684 55;link02.at:32;preserve hard links with --remove-files;hardlinks link02;
685 56;link03.at:24;working -l with --remove-files;hardlinks link03;
686 57;longv7.at:24;long names in V7 archives;longname longv7;
687 58;long01.at:28;long file names divisible by block size;longname long512;
688 59;lustar01.at:21;ustar: unsplittable file name;longname ustar lustar01;
689 60;lustar02.at:21;ustar: unsplittable path name;longname ustar lustar02;
690 61;lustar03.at:21;ustar: splitting long names;longname ustar lustar03;
691 62;multiv01.at:23;multivolume dumps from pipes;multivolume multiv multiv01;
692 63;multiv02.at:28;skipping a straddling member;multivolume multiv multiv02;
693 64;multiv03.at:30;MV archive & long filenames;multivolume multiv multiv03;
694 65;multiv04.at:36;split directory members in a MV archive;multivolume multiv incremental multiv04;
695 66;multiv05.at:26;Restoring after an out of sync volume;multivolume multiv multiv05 sync;
696 67;multiv06.at:27;Multivolumes with L=record_size;multivolume multiv multiv06;
697 68;multiv07.at:26;volumes split at an extended header;multivolume multiv multiv07 xsplit;
698 69;old.at:23;old archives;old;
699 70;recurse.at:21;recurse;recurse;
700 71;same-order01.at:26;working -C with --same-order;same-order same-order01;
701 72;same-order02.at:25;multiple -C options;same-order same-order02;
702 73;shortrec.at:25;short records;shortrec;
703 74;sparse01.at:21;sparse files;sparse sparse01;
704 75;sparse02.at:21;extracting sparse file over a pipe;sparse sparse02;
705 76;sparse03.at:21;storing sparse files > 8G;sparse sparse03;
706 77;sparsemv.at:21;sparse files in MV archives;sparse multiv sparsemv;
707 78;spmvp00.at:21;sparse files in PAX MV archives, v.0.0;sparse multiv sparsemvp sparsemvp00;
708 79;spmvp01.at:21;sparse files in PAX MV archives, v.0.1;sparse multiv sparsemvp sparsemvp01;
709 80;spmvp10.at:21;sparse files in PAX MV archives, v.1.0;sparse multiv sparsemvp sparsemvp10;
710 81;update.at:28;update unchanged directories;update update00;
711 82;update01.at:29;update directories;update update01;
712 83;update02.at:26;update changed files;update update02;
713 84;volume.at:23;volume;volume volcheck;
714 85;volsize.at:29;volume header size;volume volsize;
715 86;comprec.at:21;compressed format recognition;comprec;
716 87;shortfile.at:26;short input files;shortfile shortfile0;
717 88;shortupd.at:29;updating short archives;shortfile shortfile1 shortupd;
718 89;truncate.at:29;truncate;truncate filechange;
719 90;grow.at:24;grow;grow filechange;
720 91;remfiles01.at:28;remove-files with compression;create remove-files remfiles01 gzip;
721 92;remfiles02.at:28;remove-files with compression: grand-child;create remove-files remfiles02 gzip;
722 93;gtarfail.at:21;gtarfail;star gtarfail;
723 94;gtarfail2.at:21;gtarfail2;star gtarfail2;
724 95;multi-fail.at:21;multi-fail;star multivolume multiv multi-fail;
725 96;ustar-big-2g.at:21;ustar-big-2g;star ustar-big-2g;
726 97;ustar-big-8g.at:21;ustar-big-8g;star ustar-big-8g;
727 98;pax-big-10g.at:21;pax-big-10g;star pax-big-10g;
730 # at_func_validate_ranges [NAME...]
731 # ---------------------------------
732 # Validate and normalize the test group number contained in each
733 # variable NAME. Leading zeroes are treated as decimal.
734 at_func_validate_ranges ()
738 eval at_value=\$$at_grp
739 if test $at_value -lt 1 || test $at_value -gt 98; then
740 $as_echo "invalid test group: $at_value" >&2
744 0*) # We want to treat leading 0 as decimal, like expr and test, but
745 # at_func_arith treats it as octal if it uses $(( )).
746 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
747 # expr fork, but it is not worth the effort to determine if the
748 # shell supports XSI when the user can just avoid leading 0.
749 eval $at_grp='`expr $at_value + 0`' ;;
757 # If the previous option needs an argument, assign it.
758 if test -n "$at_prev"; then
759 at_option=$at_prev=$at_option
764 *=*) at_optarg=`expr "x$at_option" : 'x[^=]*=\(.*\)'` ;;
768 # Accept the important Cygnus configure options, so we can diagnose typos.
797 at_verbose=; at_quiet=:
801 at_traceon='set -x'; at_traceoff='set +x'
804 [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
805 at_func_validate_ranges at_option
806 at_groups="$at_groups$at_option "
810 [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
811 at_range_start=`echo $at_option |tr -d X-`
812 at_func_validate_ranges at_range_start
813 at_range=`$as_echo " $at_groups_all " | \
814 sed -e 's/^.* \('$at_range_start' \)/\1/'`
815 at_groups="$at_groups$at_range "
818 -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
819 at_range_end=`echo $at_option |tr -d X-`
820 at_func_validate_ranges at_range_end
821 at_range=`$as_echo " $at_groups_all " | \
822 sed -e 's/\( '$at_range_end'\) .*$/\1/'`
823 at_groups="$at_groups$at_range "
826 [0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
827 [0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
828 [0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
829 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
830 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
831 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
832 at_range_start=`expr $at_option : '\(.*\)-'`
833 at_range_end=`expr $at_option : '.*-\(.*\)'`
834 if test $at_range_start -gt $at_range_end; then
836 at_range_end=$at_range_start
837 at_range_start=$at_tmp
839 at_func_validate_ranges at_range_start at_range_end
840 at_range=`$as_echo " $at_groups_all " | \
841 sed -e 's/^.*\( '$at_range_start' \)/\1/' \
842 -e 's/\( '$at_range_end'\) .*$/\1/'`
843 at_groups="$at_groups$at_range "
846 # Directory selection.
860 at_groups_selected=$at_help_all
872 at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
875 # It is on purpose that we match the test group titles too.
876 at_groups_selected=`$as_echo "$at_groups_selected" |
877 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
879 # Smash the newlines.
880 at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
883 at_groups="$at_groups$at_groups_selected "
887 at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
888 # Reject names that are not valid shell variable names.
890 '' | [0-9]* | *[!_$as_cr_alnum]* )
891 { { $as_echo "$as_me:$LINENO: error: invalid variable name: $at_envvar" >&5
892 $as_echo "$as_me: error: invalid variable name: $at_envvar" >&2;}
893 { (exit 1); exit 1; }; } ;;
895 at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
896 # Export now, but save eval for later and for debug scripts.
898 at_debug_args="$at_debug_args $at_envvar='$at_value'"
901 *) $as_echo "$as_me: invalid option: $at_option" >&2
902 $as_echo "Try \`$0 --help' for more information." >&2
908 # Verify our last option didn't require an argument
909 if test -n "$at_prev"; then
910 { { $as_echo "$as_me:$LINENO: error: \`$at_prev' requires an argument." >&5
911 $as_echo "$as_me: error: \`$at_prev' requires an argument." >&2;}
912 { (exit 1); exit 1; }; }
916 # Selected test groups.
917 if test -z "$at_groups"; then
918 at_groups=$at_groups_all
920 # Sort the tests, removing duplicates.
921 at_groups=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
926 cat <<_ATEOF || at_write_fail=1
927 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
929 Run all the tests, or the selected TESTS, given by numeric ranges, and
930 save a detailed log file. Upon failure, create debugging scripts.
932 You should not change environment variables unless explicitly passed
933 as command line arguments. Set \`AUTOTEST_PATH' to select the executables
934 to exercise. Each relative directory is expanded as build and source
935 directories relatively to the top level of this distribution. E.g.,
937 $ $0 AUTOTEST_PATH=bin
939 possibly amounts into
941 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
943 cat <<_ATEOF || at_write_fail=1
946 -h, --help print the help message, then exit
947 -V, --version print version number, then exit
948 -c, --clean remove all the files this test suite might create and exit
949 -l, --list describes all the tests, or the selected TESTS
951 cat <<_ATEOF || at_write_fail=1
955 change to directory DIR before starting
956 -k, --keywords=KEYWORDS
957 select the tests matching all the comma-separated KEYWORDS
958 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
959 -e, --errexit abort as soon as a test fails; implies --debug
960 -v, --verbose force more detailed output
961 default for debugging scripts
962 -d, --debug inhibit clean up and top-level logging
963 default for debugging scripts
964 -x, --trace enable tests shell tracing
966 cat <<_ATEOF || at_write_fail=1
968 Report bugs to <bug-tar@gnu.org>.
975 cat <<_ATEOF || at_write_fail=1
976 GNU tar 1.23 test suite test groups:
978 NUM: FILE-NAME:LINE TEST-GROUP-NAME
982 # Passing at_groups is tricky. We cannot use it to form a literal string
983 # or regexp because of the limitation of AIX awk. And Solaris' awk
984 # doesn't grok more than 99 fields in a record, so we have to use `split'.
985 # at_groups needs to be space-separated for this script to work.
988 at_groups=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
990 $as_echo "$at_groups$as_nl$at_help_all" |
991 awk 'BEGIN { FS = ";" }
993 for (n = split($ 0, a, " "); n; n--) selected[a[n]] = 1
998 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
999 if ($ 4) printf " %s\n", $ 4
1001 }' || at_write_fail=1
1004 if $at_version_p; then
1005 $as_echo "$as_me (GNU tar 1.23)" &&
1006 cat <<\_ACEOF || at_write_fail=1
1008 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
1009 Free Software Foundation, Inc.
1010 This test suite is free software; the Free Software Foundation gives
1011 unlimited permission to copy, distribute and modify it.
1016 # Should we print banners? at_groups is space-separated for entire test,
1017 # newline-separated if only a subset of the testsuite is run.
1019 *' '*' '* | *"$as_nl"*"$as_nl"* )
1020 at_print_banners=: ;;
1021 * ) at_print_banners=false ;;
1023 # Text for banner N, set to empty once printed.
1025 # Take any -C into account.
1026 if $at_change_dir ; then
1027 if test x- = "x$at_dir" ; then
1030 test x != "x$at_dir" && cd "$at_dir" \
1031 || { { $as_echo "$as_me:$LINENO: error: unable to change directory" >&5
1032 $as_echo "$as_me: error: unable to change directory" >&2;}
1033 { (exit 1); exit 1; }; }
1037 # Load the config files for any default variable assignments.
1038 for at_file in atconfig atlocal
1040 test -r $at_file || continue
1041 . ./$at_file || { { $as_echo "$as_me:$LINENO: error: invalid content: $at_file" >&5
1042 $as_echo "$as_me: error: invalid content: $at_file" >&2;}
1043 { (exit 1); exit 1; }; }
1046 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
1047 : ${at_top_build_prefix=$at_top_builddir}
1049 # Perform any assignments requested during argument parsing.
1050 eval "$at_debug_args"
1052 # atconfig delivers names relative to the directory the test suite is
1053 # in, but the groups themselves are run in testsuite-dir/group-dir.
1054 if test -n "$at_top_srcdir"; then
1056 for at_dir_var in srcdir top_srcdir top_build_prefix
1058 at_val=`eval 'as_val=${'at_$at_dir_var'}
1059 $as_echo "$as_val"'`
1061 [\\/$]* | ?:[\\/]* ) at_prefix= ;;
1062 *) at_prefix=../../ ;;
1064 eval "$at_dir_var=\$at_prefix\$at_val"
1068 ## ------------------- ##
1069 ## Directory structure ##
1070 ## ------------------- ##
1072 # This is the set of directories and files used by this script
1073 # (non-literals are capitalized):
1075 # TESTSUITE - the testsuite
1076 # TESTSUITE.log - summarizes the complete testsuite run
1077 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
1078 # + at-groups/ - during a run: status of all groups in run
1079 # | + NNN/ - during a run: meta-data about test group NNN
1080 # | | + check-line - location (source file and line) of current AT_CHECK
1081 # | | + status - exit status of current AT_CHECK
1082 # | | + stdout - stdout of current AT_CHECK
1083 # | | + stder1 - stderr, including trace
1084 # | | + stderr - stderr, with trace filtered out
1085 # | | + test-source - portion of testsuite that defines group
1086 # | | + times - timestamps for computing duration
1087 # | | + pass - created if group passed
1088 # | | + xpass - created if group xpassed
1089 # | | + fail - created if group failed
1090 # | | + xfail - created if group xfailed
1091 # | | + skip - created if group skipped
1092 # + at-stop - during a run: end the run if this file exists
1093 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
1094 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
1095 # | + TESTSUITE.log - summarizes the group results
1096 # | + ... - files created during the group
1098 # The directory the whole suite works in.
1099 # Should be absolute to let the user `cd' at will.
1100 at_suite_dir=$at_dir/$as_me.dir
1101 # The file containing the suite.
1102 at_suite_log=$at_dir/$as_me.log
1103 # The directory containing helper files per test group.
1104 at_helper_dir=$at_suite_dir/at-groups
1105 # Stop file: if it exists, do not start new jobs.
1106 at_stop_file=$at_suite_dir/at-stop
1109 test -d "$at_suite_dir" &&
1110 find "$at_suite_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1111 rm -f -r "$at_suite_dir" "$at_suite_log"
1115 # Don't take risks: use only absolute directories in PATH.
1117 # For stand-alone test suites (ie. atconfig was not found),
1118 # AUTOTEST_PATH is relative to `.'.
1120 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1121 # of the package. Then expand it into build/src parts, since users
1122 # may create executables in both places.
1123 AUTOTEST_PATH=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1126 for as_dir in $AUTOTEST_PATH $PATH
1129 test -z "$as_dir" && as_dir=.
1130 test -n "$at_path" && at_path=$at_path$PATH_SEPARATOR
1133 at_path=$at_path$as_dir
1136 if test -z "$at_top_build_prefix"; then
1137 # Stand-alone test suite.
1138 at_path=$at_path$as_dir
1140 # Embedded test suite.
1141 at_path=$at_path$at_top_build_prefix$as_dir$PATH_SEPARATOR
1142 at_path=$at_path$at_top_srcdir/$as_dir
1150 # Now build and simplify PATH.
1152 # There might be directories that don't exist, but don't redirect
1153 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1156 for as_dir in $at_path
1159 test -z "$as_dir" && as_dir=.
1160 test -d "$as_dir" || continue
1162 [\\/]* | ?:[\\/]* ) ;;
1163 * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1165 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1166 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1167 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
1168 *) at_new_path=$at_new_path$PATH_SEPARATOR$as_dir ;;
1176 # Setting up the FDs.
1177 # 5 is the log file. Not to be overwritten if `-d'.
1178 if $at_debug_p; then
1179 at_suite_log=/dev/null
1183 exec 5>>"$at_suite_log"
1187 ## ------------------------ ##
1188 ## GNU tar 1.23 test suite. ##
1189 ## ------------------------ ##
1193 ## ------------------------ ##
1194 ## GNU tar 1.23 test suite. ##
1195 ## ------------------------ ##
1199 $as_echo "$as_me: command line was:"
1200 $as_echo " \$ $0 $at_cli_args"
1203 # Try to find a few ChangeLogs in case it might help determining the
1204 # exact version. Use the relative dir: if the top dir is a symlink,
1205 # find will not follow it (and options to follow the links are not
1206 # portable), which would result in no output here. Prune directories
1207 # matching the package tarname, since they tend to be leftovers from
1208 # `make dist' or `make distcheck' and contain redundant or stale logs.
1209 if test -n "$at_top_srcdir"; then
1216 for at_file in `find "$at_top_srcdir" -name "tar-*" -prune -o -name ChangeLog -print`
1218 $as_echo "$as_me: $at_file:"
1219 sed 's/^/| /;10q' $at_file
1231 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1232 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1233 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1234 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1235 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1237 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1238 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1240 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1241 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1242 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1243 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1244 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1245 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1246 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1254 test -z "$as_dir" && as_dir=.
1255 $as_echo "PATH: $as_dir"
1262 # Contents of the config files.
1263 for at_file in atconfig atlocal
1265 test -r $at_file || continue
1266 $as_echo "$as_me: $at_file:"
1267 sed 's/^/| /' $at_file
1273 ## --------------- ##
1274 ## Shell functions ##
1275 ## --------------- ##
1277 # at_func_banner NUMBER
1278 # ---------------------
1279 # Output banner NUMBER, provided the testsuite is running multiple groups
1280 # and this particular banner has not yet been printed.
1283 $at_print_banners || return 0
1284 eval at_banner_text=\$at_banner_text_$1
1285 test "x$at_banner_text" = x && return 0
1286 eval at_banner_text_$1=
1287 $as_echo "$as_nl$at_banner_text$as_nl"
1290 # at_func_check_newline COMMAND
1291 # -----------------------------
1292 # Test if COMMAND includes a newline and, if so, print a message and return
1294 at_func_check_newline ()
1298 '*) echo 'Not enabling shell tracing (command contains an embedded newline)'
1304 # at_func_filter_trace EXIT-CODE
1305 # ------------------------------
1306 # Split the contents of file "$at_stder1" into the "set -x" trace (on stderr)
1307 # and the other lines (on file "$at_stderr"). Return the exit code EXIT-CODE.
1308 at_func_filter_trace ()
1310 grep '^ *+' "$at_stder1" >&2
1311 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1315 # at_func_log_failure FILE-LIST
1316 # -----------------------------
1317 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1318 # with a failure exit code.
1319 at_func_log_failure ()
1322 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1323 echo 1 > "$at_status_file"
1327 # at_func_check_skip EXIT-CODE
1328 # ----------------------------
1329 # Check whether EXIT-CODE is the special exit code 77, and if so exit the shell
1330 # with that same exit code.
1331 at_func_check_skip ()
1334 77) echo 77 > "$at_status_file"; exit 77;;
1338 # at_func_check_status EXPECTED EXIT-CODE LINE
1339 # --------------------------------------------
1340 # Check whether EXIT-CODE is the expected exit code, and if so do nothing.
1341 # Otherwise, if it is 77 exit the shell with that same exit code; if it is
1342 # anything else print an error message and fail the test.
1343 at_func_check_status ()
1347 77) echo 77 > "$at_status_file"; exit 77;;
1348 *) $as_echo "$3: exit code was $2, expected $1"
1353 # at_func_diff_devnull FILE
1354 # -------------------------
1355 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless
1357 at_func_diff_devnull ()
1359 test -s "$1" || return 0
1360 $at_diff "$at_devnull" "$1"
1363 # at_func_test NUMBER
1364 # -------------------
1365 # Parse out test NUMBER from the tail of this file.
1368 eval at_sed=\$at_sed$1
1369 sed "$at_sed" "$at_myself" > "$at_test_source"
1372 # at_func_create_debugging_script
1373 # -------------------------------
1374 # Create the debugging script $at_group_dir/run which will reproduce the
1375 # current test group.
1376 at_func_create_debugging_script ()
1379 echo "#! /bin/sh" &&
1380 echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1381 $as_echo "cd '$at_dir'" &&
1382 $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1384 } >"$at_group_dir/run" &&
1385 chmod +x "$at_group_dir/run"
1390 # Arithmetic evaluation, avoids expr if the shell is sane. The
1391 # interpretation of leading zeroes is unspecified.
1393 # subshell and eval are needed to keep Solaris sh from bailing out:
1394 if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
1395 # With "$@", bash does not split positional parameters:
1396 eval 'at_func_arith ()
1398 at_func_arith_result=$(( $* ))
1403 at_func_arith_result=`expr "$@"`
1407 ## ---------------------- ##
1408 ## End of shell functions ##
1409 ## ---------------------- ##
1412 ## ---------------- ##
1413 ## Tested programs. ##
1414 ## ---------------- ##
1419 # Report what programs are being tested.
1420 for at_program in : $at_tested
1422 test "$at_program" = : && continue
1423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir=.
1428 test -f "$as_dir/$at_program" && break
1432 if test -f "$as_dir/$at_program"; then
1434 $as_echo "$at_srcdir/testsuite.at:104: $as_dir/$at_program --version"
1435 "$as_dir/$at_program" --version </dev/null
1439 { { $as_echo "$as_me:$LINENO: error: cannot find $at_program" >&5
1440 $as_echo "$as_me: error: cannot find $at_program" >&2;}
1441 { (exit 1); exit 1; }; }
1447 ## ------------------ ##
1448 ## Running the tests. ##
1449 ## ------------------ ##
1453 at_start_date=`date`
1454 at_start_time=`date +%s 2>/dev/null`
1455 $as_echo "$as_me: starting at: $at_start_date" >&5
1457 # Create the master directory if it doesn't already exist.
1458 test -d "$at_suite_dir" ||
1459 mkdir "$at_suite_dir" ||
1460 { { $as_echo "$as_me:$LINENO: error: cannot create '$at_suite_dir'" >&5
1461 $as_echo "$as_me: error: cannot create '$at_suite_dir'" >&2;}
1462 { (exit 1); exit 1; }; }
1464 # Can we diff with `/dev/null'? DU 5.0 refuses.
1465 if diff /dev/null /dev/null >/dev/null 2>&1; then
1466 at_devnull=/dev/null
1468 at_devnull=$at_suite_dir/devnull
1472 # Use `diff -u' when possible.
1473 if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1480 # Get the last needed group.
1481 for at_group in : $at_groups; do :; done
1483 # Extract the start and end lines of each test group at the tail
1491 test = substr ($ 0, 10)
1492 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1493 if (test == "'"$at_group"'") exit
1494 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1495 . "$at_suite_dir/at-source-lines" ||
1496 { { $as_echo "$as_me:$LINENO: error: cannot create test line number cache" >&5
1497 $as_echo "$as_me: error: cannot create test line number cache" >&2;}
1498 { (exit 1); exit 1; }; }
1499 rm -f "$at_suite_dir/at-source-lines"
1501 # Set up helper dirs.
1502 rm -rf "$at_helper_dir" &&
1503 mkdir "$at_helper_dir" &&
1504 cd "$at_helper_dir" &&
1505 { test -z "$at_groups" || mkdir $at_groups; } ||
1506 { { $as_echo "$as_me:$LINENO: error: testsuite directory setup failed" >&5
1507 $as_echo "$as_me: error: testsuite directory setup failed" >&2;}
1508 { (exit 1); exit 1; }; }
1510 # Functions for running a test group. We leave the actual
1511 # test group execution outside of a shell function in order
1512 # to avoid hitting zsh 4.x exit status bugs.
1514 # at_func_group_prepare
1515 # ---------------------
1516 # Prepare running a test group
1517 at_func_group_prepare ()
1519 # The directory for additional per-group helper files.
1520 at_job_dir=$at_helper_dir/$at_group
1521 # The file containing the location of the last AT_CHECK.
1522 at_check_line_file=$at_job_dir/check-line
1523 # The file containing the exit status of the last command.
1524 at_status_file=$at_job_dir/status
1525 # The files containing the output of the tested commands.
1526 at_stdout=$at_job_dir/stdout
1527 at_stder1=$at_job_dir/stder1
1528 at_stderr=$at_job_dir/stderr
1529 # The file containing the code for a test group.
1530 at_test_source=$at_job_dir/test-source
1531 # The file containing dates.
1532 at_times_file=$at_job_dir/times
1534 # Be sure to come back to the top test directory.
1537 # Clearly separate the test groups when verbose.
1538 $at_first || $at_verbose echo
1540 at_group_normalized=$at_group
1543 case $at_group_normalized in #(
1544 '"$at_format"'*) break;;
1546 at_group_normalized=0$at_group_normalized
1550 # Create a fresh directory for the next test group, and enter.
1551 at_group_dir=$at_suite_dir/$at_group_normalized
1552 at_group_log=$at_group_dir/$as_me.log
1553 if test -d "$at_group_dir"; then
1554 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1555 rm -fr "$at_group_dir" ||
1556 { $as_echo "$as_me:$LINENO: WARNING: test directory for $at_group_normalized could not be cleaned." >&5
1557 $as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned." >&2;}
1559 # Be tolerant if the above `rm' was not able to remove the directory.
1560 { as_dir="$at_group_dir"
1562 -*) as_dir=./$as_dir;;
1564 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1568 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1569 *) as_qdir=$as_dir;;
1571 as_dirs="'$as_qdir' $as_dirs"
1572 as_dir=`$as_dirname -- "$as_dir" ||
1573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1574 X"$as_dir" : 'X\(//\)[^/]' \| \
1575 X"$as_dir" : 'X\(//\)$' \| \
1576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1577 $as_echo X"$as_dir" |
1578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1595 test -d "$as_dir" && break
1597 test -z "$as_dirs" || eval "mkdir $as_dirs"
1598 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
1599 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
1600 { (exit 1); exit 1; }; }; }
1602 echo 0 > "$at_status_file"
1604 # In verbose mode, append to the log file *and* show on
1605 # the standard output; in quiet mode only write to the log.
1606 if test -z "$at_verbose"; then
1607 at_tee_pipe='tee -a "$at_group_log"'
1609 at_tee_pipe='cat >> "$at_group_log"'
1613 # at_func_group_postprocess
1614 # -------------------------
1615 at_func_group_postprocess ()
1617 # Be sure to come back to the suite directory, in particular
1618 # since below we might `rm' the group directory we are in currently.
1621 if test ! -f "$at_check_line_file"; then
1622 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1623 A failure happened in a test group before any test could be
1624 run. This means that test suite is improperly designed. Please
1625 report this failure to <bug-tar@gnu.org>.
1627 $as_echo "$at_setup_line" >"$at_check_line_file"
1629 $at_verbose $as_echo_n "$at_group. $at_setup_line: "
1630 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
1631 case $at_xfail:$at_status in
1633 at_msg="UNEXPECTED PASS"
1635 at_errexit=$at_errexit_p
1643 at_msg='skipped ('`cat "$at_check_line_file"`')'
1648 at_msg='expected failure ('`cat "$at_check_line_file"`')'
1653 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1655 at_errexit=$at_errexit_p
1658 echo "$at_res" > "$at_job_dir/$at_res"
1659 # Make sure there is a separator even with long titles.
1661 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
1664 # $at_times_file is only available if the group succeeded.
1665 # We're not including the group log, so the success message
1666 # is written in the global log separately. But we also
1667 # write to the group log in case they're using -d.
1668 if test -f "$at_times_file"; then
1669 at_log_msg="$at_log_msg ("`sed 1d "$at_times_file"`')'
1670 rm -f "$at_times_file"
1672 $as_echo "$at_log_msg" >> "$at_group_log"
1673 $as_echo "$at_log_msg" >&5
1675 # Cleanup the group directory, unless the user wants the files.
1676 if $at_debug_p; then
1677 at_func_create_debugging_script
1679 if test -d "$at_group_dir"; then
1680 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1681 rm -fr "$at_group_dir"
1683 rm -f "$at_test_source"
1687 # Upon failure, include the log into the testsuite's global
1688 # log. The failure message is written in the group log. It
1689 # is later included in the global log.
1690 $as_echo "$at_log_msg" >> "$at_group_log"
1692 # Upon failure, keep the group directory for autopsy, and create
1693 # the debugging script. With -e, do not start any further tests.
1694 at_func_create_debugging_script
1695 if $at_errexit; then
1696 echo stop > "$at_stop_file"
1707 rm -f "$at_stop_file"
1710 for at_group in $at_groups; do
1711 at_func_group_prepare
1712 if cd "$at_group_dir" &&
1713 at_func_test $at_group &&
1714 . "$at_test_source"; then :; else
1715 { $as_echo "$as_me:$LINENO: WARNING: unable to parse test group: $at_group" >&5
1716 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1719 at_func_group_postprocess
1720 test -f "$at_stop_file" && break
1724 # Wrap up the test suite with summary statistics.
1727 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1728 at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1729 at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1730 at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1731 at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1732 echo $f; done | sed '/?/d; s,/xpass,,'`
1733 at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do
1734 echo $f; done | sed '/?/d; s,/fail,,'`
1736 set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1737 shift; at_group_count=$#
1738 set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$*
1739 set X $at_xfail_list; shift; at_xfail_count=$#
1740 set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$*
1741 set X $at_skip_list; shift; at_skip_count=$#
1743 at_func_arith $at_group_count - $at_skip_count
1744 at_run_count=$at_func_arith_result
1745 at_func_arith $at_xpass_count + $at_fail_count
1746 at_unexpected_count=$at_func_arith_result
1747 at_func_arith $at_xfail_count + $at_fail_count
1748 at_total_fail_count=$at_func_arith_result
1750 # Back to the top directory.
1752 rm -rf "$at_helper_dir"
1754 # Compute the duration of the suite.
1756 at_stop_time=`date +%s 2>/dev/null`
1757 $as_echo "$as_me: ending at: $at_stop_date" >&5
1758 case $at_start_time,$at_stop_time in
1760 at_func_arith $at_stop_time - $at_start_time
1761 at_duration_s=$at_func_arith_result
1762 at_func_arith $at_duration_s / 60
1763 at_duration_m=$at_func_arith_result
1764 at_func_arith $at_duration_m / 60
1765 at_duration_h=$at_func_arith_result
1766 at_func_arith $at_duration_s % 60
1767 at_duration_s=$at_func_arith_result
1768 at_func_arith $at_duration_m % 60
1769 at_duration_m=$at_func_arith_result
1770 at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1771 $as_echo "$as_me: test suite duration: $at_duration" >&5
1792 if test $at_run_count = 1; then
1796 at_result="$at_run_count tests"
1799 if $at_errexit_p && test $at_unexpected_count != 0; then
1800 if test $at_xpass_count = 1; then
1801 at_result="$at_result $at_were run, one passed"
1803 at_result="$at_result $at_were run, one failed"
1805 at_result="$at_result unexpectedly and inhibited subsequent tests."
1807 # Don't you just love exponential explosion of the number of cases?
1808 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1810 0:0:0) at_result="$at_result $at_were successful." ;;
1811 0:0:*) at_result="$at_result behaved as expected." ;;
1813 # Some unexpected failures
1814 0:*:0) at_result="$at_result $at_were run,
1815 $at_fail_count failed unexpectedly." ;;
1817 # Some failures, both expected and unexpected
1818 0:*:1) at_result="$at_result $at_were run,
1819 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1820 0:*:*) at_result="$at_result $at_were run,
1821 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1823 # No unexpected failures, but some xpasses
1824 *:0:*) at_result="$at_result $at_were run,
1825 $at_xpass_count passed unexpectedly." ;;
1827 # No expected failures, but failures and xpasses
1828 *:1:0) at_result="$at_result $at_were run,
1829 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1830 *:*:0) at_result="$at_result $at_were run,
1831 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1834 *:*:1) at_result="$at_result $at_were run,
1835 $at_xpass_count passed unexpectedly,
1836 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1837 *:*:*) at_result="$at_result $at_were run,
1838 $at_xpass_count passed unexpectedly,
1839 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1842 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1843 at_result="All $at_result"
1847 # Now put skips in the mix.
1848 case $at_skip_count in
1850 1) at_result="$at_result
1851 1 test was skipped." ;;
1852 *) at_result="$at_result
1853 $at_skip_count tests were skipped." ;;
1856 if test $at_unexpected_count = 0; then
1858 echo "$at_result" >&5
1860 echo "ERROR: $at_result" >&2
1861 echo "ERROR: $at_result" >&5
1865 ## ------------------------ ##
1866 ## Summary of the failures. ##
1867 ## ------------------------ ##
1870 # Summary of failed and skipped tests.
1871 if test $at_fail_count != 0; then
1872 echo "Failed tests:"
1873 $SHELL "$at_myself" $at_fail_list --list
1876 if test $at_skip_count != 0; then
1877 echo "Skipped tests:"
1878 $SHELL "$at_myself" $at_skip_list --list
1881 if test $at_xpass_count != 0; then
1882 echo "Unexpected passes:"
1883 $SHELL "$at_myself" $at_xpass_list --list
1886 if test $at_fail_count != 0; then
1888 ## ---------------------- ##
1889 ## Detailed failed tests. ##
1890 ## ---------------------- ##
1893 for at_group in $at_fail_list
1895 at_group_normalized=$at_group
1898 case $at_group_normalized in #(
1899 '"$at_format"'*) break;;
1901 at_group_normalized=0$at_group_normalized
1904 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1909 if test -n "$at_top_srcdir"; then
1910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1911 ## ${at_top_build_prefix}config.log ##
1913 sed 's/^/| /' ${at_top_build_prefix}config.log
1918 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1919 ## $as_me.log was created. ##
1923 $as_echo "Please send \`${at_testdir+${at_testdir}/}$as_me.log' and all information you think might help:
1925 To: <bug-tar@gnu.org>
1926 Subject: [GNU tar 1.23] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
1928 if test $at_debug_p = false; then
1930 echo 'You may investigate any problem if you feel able to do so, in which'
1931 echo 'case the test suite provides a good starting point. Its output may'
1932 $as_echo "be found below \`${at_testdir+${at_testdir}/}$as_me.dir'."
1944 # 1. version.at:19: tar version
1945 at_setup_line='version.at:19'
1946 at_desc="tar version"
1947 $at_quiet $as_echo_n " 1: $at_desc "
1949 echo "# -*- compilation -*-" >> "$at_group_log"
1951 $as_echo "1. version.at:19: testing ..."
1956 $as_echo "$at_srcdir/version.at:21: tar --version | sed 1q"
1957 echo version.at:21 >"$at_check_line_file"
1959 if test -n "$at_traceon"; then
1960 ( $at_traceon; tar --version | sed 1q ) >"$at_stdout" 2>"$at_stder1"
1961 at_func_filter_trace $?
1963 ( :; tar --version | sed 1q ) >"$at_stdout" 2>"$at_stderr"
1967 at_func_diff_devnull "$at_stderr" || at_failed=:
1968 echo >>"$at_stdout"; $as_echo "tar (GNU tar) 1.23
1970 $at_diff - "$at_stdout" || at_failed=:
1971 at_func_check_status 0 $at_status "$at_srcdir/version.at:21"
1973 cat >$XFAILFILE <<'_EOT'
1975 ==============================================================
1976 WARNING: Not using the proper version, *all* checks dubious...
1977 ==============================================================
1984 $at_failed && at_func_log_failure
1989 $at_times_p && times >"$at_times_file"
1990 ) 5>&1 2>&1 | eval $at_tee_pipe
1991 at_status=`cat "$at_status_file"`
1994 # 2. pipe.at:30: decompressing from stdin
1995 at_setup_line='pipe.at:30'
1996 at_desc="decompressing from stdin"
1997 $at_quiet $as_echo_n " 2: $at_desc "
1999 test -f $XFAILFILE && at_xfail=yes
2000 echo "# -*- compilation -*-" >> "$at_group_log"
2002 $as_echo "2. pipe.at:30: testing ..."
2011 $as_echo "$at_srcdir/pipe.at:34:
2015 export TEST_TAR_FORMAT
2016 TAR_OPTIONS=\"-H v7\"
2021 test -z "`sort < /dev/null 2>&1`" || exit 77
2025 genfile --length 10240 --pattern zeros --file directory/file1
2026 genfile --length 13 --file directory/file2
2027 tar cf archive directory
2029 cat archive | tar xfv - | sort
2031 cmp orig/file1 directory/file1
2033 cmp orig/file2 directory/file2)"
2034 echo pipe.at:34 >"$at_check_line_file"
2036 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2042 export TEST_TAR_FORMAT
2048 test -z "`sort < /dev/null 2>&1`" || exit 77
2052 genfile --length 10240 --pattern zeros --file directory/file1
2053 genfile --length 13 --file directory/file2
2054 tar cf archive directory
2056 cat archive | tar xfv - | sort
2058 cmp orig/file1 directory/file1
2060 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2061 at_func_filter_trace $?
2067 export TEST_TAR_FORMAT
2073 test -z "`sort < /dev/null 2>&1`" || exit 77
2077 genfile --length 10240 --pattern zeros --file directory/file1
2078 genfile --length 13 --file directory/file2
2079 tar cf archive directory
2081 cat archive | tar xfv - | sort
2083 cmp orig/file1 directory/file1
2085 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2089 at_func_diff_devnull "$at_stderr" || at_failed=:
2090 echo >>"$at_stdout"; $as_echo "directory/
2096 $at_diff - "$at_stdout" || at_failed=:
2097 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2099 $at_failed && at_func_log_failure
2103 $as_echo "$at_srcdir/pipe.at:34:
2106 TEST_TAR_FORMAT=oldgnu
2107 export TEST_TAR_FORMAT
2108 TAR_OPTIONS=\"-H oldgnu\"
2113 test -z "`sort < /dev/null 2>&1`" || exit 77
2117 genfile --length 10240 --pattern zeros --file directory/file1
2118 genfile --length 13 --file directory/file2
2119 tar cf archive directory
2121 cat archive | tar xfv - | sort
2123 cmp orig/file1 directory/file1
2125 cmp orig/file2 directory/file2)"
2126 echo pipe.at:34 >"$at_check_line_file"
2128 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2133 TEST_TAR_FORMAT=oldgnu
2134 export TEST_TAR_FORMAT
2135 TAR_OPTIONS="-H oldgnu"
2140 test -z "`sort < /dev/null 2>&1`" || exit 77
2144 genfile --length 10240 --pattern zeros --file directory/file1
2145 genfile --length 13 --file directory/file2
2146 tar cf archive directory
2148 cat archive | tar xfv - | sort
2150 cmp orig/file1 directory/file1
2152 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2153 at_func_filter_trace $?
2158 TEST_TAR_FORMAT=oldgnu
2159 export TEST_TAR_FORMAT
2160 TAR_OPTIONS="-H oldgnu"
2165 test -z "`sort < /dev/null 2>&1`" || exit 77
2169 genfile --length 10240 --pattern zeros --file directory/file1
2170 genfile --length 13 --file directory/file2
2171 tar cf archive directory
2173 cat archive | tar xfv - | sort
2175 cmp orig/file1 directory/file1
2177 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2181 at_func_diff_devnull "$at_stderr" || at_failed=:
2182 echo >>"$at_stdout"; $as_echo "directory/
2188 $at_diff - "$at_stdout" || at_failed=:
2189 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2191 $at_failed && at_func_log_failure
2195 $as_echo "$at_srcdir/pipe.at:34:
2198 TEST_TAR_FORMAT=ustar
2199 export TEST_TAR_FORMAT
2200 TAR_OPTIONS=\"-H ustar\"
2205 test -z "`sort < /dev/null 2>&1`" || exit 77
2209 genfile --length 10240 --pattern zeros --file directory/file1
2210 genfile --length 13 --file directory/file2
2211 tar cf archive directory
2213 cat archive | tar xfv - | sort
2215 cmp orig/file1 directory/file1
2217 cmp orig/file2 directory/file2)"
2218 echo pipe.at:34 >"$at_check_line_file"
2220 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2225 TEST_TAR_FORMAT=ustar
2226 export TEST_TAR_FORMAT
2227 TAR_OPTIONS="-H ustar"
2232 test -z "`sort < /dev/null 2>&1`" || exit 77
2236 genfile --length 10240 --pattern zeros --file directory/file1
2237 genfile --length 13 --file directory/file2
2238 tar cf archive directory
2240 cat archive | tar xfv - | sort
2242 cmp orig/file1 directory/file1
2244 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2245 at_func_filter_trace $?
2250 TEST_TAR_FORMAT=ustar
2251 export TEST_TAR_FORMAT
2252 TAR_OPTIONS="-H ustar"
2257 test -z "`sort < /dev/null 2>&1`" || exit 77
2261 genfile --length 10240 --pattern zeros --file directory/file1
2262 genfile --length 13 --file directory/file2
2263 tar cf archive directory
2265 cat archive | tar xfv - | sort
2267 cmp orig/file1 directory/file1
2269 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2273 at_func_diff_devnull "$at_stderr" || at_failed=:
2274 echo >>"$at_stdout"; $as_echo "directory/
2280 $at_diff - "$at_stdout" || at_failed=:
2281 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2283 $at_failed && at_func_log_failure
2287 $as_echo "$at_srcdir/pipe.at:34:
2290 TEST_TAR_FORMAT=posix
2291 export TEST_TAR_FORMAT
2292 TAR_OPTIONS=\"-H posix\"
2297 test -z "`sort < /dev/null 2>&1`" || exit 77
2301 genfile --length 10240 --pattern zeros --file directory/file1
2302 genfile --length 13 --file directory/file2
2303 tar cf archive directory
2305 cat archive | tar xfv - | sort
2307 cmp orig/file1 directory/file1
2309 cmp orig/file2 directory/file2)"
2310 echo pipe.at:34 >"$at_check_line_file"
2312 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2317 TEST_TAR_FORMAT=posix
2318 export TEST_TAR_FORMAT
2319 TAR_OPTIONS="-H posix"
2324 test -z "`sort < /dev/null 2>&1`" || exit 77
2328 genfile --length 10240 --pattern zeros --file directory/file1
2329 genfile --length 13 --file directory/file2
2330 tar cf archive directory
2332 cat archive | tar xfv - | sort
2334 cmp orig/file1 directory/file1
2336 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2337 at_func_filter_trace $?
2342 TEST_TAR_FORMAT=posix
2343 export TEST_TAR_FORMAT
2344 TAR_OPTIONS="-H posix"
2349 test -z "`sort < /dev/null 2>&1`" || exit 77
2353 genfile --length 10240 --pattern zeros --file directory/file1
2354 genfile --length 13 --file directory/file2
2355 tar cf archive directory
2357 cat archive | tar xfv - | sort
2359 cmp orig/file1 directory/file1
2361 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2365 at_func_diff_devnull "$at_stderr" || at_failed=:
2366 echo >>"$at_stdout"; $as_echo "directory/
2372 $at_diff - "$at_stdout" || at_failed=:
2373 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2375 $at_failed && at_func_log_failure
2379 $as_echo "$at_srcdir/pipe.at:34:
2383 export TEST_TAR_FORMAT
2384 TAR_OPTIONS=\"-H gnu\"
2389 test -z "`sort < /dev/null 2>&1`" || exit 77
2393 genfile --length 10240 --pattern zeros --file directory/file1
2394 genfile --length 13 --file directory/file2
2395 tar cf archive directory
2397 cat archive | tar xfv - | sort
2399 cmp orig/file1 directory/file1
2401 cmp orig/file2 directory/file2)"
2402 echo pipe.at:34 >"$at_check_line_file"
2404 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2410 export TEST_TAR_FORMAT
2411 TAR_OPTIONS="-H gnu"
2416 test -z "`sort < /dev/null 2>&1`" || exit 77
2420 genfile --length 10240 --pattern zeros --file directory/file1
2421 genfile --length 13 --file directory/file2
2422 tar cf archive directory
2424 cat archive | tar xfv - | sort
2426 cmp orig/file1 directory/file1
2428 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stder1"
2429 at_func_filter_trace $?
2435 export TEST_TAR_FORMAT
2436 TAR_OPTIONS="-H gnu"
2441 test -z "`sort < /dev/null 2>&1`" || exit 77
2445 genfile --length 10240 --pattern zeros --file directory/file1
2446 genfile --length 13 --file directory/file2
2447 tar cf archive directory
2449 cat archive | tar xfv - | sort
2451 cmp orig/file1 directory/file1
2453 cmp orig/file2 directory/file2) ) >"$at_stdout" 2>"$at_stderr"
2457 at_func_diff_devnull "$at_stderr" || at_failed=:
2458 echo >>"$at_stdout"; $as_echo "directory/
2464 $at_diff - "$at_stdout" || at_failed=:
2465 at_func_check_status 0 $at_status "$at_srcdir/pipe.at:34"
2467 $at_failed && at_func_log_failure
2474 $at_times_p && times >"$at_times_file"
2475 ) 5>&1 2>&1 | eval $at_tee_pipe
2476 at_status=`cat "$at_status_file"`
2479 # 3. options.at:24: mixing options
2480 at_setup_line='options.at:24'
2481 at_desc="mixing options"
2482 $at_quiet $as_echo_n " 3: $at_desc "
2484 echo "# -*- compilation -*-" >> "$at_group_log"
2486 $as_echo "3. options.at:24: testing ..."
2492 $as_echo "$at_srcdir/options.at:27:
2494 TAR_OPTIONS=--numeric-owner tar chof archive file1
2497 echo options.at:27 >"$at_check_line_file"
2499 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2503 TAR_OPTIONS=--numeric-owner tar chof archive file1
2505 ) >"$at_stdout" 2>"$at_stder1"
2506 at_func_filter_trace $?
2510 TAR_OPTIONS=--numeric-owner tar chof archive file1
2512 ) >"$at_stdout" 2>"$at_stderr"
2516 at_func_diff_devnull "$at_stderr" || at_failed=:
2517 echo >>"$at_stdout"; $as_echo "file1
2519 $at_diff - "$at_stdout" || at_failed=:
2520 at_func_check_status 0 $at_status "$at_srcdir/options.at:27"
2522 $at_failed && at_func_log_failure
2527 $at_times_p && times >"$at_times_file"
2528 ) 5>&1 2>&1 | eval $at_tee_pipe
2529 at_status=`cat "$at_status_file"`
2532 # 4. options02.at:26: interspersed options
2533 at_setup_line='options02.at:26'
2534 at_desc="interspersed options"
2535 $at_quiet $as_echo_n " 4: $at_desc "
2537 echo "# -*- compilation -*-" >> "$at_group_log"
2539 $as_echo "4. options02.at:26: testing ..."
2545 $as_echo "$at_srcdir/options02.at:29:
2547 tar c file1 -f archive
2550 echo options02.at:29 >"$at_check_line_file"
2552 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2556 tar c file1 -f archive
2558 ) >"$at_stdout" 2>"$at_stder1"
2559 at_func_filter_trace $?
2563 tar c file1 -f archive
2565 ) >"$at_stdout" 2>"$at_stderr"
2569 at_func_diff_devnull "$at_stderr" || at_failed=:
2570 echo >>"$at_stdout"; $as_echo "file1
2572 $at_diff - "$at_stdout" || at_failed=:
2573 at_func_check_status 0 $at_status "$at_srcdir/options02.at:29"
2575 $at_failed && at_func_log_failure
2580 $at_times_p && times >"$at_times_file"
2581 ) 5>&1 2>&1 | eval $at_tee_pipe
2582 at_status=`cat "$at_status_file"`
2585 # 5. T-empty.at:26: files-from: empty entries
2586 at_setup_line='T-empty.at:26'
2587 at_desc="files-from: empty entries"
2588 $at_quiet $as_echo_n " 5: $at_desc "
2590 test -f $XFAILFILE && at_xfail=yes
2591 echo "# -*- compilation -*-" >> "$at_group_log"
2593 $as_echo "5. T-empty.at:26: testing ..."
2598 cat >file-list <<'_ATEOF'
2609 $as_echo "$at_srcdir/T-empty.at:36:
2612 TEST_TAR_FORMAT=ustar
2613 export TEST_TAR_FORMAT
2614 TAR_OPTIONS=\"-H ustar\"
2619 test -z "`sort < /dev/null 2>&1`" || exit 77
2622 genfile --file jeden
2626 tar cfvT archive ../file-list | sort
2628 echo T-empty.at:36 >"$at_check_line_file"
2630 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2635 TEST_TAR_FORMAT=ustar
2636 export TEST_TAR_FORMAT
2637 TAR_OPTIONS="-H ustar"
2642 test -z "`sort < /dev/null 2>&1`" || exit 77
2645 genfile --file jeden
2649 tar cfvT archive ../file-list | sort
2650 ) ) >"$at_stdout" 2>"$at_stder1"
2651 at_func_filter_trace $?
2656 TEST_TAR_FORMAT=ustar
2657 export TEST_TAR_FORMAT
2658 TAR_OPTIONS="-H ustar"
2663 test -z "`sort < /dev/null 2>&1`" || exit 77
2666 genfile --file jeden
2670 tar cfvT archive ../file-list | sort
2671 ) ) >"$at_stdout" 2>"$at_stderr"
2675 at_func_diff_devnull "$at_stderr" || at_failed=:
2676 echo >>"$at_stdout"; $as_echo "dwa
2680 $at_diff - "$at_stdout" || at_failed=:
2681 at_func_check_status 0 $at_status "$at_srcdir/T-empty.at:36"
2683 $at_failed && at_func_log_failure
2687 # Testing one format is enough
2690 $at_times_p && times >"$at_times_file"
2691 ) 5>&1 2>&1 | eval $at_tee_pipe
2692 at_status=`cat "$at_status_file"`
2695 # 6. T-null.at:21: files-from: 0-separated file without -0
2696 at_setup_line='T-null.at:21'
2697 at_desc="files-from: 0-separated file without -0"
2698 $at_quiet $as_echo_n " 6: $at_desc "
2700 test -f $XFAILFILE && at_xfail=yes
2701 echo "# -*- compilation -*-" >> "$at_group_log"
2703 $as_echo "6. T-null.at:21: testing ..."
2708 cat >expout <<'_ATEOF'
2717 $as_echo "$at_srcdir/T-null.at:28:
2720 TEST_TAR_FORMAT=ustar
2721 export TEST_TAR_FORMAT
2722 TAR_OPTIONS=\"-H ustar\"
2727 test -z "`sort < /dev/null 2>&1`" || exit 77
2732 cat temp | tr '\\n' '\\0' > temp1
2733 echo jeden > file-list
2734 cat temp1 >> file-list
2740 tar cfTv archive file-list | sort
2742 echo T-null.at:28 >"$at_check_line_file"
2744 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2749 TEST_TAR_FORMAT=ustar
2750 export TEST_TAR_FORMAT
2751 TAR_OPTIONS="-H ustar"
2756 test -z "`sort < /dev/null 2>&1`" || exit 77
2761 cat temp | tr '\n' '\0' > temp1
2762 echo jeden > file-list
2763 cat temp1 >> file-list
2769 tar cfTv archive file-list | sort
2770 ) ) >"$at_stdout" 2>"$at_stder1"
2771 at_func_filter_trace $?
2776 TEST_TAR_FORMAT=ustar
2777 export TEST_TAR_FORMAT
2778 TAR_OPTIONS="-H ustar"
2783 test -z "`sort < /dev/null 2>&1`" || exit 77
2788 cat temp | tr '\n' '\0' > temp1
2789 echo jeden > file-list
2790 cat temp1 >> file-list
2796 tar cfTv archive file-list | sort
2797 ) ) >"$at_stdout" 2>"$at_stderr"
2801 echo >>"$at_stderr"; $as_echo "tar: file-list: file name read contains nul character
2803 $at_diff - "$at_stderr" || at_failed=:
2804 $at_diff expout "$at_stdout" || at_failed=:
2805 at_func_check_status 0 $at_status "$at_srcdir/T-null.at:28"
2807 $at_failed && at_func_log_failure
2811 # Testing one format is enough
2814 $at_times_p && times >"$at_times_file"
2815 ) 5>&1 2>&1 | eval $at_tee_pipe
2816 at_status=`cat "$at_status_file"`
2819 # 7. indexfile.at:26: tar --index-file=FILE --file=-
2820 at_setup_line='indexfile.at:26'
2821 at_desc="tar --index-file=FILE --file=-"
2822 $at_quiet $as_echo_n " 7: $at_desc "
2824 test -f $XFAILFILE && at_xfail=yes
2825 echo "# -*- compilation -*-" >> "$at_group_log"
2827 $as_echo "7. indexfile.at:26: testing ..."
2835 $as_echo "$at_srcdir/indexfile.at:29:
2839 export TEST_TAR_FORMAT
2840 TAR_OPTIONS=\"-H v7\"
2846 genfile --file=directory/a --length=1035
2848 echo \"Creating the archive\"
2849 tar -c -v -f - --index-file=idx directory > archive
2851 echo \"Testing the archive\"
2854 echo indexfile.at:29 >"$at_check_line_file"
2856 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2862 export TEST_TAR_FORMAT
2869 genfile --file=directory/a --length=1035
2871 echo "Creating the archive"
2872 tar -c -v -f - --index-file=idx directory > archive
2874 echo "Testing the archive"
2876 ) ) >"$at_stdout" 2>"$at_stder1"
2877 at_func_filter_trace $?
2883 export TEST_TAR_FORMAT
2890 genfile --file=directory/a --length=1035
2892 echo "Creating the archive"
2893 tar -c -v -f - --index-file=idx directory > archive
2895 echo "Testing the archive"
2897 ) ) >"$at_stdout" 2>"$at_stderr"
2901 at_func_diff_devnull "$at_stderr" || at_failed=:
2902 echo >>"$at_stdout"; $as_echo "Creating the archive
2907 $at_diff - "$at_stdout" || at_failed=:
2908 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
2910 $at_failed && at_func_log_failure
2914 $as_echo "$at_srcdir/indexfile.at:29:
2917 TEST_TAR_FORMAT=oldgnu
2918 export TEST_TAR_FORMAT
2919 TAR_OPTIONS=\"-H oldgnu\"
2925 genfile --file=directory/a --length=1035
2927 echo \"Creating the archive\"
2928 tar -c -v -f - --index-file=idx directory > archive
2930 echo \"Testing the archive\"
2933 echo indexfile.at:29 >"$at_check_line_file"
2935 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
2940 TEST_TAR_FORMAT=oldgnu
2941 export TEST_TAR_FORMAT
2942 TAR_OPTIONS="-H oldgnu"
2948 genfile --file=directory/a --length=1035
2950 echo "Creating the archive"
2951 tar -c -v -f - --index-file=idx directory > archive
2953 echo "Testing the archive"
2955 ) ) >"$at_stdout" 2>"$at_stder1"
2956 at_func_filter_trace $?
2961 TEST_TAR_FORMAT=oldgnu
2962 export TEST_TAR_FORMAT
2963 TAR_OPTIONS="-H oldgnu"
2969 genfile --file=directory/a --length=1035
2971 echo "Creating the archive"
2972 tar -c -v -f - --index-file=idx directory > archive
2974 echo "Testing the archive"
2976 ) ) >"$at_stdout" 2>"$at_stderr"
2980 at_func_diff_devnull "$at_stderr" || at_failed=:
2981 echo >>"$at_stdout"; $as_echo "Creating the archive
2986 $at_diff - "$at_stdout" || at_failed=:
2987 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
2989 $at_failed && at_func_log_failure
2993 $as_echo "$at_srcdir/indexfile.at:29:
2996 TEST_TAR_FORMAT=ustar
2997 export TEST_TAR_FORMAT
2998 TAR_OPTIONS=\"-H ustar\"
3004 genfile --file=directory/a --length=1035
3006 echo \"Creating the archive\"
3007 tar -c -v -f - --index-file=idx directory > archive
3009 echo \"Testing the archive\"
3012 echo indexfile.at:29 >"$at_check_line_file"
3014 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3019 TEST_TAR_FORMAT=ustar
3020 export TEST_TAR_FORMAT
3021 TAR_OPTIONS="-H ustar"
3027 genfile --file=directory/a --length=1035
3029 echo "Creating the archive"
3030 tar -c -v -f - --index-file=idx directory > archive
3032 echo "Testing the archive"
3034 ) ) >"$at_stdout" 2>"$at_stder1"
3035 at_func_filter_trace $?
3040 TEST_TAR_FORMAT=ustar
3041 export TEST_TAR_FORMAT
3042 TAR_OPTIONS="-H ustar"
3048 genfile --file=directory/a --length=1035
3050 echo "Creating the archive"
3051 tar -c -v -f - --index-file=idx directory > archive
3053 echo "Testing the archive"
3055 ) ) >"$at_stdout" 2>"$at_stderr"
3059 at_func_diff_devnull "$at_stderr" || at_failed=:
3060 echo >>"$at_stdout"; $as_echo "Creating the archive
3065 $at_diff - "$at_stdout" || at_failed=:
3066 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3068 $at_failed && at_func_log_failure
3072 $as_echo "$at_srcdir/indexfile.at:29:
3075 TEST_TAR_FORMAT=posix
3076 export TEST_TAR_FORMAT
3077 TAR_OPTIONS=\"-H posix\"
3083 genfile --file=directory/a --length=1035
3085 echo \"Creating the archive\"
3086 tar -c -v -f - --index-file=idx directory > archive
3088 echo \"Testing the archive\"
3091 echo indexfile.at:29 >"$at_check_line_file"
3093 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3098 TEST_TAR_FORMAT=posix
3099 export TEST_TAR_FORMAT
3100 TAR_OPTIONS="-H posix"
3106 genfile --file=directory/a --length=1035
3108 echo "Creating the archive"
3109 tar -c -v -f - --index-file=idx directory > archive
3111 echo "Testing the archive"
3113 ) ) >"$at_stdout" 2>"$at_stder1"
3114 at_func_filter_trace $?
3119 TEST_TAR_FORMAT=posix
3120 export TEST_TAR_FORMAT
3121 TAR_OPTIONS="-H posix"
3127 genfile --file=directory/a --length=1035
3129 echo "Creating the archive"
3130 tar -c -v -f - --index-file=idx directory > archive
3132 echo "Testing the archive"
3134 ) ) >"$at_stdout" 2>"$at_stderr"
3138 at_func_diff_devnull "$at_stderr" || at_failed=:
3139 echo >>"$at_stdout"; $as_echo "Creating the archive
3144 $at_diff - "$at_stdout" || at_failed=:
3145 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3147 $at_failed && at_func_log_failure
3151 $as_echo "$at_srcdir/indexfile.at:29:
3155 export TEST_TAR_FORMAT
3156 TAR_OPTIONS=\"-H gnu\"
3162 genfile --file=directory/a --length=1035
3164 echo \"Creating the archive\"
3165 tar -c -v -f - --index-file=idx directory > archive
3167 echo \"Testing the archive\"
3170 echo indexfile.at:29 >"$at_check_line_file"
3172 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3178 export TEST_TAR_FORMAT
3179 TAR_OPTIONS="-H gnu"
3185 genfile --file=directory/a --length=1035
3187 echo "Creating the archive"
3188 tar -c -v -f - --index-file=idx directory > archive
3190 echo "Testing the archive"
3192 ) ) >"$at_stdout" 2>"$at_stder1"
3193 at_func_filter_trace $?
3199 export TEST_TAR_FORMAT
3200 TAR_OPTIONS="-H gnu"
3206 genfile --file=directory/a --length=1035
3208 echo "Creating the archive"
3209 tar -c -v -f - --index-file=idx directory > archive
3211 echo "Testing the archive"
3213 ) ) >"$at_stdout" 2>"$at_stderr"
3217 at_func_diff_devnull "$at_stderr" || at_failed=:
3218 echo >>"$at_stdout"; $as_echo "Creating the archive
3223 $at_diff - "$at_stdout" || at_failed=:
3224 at_func_check_status 0 $at_status "$at_srcdir/indexfile.at:29"
3226 $at_failed && at_func_log_failure
3233 $at_times_p && times >"$at_times_file"
3234 ) 5>&1 2>&1 | eval $at_tee_pipe
3235 at_status=`cat "$at_status_file"`
3238 # 8. verbose.at:26: tar cvf -
3239 at_setup_line='verbose.at:26'
3241 $at_quiet $as_echo_n " 8: $at_desc "
3243 test -f $XFAILFILE && at_xfail=yes
3244 echo "# -*- compilation -*-" >> "$at_group_log"
3246 $as_echo "8. verbose.at:26: testing ..."
3254 $as_echo "$at_srcdir/verbose.at:29:
3258 export TEST_TAR_FORMAT
3259 TAR_OPTIONS=\"-H v7\"
3263 genfile --file file --length 10240
3264 echo Creating the archive
3265 tar cvf - file > archive
3266 echo Testing the archive
3269 echo verbose.at:29 >"$at_check_line_file"
3271 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3277 export TEST_TAR_FORMAT
3282 genfile --file file --length 10240
3283 echo Creating the archive
3284 tar cvf - file > archive
3285 echo Testing the archive
3287 ) ) >"$at_stdout" 2>"$at_stder1"
3288 at_func_filter_trace $?
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_stderr"
3308 echo >>"$at_stderr"; $as_echo "file
3310 $at_diff - "$at_stderr" || at_failed=:
3311 echo >>"$at_stdout"; $as_echo "Creating the archive
3315 $at_diff - "$at_stdout" || at_failed=:
3316 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3318 $at_failed && at_func_log_failure
3322 $as_echo "$at_srcdir/verbose.at:29:
3325 TEST_TAR_FORMAT=oldgnu
3326 export TEST_TAR_FORMAT
3327 TAR_OPTIONS=\"-H oldgnu\"
3331 genfile --file file --length 10240
3332 echo Creating the archive
3333 tar cvf - file > archive
3334 echo Testing the archive
3337 echo verbose.at:29 >"$at_check_line_file"
3339 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3344 TEST_TAR_FORMAT=oldgnu
3345 export TEST_TAR_FORMAT
3346 TAR_OPTIONS="-H oldgnu"
3350 genfile --file file --length 10240
3351 echo Creating the archive
3352 tar cvf - file > archive
3353 echo Testing the archive
3355 ) ) >"$at_stdout" 2>"$at_stder1"
3356 at_func_filter_trace $?
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_stderr"
3376 echo >>"$at_stderr"; $as_echo "file
3378 $at_diff - "$at_stderr" || at_failed=:
3379 echo >>"$at_stdout"; $as_echo "Creating the archive
3383 $at_diff - "$at_stdout" || at_failed=:
3384 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3386 $at_failed && at_func_log_failure
3390 $as_echo "$at_srcdir/verbose.at:29:
3393 TEST_TAR_FORMAT=ustar
3394 export TEST_TAR_FORMAT
3395 TAR_OPTIONS=\"-H ustar\"
3399 genfile --file file --length 10240
3400 echo Creating the archive
3401 tar cvf - file > archive
3402 echo Testing the archive
3405 echo verbose.at:29 >"$at_check_line_file"
3407 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3412 TEST_TAR_FORMAT=ustar
3413 export TEST_TAR_FORMAT
3414 TAR_OPTIONS="-H ustar"
3418 genfile --file file --length 10240
3419 echo Creating the archive
3420 tar cvf - file > archive
3421 echo Testing the archive
3423 ) ) >"$at_stdout" 2>"$at_stder1"
3424 at_func_filter_trace $?
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_stderr"
3444 echo >>"$at_stderr"; $as_echo "file
3446 $at_diff - "$at_stderr" || at_failed=:
3447 echo >>"$at_stdout"; $as_echo "Creating the archive
3451 $at_diff - "$at_stdout" || at_failed=:
3452 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3454 $at_failed && at_func_log_failure
3458 $as_echo "$at_srcdir/verbose.at:29:
3461 TEST_TAR_FORMAT=posix
3462 export TEST_TAR_FORMAT
3463 TAR_OPTIONS=\"-H posix\"
3467 genfile --file file --length 10240
3468 echo Creating the archive
3469 tar cvf - file > archive
3470 echo Testing the archive
3473 echo verbose.at:29 >"$at_check_line_file"
3475 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3480 TEST_TAR_FORMAT=posix
3481 export TEST_TAR_FORMAT
3482 TAR_OPTIONS="-H posix"
3486 genfile --file file --length 10240
3487 echo Creating the archive
3488 tar cvf - file > archive
3489 echo Testing the archive
3491 ) ) >"$at_stdout" 2>"$at_stder1"
3492 at_func_filter_trace $?
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_stderr"
3512 echo >>"$at_stderr"; $as_echo "file
3514 $at_diff - "$at_stderr" || at_failed=:
3515 echo >>"$at_stdout"; $as_echo "Creating the archive
3519 $at_diff - "$at_stdout" || at_failed=:
3520 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3522 $at_failed && at_func_log_failure
3526 $as_echo "$at_srcdir/verbose.at:29:
3530 export TEST_TAR_FORMAT
3531 TAR_OPTIONS=\"-H gnu\"
3535 genfile --file file --length 10240
3536 echo Creating the archive
3537 tar cvf - file > archive
3538 echo Testing the archive
3541 echo verbose.at:29 >"$at_check_line_file"
3543 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3549 export TEST_TAR_FORMAT
3550 TAR_OPTIONS="-H gnu"
3554 genfile --file file --length 10240
3555 echo Creating the archive
3556 tar cvf - file > archive
3557 echo Testing the archive
3559 ) ) >"$at_stdout" 2>"$at_stder1"
3560 at_func_filter_trace $?
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_stderr"
3580 echo >>"$at_stderr"; $as_echo "file
3582 $at_diff - "$at_stderr" || at_failed=:
3583 echo >>"$at_stdout"; $as_echo "Creating the archive
3587 $at_diff - "$at_stdout" || at_failed=:
3588 at_func_check_status 0 $at_status "$at_srcdir/verbose.at:29"
3590 $at_failed && at_func_log_failure
3597 $at_times_p && times >"$at_times_file"
3598 ) 5>&1 2>&1 | eval $at_tee_pipe
3599 at_status=`cat "$at_status_file"`
3602 # 9. append.at:21: append
3603 at_setup_line='append.at:21'
3605 $at_quiet $as_echo_n " 9: $at_desc "
3607 test -f $XFAILFILE && at_xfail=yes
3608 echo "# -*- compilation -*-" >> "$at_group_log"
3610 $as_echo "9. append.at:21: testing ..."
3618 $as_echo "$at_srcdir/append.at:24:
3622 export TEST_TAR_FORMAT
3623 TAR_OPTIONS=\"-H v7\"
3628 tar cf archive file1
3629 tar rf archive file2
3631 echo append.at:24 >"$at_check_line_file"
3633 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3639 export TEST_TAR_FORMAT
3645 tar cf archive file1
3646 tar rf archive file2
3647 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3648 at_func_filter_trace $?
3654 export TEST_TAR_FORMAT
3660 tar cf archive file1
3661 tar rf archive file2
3662 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3666 at_func_diff_devnull "$at_stderr" || at_failed=:
3667 echo >>"$at_stdout"; $as_echo "file1
3670 $at_diff - "$at_stdout" || at_failed=:
3671 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3673 $at_failed && at_func_log_failure
3677 $as_echo "$at_srcdir/append.at:24:
3680 TEST_TAR_FORMAT=oldgnu
3681 export TEST_TAR_FORMAT
3682 TAR_OPTIONS=\"-H oldgnu\"
3687 tar cf archive file1
3688 tar rf archive file2
3690 echo append.at:24 >"$at_check_line_file"
3692 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
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
3706 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3707 at_func_filter_trace $?
3712 TEST_TAR_FORMAT=oldgnu
3713 export TEST_TAR_FORMAT
3714 TAR_OPTIONS="-H oldgnu"
3719 tar cf archive file1
3720 tar rf archive file2
3721 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3725 at_func_diff_devnull "$at_stderr" || at_failed=:
3726 echo >>"$at_stdout"; $as_echo "file1
3729 $at_diff - "$at_stdout" || at_failed=:
3730 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3732 $at_failed && at_func_log_failure
3736 $as_echo "$at_srcdir/append.at:24:
3739 TEST_TAR_FORMAT=ustar
3740 export TEST_TAR_FORMAT
3741 TAR_OPTIONS=\"-H ustar\"
3746 tar cf archive file1
3747 tar rf archive file2
3749 echo append.at:24 >"$at_check_line_file"
3751 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
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
3765 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3766 at_func_filter_trace $?
3771 TEST_TAR_FORMAT=ustar
3772 export TEST_TAR_FORMAT
3773 TAR_OPTIONS="-H ustar"
3778 tar cf archive file1
3779 tar rf archive file2
3780 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3784 at_func_diff_devnull "$at_stderr" || at_failed=:
3785 echo >>"$at_stdout"; $as_echo "file1
3788 $at_diff - "$at_stdout" || at_failed=:
3789 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3791 $at_failed && at_func_log_failure
3795 $as_echo "$at_srcdir/append.at:24:
3798 TEST_TAR_FORMAT=posix
3799 export TEST_TAR_FORMAT
3800 TAR_OPTIONS=\"-H posix\"
3805 tar cf archive file1
3806 tar rf archive file2
3808 echo append.at:24 >"$at_check_line_file"
3810 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
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
3824 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3825 at_func_filter_trace $?
3830 TEST_TAR_FORMAT=posix
3831 export TEST_TAR_FORMAT
3832 TAR_OPTIONS="-H posix"
3837 tar cf archive file1
3838 tar rf archive file2
3839 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3843 at_func_diff_devnull "$at_stderr" || at_failed=:
3844 echo >>"$at_stdout"; $as_echo "file1
3847 $at_diff - "$at_stdout" || at_failed=:
3848 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3850 $at_failed && at_func_log_failure
3854 $as_echo "$at_srcdir/append.at:24:
3858 export TEST_TAR_FORMAT
3859 TAR_OPTIONS=\"-H gnu\"
3864 tar cf archive file1
3865 tar rf archive file2
3867 echo append.at:24 >"$at_check_line_file"
3869 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3875 export TEST_TAR_FORMAT
3876 TAR_OPTIONS="-H gnu"
3881 tar cf archive file1
3882 tar rf archive file2
3883 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
3884 at_func_filter_trace $?
3890 export TEST_TAR_FORMAT
3891 TAR_OPTIONS="-H gnu"
3896 tar cf archive file1
3897 tar rf archive file2
3898 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
3902 at_func_diff_devnull "$at_stderr" || at_failed=:
3903 echo >>"$at_stdout"; $as_echo "file1
3906 $at_diff - "$at_stdout" || at_failed=:
3907 at_func_check_status 0 $at_status "$at_srcdir/append.at:24"
3909 $at_failed && at_func_log_failure
3916 $at_times_p && times >"$at_times_file"
3917 ) 5>&1 2>&1 | eval $at_tee_pipe
3918 at_status=`cat "$at_status_file"`
3921 # 10. append01.at:29: appending files with long names
3922 at_setup_line='append01.at:29'
3923 at_desc="appending files with long names"
3924 $at_quiet $as_echo_n " 10: $at_desc "
3926 test -f $XFAILFILE && at_xfail=yes
3927 echo "# -*- compilation -*-" >> "$at_group_log"
3929 $as_echo "10. append01.at:29: testing ..."
3939 $as_echo "$at_srcdir/append01.at:34:
3942 TEST_TAR_FORMAT=oldgnu
3943 export TEST_TAR_FORMAT
3944 TAR_OPTIONS=\"-H oldgnu\"
3948 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
3949 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
3950 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
3951 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
3954 echo append01.at:34 >"$at_check_line_file"
3956 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
3961 TEST_TAR_FORMAT=oldgnu
3962 export TEST_TAR_FORMAT
3963 TAR_OPTIONS="-H oldgnu"
3967 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
3968 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
3969 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
3970 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
3972 ) ) >"$at_stdout" 2>"$at_stder1"
3973 at_func_filter_trace $?
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_stderr"
3993 at_func_diff_devnull "$at_stderr" || at_failed=:
3994 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
3995 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
3997 $at_diff - "$at_stdout" || at_failed=:
3998 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4000 $at_failed && at_func_log_failure
4004 $as_echo "$at_srcdir/append01.at:34:
4007 TEST_TAR_FORMAT=ustar
4008 export TEST_TAR_FORMAT
4009 TAR_OPTIONS=\"-H ustar\"
4013 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
4014 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
4015 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
4016 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
4019 echo append01.at:34 >"$at_check_line_file"
4021 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4026 TEST_TAR_FORMAT=ustar
4027 export TEST_TAR_FORMAT
4028 TAR_OPTIONS="-H ustar"
4032 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
4033 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
4034 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
4035 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
4037 ) ) >"$at_stdout" 2>"$at_stder1"
4038 at_func_filter_trace $?
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_stderr"
4058 at_func_diff_devnull "$at_stderr" || at_failed=:
4059 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
4060 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
4062 $at_diff - "$at_stdout" || at_failed=:
4063 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4065 $at_failed && at_func_log_failure
4069 $as_echo "$at_srcdir/append01.at:34:
4072 TEST_TAR_FORMAT=posix
4073 export TEST_TAR_FORMAT
4074 TAR_OPTIONS=\"-H posix\"
4078 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
4079 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
4080 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
4081 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
4084 echo append01.at:34 >"$at_check_line_file"
4086 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4091 TEST_TAR_FORMAT=posix
4092 export TEST_TAR_FORMAT
4093 TAR_OPTIONS="-H posix"
4097 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
4098 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
4099 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
4100 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
4102 ) ) >"$at_stdout" 2>"$at_stder1"
4103 at_func_filter_trace $?
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_stderr"
4123 at_func_diff_devnull "$at_stderr" || at_failed=:
4124 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
4125 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
4127 $at_diff - "$at_stdout" || at_failed=:
4128 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4130 $at_failed && at_func_log_failure
4134 $as_echo "$at_srcdir/append01.at:34:
4138 export TEST_TAR_FORMAT
4139 TAR_OPTIONS=\"-H gnu\"
4143 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
4144 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
4145 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
4146 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
4149 echo append01.at:34 >"$at_check_line_file"
4151 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4157 export TEST_TAR_FORMAT
4158 TAR_OPTIONS="-H gnu"
4162 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
4163 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
4164 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
4165 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
4167 ) ) >"$at_stdout" 2>"$at_stder1"
4168 at_func_filter_trace $?
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_stderr"
4188 at_func_diff_devnull "$at_stderr" || at_failed=:
4189 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
4190 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
4192 $at_diff - "$at_stdout" || at_failed=:
4193 at_func_check_status 0 $at_status "$at_srcdir/append01.at:34"
4195 $at_failed && at_func_log_failure
4202 $at_times_p && times >"$at_times_file"
4203 ) 5>&1 2>&1 | eval $at_tee_pipe
4204 at_status=`cat "$at_status_file"`
4207 # 11. append02.at:54: append vs. create
4208 at_setup_line='append02.at:54'
4209 at_desc="append vs. create"
4210 $at_quiet $as_echo_n " 11: $at_desc "
4212 test -f $XFAILFILE && at_xfail=yes
4213 echo "# -*- compilation -*-" >> "$at_group_log"
4215 $as_echo "11. append02.at:54: testing ..."
4223 $as_echo "$at_srcdir/append02.at:57:
4227 export TEST_TAR_FORMAT
4228 TAR_OPTIONS=\"-H v7\"
4232 genfile --file file1
4233 genfile --file file2
4235 # Make sure file timestamps in the archive will not differ
4236 MTIME=\"--mtime=@0\"
4238 # For PAX archives, we need to make sure extended header names are
4239 # reproducible and that their contents won't change with time
4240 if test \$TEST_TAR_FORMAT = posix; then
4241 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4244 echo Creating archive.1
4245 tar \$MTIME -cf archive.1 file1 file2
4247 echo Creating archive.2
4248 tar \$MTIME -cf archive.2 -T /dev/null
4249 tar \$MTIME -rf archive.2 file1
4250 tar \$MTIME -rf archive.2 file2
4252 echo Comparing archives
4253 cmp archive.1 archive.2
4255 echo append02.at:57 >"$at_check_line_file"
4257 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4263 export TEST_TAR_FORMAT
4268 genfile --file file1
4269 genfile --file file2
4271 # Make sure file timestamps in the archive will not differ
4274 # For PAX archives, we need to make sure extended header names are
4275 # reproducible and that their contents won't change with time
4276 if test $TEST_TAR_FORMAT = posix; then
4277 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4280 echo Creating archive.1
4281 tar $MTIME -cf archive.1 file1 file2
4283 echo Creating archive.2
4284 tar $MTIME -cf archive.2 -T /dev/null
4285 tar $MTIME -rf archive.2 file1
4286 tar $MTIME -rf archive.2 file2
4288 echo Comparing archives
4289 cmp archive.1 archive.2
4290 ) ) >"$at_stdout" 2>"$at_stder1"
4291 at_func_filter_trace $?
4297 export TEST_TAR_FORMAT
4302 genfile --file file1
4303 genfile --file file2
4305 # Make sure file timestamps in the archive will not differ
4308 # For PAX archives, we need to make sure extended header names are
4309 # reproducible and that their contents won't change with time
4310 if test $TEST_TAR_FORMAT = posix; then
4311 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4314 echo Creating archive.1
4315 tar $MTIME -cf archive.1 file1 file2
4317 echo Creating archive.2
4318 tar $MTIME -cf archive.2 -T /dev/null
4319 tar $MTIME -rf archive.2 file1
4320 tar $MTIME -rf archive.2 file2
4322 echo Comparing archives
4323 cmp archive.1 archive.2
4324 ) ) >"$at_stdout" 2>"$at_stderr"
4328 at_func_diff_devnull "$at_stderr" || at_failed=:
4329 echo >>"$at_stdout"; $as_echo "Creating archive.1
4333 $at_diff - "$at_stdout" || at_failed=:
4334 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4336 $at_failed && at_func_log_failure
4340 $as_echo "$at_srcdir/append02.at:57:
4343 TEST_TAR_FORMAT=oldgnu
4344 export TEST_TAR_FORMAT
4345 TAR_OPTIONS=\"-H oldgnu\"
4349 genfile --file file1
4350 genfile --file file2
4352 # Make sure file timestamps in the archive will not differ
4353 MTIME=\"--mtime=@0\"
4355 # For PAX archives, we need to make sure extended header names are
4356 # reproducible and that their contents won't change with time
4357 if test \$TEST_TAR_FORMAT = posix; then
4358 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4361 echo Creating archive.1
4362 tar \$MTIME -cf archive.1 file1 file2
4364 echo Creating archive.2
4365 tar \$MTIME -cf archive.2 -T /dev/null
4366 tar \$MTIME -rf archive.2 file1
4367 tar \$MTIME -rf archive.2 file2
4369 echo Comparing archives
4370 cmp archive.1 archive.2
4372 echo append02.at:57 >"$at_check_line_file"
4374 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4379 TEST_TAR_FORMAT=oldgnu
4380 export TEST_TAR_FORMAT
4381 TAR_OPTIONS="-H oldgnu"
4385 genfile --file file1
4386 genfile --file file2
4388 # Make sure file timestamps in the archive will not differ
4391 # For PAX archives, we need to make sure extended header names are
4392 # reproducible and that their contents won't change with time
4393 if test $TEST_TAR_FORMAT = posix; then
4394 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4397 echo Creating archive.1
4398 tar $MTIME -cf archive.1 file1 file2
4400 echo Creating archive.2
4401 tar $MTIME -cf archive.2 -T /dev/null
4402 tar $MTIME -rf archive.2 file1
4403 tar $MTIME -rf archive.2 file2
4405 echo Comparing archives
4406 cmp archive.1 archive.2
4407 ) ) >"$at_stdout" 2>"$at_stder1"
4408 at_func_filter_trace $?
4413 TEST_TAR_FORMAT=oldgnu
4414 export TEST_TAR_FORMAT
4415 TAR_OPTIONS="-H oldgnu"
4419 genfile --file file1
4420 genfile --file file2
4422 # Make sure file timestamps in the archive will not differ
4425 # For PAX archives, we need to make sure extended header names are
4426 # reproducible and that their contents won't change with time
4427 if test $TEST_TAR_FORMAT = posix; then
4428 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4431 echo Creating archive.1
4432 tar $MTIME -cf archive.1 file1 file2
4434 echo Creating archive.2
4435 tar $MTIME -cf archive.2 -T /dev/null
4436 tar $MTIME -rf archive.2 file1
4437 tar $MTIME -rf archive.2 file2
4439 echo Comparing archives
4440 cmp archive.1 archive.2
4441 ) ) >"$at_stdout" 2>"$at_stderr"
4445 at_func_diff_devnull "$at_stderr" || at_failed=:
4446 echo >>"$at_stdout"; $as_echo "Creating archive.1
4450 $at_diff - "$at_stdout" || at_failed=:
4451 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4453 $at_failed && at_func_log_failure
4457 $as_echo "$at_srcdir/append02.at:57:
4460 TEST_TAR_FORMAT=ustar
4461 export TEST_TAR_FORMAT
4462 TAR_OPTIONS=\"-H ustar\"
4466 genfile --file file1
4467 genfile --file file2
4469 # Make sure file timestamps in the archive will not differ
4470 MTIME=\"--mtime=@0\"
4472 # For PAX archives, we need to make sure extended header names are
4473 # reproducible and that their contents won't change with time
4474 if test \$TEST_TAR_FORMAT = posix; then
4475 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4478 echo Creating archive.1
4479 tar \$MTIME -cf archive.1 file1 file2
4481 echo Creating archive.2
4482 tar \$MTIME -cf archive.2 -T /dev/null
4483 tar \$MTIME -rf archive.2 file1
4484 tar \$MTIME -rf archive.2 file2
4486 echo Comparing archives
4487 cmp archive.1 archive.2
4489 echo append02.at:57 >"$at_check_line_file"
4491 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4496 TEST_TAR_FORMAT=ustar
4497 export TEST_TAR_FORMAT
4498 TAR_OPTIONS="-H ustar"
4502 genfile --file file1
4503 genfile --file file2
4505 # Make sure file timestamps in the archive will not differ
4508 # For PAX archives, we need to make sure extended header names are
4509 # reproducible and that their contents won't change with time
4510 if test $TEST_TAR_FORMAT = posix; then
4511 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4514 echo Creating archive.1
4515 tar $MTIME -cf archive.1 file1 file2
4517 echo Creating archive.2
4518 tar $MTIME -cf archive.2 -T /dev/null
4519 tar $MTIME -rf archive.2 file1
4520 tar $MTIME -rf archive.2 file2
4522 echo Comparing archives
4523 cmp archive.1 archive.2
4524 ) ) >"$at_stdout" 2>"$at_stder1"
4525 at_func_filter_trace $?
4530 TEST_TAR_FORMAT=ustar
4531 export TEST_TAR_FORMAT
4532 TAR_OPTIONS="-H ustar"
4536 genfile --file file1
4537 genfile --file file2
4539 # Make sure file timestamps in the archive will not differ
4542 # For PAX archives, we need to make sure extended header names are
4543 # reproducible and that their contents won't change with time
4544 if test $TEST_TAR_FORMAT = posix; then
4545 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4548 echo Creating archive.1
4549 tar $MTIME -cf archive.1 file1 file2
4551 echo Creating archive.2
4552 tar $MTIME -cf archive.2 -T /dev/null
4553 tar $MTIME -rf archive.2 file1
4554 tar $MTIME -rf archive.2 file2
4556 echo Comparing archives
4557 cmp archive.1 archive.2
4558 ) ) >"$at_stdout" 2>"$at_stderr"
4562 at_func_diff_devnull "$at_stderr" || at_failed=:
4563 echo >>"$at_stdout"; $as_echo "Creating archive.1
4567 $at_diff - "$at_stdout" || at_failed=:
4568 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4570 $at_failed && at_func_log_failure
4574 $as_echo "$at_srcdir/append02.at:57:
4577 TEST_TAR_FORMAT=posix
4578 export TEST_TAR_FORMAT
4579 TAR_OPTIONS=\"-H posix\"
4583 genfile --file file1
4584 genfile --file file2
4586 # Make sure file timestamps in the archive will not differ
4587 MTIME=\"--mtime=@0\"
4589 # For PAX archives, we need to make sure extended header names are
4590 # reproducible and that their contents won't change with time
4591 if test \$TEST_TAR_FORMAT = posix; then
4592 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4595 echo Creating archive.1
4596 tar \$MTIME -cf archive.1 file1 file2
4598 echo Creating archive.2
4599 tar \$MTIME -cf archive.2 -T /dev/null
4600 tar \$MTIME -rf archive.2 file1
4601 tar \$MTIME -rf archive.2 file2
4603 echo Comparing archives
4604 cmp archive.1 archive.2
4606 echo append02.at:57 >"$at_check_line_file"
4608 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4613 TEST_TAR_FORMAT=posix
4614 export TEST_TAR_FORMAT
4615 TAR_OPTIONS="-H posix"
4619 genfile --file file1
4620 genfile --file file2
4622 # Make sure file timestamps in the archive will not differ
4625 # For PAX archives, we need to make sure extended header names are
4626 # reproducible and that their contents won't change with time
4627 if test $TEST_TAR_FORMAT = posix; then
4628 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4631 echo Creating archive.1
4632 tar $MTIME -cf archive.1 file1 file2
4634 echo Creating archive.2
4635 tar $MTIME -cf archive.2 -T /dev/null
4636 tar $MTIME -rf archive.2 file1
4637 tar $MTIME -rf archive.2 file2
4639 echo Comparing archives
4640 cmp archive.1 archive.2
4641 ) ) >"$at_stdout" 2>"$at_stder1"
4642 at_func_filter_trace $?
4647 TEST_TAR_FORMAT=posix
4648 export TEST_TAR_FORMAT
4649 TAR_OPTIONS="-H posix"
4653 genfile --file file1
4654 genfile --file file2
4656 # Make sure file timestamps in the archive will not differ
4659 # For PAX archives, we need to make sure extended header names are
4660 # reproducible and that their contents won't change with time
4661 if test $TEST_TAR_FORMAT = posix; then
4662 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4665 echo Creating archive.1
4666 tar $MTIME -cf archive.1 file1 file2
4668 echo Creating archive.2
4669 tar $MTIME -cf archive.2 -T /dev/null
4670 tar $MTIME -rf archive.2 file1
4671 tar $MTIME -rf archive.2 file2
4673 echo Comparing archives
4674 cmp archive.1 archive.2
4675 ) ) >"$at_stdout" 2>"$at_stderr"
4679 at_func_diff_devnull "$at_stderr" || at_failed=:
4680 echo >>"$at_stdout"; $as_echo "Creating archive.1
4684 $at_diff - "$at_stdout" || at_failed=:
4685 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4687 $at_failed && at_func_log_failure
4691 $as_echo "$at_srcdir/append02.at:57:
4695 export TEST_TAR_FORMAT
4696 TAR_OPTIONS=\"-H gnu\"
4700 genfile --file file1
4701 genfile --file file2
4703 # Make sure file timestamps in the archive will not differ
4704 MTIME=\"--mtime=@0\"
4706 # For PAX archives, we need to make sure extended header names are
4707 # reproducible and that their contents won't change with time
4708 if test \$TEST_TAR_FORMAT = posix; then
4709 TAR_OPTIONS=\"\$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime\"
4712 echo Creating archive.1
4713 tar \$MTIME -cf archive.1 file1 file2
4715 echo Creating archive.2
4716 tar \$MTIME -cf archive.2 -T /dev/null
4717 tar \$MTIME -rf archive.2 file1
4718 tar \$MTIME -rf archive.2 file2
4720 echo Comparing archives
4721 cmp archive.1 archive.2
4723 echo append02.at:57 >"$at_check_line_file"
4725 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4731 export TEST_TAR_FORMAT
4732 TAR_OPTIONS="-H gnu"
4736 genfile --file file1
4737 genfile --file file2
4739 # Make sure file timestamps in the archive will not differ
4742 # For PAX archives, we need to make sure extended header names are
4743 # reproducible and that their contents won't change with time
4744 if test $TEST_TAR_FORMAT = posix; then
4745 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4748 echo Creating archive.1
4749 tar $MTIME -cf archive.1 file1 file2
4751 echo Creating archive.2
4752 tar $MTIME -cf archive.2 -T /dev/null
4753 tar $MTIME -rf archive.2 file1
4754 tar $MTIME -rf archive.2 file2
4756 echo Comparing archives
4757 cmp archive.1 archive.2
4758 ) ) >"$at_stdout" 2>"$at_stder1"
4759 at_func_filter_trace $?
4765 export TEST_TAR_FORMAT
4766 TAR_OPTIONS="-H gnu"
4770 genfile --file file1
4771 genfile --file file2
4773 # Make sure file timestamps in the archive will not differ
4776 # For PAX archives, we need to make sure extended header names are
4777 # reproducible and that their contents won't change with time
4778 if test $TEST_TAR_FORMAT = posix; then
4779 TAR_OPTIONS="$TAR_OPTIONS --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=mtime,delete=atime,delete=ctime"
4782 echo Creating archive.1
4783 tar $MTIME -cf archive.1 file1 file2
4785 echo Creating archive.2
4786 tar $MTIME -cf archive.2 -T /dev/null
4787 tar $MTIME -rf archive.2 file1
4788 tar $MTIME -rf archive.2 file2
4790 echo Comparing archives
4791 cmp archive.1 archive.2
4792 ) ) >"$at_stdout" 2>"$at_stderr"
4796 at_func_diff_devnull "$at_stderr" || at_failed=:
4797 echo >>"$at_stdout"; $as_echo "Creating archive.1
4801 $at_diff - "$at_stdout" || at_failed=:
4802 at_func_check_status 0 $at_status "$at_srcdir/append02.at:57"
4804 $at_failed && at_func_log_failure
4811 $at_times_p && times >"$at_times_file"
4812 ) 5>&1 2>&1 | eval $at_tee_pipe
4813 at_status=`cat "$at_status_file"`
4816 # 12. xform-h.at:30: transforming hard links on create
4817 at_setup_line='xform-h.at:30'
4818 at_desc="transforming hard links on create"
4819 $at_quiet $as_echo_n " 12: $at_desc "
4821 test -f $XFAILFILE && at_xfail=yes
4822 echo "# -*- compilation -*-" >> "$at_group_log"
4824 $as_echo "12. xform-h.at:30: testing ..."
4834 $as_echo "$at_srcdir/xform-h.at:39:
4838 export TEST_TAR_FORMAT
4839 TAR_OPTIONS=\"-H v7\"
4844 echo \"hello\" > basedir/test
4845 ln basedir/test basedir/test_link
4848 echo "Default transform scope"
4849 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4850 tar tvf archive | sed -n 's/.*test_link link to //p'
4853 echo "Transforming hard links"
4854 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4855 tar tvf archive | sed -n 's/.*test_link link to //p'
4858 echo "Not transforming hard links"
4859 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4860 tar tvf archive | sed -n 's/.*test_link link to //p'
4863 echo xform-h.at:39 >"$at_check_line_file"
4865 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4871 export TEST_TAR_FORMAT
4877 echo "hello" > basedir/test
4878 ln basedir/test basedir/test_link
4881 echo "Default transform scope"
4882 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4883 tar tvf archive | sed -n 's/.*test_link link to //p'
4886 echo "Transforming hard links"
4887 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4888 tar tvf archive | sed -n 's/.*test_link link to //p'
4891 echo "Not transforming hard links"
4892 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4893 tar tvf archive | sed -n 's/.*test_link link to //p'
4895 ) ) >"$at_stdout" 2>"$at_stder1"
4896 at_func_filter_trace $?
4902 export TEST_TAR_FORMAT
4908 echo "hello" > basedir/test
4909 ln basedir/test basedir/test_link
4912 echo "Default transform scope"
4913 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4914 tar tvf archive | sed -n 's/.*test_link link to //p'
4917 echo "Transforming hard links"
4918 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4919 tar tvf archive | sed -n 's/.*test_link link to //p'
4922 echo "Not transforming hard links"
4923 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4924 tar tvf archive | sed -n 's/.*test_link link to //p'
4926 ) ) >"$at_stdout" 2>"$at_stderr"
4930 at_func_diff_devnull "$at_stderr" || at_failed=:
4931 echo >>"$at_stdout"; $as_echo "Default transform scope
4933 Transforming hard links
4935 Not transforming hard links
4938 $at_diff - "$at_stdout" || at_failed=:
4939 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
4941 $at_failed && at_func_log_failure
4945 $as_echo "$at_srcdir/xform-h.at:39:
4948 TEST_TAR_FORMAT=oldgnu
4949 export TEST_TAR_FORMAT
4950 TAR_OPTIONS=\"-H oldgnu\"
4955 echo \"hello\" > basedir/test
4956 ln basedir/test basedir/test_link
4959 echo "Default transform scope"
4960 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4961 tar tvf archive | sed -n 's/.*test_link link to //p'
4964 echo "Transforming hard links"
4965 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4966 tar tvf archive | sed -n 's/.*test_link link to //p'
4969 echo "Not transforming hard links"
4970 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
4971 tar tvf archive | sed -n 's/.*test_link link to //p'
4974 echo xform-h.at:39 >"$at_check_line_file"
4976 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
4981 TEST_TAR_FORMAT=oldgnu
4982 export TEST_TAR_FORMAT
4983 TAR_OPTIONS="-H oldgnu"
4988 echo "hello" > basedir/test
4989 ln basedir/test basedir/test_link
4992 echo "Default transform scope"
4993 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
4994 tar tvf archive | sed -n 's/.*test_link link to //p'
4997 echo "Transforming hard links"
4998 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
4999 tar tvf archive | sed -n 's/.*test_link link to //p'
5002 echo "Not transforming hard links"
5003 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5004 tar tvf archive | sed -n 's/.*test_link link to //p'
5006 ) ) >"$at_stdout" 2>"$at_stder1"
5007 at_func_filter_trace $?
5012 TEST_TAR_FORMAT=oldgnu
5013 export TEST_TAR_FORMAT
5014 TAR_OPTIONS="-H oldgnu"
5019 echo "hello" > basedir/test
5020 ln basedir/test basedir/test_link
5023 echo "Default transform scope"
5024 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5025 tar tvf archive | sed -n 's/.*test_link link to //p'
5028 echo "Transforming hard links"
5029 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5030 tar tvf archive | sed -n 's/.*test_link link to //p'
5033 echo "Not transforming hard links"
5034 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5035 tar tvf archive | sed -n 's/.*test_link link to //p'
5037 ) ) >"$at_stdout" 2>"$at_stderr"
5041 at_func_diff_devnull "$at_stderr" || at_failed=:
5042 echo >>"$at_stdout"; $as_echo "Default transform scope
5044 Transforming hard links
5046 Not transforming hard links
5049 $at_diff - "$at_stdout" || at_failed=:
5050 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5052 $at_failed && at_func_log_failure
5056 $as_echo "$at_srcdir/xform-h.at:39:
5059 TEST_TAR_FORMAT=ustar
5060 export TEST_TAR_FORMAT
5061 TAR_OPTIONS=\"-H ustar\"
5066 echo \"hello\" > basedir/test
5067 ln basedir/test basedir/test_link
5070 echo "Default transform scope"
5071 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5072 tar tvf archive | sed -n 's/.*test_link link to //p'
5075 echo "Transforming hard links"
5076 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5077 tar tvf archive | sed -n 's/.*test_link link to //p'
5080 echo "Not transforming hard links"
5081 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5082 tar tvf archive | sed -n 's/.*test_link link to //p'
5085 echo xform-h.at:39 >"$at_check_line_file"
5087 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5092 TEST_TAR_FORMAT=ustar
5093 export TEST_TAR_FORMAT
5094 TAR_OPTIONS="-H ustar"
5099 echo "hello" > basedir/test
5100 ln basedir/test basedir/test_link
5103 echo "Default transform scope"
5104 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5105 tar tvf archive | sed -n 's/.*test_link link to //p'
5108 echo "Transforming hard links"
5109 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5110 tar tvf archive | sed -n 's/.*test_link link to //p'
5113 echo "Not transforming hard links"
5114 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5115 tar tvf archive | sed -n 's/.*test_link link to //p'
5117 ) ) >"$at_stdout" 2>"$at_stder1"
5118 at_func_filter_trace $?
5123 TEST_TAR_FORMAT=ustar
5124 export TEST_TAR_FORMAT
5125 TAR_OPTIONS="-H ustar"
5130 echo "hello" > basedir/test
5131 ln basedir/test basedir/test_link
5134 echo "Default transform scope"
5135 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5136 tar tvf archive | sed -n 's/.*test_link link to //p'
5139 echo "Transforming hard links"
5140 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5141 tar tvf archive | sed -n 's/.*test_link link to //p'
5144 echo "Not transforming hard links"
5145 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5146 tar tvf archive | sed -n 's/.*test_link link to //p'
5148 ) ) >"$at_stdout" 2>"$at_stderr"
5152 at_func_diff_devnull "$at_stderr" || at_failed=:
5153 echo >>"$at_stdout"; $as_echo "Default transform scope
5155 Transforming hard links
5157 Not transforming hard links
5160 $at_diff - "$at_stdout" || at_failed=:
5161 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5163 $at_failed && at_func_log_failure
5167 $as_echo "$at_srcdir/xform-h.at:39:
5170 TEST_TAR_FORMAT=posix
5171 export TEST_TAR_FORMAT
5172 TAR_OPTIONS=\"-H posix\"
5177 echo \"hello\" > basedir/test
5178 ln basedir/test basedir/test_link
5181 echo "Default transform scope"
5182 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5183 tar tvf archive | sed -n 's/.*test_link link to //p'
5186 echo "Transforming hard links"
5187 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5188 tar tvf archive | sed -n 's/.*test_link link to //p'
5191 echo "Not transforming hard links"
5192 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5193 tar tvf archive | sed -n 's/.*test_link link to //p'
5196 echo xform-h.at:39 >"$at_check_line_file"
5198 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5203 TEST_TAR_FORMAT=posix
5204 export TEST_TAR_FORMAT
5205 TAR_OPTIONS="-H posix"
5210 echo "hello" > basedir/test
5211 ln basedir/test basedir/test_link
5214 echo "Default transform scope"
5215 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5216 tar tvf archive | sed -n 's/.*test_link link to //p'
5219 echo "Transforming hard links"
5220 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5221 tar tvf archive | sed -n 's/.*test_link link to //p'
5224 echo "Not transforming hard links"
5225 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5226 tar tvf archive | sed -n 's/.*test_link link to //p'
5228 ) ) >"$at_stdout" 2>"$at_stder1"
5229 at_func_filter_trace $?
5234 TEST_TAR_FORMAT=posix
5235 export TEST_TAR_FORMAT
5236 TAR_OPTIONS="-H posix"
5241 echo "hello" > basedir/test
5242 ln basedir/test basedir/test_link
5245 echo "Default transform scope"
5246 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5247 tar tvf archive | sed -n 's/.*test_link link to //p'
5250 echo "Transforming hard links"
5251 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5252 tar tvf archive | sed -n 's/.*test_link link to //p'
5255 echo "Not transforming hard links"
5256 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5257 tar tvf archive | sed -n 's/.*test_link link to //p'
5259 ) ) >"$at_stdout" 2>"$at_stderr"
5263 at_func_diff_devnull "$at_stderr" || at_failed=:
5264 echo >>"$at_stdout"; $as_echo "Default transform scope
5266 Transforming hard links
5268 Not transforming hard links
5271 $at_diff - "$at_stdout" || at_failed=:
5272 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5274 $at_failed && at_func_log_failure
5278 $as_echo "$at_srcdir/xform-h.at:39:
5282 export TEST_TAR_FORMAT
5283 TAR_OPTIONS=\"-H gnu\"
5288 echo \"hello\" > basedir/test
5289 ln basedir/test basedir/test_link
5292 echo "Default transform scope"
5293 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5294 tar tvf archive | sed -n 's/.*test_link link to //p'
5297 echo "Transforming hard links"
5298 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5299 tar tvf archive | sed -n 's/.*test_link link to //p'
5302 echo "Not transforming hard links"
5303 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5304 tar tvf archive | sed -n 's/.*test_link link to //p'
5307 echo xform-h.at:39 >"$at_check_line_file"
5309 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5315 export TEST_TAR_FORMAT
5316 TAR_OPTIONS="-H gnu"
5321 echo "hello" > basedir/test
5322 ln basedir/test basedir/test_link
5325 echo "Default transform scope"
5326 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5327 tar tvf archive | sed -n 's/.*test_link link to //p'
5330 echo "Transforming hard links"
5331 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5332 tar tvf archive | sed -n 's/.*test_link link to //p'
5335 echo "Not transforming hard links"
5336 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5337 tar tvf archive | sed -n 's/.*test_link link to //p'
5339 ) ) >"$at_stdout" 2>"$at_stder1"
5340 at_func_filter_trace $?
5346 export TEST_TAR_FORMAT
5347 TAR_OPTIONS="-H gnu"
5352 echo "hello" > basedir/test
5353 ln basedir/test basedir/test_link
5356 echo "Default transform scope"
5357 tar cf archive --transform="s,^basedir/,," basedir/test basedir/test_link
5358 tar tvf archive | sed -n 's/.*test_link link to //p'
5361 echo "Transforming hard links"
5362 tar cf archive --transform="s,^basedir/,,h" basedir/test basedir/test_link
5363 tar tvf archive | sed -n 's/.*test_link link to //p'
5366 echo "Not transforming hard links"
5367 tar cf archive --transform="s,^basedir/,,H" basedir/test basedir/test_link
5368 tar tvf archive | sed -n 's/.*test_link link to //p'
5370 ) ) >"$at_stdout" 2>"$at_stderr"
5374 at_func_diff_devnull "$at_stderr" || at_failed=:
5375 echo >>"$at_stdout"; $as_echo "Default transform scope
5377 Transforming hard links
5379 Not transforming hard links
5382 $at_diff - "$at_stdout" || at_failed=:
5383 at_func_check_status 0 $at_status "$at_srcdir/xform-h.at:39"
5385 $at_failed && at_func_log_failure
5392 $at_times_p && times >"$at_times_file"
5393 ) 5>&1 2>&1 | eval $at_tee_pipe
5394 at_status=`cat "$at_status_file"`
5397 # 13. exclude.at:23: exclude
5398 at_setup_line='exclude.at:23'
5400 $at_quiet $as_echo_n " 13: $at_desc "
5402 test -f $XFAILFILE && at_xfail=yes
5403 echo "# -*- compilation -*-" >> "$at_group_log"
5405 $as_echo "13. exclude.at:23: testing ..."
5413 $as_echo "$at_srcdir/exclude.at:26:
5416 TEST_TAR_FORMAT=ustar
5417 export TEST_TAR_FORMAT
5418 TAR_OPTIONS=\"-H ustar\"
5423 test -z "`sort < /dev/null 2>&1`" || exit 77
5427 echo blues > dir/blues
5428 echo jazz > dir/jazz
5430 echo tagfile > dir/folk/tagfile
5431 echo sanjuan > dir/folk/sanjuan
5433 echo \"Signature: 8a477f597d28d172789f06886806bc55\" > dir/rock/CACHEDIR.TAG
5434 echo \"test\" > dir/rock/file
5436 for option in exclude-caches exclude-caches-under exclude-caches-all
5438 echo OPTION \$option
5439 tar -cf archive.tar --\$option -v dir 2>err | sort
5442 tar tf archive.tar | sort
5445 for option in exclude-tag exclude-tag-under exclude-tag-all
5447 echo OPTION \$option
5448 tar -cf archive.tar --\${option}=tagfile -v dir 2>err | sort
5451 tar tf archive.tar | sort
5454 echo exclude.at:26 >"$at_check_line_file"
5456 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
5461 TEST_TAR_FORMAT=ustar
5462 export TEST_TAR_FORMAT
5463 TAR_OPTIONS="-H ustar"
5468 test -z "`sort < /dev/null 2>&1`" || exit 77
5472 echo blues > dir/blues
5473 echo jazz > dir/jazz
5475 echo tagfile > dir/folk/tagfile
5476 echo sanjuan > dir/folk/sanjuan
5478 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir/rock/CACHEDIR.TAG
5479 echo "test" > dir/rock/file
5481 for option in exclude-caches exclude-caches-under exclude-caches-all
5484 tar -cf archive.tar --$option -v dir 2>err | sort
5487 tar tf archive.tar | sort
5490 for option in exclude-tag exclude-tag-under exclude-tag-all
5493 tar -cf archive.tar --${option}=tagfile -v dir 2>err | sort
5496 tar tf archive.tar | sort
5498 ) ) >"$at_stdout" 2>"$at_stder1"
5499 at_func_filter_trace $?
5504 TEST_TAR_FORMAT=ustar
5505 export TEST_TAR_FORMAT
5506 TAR_OPTIONS="-H ustar"
5511 test -z "`sort < /dev/null 2>&1`" || exit 77
5515 echo blues > dir/blues
5516 echo jazz > dir/jazz
5518 echo tagfile > dir/folk/tagfile
5519 echo sanjuan > dir/folk/sanjuan
5521 echo "Signature: 8a477f597d28d172789f06886806bc55" > dir/rock/CACHEDIR.TAG
5522 echo "test" > dir/rock/file
5524 for option in exclude-caches exclude-caches-under exclude-caches-all
5527 tar -cf archive.tar --$option -v dir 2>err | sort
5530 tar tf archive.tar | sort
5533 for option in exclude-tag exclude-tag-under exclude-tag-all
5536 tar -cf archive.tar --${option}=tagfile -v dir 2>err | sort
5539 tar tf archive.tar | sort
5541 ) ) >"$at_stdout" 2>"$at_stderr"
5545 at_func_diff_devnull "$at_stderr" || at_failed=:
5546 echo >>"$at_stdout"; $as_echo "OPTION exclude-caches
5554 dir/rock/CACHEDIR.TAG
5555 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
5564 dir/rock/CACHEDIR.TAG
5565 OPTION exclude-caches-under
5573 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; contents not dumped
5582 OPTION exclude-caches-all
5589 tar: dir/rock/: contains a cache directory tag CACHEDIR.TAG; directory not dumped
5604 dir/rock/CACHEDIR.TAG
5606 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
5614 dir/rock/CACHEDIR.TAG
5616 OPTION exclude-tag-under
5622 dir/rock/CACHEDIR.TAG
5624 tar: dir/folk/: contains a cache directory tag tagfile; contents not dumped
5631 dir/rock/CACHEDIR.TAG
5633 OPTION exclude-tag-all
5638 dir/rock/CACHEDIR.TAG
5640 tar: dir/folk/: contains a cache directory tag tagfile; directory not dumped
5646 dir/rock/CACHEDIR.TAG
5649 $at_diff - "$at_stdout" || at_failed=:
5650 at_func_check_status 0 $at_status "$at_srcdir/exclude.at:26"
5652 $at_failed && at_func_log_failure
5659 $at_times_p && times >"$at_times_file"
5660 ) 5>&1 2>&1 | eval $at_tee_pipe
5661 at_status=`cat "$at_status_file"`
5664 # 14. exclude01.at:17: exclude wildcards
5665 at_setup_line='exclude01.at:17'
5666 at_desc="exclude wildcards"
5667 $at_quiet $as_echo_n " 14: $at_desc "
5669 test -f $XFAILFILE && at_xfail=yes
5670 echo "# -*- compilation -*-" >> "$at_group_log"
5672 $as_echo "14. exclude01.at:17: testing ..."
5680 $as_echo "$at_srcdir/exclude01.at:20:
5684 export TEST_TAR_FORMAT
5685 TAR_OPTIONS=\"-H v7\"
5690 test -z "`sort < /dev/null 2>&1`" || exit 77
5694 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5695 touch testdir/dir1/file1
5696 touch testdir/dir1/\\*
5697 touch testdir/dir2/file2
5698 touch testdir/dir2/\\*
5699 touch testdir/dir3/file3
5700 touch testdir/dir3/\\*
5702 tar cf archive --exclude=testdir/dir1/\\* \\
5704 --exclude=testdir/dir2/\\* \\
5706 --exclude=testdir/dir3/\\* \\
5708 tar tf archive | sort
5711 tar cf archive testdir
5712 tar t \"testdir/dir1/*\" -f archive | sort
5715 tar cf archive testdir/dir1
5716 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
5719 tar cf archive testdir
5720 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
5724 echo exclude01.at:20 >"$at_check_line_file"
5726 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5732 export TEST_TAR_FORMAT
5738 test -z "`sort < /dev/null 2>&1`" || exit 77
5742 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5743 touch testdir/dir1/file1
5744 touch testdir/dir1/\*
5745 touch testdir/dir2/file2
5746 touch testdir/dir2/\*
5747 touch testdir/dir3/file3
5748 touch testdir/dir3/\*
5750 tar cf archive --exclude=testdir/dir1/\* \
5752 --exclude=testdir/dir2/\* \
5754 --exclude=testdir/dir3/\* \
5756 tar tf archive | sort
5759 tar cf archive testdir
5760 tar t "testdir/dir1/*" -f archive | sort
5763 tar cf archive testdir/dir1
5764 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5767 tar cf archive testdir
5768 tar t --wildcards "testdir/dir1/*" -f archive | sort
5771 ) ) >"$at_stdout" 2>"$at_stder1"
5772 at_func_filter_trace $?
5778 export TEST_TAR_FORMAT
5784 test -z "`sort < /dev/null 2>&1`" || exit 77
5788 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5789 touch testdir/dir1/file1
5790 touch testdir/dir1/\*
5791 touch testdir/dir2/file2
5792 touch testdir/dir2/\*
5793 touch testdir/dir3/file3
5794 touch testdir/dir3/\*
5796 tar cf archive --exclude=testdir/dir1/\* \
5798 --exclude=testdir/dir2/\* \
5800 --exclude=testdir/dir3/\* \
5802 tar tf archive | sort
5805 tar cf archive testdir
5806 tar t "testdir/dir1/*" -f archive | sort
5809 tar cf archive testdir/dir1
5810 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5813 tar cf archive testdir
5814 tar t --wildcards "testdir/dir1/*" -f archive | sort
5817 ) ) >"$at_stdout" 2>"$at_stderr"
5821 at_func_diff_devnull "$at_stderr" || at_failed=:
5822 echo >>"$at_stdout"; $as_echo "testdir/
5835 $at_diff - "$at_stdout" || at_failed=:
5836 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
5838 $at_failed && at_func_log_failure
5842 $as_echo "$at_srcdir/exclude01.at:20:
5845 TEST_TAR_FORMAT=oldgnu
5846 export TEST_TAR_FORMAT
5847 TAR_OPTIONS=\"-H oldgnu\"
5852 test -z "`sort < /dev/null 2>&1`" || exit 77
5856 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5857 touch testdir/dir1/file1
5858 touch testdir/dir1/\\*
5859 touch testdir/dir2/file2
5860 touch testdir/dir2/\\*
5861 touch testdir/dir3/file3
5862 touch testdir/dir3/\\*
5864 tar cf archive --exclude=testdir/dir1/\\* \\
5866 --exclude=testdir/dir2/\\* \\
5868 --exclude=testdir/dir3/\\* \\
5870 tar tf archive | sort
5873 tar cf archive testdir
5874 tar t \"testdir/dir1/*\" -f archive | sort
5877 tar cf archive testdir/dir1
5878 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
5881 tar cf archive testdir
5882 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
5886 echo exclude01.at:20 >"$at_check_line_file"
5888 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
5893 TEST_TAR_FORMAT=oldgnu
5894 export TEST_TAR_FORMAT
5895 TAR_OPTIONS="-H oldgnu"
5900 test -z "`sort < /dev/null 2>&1`" || exit 77
5904 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5905 touch testdir/dir1/file1
5906 touch testdir/dir1/\*
5907 touch testdir/dir2/file2
5908 touch testdir/dir2/\*
5909 touch testdir/dir3/file3
5910 touch testdir/dir3/\*
5912 tar cf archive --exclude=testdir/dir1/\* \
5914 --exclude=testdir/dir2/\* \
5916 --exclude=testdir/dir3/\* \
5918 tar tf archive | sort
5921 tar cf archive testdir
5922 tar t "testdir/dir1/*" -f archive | sort
5925 tar cf archive testdir/dir1
5926 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5929 tar cf archive testdir
5930 tar t --wildcards "testdir/dir1/*" -f archive | sort
5933 ) ) >"$at_stdout" 2>"$at_stder1"
5934 at_func_filter_trace $?
5939 TEST_TAR_FORMAT=oldgnu
5940 export TEST_TAR_FORMAT
5941 TAR_OPTIONS="-H oldgnu"
5946 test -z "`sort < /dev/null 2>&1`" || exit 77
5950 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
5951 touch testdir/dir1/file1
5952 touch testdir/dir1/\*
5953 touch testdir/dir2/file2
5954 touch testdir/dir2/\*
5955 touch testdir/dir3/file3
5956 touch testdir/dir3/\*
5958 tar cf archive --exclude=testdir/dir1/\* \
5960 --exclude=testdir/dir2/\* \
5962 --exclude=testdir/dir3/\* \
5964 tar tf archive | sort
5967 tar cf archive testdir
5968 tar t "testdir/dir1/*" -f archive | sort
5971 tar cf archive testdir/dir1
5972 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
5975 tar cf archive testdir
5976 tar t --wildcards "testdir/dir1/*" -f archive | sort
5979 ) ) >"$at_stdout" 2>"$at_stderr"
5983 at_func_diff_devnull "$at_stderr" || at_failed=:
5984 echo >>"$at_stdout"; $as_echo "testdir/
5997 $at_diff - "$at_stdout" || at_failed=:
5998 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6000 $at_failed && at_func_log_failure
6004 $as_echo "$at_srcdir/exclude01.at:20:
6007 TEST_TAR_FORMAT=ustar
6008 export TEST_TAR_FORMAT
6009 TAR_OPTIONS=\"-H ustar\"
6014 test -z "`sort < /dev/null 2>&1`" || exit 77
6018 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6019 touch testdir/dir1/file1
6020 touch testdir/dir1/\\*
6021 touch testdir/dir2/file2
6022 touch testdir/dir2/\\*
6023 touch testdir/dir3/file3
6024 touch testdir/dir3/\\*
6026 tar cf archive --exclude=testdir/dir1/\\* \\
6028 --exclude=testdir/dir2/\\* \\
6030 --exclude=testdir/dir3/\\* \\
6032 tar tf archive | sort
6035 tar cf archive testdir
6036 tar t \"testdir/dir1/*\" -f archive | sort
6039 tar cf archive testdir/dir1
6040 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6043 tar cf archive testdir
6044 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6048 echo exclude01.at:20 >"$at_check_line_file"
6050 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6055 TEST_TAR_FORMAT=ustar
6056 export TEST_TAR_FORMAT
6057 TAR_OPTIONS="-H ustar"
6062 test -z "`sort < /dev/null 2>&1`" || exit 77
6066 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6067 touch testdir/dir1/file1
6068 touch testdir/dir1/\*
6069 touch testdir/dir2/file2
6070 touch testdir/dir2/\*
6071 touch testdir/dir3/file3
6072 touch testdir/dir3/\*
6074 tar cf archive --exclude=testdir/dir1/\* \
6076 --exclude=testdir/dir2/\* \
6078 --exclude=testdir/dir3/\* \
6080 tar tf archive | sort
6083 tar cf archive testdir
6084 tar t "testdir/dir1/*" -f archive | sort
6087 tar cf archive testdir/dir1
6088 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6091 tar cf archive testdir
6092 tar t --wildcards "testdir/dir1/*" -f archive | sort
6095 ) ) >"$at_stdout" 2>"$at_stder1"
6096 at_func_filter_trace $?
6101 TEST_TAR_FORMAT=ustar
6102 export TEST_TAR_FORMAT
6103 TAR_OPTIONS="-H ustar"
6108 test -z "`sort < /dev/null 2>&1`" || exit 77
6112 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6113 touch testdir/dir1/file1
6114 touch testdir/dir1/\*
6115 touch testdir/dir2/file2
6116 touch testdir/dir2/\*
6117 touch testdir/dir3/file3
6118 touch testdir/dir3/\*
6120 tar cf archive --exclude=testdir/dir1/\* \
6122 --exclude=testdir/dir2/\* \
6124 --exclude=testdir/dir3/\* \
6126 tar tf archive | sort
6129 tar cf archive testdir
6130 tar t "testdir/dir1/*" -f archive | sort
6133 tar cf archive testdir/dir1
6134 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6137 tar cf archive testdir
6138 tar t --wildcards "testdir/dir1/*" -f archive | sort
6141 ) ) >"$at_stdout" 2>"$at_stderr"
6145 at_func_diff_devnull "$at_stderr" || at_failed=:
6146 echo >>"$at_stdout"; $as_echo "testdir/
6159 $at_diff - "$at_stdout" || at_failed=:
6160 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6162 $at_failed && at_func_log_failure
6166 $as_echo "$at_srcdir/exclude01.at:20:
6169 TEST_TAR_FORMAT=posix
6170 export TEST_TAR_FORMAT
6171 TAR_OPTIONS=\"-H posix\"
6176 test -z "`sort < /dev/null 2>&1`" || exit 77
6180 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6181 touch testdir/dir1/file1
6182 touch testdir/dir1/\\*
6183 touch testdir/dir2/file2
6184 touch testdir/dir2/\\*
6185 touch testdir/dir3/file3
6186 touch testdir/dir3/\\*
6188 tar cf archive --exclude=testdir/dir1/\\* \\
6190 --exclude=testdir/dir2/\\* \\
6192 --exclude=testdir/dir3/\\* \\
6194 tar tf archive | sort
6197 tar cf archive testdir
6198 tar t \"testdir/dir1/*\" -f archive | sort
6201 tar cf archive testdir/dir1
6202 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6205 tar cf archive testdir
6206 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6210 echo exclude01.at:20 >"$at_check_line_file"
6212 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6217 TEST_TAR_FORMAT=posix
6218 export TEST_TAR_FORMAT
6219 TAR_OPTIONS="-H posix"
6224 test -z "`sort < /dev/null 2>&1`" || exit 77
6228 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6229 touch testdir/dir1/file1
6230 touch testdir/dir1/\*
6231 touch testdir/dir2/file2
6232 touch testdir/dir2/\*
6233 touch testdir/dir3/file3
6234 touch testdir/dir3/\*
6236 tar cf archive --exclude=testdir/dir1/\* \
6238 --exclude=testdir/dir2/\* \
6240 --exclude=testdir/dir3/\* \
6242 tar tf archive | sort
6245 tar cf archive testdir
6246 tar t "testdir/dir1/*" -f archive | sort
6249 tar cf archive testdir/dir1
6250 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6253 tar cf archive testdir
6254 tar t --wildcards "testdir/dir1/*" -f archive | sort
6257 ) ) >"$at_stdout" 2>"$at_stder1"
6258 at_func_filter_trace $?
6263 TEST_TAR_FORMAT=posix
6264 export TEST_TAR_FORMAT
6265 TAR_OPTIONS="-H posix"
6270 test -z "`sort < /dev/null 2>&1`" || exit 77
6274 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6275 touch testdir/dir1/file1
6276 touch testdir/dir1/\*
6277 touch testdir/dir2/file2
6278 touch testdir/dir2/\*
6279 touch testdir/dir3/file3
6280 touch testdir/dir3/\*
6282 tar cf archive --exclude=testdir/dir1/\* \
6284 --exclude=testdir/dir2/\* \
6286 --exclude=testdir/dir3/\* \
6288 tar tf archive | sort
6291 tar cf archive testdir
6292 tar t "testdir/dir1/*" -f archive | sort
6295 tar cf archive testdir/dir1
6296 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6299 tar cf archive testdir
6300 tar t --wildcards "testdir/dir1/*" -f archive | sort
6303 ) ) >"$at_stdout" 2>"$at_stderr"
6307 at_func_diff_devnull "$at_stderr" || at_failed=:
6308 echo >>"$at_stdout"; $as_echo "testdir/
6321 $at_diff - "$at_stdout" || at_failed=:
6322 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6324 $at_failed && at_func_log_failure
6328 $as_echo "$at_srcdir/exclude01.at:20:
6332 export TEST_TAR_FORMAT
6333 TAR_OPTIONS=\"-H gnu\"
6338 test -z "`sort < /dev/null 2>&1`" || exit 77
6342 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6343 touch testdir/dir1/file1
6344 touch testdir/dir1/\\*
6345 touch testdir/dir2/file2
6346 touch testdir/dir2/\\*
6347 touch testdir/dir3/file3
6348 touch testdir/dir3/\\*
6350 tar cf archive --exclude=testdir/dir1/\\* \\
6352 --exclude=testdir/dir2/\\* \\
6354 --exclude=testdir/dir3/\\* \\
6356 tar tf archive | sort
6359 tar cf archive testdir
6360 tar t \"testdir/dir1/*\" -f archive | sort
6363 tar cf archive testdir/dir1
6364 tar t --no-wildcards \"testdir/dir1/*\" -f archive | sort
6367 tar cf archive testdir
6368 tar t --wildcards \"testdir/dir1/*\" -f archive | sort
6372 echo exclude01.at:20 >"$at_check_line_file"
6374 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6380 export TEST_TAR_FORMAT
6381 TAR_OPTIONS="-H gnu"
6386 test -z "`sort < /dev/null 2>&1`" || exit 77
6390 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6391 touch testdir/dir1/file1
6392 touch testdir/dir1/\*
6393 touch testdir/dir2/file2
6394 touch testdir/dir2/\*
6395 touch testdir/dir3/file3
6396 touch testdir/dir3/\*
6398 tar cf archive --exclude=testdir/dir1/\* \
6400 --exclude=testdir/dir2/\* \
6402 --exclude=testdir/dir3/\* \
6404 tar tf archive | sort
6407 tar cf archive testdir
6408 tar t "testdir/dir1/*" -f archive | sort
6411 tar cf archive testdir/dir1
6412 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6415 tar cf archive testdir
6416 tar t --wildcards "testdir/dir1/*" -f archive | sort
6419 ) ) >"$at_stdout" 2>"$at_stder1"
6420 at_func_filter_trace $?
6426 export TEST_TAR_FORMAT
6427 TAR_OPTIONS="-H gnu"
6432 test -z "`sort < /dev/null 2>&1`" || exit 77
6436 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
6437 touch testdir/dir1/file1
6438 touch testdir/dir1/\*
6439 touch testdir/dir2/file2
6440 touch testdir/dir2/\*
6441 touch testdir/dir3/file3
6442 touch testdir/dir3/\*
6444 tar cf archive --exclude=testdir/dir1/\* \
6446 --exclude=testdir/dir2/\* \
6448 --exclude=testdir/dir3/\* \
6450 tar tf archive | sort
6453 tar cf archive testdir
6454 tar t "testdir/dir1/*" -f archive | sort
6457 tar cf archive testdir/dir1
6458 tar t --no-wildcards "testdir/dir1/*" -f archive | sort
6461 tar cf archive testdir
6462 tar t --wildcards "testdir/dir1/*" -f archive | sort
6465 ) ) >"$at_stdout" 2>"$at_stderr"
6469 at_func_diff_devnull "$at_stderr" || at_failed=:
6470 echo >>"$at_stdout"; $as_echo "testdir/
6483 $at_diff - "$at_stdout" || at_failed=:
6484 at_func_check_status 0 $at_status "$at_srcdir/exclude01.at:20"
6486 $at_failed && at_func_log_failure
6493 $at_times_p && times >"$at_times_file"
6494 ) 5>&1 2>&1 | eval $at_tee_pipe
6495 at_status=`cat "$at_status_file"`
6498 # 15. exclude02.at:17: exclude: anchoring
6499 at_setup_line='exclude02.at:17'
6500 at_desc="exclude: anchoring"
6501 $at_quiet $as_echo_n " 15: $at_desc "
6503 test -f $XFAILFILE && at_xfail=yes
6504 echo "# -*- compilation -*-" >> "$at_group_log"
6506 $as_echo "15. exclude02.at:17: testing ..."
6514 $as_echo "$at_srcdir/exclude02.at:20:
6518 export TEST_TAR_FORMAT
6519 TAR_OPTIONS=\"-H v7\"
6524 test -z "`sort < /dev/null 2>&1`" || exit 77
6530 touch testdir/file1.txt
6533 tar cf archive --exclude=\"file1.txt\" \\
6535 tar tf archive | sort
6538 tar cf archive --no-anchored \\
6539 --exclude=\"file1.txt\" \\
6541 tar tf archive | sort
6544 tar cf archive --anchored \\
6545 --exclude=\"file1.txt\" \\
6547 tar tf archive | sort
6550 tar cf archive testdir file1.txt
6551 tar t \"file1.txt\" -f archive | sort
6554 tar t --no-anchored \"file1.txt\" -f archive | sort
6557 tar t --anchored \"file1.txt\" -f archive | sort
6559 rm -rf testdir file1.txt
6562 echo exclude02.at:20 >"$at_check_line_file"
6564 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6570 export TEST_TAR_FORMAT
6576 test -z "`sort < /dev/null 2>&1`" || exit 77
6582 touch testdir/file1.txt
6585 tar cf archive --exclude="file1.txt" \
6587 tar tf archive | sort
6590 tar cf archive --no-anchored \
6591 --exclude="file1.txt" \
6593 tar tf archive | sort
6596 tar cf archive --anchored \
6597 --exclude="file1.txt" \
6599 tar tf archive | sort
6602 tar cf archive testdir file1.txt
6603 tar t "file1.txt" -f archive | sort
6606 tar t --no-anchored "file1.txt" -f archive | sort
6609 tar t --anchored "file1.txt" -f archive | sort
6611 rm -rf testdir file1.txt
6613 ) ) >"$at_stdout" 2>"$at_stder1"
6614 at_func_filter_trace $?
6620 export TEST_TAR_FORMAT
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
6663 ) ) >"$at_stdout" 2>"$at_stderr"
6667 at_func_diff_devnull "$at_stderr" || at_failed=:
6668 echo >>"$at_stdout"; $as_echo "testdir/
6685 $at_diff - "$at_stdout" || at_failed=:
6686 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
6688 $at_failed && at_func_log_failure
6692 $as_echo "$at_srcdir/exclude02.at:20:
6695 TEST_TAR_FORMAT=oldgnu
6696 export TEST_TAR_FORMAT
6697 TAR_OPTIONS=\"-H oldgnu\"
6702 test -z "`sort < /dev/null 2>&1`" || exit 77
6708 touch testdir/file1.txt
6711 tar cf archive --exclude=\"file1.txt\" \\
6713 tar tf archive | sort
6716 tar cf archive --no-anchored \\
6717 --exclude=\"file1.txt\" \\
6719 tar tf archive | sort
6722 tar cf archive --anchored \\
6723 --exclude=\"file1.txt\" \\
6725 tar tf archive | sort
6728 tar cf archive testdir file1.txt
6729 tar t \"file1.txt\" -f archive | sort
6732 tar t --no-anchored \"file1.txt\" -f archive | sort
6735 tar t --anchored \"file1.txt\" -f archive | sort
6737 rm -rf testdir file1.txt
6740 echo exclude02.at:20 >"$at_check_line_file"
6742 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6747 TEST_TAR_FORMAT=oldgnu
6748 export TEST_TAR_FORMAT
6749 TAR_OPTIONS="-H oldgnu"
6754 test -z "`sort < /dev/null 2>&1`" || exit 77
6760 touch testdir/file1.txt
6763 tar cf archive --exclude="file1.txt" \
6765 tar tf archive | sort
6768 tar cf archive --no-anchored \
6769 --exclude="file1.txt" \
6771 tar tf archive | sort
6774 tar cf archive --anchored \
6775 --exclude="file1.txt" \
6777 tar tf archive | sort
6780 tar cf archive testdir file1.txt
6781 tar t "file1.txt" -f archive | sort
6784 tar t --no-anchored "file1.txt" -f archive | sort
6787 tar t --anchored "file1.txt" -f archive | sort
6789 rm -rf testdir file1.txt
6791 ) ) >"$at_stdout" 2>"$at_stder1"
6792 at_func_filter_trace $?
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
6841 ) ) >"$at_stdout" 2>"$at_stderr"
6845 at_func_diff_devnull "$at_stderr" || at_failed=:
6846 echo >>"$at_stdout"; $as_echo "testdir/
6863 $at_diff - "$at_stdout" || at_failed=:
6864 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
6866 $at_failed && at_func_log_failure
6870 $as_echo "$at_srcdir/exclude02.at:20:
6873 TEST_TAR_FORMAT=ustar
6874 export TEST_TAR_FORMAT
6875 TAR_OPTIONS=\"-H ustar\"
6880 test -z "`sort < /dev/null 2>&1`" || exit 77
6886 touch testdir/file1.txt
6889 tar cf archive --exclude=\"file1.txt\" \\
6891 tar tf archive | sort
6894 tar cf archive --no-anchored \\
6895 --exclude=\"file1.txt\" \\
6897 tar tf archive | sort
6900 tar cf archive --anchored \\
6901 --exclude=\"file1.txt\" \\
6903 tar tf archive | sort
6906 tar cf archive testdir file1.txt
6907 tar t \"file1.txt\" -f archive | sort
6910 tar t --no-anchored \"file1.txt\" -f archive | sort
6913 tar t --anchored \"file1.txt\" -f archive | sort
6915 rm -rf testdir file1.txt
6918 echo exclude02.at:20 >"$at_check_line_file"
6920 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
6925 TEST_TAR_FORMAT=ustar
6926 export TEST_TAR_FORMAT
6927 TAR_OPTIONS="-H ustar"
6932 test -z "`sort < /dev/null 2>&1`" || exit 77
6938 touch testdir/file1.txt
6941 tar cf archive --exclude="file1.txt" \
6943 tar tf archive | sort
6946 tar cf archive --no-anchored \
6947 --exclude="file1.txt" \
6949 tar tf archive | sort
6952 tar cf archive --anchored \
6953 --exclude="file1.txt" \
6955 tar tf archive | sort
6958 tar cf archive testdir file1.txt
6959 tar t "file1.txt" -f archive | sort
6962 tar t --no-anchored "file1.txt" -f archive | sort
6965 tar t --anchored "file1.txt" -f archive | sort
6967 rm -rf testdir file1.txt
6969 ) ) >"$at_stdout" 2>"$at_stder1"
6970 at_func_filter_trace $?
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
7019 ) ) >"$at_stdout" 2>"$at_stderr"
7023 at_func_diff_devnull "$at_stderr" || at_failed=:
7024 echo >>"$at_stdout"; $as_echo "testdir/
7041 $at_diff - "$at_stdout" || at_failed=:
7042 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7044 $at_failed && at_func_log_failure
7048 $as_echo "$at_srcdir/exclude02.at:20:
7051 TEST_TAR_FORMAT=posix
7052 export TEST_TAR_FORMAT
7053 TAR_OPTIONS=\"-H posix\"
7058 test -z "`sort < /dev/null 2>&1`" || exit 77
7064 touch testdir/file1.txt
7067 tar cf archive --exclude=\"file1.txt\" \\
7069 tar tf archive | sort
7072 tar cf archive --no-anchored \\
7073 --exclude=\"file1.txt\" \\
7075 tar tf archive | sort
7078 tar cf archive --anchored \\
7079 --exclude=\"file1.txt\" \\
7081 tar tf archive | sort
7084 tar cf archive testdir file1.txt
7085 tar t \"file1.txt\" -f archive | sort
7088 tar t --no-anchored \"file1.txt\" -f archive | sort
7091 tar t --anchored \"file1.txt\" -f archive | sort
7093 rm -rf testdir file1.txt
7096 echo exclude02.at:20 >"$at_check_line_file"
7098 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7103 TEST_TAR_FORMAT=posix
7104 export TEST_TAR_FORMAT
7105 TAR_OPTIONS="-H posix"
7110 test -z "`sort < /dev/null 2>&1`" || exit 77
7116 touch testdir/file1.txt
7119 tar cf archive --exclude="file1.txt" \
7121 tar tf archive | sort
7124 tar cf archive --no-anchored \
7125 --exclude="file1.txt" \
7127 tar tf archive | sort
7130 tar cf archive --anchored \
7131 --exclude="file1.txt" \
7133 tar tf archive | sort
7136 tar cf archive testdir file1.txt
7137 tar t "file1.txt" -f archive | sort
7140 tar t --no-anchored "file1.txt" -f archive | sort
7143 tar t --anchored "file1.txt" -f archive | sort
7145 rm -rf testdir file1.txt
7147 ) ) >"$at_stdout" 2>"$at_stder1"
7148 at_func_filter_trace $?
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
7197 ) ) >"$at_stdout" 2>"$at_stderr"
7201 at_func_diff_devnull "$at_stderr" || at_failed=:
7202 echo >>"$at_stdout"; $as_echo "testdir/
7219 $at_diff - "$at_stdout" || at_failed=:
7220 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7222 $at_failed && at_func_log_failure
7226 $as_echo "$at_srcdir/exclude02.at:20:
7230 export TEST_TAR_FORMAT
7231 TAR_OPTIONS=\"-H gnu\"
7236 test -z "`sort < /dev/null 2>&1`" || exit 77
7242 touch testdir/file1.txt
7245 tar cf archive --exclude=\"file1.txt\" \\
7247 tar tf archive | sort
7250 tar cf archive --no-anchored \\
7251 --exclude=\"file1.txt\" \\
7253 tar tf archive | sort
7256 tar cf archive --anchored \\
7257 --exclude=\"file1.txt\" \\
7259 tar tf archive | sort
7262 tar cf archive testdir file1.txt
7263 tar t \"file1.txt\" -f archive | sort
7266 tar t --no-anchored \"file1.txt\" -f archive | sort
7269 tar t --anchored \"file1.txt\" -f archive | sort
7271 rm -rf testdir file1.txt
7274 echo exclude02.at:20 >"$at_check_line_file"
7276 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7282 export TEST_TAR_FORMAT
7283 TAR_OPTIONS="-H gnu"
7288 test -z "`sort < /dev/null 2>&1`" || exit 77
7294 touch testdir/file1.txt
7297 tar cf archive --exclude="file1.txt" \
7299 tar tf archive | sort
7302 tar cf archive --no-anchored \
7303 --exclude="file1.txt" \
7305 tar tf archive | sort
7308 tar cf archive --anchored \
7309 --exclude="file1.txt" \
7311 tar tf archive | sort
7314 tar cf archive testdir file1.txt
7315 tar t "file1.txt" -f archive | sort
7318 tar t --no-anchored "file1.txt" -f archive | sort
7321 tar t --anchored "file1.txt" -f archive | sort
7323 rm -rf testdir file1.txt
7325 ) ) >"$at_stdout" 2>"$at_stder1"
7326 at_func_filter_trace $?
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
7375 ) ) >"$at_stdout" 2>"$at_stderr"
7379 at_func_diff_devnull "$at_stderr" || at_failed=:
7380 echo >>"$at_stdout"; $as_echo "testdir/
7397 $at_diff - "$at_stdout" || at_failed=:
7398 at_func_check_status 0 $at_status "$at_srcdir/exclude02.at:20"
7400 $at_failed && at_func_log_failure
7407 $at_times_p && times >"$at_times_file"
7408 ) 5>&1 2>&1 | eval $at_tee_pipe
7409 at_status=`cat "$at_status_file"`
7412 # 16. exclude03.at:17: exclude: wildcards match slash
7413 at_setup_line='exclude03.at:17'
7414 at_desc="exclude: wildcards match slash"
7415 $at_quiet $as_echo_n " 16: $at_desc "
7417 test -f $XFAILFILE && at_xfail=yes
7418 echo "# -*- compilation -*-" >> "$at_group_log"
7420 $as_echo "16. exclude03.at:17: testing ..."
7428 $as_echo "$at_srcdir/exclude03.at:20:
7432 export TEST_TAR_FORMAT
7433 TAR_OPTIONS=\"-H v7\"
7438 test -z "`sort < /dev/null 2>&1`" || exit 77
7442 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7443 touch testdir/\\*f\\*1
7444 touch testdir/dir1/file1
7445 touch testdir/dir1/\\*
7446 touch testdir/dir2/file2
7447 touch testdir/dir2/\\*
7448 touch testdir/dir3/file3
7449 touch testdir/dir3/\\*
7451 tar cf archive --exclude='testdir*f*1' \\
7452 --no-wildcards-match-slash \\
7453 --exclude='testdir*f*2' \\
7454 --wildcards-match-slash \\
7455 --exclude='testdir*f*3' \\
7457 tar tf archive | sort
7460 tar cf archive testdir
7461 tar t --wildcards 'testdir/*f*1' -f archive | sort
7464 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7467 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7472 echo exclude03.at:20 >"$at_check_line_file"
7474 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7480 export TEST_TAR_FORMAT
7486 test -z "`sort < /dev/null 2>&1`" || exit 77
7490 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7491 touch testdir/\*f\*1
7492 touch testdir/dir1/file1
7493 touch testdir/dir1/\*
7494 touch testdir/dir2/file2
7495 touch testdir/dir2/\*
7496 touch testdir/dir3/file3
7497 touch testdir/dir3/\*
7499 tar cf archive --exclude='testdir*f*1' \
7500 --no-wildcards-match-slash \
7501 --exclude='testdir*f*2' \
7502 --wildcards-match-slash \
7503 --exclude='testdir*f*3' \
7505 tar tf archive | sort
7508 tar cf archive testdir
7509 tar t --wildcards 'testdir/*f*1' -f archive | sort
7512 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7515 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7519 ) ) >"$at_stdout" 2>"$at_stder1"
7520 at_func_filter_trace $?
7526 export TEST_TAR_FORMAT
7532 test -z "`sort < /dev/null 2>&1`" || exit 77
7536 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7537 touch testdir/\*f\*1
7538 touch testdir/dir1/file1
7539 touch testdir/dir1/\*
7540 touch testdir/dir2/file2
7541 touch testdir/dir2/\*
7542 touch testdir/dir3/file3
7543 touch testdir/dir3/\*
7545 tar cf archive --exclude='testdir*f*1' \
7546 --no-wildcards-match-slash \
7547 --exclude='testdir*f*2' \
7548 --wildcards-match-slash \
7549 --exclude='testdir*f*3' \
7551 tar tf archive | sort
7554 tar cf archive testdir
7555 tar t --wildcards 'testdir/*f*1' -f archive | sort
7558 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7561 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7565 ) ) >"$at_stdout" 2>"$at_stderr"
7569 at_func_diff_devnull "$at_stderr" || at_failed=:
7570 echo >>"$at_stdout"; $as_echo "testdir/
7587 $at_diff - "$at_stdout" || at_failed=:
7588 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
7590 $at_failed && at_func_log_failure
7594 $as_echo "$at_srcdir/exclude03.at:20:
7597 TEST_TAR_FORMAT=oldgnu
7598 export TEST_TAR_FORMAT
7599 TAR_OPTIONS=\"-H oldgnu\"
7604 test -z "`sort < /dev/null 2>&1`" || exit 77
7608 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7609 touch testdir/\\*f\\*1
7610 touch testdir/dir1/file1
7611 touch testdir/dir1/\\*
7612 touch testdir/dir2/file2
7613 touch testdir/dir2/\\*
7614 touch testdir/dir3/file3
7615 touch testdir/dir3/\\*
7617 tar cf archive --exclude='testdir*f*1' \\
7618 --no-wildcards-match-slash \\
7619 --exclude='testdir*f*2' \\
7620 --wildcards-match-slash \\
7621 --exclude='testdir*f*3' \\
7623 tar tf archive | sort
7626 tar cf archive testdir
7627 tar t --wildcards 'testdir/*f*1' -f archive | sort
7630 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7633 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7638 echo exclude03.at:20 >"$at_check_line_file"
7640 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7645 TEST_TAR_FORMAT=oldgnu
7646 export TEST_TAR_FORMAT
7647 TAR_OPTIONS="-H oldgnu"
7652 test -z "`sort < /dev/null 2>&1`" || exit 77
7656 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7657 touch testdir/\*f\*1
7658 touch testdir/dir1/file1
7659 touch testdir/dir1/\*
7660 touch testdir/dir2/file2
7661 touch testdir/dir2/\*
7662 touch testdir/dir3/file3
7663 touch testdir/dir3/\*
7665 tar cf archive --exclude='testdir*f*1' \
7666 --no-wildcards-match-slash \
7667 --exclude='testdir*f*2' \
7668 --wildcards-match-slash \
7669 --exclude='testdir*f*3' \
7671 tar tf archive | sort
7674 tar cf archive testdir
7675 tar t --wildcards 'testdir/*f*1' -f archive | sort
7678 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7681 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7685 ) ) >"$at_stdout" 2>"$at_stder1"
7686 at_func_filter_trace $?
7691 TEST_TAR_FORMAT=oldgnu
7692 export TEST_TAR_FORMAT
7693 TAR_OPTIONS="-H oldgnu"
7698 test -z "`sort < /dev/null 2>&1`" || exit 77
7702 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7703 touch testdir/\*f\*1
7704 touch testdir/dir1/file1
7705 touch testdir/dir1/\*
7706 touch testdir/dir2/file2
7707 touch testdir/dir2/\*
7708 touch testdir/dir3/file3
7709 touch testdir/dir3/\*
7711 tar cf archive --exclude='testdir*f*1' \
7712 --no-wildcards-match-slash \
7713 --exclude='testdir*f*2' \
7714 --wildcards-match-slash \
7715 --exclude='testdir*f*3' \
7717 tar tf archive | sort
7720 tar cf archive testdir
7721 tar t --wildcards 'testdir/*f*1' -f archive | sort
7724 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7727 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7731 ) ) >"$at_stdout" 2>"$at_stderr"
7735 at_func_diff_devnull "$at_stderr" || at_failed=:
7736 echo >>"$at_stdout"; $as_echo "testdir/
7753 $at_diff - "$at_stdout" || at_failed=:
7754 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
7756 $at_failed && at_func_log_failure
7760 $as_echo "$at_srcdir/exclude03.at:20:
7763 TEST_TAR_FORMAT=ustar
7764 export TEST_TAR_FORMAT
7765 TAR_OPTIONS=\"-H ustar\"
7770 test -z "`sort < /dev/null 2>&1`" || exit 77
7774 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7775 touch testdir/\\*f\\*1
7776 touch testdir/dir1/file1
7777 touch testdir/dir1/\\*
7778 touch testdir/dir2/file2
7779 touch testdir/dir2/\\*
7780 touch testdir/dir3/file3
7781 touch testdir/dir3/\\*
7783 tar cf archive --exclude='testdir*f*1' \\
7784 --no-wildcards-match-slash \\
7785 --exclude='testdir*f*2' \\
7786 --wildcards-match-slash \\
7787 --exclude='testdir*f*3' \\
7789 tar tf archive | sort
7792 tar cf archive testdir
7793 tar t --wildcards 'testdir/*f*1' -f archive | sort
7796 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7799 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7804 echo exclude03.at:20 >"$at_check_line_file"
7806 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7811 TEST_TAR_FORMAT=ustar
7812 export TEST_TAR_FORMAT
7813 TAR_OPTIONS="-H ustar"
7818 test -z "`sort < /dev/null 2>&1`" || exit 77
7822 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7823 touch testdir/\*f\*1
7824 touch testdir/dir1/file1
7825 touch testdir/dir1/\*
7826 touch testdir/dir2/file2
7827 touch testdir/dir2/\*
7828 touch testdir/dir3/file3
7829 touch testdir/dir3/\*
7831 tar cf archive --exclude='testdir*f*1' \
7832 --no-wildcards-match-slash \
7833 --exclude='testdir*f*2' \
7834 --wildcards-match-slash \
7835 --exclude='testdir*f*3' \
7837 tar tf archive | sort
7840 tar cf archive testdir
7841 tar t --wildcards 'testdir/*f*1' -f archive | sort
7844 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7847 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7851 ) ) >"$at_stdout" 2>"$at_stder1"
7852 at_func_filter_trace $?
7857 TEST_TAR_FORMAT=ustar
7858 export TEST_TAR_FORMAT
7859 TAR_OPTIONS="-H ustar"
7864 test -z "`sort < /dev/null 2>&1`" || exit 77
7868 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7869 touch testdir/\*f\*1
7870 touch testdir/dir1/file1
7871 touch testdir/dir1/\*
7872 touch testdir/dir2/file2
7873 touch testdir/dir2/\*
7874 touch testdir/dir3/file3
7875 touch testdir/dir3/\*
7877 tar cf archive --exclude='testdir*f*1' \
7878 --no-wildcards-match-slash \
7879 --exclude='testdir*f*2' \
7880 --wildcards-match-slash \
7881 --exclude='testdir*f*3' \
7883 tar tf archive | sort
7886 tar cf archive testdir
7887 tar t --wildcards 'testdir/*f*1' -f archive | sort
7890 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7893 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7897 ) ) >"$at_stdout" 2>"$at_stderr"
7901 at_func_diff_devnull "$at_stderr" || at_failed=:
7902 echo >>"$at_stdout"; $as_echo "testdir/
7919 $at_diff - "$at_stdout" || at_failed=:
7920 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
7922 $at_failed && at_func_log_failure
7926 $as_echo "$at_srcdir/exclude03.at:20:
7929 TEST_TAR_FORMAT=posix
7930 export TEST_TAR_FORMAT
7931 TAR_OPTIONS=\"-H posix\"
7936 test -z "`sort < /dev/null 2>&1`" || exit 77
7940 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7941 touch testdir/\\*f\\*1
7942 touch testdir/dir1/file1
7943 touch testdir/dir1/\\*
7944 touch testdir/dir2/file2
7945 touch testdir/dir2/\\*
7946 touch testdir/dir3/file3
7947 touch testdir/dir3/\\*
7949 tar cf archive --exclude='testdir*f*1' \\
7950 --no-wildcards-match-slash \\
7951 --exclude='testdir*f*2' \\
7952 --wildcards-match-slash \\
7953 --exclude='testdir*f*3' \\
7955 tar tf archive | sort
7958 tar cf archive testdir
7959 tar t --wildcards 'testdir/*f*1' -f archive | sort
7962 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
7965 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
7970 echo exclude03.at:20 >"$at_check_line_file"
7972 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
7977 TEST_TAR_FORMAT=posix
7978 export TEST_TAR_FORMAT
7979 TAR_OPTIONS="-H posix"
7984 test -z "`sort < /dev/null 2>&1`" || exit 77
7988 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
7989 touch testdir/\*f\*1
7990 touch testdir/dir1/file1
7991 touch testdir/dir1/\*
7992 touch testdir/dir2/file2
7993 touch testdir/dir2/\*
7994 touch testdir/dir3/file3
7995 touch testdir/dir3/\*
7997 tar cf archive --exclude='testdir*f*1' \
7998 --no-wildcards-match-slash \
7999 --exclude='testdir*f*2' \
8000 --wildcards-match-slash \
8001 --exclude='testdir*f*3' \
8003 tar tf archive | sort
8006 tar cf archive testdir
8007 tar t --wildcards 'testdir/*f*1' -f archive | sort
8010 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8013 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8017 ) ) >"$at_stdout" 2>"$at_stder1"
8018 at_func_filter_trace $?
8023 TEST_TAR_FORMAT=posix
8024 export TEST_TAR_FORMAT
8025 TAR_OPTIONS="-H posix"
8030 test -z "`sort < /dev/null 2>&1`" || exit 77
8034 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8035 touch testdir/\*f\*1
8036 touch testdir/dir1/file1
8037 touch testdir/dir1/\*
8038 touch testdir/dir2/file2
8039 touch testdir/dir2/\*
8040 touch testdir/dir3/file3
8041 touch testdir/dir3/\*
8043 tar cf archive --exclude='testdir*f*1' \
8044 --no-wildcards-match-slash \
8045 --exclude='testdir*f*2' \
8046 --wildcards-match-slash \
8047 --exclude='testdir*f*3' \
8049 tar tf archive | sort
8052 tar cf archive testdir
8053 tar t --wildcards 'testdir/*f*1' -f archive | sort
8056 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8059 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8063 ) ) >"$at_stdout" 2>"$at_stderr"
8067 at_func_diff_devnull "$at_stderr" || at_failed=:
8068 echo >>"$at_stdout"; $as_echo "testdir/
8085 $at_diff - "$at_stdout" || at_failed=:
8086 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
8088 $at_failed && at_func_log_failure
8092 $as_echo "$at_srcdir/exclude03.at:20:
8096 export TEST_TAR_FORMAT
8097 TAR_OPTIONS=\"-H gnu\"
8102 test -z "`sort < /dev/null 2>&1`" || exit 77
8106 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8107 touch testdir/\\*f\\*1
8108 touch testdir/dir1/file1
8109 touch testdir/dir1/\\*
8110 touch testdir/dir2/file2
8111 touch testdir/dir2/\\*
8112 touch testdir/dir3/file3
8113 touch testdir/dir3/\\*
8115 tar cf archive --exclude='testdir*f*1' \\
8116 --no-wildcards-match-slash \\
8117 --exclude='testdir*f*2' \\
8118 --wildcards-match-slash \\
8119 --exclude='testdir*f*3' \\
8121 tar tf archive | sort
8124 tar cf archive testdir
8125 tar t --wildcards 'testdir/*f*1' -f archive | sort
8128 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8131 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8136 echo exclude03.at:20 >"$at_check_line_file"
8138 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8144 export TEST_TAR_FORMAT
8145 TAR_OPTIONS="-H gnu"
8150 test -z "`sort < /dev/null 2>&1`" || exit 77
8154 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8155 touch testdir/\*f\*1
8156 touch testdir/dir1/file1
8157 touch testdir/dir1/\*
8158 touch testdir/dir2/file2
8159 touch testdir/dir2/\*
8160 touch testdir/dir3/file3
8161 touch testdir/dir3/\*
8163 tar cf archive --exclude='testdir*f*1' \
8164 --no-wildcards-match-slash \
8165 --exclude='testdir*f*2' \
8166 --wildcards-match-slash \
8167 --exclude='testdir*f*3' \
8169 tar tf archive | sort
8172 tar cf archive testdir
8173 tar t --wildcards 'testdir/*f*1' -f archive | sort
8176 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8179 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8183 ) ) >"$at_stdout" 2>"$at_stder1"
8184 at_func_filter_trace $?
8190 export TEST_TAR_FORMAT
8191 TAR_OPTIONS="-H gnu"
8196 test -z "`sort < /dev/null 2>&1`" || exit 77
8200 mkdir -p testdir/dir1 testdir/dir2 testdir/dir3
8201 touch testdir/\*f\*1
8202 touch testdir/dir1/file1
8203 touch testdir/dir1/\*
8204 touch testdir/dir2/file2
8205 touch testdir/dir2/\*
8206 touch testdir/dir3/file3
8207 touch testdir/dir3/\*
8209 tar cf archive --exclude='testdir*f*1' \
8210 --no-wildcards-match-slash \
8211 --exclude='testdir*f*2' \
8212 --wildcards-match-slash \
8213 --exclude='testdir*f*3' \
8215 tar tf archive | sort
8218 tar cf archive testdir
8219 tar t --wildcards 'testdir/*f*1' -f archive | sort
8222 tar t --wildcards --no-wildcards-match-slash 'testdir/*f*1' -f archive | sort
8225 tar t --wildcards --wildcards-match-slash 'testdir/*f*1' -f archive | sort
8229 ) ) >"$at_stdout" 2>"$at_stderr"
8233 at_func_diff_devnull "$at_stderr" || at_failed=:
8234 echo >>"$at_stdout"; $as_echo "testdir/
8251 $at_diff - "$at_stdout" || at_failed=:
8252 at_func_check_status 0 $at_status "$at_srcdir/exclude03.at:20"
8254 $at_failed && at_func_log_failure
8261 $at_times_p && times >"$at_times_file"
8262 ) 5>&1 2>&1 | eval $at_tee_pipe
8263 at_status=`cat "$at_status_file"`
8266 # 17. exclude04.at:17: exclude: case insensitive
8267 at_setup_line='exclude04.at:17'
8268 at_desc="exclude: case insensitive"
8269 $at_quiet $as_echo_n " 17: $at_desc "
8271 test -f $XFAILFILE && at_xfail=yes
8272 echo "# -*- compilation -*-" >> "$at_group_log"
8274 $as_echo "17. exclude04.at:17: testing ..."
8282 $as_echo "$at_srcdir/exclude04.at:20:
8286 export TEST_TAR_FORMAT
8287 TAR_OPTIONS=\"-H v7\"
8292 test -z "`sort < /dev/null 2>&1`" || exit 77
8296 mkdir -p testdir/dir
8301 touch testdir/dir/File1
8302 touch testdir/dir/File2
8303 touch testdir/dir/File3
8304 touch testdir/dir/File4
8306 tar cf archive --exclude=FILE2 \\
8314 tar tf archive | sort
8317 tar cf archive testdir
8318 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8321 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8324 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8329 echo exclude04.at:20 >"$at_check_line_file"
8331 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8337 export TEST_TAR_FORMAT
8343 test -z "`sort < /dev/null 2>&1`" || exit 77
8347 mkdir -p testdir/dir
8352 touch testdir/dir/File1
8353 touch testdir/dir/File2
8354 touch testdir/dir/File3
8355 touch testdir/dir/File4
8357 tar cf archive --exclude=FILE2 \
8365 tar tf archive | sort
8368 tar cf archive testdir
8369 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8372 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8375 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8379 ) ) >"$at_stdout" 2>"$at_stder1"
8380 at_func_filter_trace $?
8386 export TEST_TAR_FORMAT
8392 test -z "`sort < /dev/null 2>&1`" || exit 77
8396 mkdir -p testdir/dir
8401 touch testdir/dir/File1
8402 touch testdir/dir/File2
8403 touch testdir/dir/File3
8404 touch testdir/dir/File4
8406 tar cf archive --exclude=FILE2 \
8414 tar tf archive | sort
8417 tar cf archive testdir
8418 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8421 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8424 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8428 ) ) >"$at_stdout" 2>"$at_stderr"
8432 at_func_diff_devnull "$at_stderr" || at_failed=:
8433 echo >>"$at_stdout"; $as_echo "testdir/
8447 $at_diff - "$at_stdout" || at_failed=:
8448 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8450 $at_failed && at_func_log_failure
8454 $as_echo "$at_srcdir/exclude04.at:20:
8457 TEST_TAR_FORMAT=oldgnu
8458 export TEST_TAR_FORMAT
8459 TAR_OPTIONS=\"-H oldgnu\"
8464 test -z "`sort < /dev/null 2>&1`" || exit 77
8468 mkdir -p testdir/dir
8473 touch testdir/dir/File1
8474 touch testdir/dir/File2
8475 touch testdir/dir/File3
8476 touch testdir/dir/File4
8478 tar cf archive --exclude=FILE2 \\
8486 tar tf archive | sort
8489 tar cf archive testdir
8490 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8493 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8496 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8501 echo exclude04.at:20 >"$at_check_line_file"
8503 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8508 TEST_TAR_FORMAT=oldgnu
8509 export TEST_TAR_FORMAT
8510 TAR_OPTIONS="-H oldgnu"
8515 test -z "`sort < /dev/null 2>&1`" || exit 77
8519 mkdir -p testdir/dir
8524 touch testdir/dir/File1
8525 touch testdir/dir/File2
8526 touch testdir/dir/File3
8527 touch testdir/dir/File4
8529 tar cf archive --exclude=FILE2 \
8537 tar tf archive | sort
8540 tar cf archive testdir
8541 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8544 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8547 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8551 ) ) >"$at_stdout" 2>"$at_stder1"
8552 at_func_filter_trace $?
8557 TEST_TAR_FORMAT=oldgnu
8558 export TEST_TAR_FORMAT
8559 TAR_OPTIONS="-H oldgnu"
8564 test -z "`sort < /dev/null 2>&1`" || exit 77
8568 mkdir -p testdir/dir
8573 touch testdir/dir/File1
8574 touch testdir/dir/File2
8575 touch testdir/dir/File3
8576 touch testdir/dir/File4
8578 tar cf archive --exclude=FILE2 \
8586 tar tf archive | sort
8589 tar cf archive testdir
8590 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8593 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8596 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8600 ) ) >"$at_stdout" 2>"$at_stderr"
8604 at_func_diff_devnull "$at_stderr" || at_failed=:
8605 echo >>"$at_stdout"; $as_echo "testdir/
8619 $at_diff - "$at_stdout" || at_failed=:
8620 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8622 $at_failed && at_func_log_failure
8626 $as_echo "$at_srcdir/exclude04.at:20:
8629 TEST_TAR_FORMAT=ustar
8630 export TEST_TAR_FORMAT
8631 TAR_OPTIONS=\"-H ustar\"
8636 test -z "`sort < /dev/null 2>&1`" || exit 77
8640 mkdir -p testdir/dir
8645 touch testdir/dir/File1
8646 touch testdir/dir/File2
8647 touch testdir/dir/File3
8648 touch testdir/dir/File4
8650 tar cf archive --exclude=FILE2 \\
8658 tar tf archive | sort
8661 tar cf archive testdir
8662 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8665 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8668 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8673 echo exclude04.at:20 >"$at_check_line_file"
8675 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8680 TEST_TAR_FORMAT=ustar
8681 export TEST_TAR_FORMAT
8682 TAR_OPTIONS="-H ustar"
8687 test -z "`sort < /dev/null 2>&1`" || exit 77
8691 mkdir -p testdir/dir
8696 touch testdir/dir/File1
8697 touch testdir/dir/File2
8698 touch testdir/dir/File3
8699 touch testdir/dir/File4
8701 tar cf archive --exclude=FILE2 \
8709 tar tf archive | sort
8712 tar cf archive testdir
8713 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8716 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8719 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8723 ) ) >"$at_stdout" 2>"$at_stder1"
8724 at_func_filter_trace $?
8729 TEST_TAR_FORMAT=ustar
8730 export TEST_TAR_FORMAT
8731 TAR_OPTIONS="-H ustar"
8736 test -z "`sort < /dev/null 2>&1`" || exit 77
8740 mkdir -p testdir/dir
8745 touch testdir/dir/File1
8746 touch testdir/dir/File2
8747 touch testdir/dir/File3
8748 touch testdir/dir/File4
8750 tar cf archive --exclude=FILE2 \
8758 tar tf archive | sort
8761 tar cf archive testdir
8762 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8765 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8768 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8772 ) ) >"$at_stdout" 2>"$at_stderr"
8776 at_func_diff_devnull "$at_stderr" || at_failed=:
8777 echo >>"$at_stdout"; $as_echo "testdir/
8791 $at_diff - "$at_stdout" || at_failed=:
8792 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8794 $at_failed && at_func_log_failure
8798 $as_echo "$at_srcdir/exclude04.at:20:
8801 TEST_TAR_FORMAT=posix
8802 export TEST_TAR_FORMAT
8803 TAR_OPTIONS=\"-H posix\"
8808 test -z "`sort < /dev/null 2>&1`" || exit 77
8812 mkdir -p testdir/dir
8817 touch testdir/dir/File1
8818 touch testdir/dir/File2
8819 touch testdir/dir/File3
8820 touch testdir/dir/File4
8822 tar cf archive --exclude=FILE2 \\
8830 tar tf archive | sort
8833 tar cf archive testdir
8834 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8837 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8840 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8845 echo exclude04.at:20 >"$at_check_line_file"
8847 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
8852 TEST_TAR_FORMAT=posix
8853 export TEST_TAR_FORMAT
8854 TAR_OPTIONS="-H posix"
8859 test -z "`sort < /dev/null 2>&1`" || exit 77
8863 mkdir -p testdir/dir
8868 touch testdir/dir/File1
8869 touch testdir/dir/File2
8870 touch testdir/dir/File3
8871 touch testdir/dir/File4
8873 tar cf archive --exclude=FILE2 \
8881 tar tf archive | sort
8884 tar cf archive testdir
8885 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8888 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8891 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8895 ) ) >"$at_stdout" 2>"$at_stder1"
8896 at_func_filter_trace $?
8901 TEST_TAR_FORMAT=posix
8902 export TEST_TAR_FORMAT
8903 TAR_OPTIONS="-H posix"
8908 test -z "`sort < /dev/null 2>&1`" || exit 77
8912 mkdir -p testdir/dir
8917 touch testdir/dir/File1
8918 touch testdir/dir/File2
8919 touch testdir/dir/File3
8920 touch testdir/dir/File4
8922 tar cf archive --exclude=FILE2 \
8930 tar tf archive | sort
8933 tar cf archive testdir
8934 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
8937 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
8940 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
8944 ) ) >"$at_stdout" 2>"$at_stderr"
8948 at_func_diff_devnull "$at_stderr" || at_failed=:
8949 echo >>"$at_stdout"; $as_echo "testdir/
8963 $at_diff - "$at_stdout" || at_failed=:
8964 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
8966 $at_failed && at_func_log_failure
8970 $as_echo "$at_srcdir/exclude04.at:20:
8974 export TEST_TAR_FORMAT
8975 TAR_OPTIONS=\"-H gnu\"
8980 test -z "`sort < /dev/null 2>&1`" || exit 77
8984 mkdir -p testdir/dir
8989 touch testdir/dir/File1
8990 touch testdir/dir/File2
8991 touch testdir/dir/File3
8992 touch testdir/dir/File4
8994 tar cf archive --exclude=FILE2 \\
9002 tar tf archive | sort
9005 tar cf archive testdir
9006 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9009 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9012 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9017 echo exclude04.at:20 >"$at_check_line_file"
9019 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9025 export TEST_TAR_FORMAT
9026 TAR_OPTIONS="-H gnu"
9031 test -z "`sort < /dev/null 2>&1`" || exit 77
9035 mkdir -p testdir/dir
9040 touch testdir/dir/File1
9041 touch testdir/dir/File2
9042 touch testdir/dir/File3
9043 touch testdir/dir/File4
9045 tar cf archive --exclude=FILE2 \
9053 tar tf archive | sort
9056 tar cf archive testdir
9057 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9060 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9063 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9067 ) ) >"$at_stdout" 2>"$at_stder1"
9068 at_func_filter_trace $?
9074 export TEST_TAR_FORMAT
9075 TAR_OPTIONS="-H gnu"
9080 test -z "`sort < /dev/null 2>&1`" || exit 77
9084 mkdir -p testdir/dir
9089 touch testdir/dir/File1
9090 touch testdir/dir/File2
9091 touch testdir/dir/File3
9092 touch testdir/dir/File4
9094 tar cf archive --exclude=FILE2 \
9102 tar tf archive | sort
9105 tar cf archive testdir
9106 tar t --wildcards --wildcards-match-slash '*File2' -f archive | sort
9109 tar t --wildcards --wildcards-match-slash --ignore-case '*File2' -f archive | sort
9112 tar t --wildcards --wildcards-match-slash --no-ignore-case '*File2' -f archive | sort
9116 ) ) >"$at_stdout" 2>"$at_stderr"
9120 at_func_diff_devnull "$at_stderr" || at_failed=:
9121 echo >>"$at_stdout"; $as_echo "testdir/
9135 $at_diff - "$at_stdout" || at_failed=:
9136 at_func_check_status 0 $at_status "$at_srcdir/exclude04.at:20"
9138 $at_failed && at_func_log_failure
9145 $at_times_p && times >"$at_times_file"
9146 ) 5>&1 2>&1 | eval $at_tee_pipe
9147 at_status=`cat "$at_status_file"`
9150 # 18. exclude05.at:19: exclude: lots of excludes
9151 at_setup_line='exclude05.at:19'
9152 at_desc="exclude: lots of excludes"
9153 $at_quiet $as_echo_n " 18: $at_desc "
9155 test -f $XFAILFILE && at_xfail=yes
9156 echo "# -*- compilation -*-" >> "$at_group_log"
9158 $as_echo "18. exclude05.at:19: testing ..."
9166 $as_echo "$at_srcdir/exclude05.at:22:
9170 export TEST_TAR_FORMAT
9171 TAR_OPTIONS=\"-H v7\"
9176 test -z "`sort < /dev/null 2>&1`" || exit 77
9179 rm -rf testdir exclfile
9181 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9184 genfile --file \$name
9187 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9189 tar cf archive --anchored --exclude-from=exclfile \\
9191 tar tf archive | sort
9194 tar cf archive --exclude-from=exclfile \\
9196 tar tf archive | sort
9198 rm -rf testdir exclfile
9201 echo exclude05.at:22 >"$at_check_line_file"
9203 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9209 export TEST_TAR_FORMAT
9215 test -z "`sort < /dev/null 2>&1`" || exit 77
9218 rm -rf testdir exclfile
9220 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9223 genfile --file $name
9226 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9228 tar cf archive --anchored --exclude-from=exclfile \
9230 tar tf archive | sort
9233 tar cf archive --exclude-from=exclfile \
9235 tar tf archive | sort
9237 rm -rf testdir exclfile
9239 ) ) >"$at_stdout" 2>"$at_stder1"
9240 at_func_filter_trace $?
9246 export TEST_TAR_FORMAT
9252 test -z "`sort < /dev/null 2>&1`" || exit 77
9255 rm -rf testdir exclfile
9257 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9260 genfile --file $name
9263 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9265 tar cf archive --anchored --exclude-from=exclfile \
9267 tar tf archive | sort
9270 tar cf archive --exclude-from=exclfile \
9272 tar tf archive | sort
9274 rm -rf testdir exclfile
9276 ) ) >"$at_stdout" 2>"$at_stderr"
9280 at_func_diff_devnull "$at_stderr" || at_failed=:
9281 echo >>"$at_stdout"; $as_echo "testdir/
9291 $at_diff - "$at_stdout" || at_failed=:
9292 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9294 $at_failed && at_func_log_failure
9298 $as_echo "$at_srcdir/exclude05.at:22:
9301 TEST_TAR_FORMAT=oldgnu
9302 export TEST_TAR_FORMAT
9303 TAR_OPTIONS=\"-H oldgnu\"
9308 test -z "`sort < /dev/null 2>&1`" || exit 77
9311 rm -rf testdir exclfile
9313 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9316 genfile --file \$name
9319 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9321 tar cf archive --anchored --exclude-from=exclfile \\
9323 tar tf archive | sort
9326 tar cf archive --exclude-from=exclfile \\
9328 tar tf archive | sort
9330 rm -rf testdir exclfile
9333 echo exclude05.at:22 >"$at_check_line_file"
9335 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9340 TEST_TAR_FORMAT=oldgnu
9341 export TEST_TAR_FORMAT
9342 TAR_OPTIONS="-H oldgnu"
9347 test -z "`sort < /dev/null 2>&1`" || exit 77
9350 rm -rf testdir exclfile
9352 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9355 genfile --file $name
9358 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9360 tar cf archive --anchored --exclude-from=exclfile \
9362 tar tf archive | sort
9365 tar cf archive --exclude-from=exclfile \
9367 tar tf archive | sort
9369 rm -rf testdir exclfile
9371 ) ) >"$at_stdout" 2>"$at_stder1"
9372 at_func_filter_trace $?
9377 TEST_TAR_FORMAT=oldgnu
9378 export TEST_TAR_FORMAT
9379 TAR_OPTIONS="-H oldgnu"
9384 test -z "`sort < /dev/null 2>&1`" || exit 77
9387 rm -rf testdir exclfile
9389 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9392 genfile --file $name
9395 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9397 tar cf archive --anchored --exclude-from=exclfile \
9399 tar tf archive | sort
9402 tar cf archive --exclude-from=exclfile \
9404 tar tf archive | sort
9406 rm -rf testdir exclfile
9408 ) ) >"$at_stdout" 2>"$at_stderr"
9412 at_func_diff_devnull "$at_stderr" || at_failed=:
9413 echo >>"$at_stdout"; $as_echo "testdir/
9423 $at_diff - "$at_stdout" || at_failed=:
9424 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9426 $at_failed && at_func_log_failure
9430 $as_echo "$at_srcdir/exclude05.at:22:
9433 TEST_TAR_FORMAT=ustar
9434 export TEST_TAR_FORMAT
9435 TAR_OPTIONS=\"-H ustar\"
9440 test -z "`sort < /dev/null 2>&1`" || exit 77
9443 rm -rf testdir exclfile
9445 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9448 genfile --file \$name
9451 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9453 tar cf archive --anchored --exclude-from=exclfile \\
9455 tar tf archive | sort
9458 tar cf archive --exclude-from=exclfile \\
9460 tar tf archive | sort
9462 rm -rf testdir exclfile
9465 echo exclude05.at:22 >"$at_check_line_file"
9467 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9472 TEST_TAR_FORMAT=ustar
9473 export TEST_TAR_FORMAT
9474 TAR_OPTIONS="-H ustar"
9479 test -z "`sort < /dev/null 2>&1`" || exit 77
9482 rm -rf testdir exclfile
9484 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9487 genfile --file $name
9490 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9492 tar cf archive --anchored --exclude-from=exclfile \
9494 tar tf archive | sort
9497 tar cf archive --exclude-from=exclfile \
9499 tar tf archive | sort
9501 rm -rf testdir exclfile
9503 ) ) >"$at_stdout" 2>"$at_stder1"
9504 at_func_filter_trace $?
9509 TEST_TAR_FORMAT=ustar
9510 export TEST_TAR_FORMAT
9511 TAR_OPTIONS="-H ustar"
9516 test -z "`sort < /dev/null 2>&1`" || exit 77
9519 rm -rf testdir exclfile
9521 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9524 genfile --file $name
9527 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9529 tar cf archive --anchored --exclude-from=exclfile \
9531 tar tf archive | sort
9534 tar cf archive --exclude-from=exclfile \
9536 tar tf archive | sort
9538 rm -rf testdir exclfile
9540 ) ) >"$at_stdout" 2>"$at_stderr"
9544 at_func_diff_devnull "$at_stderr" || at_failed=:
9545 echo >>"$at_stdout"; $as_echo "testdir/
9555 $at_diff - "$at_stdout" || at_failed=:
9556 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9558 $at_failed && at_func_log_failure
9562 $as_echo "$at_srcdir/exclude05.at:22:
9565 TEST_TAR_FORMAT=posix
9566 export TEST_TAR_FORMAT
9567 TAR_OPTIONS=\"-H posix\"
9572 test -z "`sort < /dev/null 2>&1`" || exit 77
9575 rm -rf testdir exclfile
9577 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9580 genfile --file \$name
9583 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9585 tar cf archive --anchored --exclude-from=exclfile \\
9587 tar tf archive | sort
9590 tar cf archive --exclude-from=exclfile \\
9592 tar tf archive | sort
9594 rm -rf testdir exclfile
9597 echo exclude05.at:22 >"$at_check_line_file"
9599 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9604 TEST_TAR_FORMAT=posix
9605 export TEST_TAR_FORMAT
9606 TAR_OPTIONS="-H posix"
9611 test -z "`sort < /dev/null 2>&1`" || exit 77
9614 rm -rf testdir exclfile
9616 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9619 genfile --file $name
9622 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9624 tar cf archive --anchored --exclude-from=exclfile \
9626 tar tf archive | sort
9629 tar cf archive --exclude-from=exclfile \
9631 tar tf archive | sort
9633 rm -rf testdir exclfile
9635 ) ) >"$at_stdout" 2>"$at_stder1"
9636 at_func_filter_trace $?
9641 TEST_TAR_FORMAT=posix
9642 export TEST_TAR_FORMAT
9643 TAR_OPTIONS="-H posix"
9648 test -z "`sort < /dev/null 2>&1`" || exit 77
9651 rm -rf testdir exclfile
9653 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9656 genfile --file $name
9659 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9661 tar cf archive --anchored --exclude-from=exclfile \
9663 tar tf archive | sort
9666 tar cf archive --exclude-from=exclfile \
9668 tar tf archive | sort
9670 rm -rf testdir exclfile
9672 ) ) >"$at_stdout" 2>"$at_stderr"
9676 at_func_diff_devnull "$at_stderr" || at_failed=:
9677 echo >>"$at_stdout"; $as_echo "testdir/
9687 $at_diff - "$at_stdout" || at_failed=:
9688 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9690 $at_failed && at_func_log_failure
9694 $as_echo "$at_srcdir/exclude05.at:22:
9698 export TEST_TAR_FORMAT
9699 TAR_OPTIONS=\"-H gnu\"
9704 test -z "`sort < /dev/null 2>&1`" || exit 77
9707 rm -rf testdir exclfile
9709 awk 'BEGIN {for (i=9; i < 100; ++i ) { print \"testdir/file\" i; }}' < /dev/null | \\
9712 genfile --file \$name
9715 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print \"testdir/file\" i }}' < /dev/null > exclfile
9717 tar cf archive --anchored --exclude-from=exclfile \\
9719 tar tf archive | sort
9722 tar cf archive --exclude-from=exclfile \\
9724 tar tf archive | sort
9726 rm -rf testdir exclfile
9729 echo exclude05.at:22 >"$at_check_line_file"
9731 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9737 export TEST_TAR_FORMAT
9738 TAR_OPTIONS="-H gnu"
9743 test -z "`sort < /dev/null 2>&1`" || exit 77
9746 rm -rf testdir exclfile
9748 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9751 genfile --file $name
9754 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9756 tar cf archive --anchored --exclude-from=exclfile \
9758 tar tf archive | sort
9761 tar cf archive --exclude-from=exclfile \
9763 tar tf archive | sort
9765 rm -rf testdir exclfile
9767 ) ) >"$at_stdout" 2>"$at_stder1"
9768 at_func_filter_trace $?
9774 export TEST_TAR_FORMAT
9775 TAR_OPTIONS="-H gnu"
9780 test -z "`sort < /dev/null 2>&1`" || exit 77
9783 rm -rf testdir exclfile
9785 awk 'BEGIN {for (i=9; i < 100; ++i ) { print "testdir/file" i; }}' < /dev/null | \
9788 genfile --file $name
9791 awk 'BEGIN {for (i=1000000; i >= 12; --i ) { print "testdir/file" i }}' < /dev/null > exclfile
9793 tar cf archive --anchored --exclude-from=exclfile \
9795 tar tf archive | sort
9798 tar cf archive --exclude-from=exclfile \
9800 tar tf archive | sort
9802 rm -rf testdir exclfile
9804 ) ) >"$at_stdout" 2>"$at_stderr"
9808 at_func_diff_devnull "$at_stderr" || at_failed=:
9809 echo >>"$at_stdout"; $as_echo "testdir/
9819 $at_diff - "$at_stdout" || at_failed=:
9820 at_func_check_status 0 $at_status "$at_srcdir/exclude05.at:22"
9822 $at_failed && at_func_log_failure
9829 $at_times_p && times >"$at_times_file"
9830 ) 5>&1 2>&1 | eval $at_tee_pipe
9831 at_status=`cat "$at_status_file"`
9834 # 19. delete01.at:23: deleting a member after a big one
9835 at_setup_line='delete01.at:23'
9836 at_desc="deleting a member after a big one"
9837 $at_quiet $as_echo_n " 19: $at_desc "
9839 test -f $XFAILFILE && at_xfail=yes
9840 echo "# -*- compilation -*-" >> "$at_group_log"
9842 $as_echo "19. delete01.at:23: testing ..."
9850 $as_echo "$at_srcdir/delete01.at:26:
9854 export TEST_TAR_FORMAT
9855 TAR_OPTIONS=\"-H v7\"
9859 genfile -l 50000 --file file1
9860 genfile -l 1024 --file file2
9861 tar cf archive file1 file2
9862 tar f archive --delete file2
9864 echo delete01.at:26 >"$at_check_line_file"
9866 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9872 export TEST_TAR_FORMAT
9877 genfile -l 50000 --file file1
9878 genfile -l 1024 --file file2
9879 tar cf archive file1 file2
9880 tar f archive --delete file2
9881 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
9882 at_func_filter_trace $?
9888 export TEST_TAR_FORMAT
9893 genfile -l 50000 --file file1
9894 genfile -l 1024 --file file2
9895 tar cf archive file1 file2
9896 tar f archive --delete file2
9897 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
9901 at_func_diff_devnull "$at_stderr" || at_failed=:
9902 echo >>"$at_stdout"; $as_echo "file1
9904 $at_diff - "$at_stdout" || at_failed=:
9905 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
9907 $at_failed && at_func_log_failure
9911 $as_echo "$at_srcdir/delete01.at:26:
9914 TEST_TAR_FORMAT=oldgnu
9915 export TEST_TAR_FORMAT
9916 TAR_OPTIONS=\"-H oldgnu\"
9920 genfile -l 50000 --file file1
9921 genfile -l 1024 --file file2
9922 tar cf archive file1 file2
9923 tar f archive --delete file2
9925 echo delete01.at:26 >"$at_check_line_file"
9927 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9932 TEST_TAR_FORMAT=oldgnu
9933 export TEST_TAR_FORMAT
9934 TAR_OPTIONS="-H oldgnu"
9938 genfile -l 50000 --file file1
9939 genfile -l 1024 --file file2
9940 tar cf archive file1 file2
9941 tar f archive --delete file2
9942 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
9943 at_func_filter_trace $?
9948 TEST_TAR_FORMAT=oldgnu
9949 export TEST_TAR_FORMAT
9950 TAR_OPTIONS="-H oldgnu"
9954 genfile -l 50000 --file file1
9955 genfile -l 1024 --file file2
9956 tar cf archive file1 file2
9957 tar f archive --delete file2
9958 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
9962 at_func_diff_devnull "$at_stderr" || at_failed=:
9963 echo >>"$at_stdout"; $as_echo "file1
9965 $at_diff - "$at_stdout" || at_failed=:
9966 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
9968 $at_failed && at_func_log_failure
9972 $as_echo "$at_srcdir/delete01.at:26:
9975 TEST_TAR_FORMAT=ustar
9976 export TEST_TAR_FORMAT
9977 TAR_OPTIONS=\"-H ustar\"
9981 genfile -l 50000 --file file1
9982 genfile -l 1024 --file file2
9983 tar cf archive file1 file2
9984 tar f archive --delete file2
9986 echo delete01.at:26 >"$at_check_line_file"
9988 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
9993 TEST_TAR_FORMAT=ustar
9994 export TEST_TAR_FORMAT
9995 TAR_OPTIONS="-H ustar"
9999 genfile -l 50000 --file file1
10000 genfile -l 1024 --file file2
10001 tar cf archive file1 file2
10002 tar f archive --delete file2
10003 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10004 at_func_filter_trace $?
10009 TEST_TAR_FORMAT=ustar
10010 export TEST_TAR_FORMAT
10011 TAR_OPTIONS="-H ustar"
10015 genfile -l 50000 --file file1
10016 genfile -l 1024 --file file2
10017 tar cf archive file1 file2
10018 tar f archive --delete file2
10019 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10023 at_func_diff_devnull "$at_stderr" || at_failed=:
10024 echo >>"$at_stdout"; $as_echo "file1
10026 $at_diff - "$at_stdout" || at_failed=:
10027 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10029 $at_failed && at_func_log_failure
10033 $as_echo "$at_srcdir/delete01.at:26:
10036 TEST_TAR_FORMAT=posix
10037 export TEST_TAR_FORMAT
10038 TAR_OPTIONS=\"-H posix\"
10042 genfile -l 50000 --file file1
10043 genfile -l 1024 --file file2
10044 tar cf archive file1 file2
10045 tar f archive --delete file2
10047 echo delete01.at:26 >"$at_check_line_file"
10049 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10054 TEST_TAR_FORMAT=posix
10055 export TEST_TAR_FORMAT
10056 TAR_OPTIONS="-H posix"
10060 genfile -l 50000 --file file1
10061 genfile -l 1024 --file file2
10062 tar cf archive file1 file2
10063 tar f archive --delete file2
10064 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10065 at_func_filter_trace $?
10070 TEST_TAR_FORMAT=posix
10071 export TEST_TAR_FORMAT
10072 TAR_OPTIONS="-H posix"
10076 genfile -l 50000 --file file1
10077 genfile -l 1024 --file file2
10078 tar cf archive file1 file2
10079 tar f archive --delete file2
10080 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10084 at_func_diff_devnull "$at_stderr" || at_failed=:
10085 echo >>"$at_stdout"; $as_echo "file1
10087 $at_diff - "$at_stdout" || at_failed=:
10088 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10090 $at_failed && at_func_log_failure
10094 $as_echo "$at_srcdir/delete01.at:26:
10097 TEST_TAR_FORMAT=gnu
10098 export TEST_TAR_FORMAT
10099 TAR_OPTIONS=\"-H gnu\"
10103 genfile -l 50000 --file file1
10104 genfile -l 1024 --file file2
10105 tar cf archive file1 file2
10106 tar f archive --delete file2
10108 echo delete01.at:26 >"$at_check_line_file"
10110 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10115 TEST_TAR_FORMAT=gnu
10116 export TEST_TAR_FORMAT
10117 TAR_OPTIONS="-H gnu"
10121 genfile -l 50000 --file file1
10122 genfile -l 1024 --file file2
10123 tar cf archive file1 file2
10124 tar f archive --delete file2
10125 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
10126 at_func_filter_trace $?
10131 TEST_TAR_FORMAT=gnu
10132 export TEST_TAR_FORMAT
10133 TAR_OPTIONS="-H gnu"
10137 genfile -l 50000 --file file1
10138 genfile -l 1024 --file file2
10139 tar cf archive file1 file2
10140 tar f archive --delete file2
10141 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
10145 at_func_diff_devnull "$at_stderr" || at_failed=:
10146 echo >>"$at_stdout"; $as_echo "file1
10148 $at_diff - "$at_stdout" || at_failed=:
10149 at_func_check_status 0 $at_status "$at_srcdir/delete01.at:26"
10151 $at_failed && at_func_log_failure
10158 $at_times_p && times >"$at_times_file"
10159 ) 5>&1 2>&1 | eval $at_tee_pipe
10160 at_status=`cat "$at_status_file"`
10163 # 20. delete02.at:23: deleting a member from stdin archive
10164 at_setup_line='delete02.at:23'
10165 at_desc="deleting a member from stdin archive"
10166 $at_quiet $as_echo_n " 20: $at_desc "
10168 test -f $XFAILFILE && at_xfail=yes
10169 echo "# -*- compilation -*-" >> "$at_group_log"
10171 $as_echo "20. delete02.at:23: testing ..."
10179 $as_echo "$at_srcdir/delete02.at:26:
10183 export TEST_TAR_FORMAT
10184 TAR_OPTIONS=\"-H v7\"
10188 genfile -l 3073 -p zeros --file 1
10191 tar cf archive 1 2 3
10193 cat archive | tar f - --delete 2 > archive2
10196 echo delete02.at:26 >"$at_check_line_file"
10198 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10204 export TEST_TAR_FORMAT
10205 TAR_OPTIONS="-H v7"
10209 genfile -l 3073 -p zeros --file 1
10212 tar cf archive 1 2 3
10214 cat archive | tar f - --delete 2 > archive2
10216 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10217 at_func_filter_trace $?
10223 export TEST_TAR_FORMAT
10224 TAR_OPTIONS="-H v7"
10228 genfile -l 3073 -p zeros --file 1
10231 tar cf archive 1 2 3
10233 cat archive | tar f - --delete 2 > archive2
10235 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10239 at_func_diff_devnull "$at_stderr" || at_failed=:
10240 echo >>"$at_stdout"; $as_echo "1
10247 $at_diff - "$at_stdout" || at_failed=:
10248 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10250 $at_failed && at_func_log_failure
10254 $as_echo "$at_srcdir/delete02.at:26:
10257 TEST_TAR_FORMAT=oldgnu
10258 export TEST_TAR_FORMAT
10259 TAR_OPTIONS=\"-H oldgnu\"
10263 genfile -l 3073 -p zeros --file 1
10266 tar cf archive 1 2 3
10268 cat archive | tar f - --delete 2 > archive2
10271 echo delete02.at:26 >"$at_check_line_file"
10273 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10278 TEST_TAR_FORMAT=oldgnu
10279 export TEST_TAR_FORMAT
10280 TAR_OPTIONS="-H oldgnu"
10284 genfile -l 3073 -p zeros --file 1
10287 tar cf archive 1 2 3
10289 cat archive | tar f - --delete 2 > archive2
10291 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10292 at_func_filter_trace $?
10297 TEST_TAR_FORMAT=oldgnu
10298 export TEST_TAR_FORMAT
10299 TAR_OPTIONS="-H oldgnu"
10303 genfile -l 3073 -p zeros --file 1
10306 tar cf archive 1 2 3
10308 cat archive | tar f - --delete 2 > archive2
10310 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10314 at_func_diff_devnull "$at_stderr" || at_failed=:
10315 echo >>"$at_stdout"; $as_echo "1
10322 $at_diff - "$at_stdout" || at_failed=:
10323 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10325 $at_failed && at_func_log_failure
10329 $as_echo "$at_srcdir/delete02.at:26:
10332 TEST_TAR_FORMAT=ustar
10333 export TEST_TAR_FORMAT
10334 TAR_OPTIONS=\"-H ustar\"
10338 genfile -l 3073 -p zeros --file 1
10341 tar cf archive 1 2 3
10343 cat archive | tar f - --delete 2 > archive2
10346 echo delete02.at:26 >"$at_check_line_file"
10348 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10353 TEST_TAR_FORMAT=ustar
10354 export TEST_TAR_FORMAT
10355 TAR_OPTIONS="-H ustar"
10359 genfile -l 3073 -p zeros --file 1
10362 tar cf archive 1 2 3
10364 cat archive | tar f - --delete 2 > archive2
10366 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10367 at_func_filter_trace $?
10372 TEST_TAR_FORMAT=ustar
10373 export TEST_TAR_FORMAT
10374 TAR_OPTIONS="-H ustar"
10378 genfile -l 3073 -p zeros --file 1
10381 tar cf archive 1 2 3
10383 cat archive | tar f - --delete 2 > archive2
10385 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10389 at_func_diff_devnull "$at_stderr" || at_failed=:
10390 echo >>"$at_stdout"; $as_echo "1
10397 $at_diff - "$at_stdout" || at_failed=:
10398 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10400 $at_failed && at_func_log_failure
10404 $as_echo "$at_srcdir/delete02.at:26:
10407 TEST_TAR_FORMAT=posix
10408 export TEST_TAR_FORMAT
10409 TAR_OPTIONS=\"-H posix\"
10413 genfile -l 3073 -p zeros --file 1
10416 tar cf archive 1 2 3
10418 cat archive | tar f - --delete 2 > archive2
10421 echo delete02.at:26 >"$at_check_line_file"
10423 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10428 TEST_TAR_FORMAT=posix
10429 export TEST_TAR_FORMAT
10430 TAR_OPTIONS="-H posix"
10434 genfile -l 3073 -p zeros --file 1
10437 tar cf archive 1 2 3
10439 cat archive | tar f - --delete 2 > archive2
10441 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10442 at_func_filter_trace $?
10447 TEST_TAR_FORMAT=posix
10448 export TEST_TAR_FORMAT
10449 TAR_OPTIONS="-H posix"
10453 genfile -l 3073 -p zeros --file 1
10456 tar cf archive 1 2 3
10458 cat archive | tar f - --delete 2 > archive2
10460 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10464 at_func_diff_devnull "$at_stderr" || at_failed=:
10465 echo >>"$at_stdout"; $as_echo "1
10472 $at_diff - "$at_stdout" || at_failed=:
10473 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10475 $at_failed && at_func_log_failure
10479 $as_echo "$at_srcdir/delete02.at:26:
10482 TEST_TAR_FORMAT=gnu
10483 export TEST_TAR_FORMAT
10484 TAR_OPTIONS=\"-H gnu\"
10488 genfile -l 3073 -p zeros --file 1
10491 tar cf archive 1 2 3
10493 cat archive | tar f - --delete 2 > archive2
10496 echo delete02.at:26 >"$at_check_line_file"
10498 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10503 TEST_TAR_FORMAT=gnu
10504 export TEST_TAR_FORMAT
10505 TAR_OPTIONS="-H gnu"
10509 genfile -l 3073 -p zeros --file 1
10512 tar cf archive 1 2 3
10514 cat archive | tar f - --delete 2 > archive2
10516 tar tf archive2) ) >"$at_stdout" 2>"$at_stder1"
10517 at_func_filter_trace $?
10522 TEST_TAR_FORMAT=gnu
10523 export TEST_TAR_FORMAT
10524 TAR_OPTIONS="-H gnu"
10528 genfile -l 3073 -p zeros --file 1
10531 tar cf archive 1 2 3
10533 cat archive | tar f - --delete 2 > archive2
10535 tar tf archive2) ) >"$at_stdout" 2>"$at_stderr"
10539 at_func_diff_devnull "$at_stderr" || at_failed=:
10540 echo >>"$at_stdout"; $as_echo "1
10547 $at_diff - "$at_stdout" || at_failed=:
10548 at_func_check_status 0 $at_status "$at_srcdir/delete02.at:26"
10550 $at_failed && at_func_log_failure
10557 $at_times_p && times >"$at_times_file"
10558 ) 5>&1 2>&1 | eval $at_tee_pipe
10559 at_status=`cat "$at_status_file"`
10562 # 21. delete03.at:21: deleting members with long names
10563 at_setup_line='delete03.at:21'
10564 at_desc="deleting members with long names"
10565 $at_quiet $as_echo_n " 21: $at_desc "
10567 test -f $XFAILFILE && at_xfail=yes
10568 echo "# -*- compilation -*-" >> "$at_group_log"
10570 $as_echo "21. delete03.at:21: testing ..."
10580 $as_echo "$at_srcdir/delete03.at:26:
10583 TEST_TAR_FORMAT=gnu
10584 export TEST_TAR_FORMAT
10585 TAR_OPTIONS=\"-H gnu\"
10590 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
10592 for i in 1 2 3 4 5 6 7 8 9
10593 do touch \$prefix\$i
10595 tar -cf archive ./\$prefix* &&
10596 tar --delete -f archive ./\${prefix}5 &&
10599 echo delete03.at:26 >"$at_check_line_file"
10601 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10606 TEST_TAR_FORMAT=gnu
10607 export TEST_TAR_FORMAT
10608 TAR_OPTIONS="-H gnu"
10613 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
10615 for i in 1 2 3 4 5 6 7 8 9
10618 tar -cf archive ./$prefix* &&
10619 tar --delete -f archive ./${prefix}5 &&
10621 ) ) >"$at_stdout" 2>"$at_stder1"
10622 at_func_filter_trace $?
10627 TEST_TAR_FORMAT=gnu
10628 export TEST_TAR_FORMAT
10629 TAR_OPTIONS="-H gnu"
10634 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
10636 for i in 1 2 3 4 5 6 7 8 9
10639 tar -cf archive ./$prefix* &&
10640 tar --delete -f archive ./${prefix}5 &&
10642 ) ) >"$at_stdout" 2>"$at_stderr"
10646 at_func_diff_devnull "$at_stderr" || at_failed=:
10647 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
10648 ./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
10649 ./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
10650 ./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
10651 ./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
10652 ./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
10653 ./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
10654 ./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
10656 $at_diff - "$at_stdout" || at_failed=:
10657 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
10659 $at_failed && at_func_log_failure
10663 $as_echo "$at_srcdir/delete03.at:26:
10666 TEST_TAR_FORMAT=oldgnu
10667 export TEST_TAR_FORMAT
10668 TAR_OPTIONS=\"-H oldgnu\"
10673 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
10675 for i in 1 2 3 4 5 6 7 8 9
10676 do touch \$prefix\$i
10678 tar -cf archive ./\$prefix* &&
10679 tar --delete -f archive ./\${prefix}5 &&
10682 echo delete03.at:26 >"$at_check_line_file"
10684 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10689 TEST_TAR_FORMAT=oldgnu
10690 export TEST_TAR_FORMAT
10691 TAR_OPTIONS="-H oldgnu"
10696 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
10698 for i in 1 2 3 4 5 6 7 8 9
10701 tar -cf archive ./$prefix* &&
10702 tar --delete -f archive ./${prefix}5 &&
10704 ) ) >"$at_stdout" 2>"$at_stder1"
10705 at_func_filter_trace $?
10710 TEST_TAR_FORMAT=oldgnu
10711 export TEST_TAR_FORMAT
10712 TAR_OPTIONS="-H oldgnu"
10717 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
10719 for i in 1 2 3 4 5 6 7 8 9
10722 tar -cf archive ./$prefix* &&
10723 tar --delete -f archive ./${prefix}5 &&
10725 ) ) >"$at_stdout" 2>"$at_stderr"
10729 at_func_diff_devnull "$at_stderr" || at_failed=:
10730 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
10731 ./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
10732 ./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
10733 ./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
10734 ./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
10735 ./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
10736 ./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
10737 ./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
10739 $at_diff - "$at_stdout" || at_failed=:
10740 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
10742 $at_failed && at_func_log_failure
10746 $as_echo "$at_srcdir/delete03.at:26:
10749 TEST_TAR_FORMAT=posix
10750 export TEST_TAR_FORMAT
10751 TAR_OPTIONS=\"-H posix\"
10756 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
10758 for i in 1 2 3 4 5 6 7 8 9
10759 do touch \$prefix\$i
10761 tar -cf archive ./\$prefix* &&
10762 tar --delete -f archive ./\${prefix}5 &&
10765 echo delete03.at:26 >"$at_check_line_file"
10767 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
10772 TEST_TAR_FORMAT=posix
10773 export TEST_TAR_FORMAT
10774 TAR_OPTIONS="-H posix"
10779 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
10781 for i in 1 2 3 4 5 6 7 8 9
10784 tar -cf archive ./$prefix* &&
10785 tar --delete -f archive ./${prefix}5 &&
10787 ) ) >"$at_stdout" 2>"$at_stder1"
10788 at_func_filter_trace $?
10793 TEST_TAR_FORMAT=posix
10794 export TEST_TAR_FORMAT
10795 TAR_OPTIONS="-H posix"
10800 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
10802 for i in 1 2 3 4 5 6 7 8 9
10805 tar -cf archive ./$prefix* &&
10806 tar --delete -f archive ./${prefix}5 &&
10808 ) ) >"$at_stdout" 2>"$at_stderr"
10812 at_func_diff_devnull "$at_stderr" || at_failed=:
10813 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
10814 ./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
10815 ./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
10816 ./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
10817 ./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
10818 ./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
10819 ./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
10820 ./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
10822 $at_diff - "$at_stdout" || at_failed=:
10823 at_func_check_status 0 $at_status "$at_srcdir/delete03.at:26"
10825 $at_failed && at_func_log_failure
10832 $at_times_p && times >"$at_times_file"
10833 ) 5>&1 2>&1 | eval $at_tee_pipe
10834 at_status=`cat "$at_status_file"`
10837 # 22. delete04.at:23: deleting a large last member
10838 at_setup_line='delete04.at:23'
10839 at_desc="deleting a large last member"
10840 $at_quiet $as_echo_n " 22: $at_desc "
10842 test -f $XFAILFILE && at_xfail=yes
10843 echo "# -*- compilation -*-" >> "$at_group_log"
10845 $as_echo "22. delete04.at:23: testing ..."
10853 $as_echo "$at_srcdir/delete04.at:26:
10857 export TEST_TAR_FORMAT
10858 TAR_OPTIONS=\"-H v7\"
10862 genfile -l 3 -f file1
10863 genfile -l 5 -f file2
10864 genfile -l 3 -f file3
10865 genfile -l 6 -f file4
10866 genfile -l 24 -f file5
10867 genfile -l 13 -f file6
10868 genfile -l 1385 -f file7
10869 genfile -l 30 -f file8
10870 genfile -l 10 -f file9
10871 genfile -l 256000 -f file10
10872 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
10873 tar f archive --delete file10
10876 echo delete04.at:26 >"$at_check_line_file"
10878 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10884 export TEST_TAR_FORMAT
10885 TAR_OPTIONS="-H v7"
10889 genfile -l 3 -f file1
10890 genfile -l 5 -f file2
10891 genfile -l 3 -f file3
10892 genfile -l 6 -f file4
10893 genfile -l 24 -f file5
10894 genfile -l 13 -f file6
10895 genfile -l 1385 -f file7
10896 genfile -l 30 -f file8
10897 genfile -l 10 -f file9
10898 genfile -l 256000 -f file10
10899 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
10900 tar f archive --delete file10
10902 ) ) >"$at_stdout" 2>"$at_stder1"
10903 at_func_filter_trace $?
10909 export TEST_TAR_FORMAT
10910 TAR_OPTIONS="-H v7"
10914 genfile -l 3 -f file1
10915 genfile -l 5 -f file2
10916 genfile -l 3 -f file3
10917 genfile -l 6 -f file4
10918 genfile -l 24 -f file5
10919 genfile -l 13 -f file6
10920 genfile -l 1385 -f file7
10921 genfile -l 30 -f file8
10922 genfile -l 10 -f file9
10923 genfile -l 256000 -f file10
10924 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
10925 tar f archive --delete file10
10927 ) ) >"$at_stdout" 2>"$at_stderr"
10931 at_func_diff_devnull "$at_stderr" || at_failed=:
10932 echo >>"$at_stdout"; $as_echo "file1
10942 $at_diff - "$at_stdout" || at_failed=:
10943 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
10945 $at_failed && at_func_log_failure
10949 $as_echo "$at_srcdir/delete04.at:26:
10952 TEST_TAR_FORMAT=oldgnu
10953 export TEST_TAR_FORMAT
10954 TAR_OPTIONS=\"-H oldgnu\"
10958 genfile -l 3 -f file1
10959 genfile -l 5 -f file2
10960 genfile -l 3 -f file3
10961 genfile -l 6 -f file4
10962 genfile -l 24 -f file5
10963 genfile -l 13 -f file6
10964 genfile -l 1385 -f file7
10965 genfile -l 30 -f file8
10966 genfile -l 10 -f file9
10967 genfile -l 256000 -f file10
10968 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
10969 tar f archive --delete file10
10972 echo delete04.at:26 >"$at_check_line_file"
10974 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
10979 TEST_TAR_FORMAT=oldgnu
10980 export TEST_TAR_FORMAT
10981 TAR_OPTIONS="-H oldgnu"
10985 genfile -l 3 -f file1
10986 genfile -l 5 -f file2
10987 genfile -l 3 -f file3
10988 genfile -l 6 -f file4
10989 genfile -l 24 -f file5
10990 genfile -l 13 -f file6
10991 genfile -l 1385 -f file7
10992 genfile -l 30 -f file8
10993 genfile -l 10 -f file9
10994 genfile -l 256000 -f file10
10995 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
10996 tar f archive --delete file10
10998 ) ) >"$at_stdout" 2>"$at_stder1"
10999 at_func_filter_trace $?
11004 TEST_TAR_FORMAT=oldgnu
11005 export TEST_TAR_FORMAT
11006 TAR_OPTIONS="-H oldgnu"
11010 genfile -l 3 -f file1
11011 genfile -l 5 -f file2
11012 genfile -l 3 -f file3
11013 genfile -l 6 -f file4
11014 genfile -l 24 -f file5
11015 genfile -l 13 -f file6
11016 genfile -l 1385 -f file7
11017 genfile -l 30 -f file8
11018 genfile -l 10 -f file9
11019 genfile -l 256000 -f file10
11020 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11021 tar f archive --delete file10
11023 ) ) >"$at_stdout" 2>"$at_stderr"
11027 at_func_diff_devnull "$at_stderr" || at_failed=:
11028 echo >>"$at_stdout"; $as_echo "file1
11038 $at_diff - "$at_stdout" || at_failed=:
11039 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11041 $at_failed && at_func_log_failure
11045 $as_echo "$at_srcdir/delete04.at:26:
11048 TEST_TAR_FORMAT=ustar
11049 export TEST_TAR_FORMAT
11050 TAR_OPTIONS=\"-H ustar\"
11054 genfile -l 3 -f file1
11055 genfile -l 5 -f file2
11056 genfile -l 3 -f file3
11057 genfile -l 6 -f file4
11058 genfile -l 24 -f file5
11059 genfile -l 13 -f file6
11060 genfile -l 1385 -f file7
11061 genfile -l 30 -f file8
11062 genfile -l 10 -f file9
11063 genfile -l 256000 -f file10
11064 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11065 tar f archive --delete file10
11068 echo delete04.at:26 >"$at_check_line_file"
11070 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11075 TEST_TAR_FORMAT=ustar
11076 export TEST_TAR_FORMAT
11077 TAR_OPTIONS="-H ustar"
11081 genfile -l 3 -f file1
11082 genfile -l 5 -f file2
11083 genfile -l 3 -f file3
11084 genfile -l 6 -f file4
11085 genfile -l 24 -f file5
11086 genfile -l 13 -f file6
11087 genfile -l 1385 -f file7
11088 genfile -l 30 -f file8
11089 genfile -l 10 -f file9
11090 genfile -l 256000 -f file10
11091 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11092 tar f archive --delete file10
11094 ) ) >"$at_stdout" 2>"$at_stder1"
11095 at_func_filter_trace $?
11100 TEST_TAR_FORMAT=ustar
11101 export TEST_TAR_FORMAT
11102 TAR_OPTIONS="-H ustar"
11106 genfile -l 3 -f file1
11107 genfile -l 5 -f file2
11108 genfile -l 3 -f file3
11109 genfile -l 6 -f file4
11110 genfile -l 24 -f file5
11111 genfile -l 13 -f file6
11112 genfile -l 1385 -f file7
11113 genfile -l 30 -f file8
11114 genfile -l 10 -f file9
11115 genfile -l 256000 -f file10
11116 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11117 tar f archive --delete file10
11119 ) ) >"$at_stdout" 2>"$at_stderr"
11123 at_func_diff_devnull "$at_stderr" || at_failed=:
11124 echo >>"$at_stdout"; $as_echo "file1
11134 $at_diff - "$at_stdout" || at_failed=:
11135 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11137 $at_failed && at_func_log_failure
11141 $as_echo "$at_srcdir/delete04.at:26:
11144 TEST_TAR_FORMAT=posix
11145 export TEST_TAR_FORMAT
11146 TAR_OPTIONS=\"-H posix\"
11150 genfile -l 3 -f file1
11151 genfile -l 5 -f file2
11152 genfile -l 3 -f file3
11153 genfile -l 6 -f file4
11154 genfile -l 24 -f file5
11155 genfile -l 13 -f file6
11156 genfile -l 1385 -f file7
11157 genfile -l 30 -f file8
11158 genfile -l 10 -f file9
11159 genfile -l 256000 -f file10
11160 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11161 tar f archive --delete file10
11164 echo delete04.at:26 >"$at_check_line_file"
11166 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11171 TEST_TAR_FORMAT=posix
11172 export TEST_TAR_FORMAT
11173 TAR_OPTIONS="-H posix"
11177 genfile -l 3 -f file1
11178 genfile -l 5 -f file2
11179 genfile -l 3 -f file3
11180 genfile -l 6 -f file4
11181 genfile -l 24 -f file5
11182 genfile -l 13 -f file6
11183 genfile -l 1385 -f file7
11184 genfile -l 30 -f file8
11185 genfile -l 10 -f file9
11186 genfile -l 256000 -f file10
11187 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11188 tar f archive --delete file10
11190 ) ) >"$at_stdout" 2>"$at_stder1"
11191 at_func_filter_trace $?
11196 TEST_TAR_FORMAT=posix
11197 export TEST_TAR_FORMAT
11198 TAR_OPTIONS="-H posix"
11202 genfile -l 3 -f file1
11203 genfile -l 5 -f file2
11204 genfile -l 3 -f file3
11205 genfile -l 6 -f file4
11206 genfile -l 24 -f file5
11207 genfile -l 13 -f file6
11208 genfile -l 1385 -f file7
11209 genfile -l 30 -f file8
11210 genfile -l 10 -f file9
11211 genfile -l 256000 -f file10
11212 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11213 tar f archive --delete file10
11215 ) ) >"$at_stdout" 2>"$at_stderr"
11219 at_func_diff_devnull "$at_stderr" || at_failed=:
11220 echo >>"$at_stdout"; $as_echo "file1
11230 $at_diff - "$at_stdout" || at_failed=:
11231 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11233 $at_failed && at_func_log_failure
11237 $as_echo "$at_srcdir/delete04.at:26:
11240 TEST_TAR_FORMAT=gnu
11241 export TEST_TAR_FORMAT
11242 TAR_OPTIONS=\"-H gnu\"
11246 genfile -l 3 -f file1
11247 genfile -l 5 -f file2
11248 genfile -l 3 -f file3
11249 genfile -l 6 -f file4
11250 genfile -l 24 -f file5
11251 genfile -l 13 -f file6
11252 genfile -l 1385 -f file7
11253 genfile -l 30 -f file8
11254 genfile -l 10 -f file9
11255 genfile -l 256000 -f file10
11256 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11257 tar f archive --delete file10
11260 echo delete04.at:26 >"$at_check_line_file"
11262 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11267 TEST_TAR_FORMAT=gnu
11268 export TEST_TAR_FORMAT
11269 TAR_OPTIONS="-H gnu"
11273 genfile -l 3 -f file1
11274 genfile -l 5 -f file2
11275 genfile -l 3 -f file3
11276 genfile -l 6 -f file4
11277 genfile -l 24 -f file5
11278 genfile -l 13 -f file6
11279 genfile -l 1385 -f file7
11280 genfile -l 30 -f file8
11281 genfile -l 10 -f file9
11282 genfile -l 256000 -f file10
11283 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11284 tar f archive --delete file10
11286 ) ) >"$at_stdout" 2>"$at_stder1"
11287 at_func_filter_trace $?
11292 TEST_TAR_FORMAT=gnu
11293 export TEST_TAR_FORMAT
11294 TAR_OPTIONS="-H gnu"
11298 genfile -l 3 -f file1
11299 genfile -l 5 -f file2
11300 genfile -l 3 -f file3
11301 genfile -l 6 -f file4
11302 genfile -l 24 -f file5
11303 genfile -l 13 -f file6
11304 genfile -l 1385 -f file7
11305 genfile -l 30 -f file8
11306 genfile -l 10 -f file9
11307 genfile -l 256000 -f file10
11308 tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10
11309 tar f archive --delete file10
11311 ) ) >"$at_stdout" 2>"$at_stderr"
11315 at_func_diff_devnull "$at_stderr" || at_failed=:
11316 echo >>"$at_stdout"; $as_echo "file1
11326 $at_diff - "$at_stdout" || at_failed=:
11327 at_func_check_status 0 $at_status "$at_srcdir/delete04.at:26"
11329 $at_failed && at_func_log_failure
11336 $at_times_p && times >"$at_times_file"
11337 ) 5>&1 2>&1 | eval $at_tee_pipe
11338 at_status=`cat "$at_status_file"`
11341 # 23. delete05.at:27: deleting non-existing member
11342 at_setup_line='delete05.at:27'
11343 at_desc="deleting non-existing member"
11344 $at_quiet $as_echo_n " 23: $at_desc "
11346 test -f $XFAILFILE && at_xfail=yes
11347 echo "# -*- compilation -*-" >> "$at_group_log"
11349 $as_echo "23. delete05.at:27: testing ..."
11357 $as_echo "$at_srcdir/delete05.at:30:
11361 export TEST_TAR_FORMAT
11362 TAR_OPTIONS=\"-H v7\"
11366 genfile -l 1024 -f en
11367 genfile -l 1024 -f to
11369 tar cf archive en to
11370 # Make sure we don't use bogus blocking factor.
11371 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11372 tar --file archive --blocking-factor=20 --delete tre
11375 echo delete05.at:30 >"$at_check_line_file"
11377 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11383 export TEST_TAR_FORMAT
11384 TAR_OPTIONS="-H v7"
11388 genfile -l 1024 -f en
11389 genfile -l 1024 -f to
11391 tar cf archive en to
11392 # Make sure we don't use bogus blocking factor.
11393 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11394 tar --file archive --blocking-factor=20 --delete tre
11396 ) ) >"$at_stdout" 2>"$at_stder1"
11397 at_func_filter_trace $?
11403 export TEST_TAR_FORMAT
11404 TAR_OPTIONS="-H v7"
11408 genfile -l 1024 -f en
11409 genfile -l 1024 -f to
11411 tar cf archive en to
11412 # Make sure we don't use bogus blocking factor.
11413 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11414 tar --file archive --blocking-factor=20 --delete tre
11416 ) ) >"$at_stdout" 2>"$at_stderr"
11420 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11421 tar: Exiting with failure status due to previous errors
11423 $at_diff - "$at_stderr" || at_failed=:
11424 echo >>"$at_stdout"; $as_echo "en
11427 $at_diff - "$at_stdout" || at_failed=:
11428 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11430 $at_failed && at_func_log_failure
11434 $as_echo "$at_srcdir/delete05.at:30:
11437 TEST_TAR_FORMAT=oldgnu
11438 export TEST_TAR_FORMAT
11439 TAR_OPTIONS=\"-H oldgnu\"
11443 genfile -l 1024 -f en
11444 genfile -l 1024 -f to
11446 tar cf archive en to
11447 # Make sure we don't use bogus blocking factor.
11448 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11449 tar --file archive --blocking-factor=20 --delete tre
11452 echo delete05.at:30 >"$at_check_line_file"
11454 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11459 TEST_TAR_FORMAT=oldgnu
11460 export TEST_TAR_FORMAT
11461 TAR_OPTIONS="-H oldgnu"
11465 genfile -l 1024 -f en
11466 genfile -l 1024 -f to
11468 tar cf archive en to
11469 # Make sure we don't use bogus blocking factor.
11470 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11471 tar --file archive --blocking-factor=20 --delete tre
11473 ) ) >"$at_stdout" 2>"$at_stder1"
11474 at_func_filter_trace $?
11479 TEST_TAR_FORMAT=oldgnu
11480 export TEST_TAR_FORMAT
11481 TAR_OPTIONS="-H oldgnu"
11485 genfile -l 1024 -f en
11486 genfile -l 1024 -f to
11488 tar cf archive en to
11489 # Make sure we don't use bogus blocking factor.
11490 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11491 tar --file archive --blocking-factor=20 --delete tre
11493 ) ) >"$at_stdout" 2>"$at_stderr"
11497 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11498 tar: Exiting with failure status due to previous errors
11500 $at_diff - "$at_stderr" || at_failed=:
11501 echo >>"$at_stdout"; $as_echo "en
11504 $at_diff - "$at_stdout" || at_failed=:
11505 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11507 $at_failed && at_func_log_failure
11511 $as_echo "$at_srcdir/delete05.at:30:
11514 TEST_TAR_FORMAT=ustar
11515 export TEST_TAR_FORMAT
11516 TAR_OPTIONS=\"-H ustar\"
11520 genfile -l 1024 -f en
11521 genfile -l 1024 -f to
11523 tar cf archive en to
11524 # Make sure we don't use bogus blocking factor.
11525 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11526 tar --file archive --blocking-factor=20 --delete tre
11529 echo delete05.at:30 >"$at_check_line_file"
11531 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11536 TEST_TAR_FORMAT=ustar
11537 export TEST_TAR_FORMAT
11538 TAR_OPTIONS="-H ustar"
11542 genfile -l 1024 -f en
11543 genfile -l 1024 -f to
11545 tar cf archive en to
11546 # Make sure we don't use bogus blocking factor.
11547 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11548 tar --file archive --blocking-factor=20 --delete tre
11550 ) ) >"$at_stdout" 2>"$at_stder1"
11551 at_func_filter_trace $?
11556 TEST_TAR_FORMAT=ustar
11557 export TEST_TAR_FORMAT
11558 TAR_OPTIONS="-H ustar"
11562 genfile -l 1024 -f en
11563 genfile -l 1024 -f to
11565 tar cf archive en to
11566 # Make sure we don't use bogus blocking factor.
11567 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11568 tar --file archive --blocking-factor=20 --delete tre
11570 ) ) >"$at_stdout" 2>"$at_stderr"
11574 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11575 tar: Exiting with failure status due to previous errors
11577 $at_diff - "$at_stderr" || at_failed=:
11578 echo >>"$at_stdout"; $as_echo "en
11581 $at_diff - "$at_stdout" || at_failed=:
11582 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11584 $at_failed && at_func_log_failure
11588 $as_echo "$at_srcdir/delete05.at:30:
11591 TEST_TAR_FORMAT=posix
11592 export TEST_TAR_FORMAT
11593 TAR_OPTIONS=\"-H posix\"
11597 genfile -l 1024 -f en
11598 genfile -l 1024 -f to
11600 tar cf archive en to
11601 # Make sure we don't use bogus blocking factor.
11602 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11603 tar --file archive --blocking-factor=20 --delete tre
11606 echo delete05.at:30 >"$at_check_line_file"
11608 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11613 TEST_TAR_FORMAT=posix
11614 export TEST_TAR_FORMAT
11615 TAR_OPTIONS="-H posix"
11619 genfile -l 1024 -f en
11620 genfile -l 1024 -f to
11622 tar cf archive en to
11623 # Make sure we don't use bogus blocking factor.
11624 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11625 tar --file archive --blocking-factor=20 --delete tre
11627 ) ) >"$at_stdout" 2>"$at_stder1"
11628 at_func_filter_trace $?
11633 TEST_TAR_FORMAT=posix
11634 export TEST_TAR_FORMAT
11635 TAR_OPTIONS="-H posix"
11639 genfile -l 1024 -f en
11640 genfile -l 1024 -f to
11642 tar cf archive en to
11643 # Make sure we don't use bogus blocking factor.
11644 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11645 tar --file archive --blocking-factor=20 --delete tre
11647 ) ) >"$at_stdout" 2>"$at_stderr"
11651 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11652 tar: Exiting with failure status due to previous errors
11654 $at_diff - "$at_stderr" || at_failed=:
11655 echo >>"$at_stdout"; $as_echo "en
11658 $at_diff - "$at_stdout" || at_failed=:
11659 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11661 $at_failed && at_func_log_failure
11665 $as_echo "$at_srcdir/delete05.at:30:
11668 TEST_TAR_FORMAT=gnu
11669 export TEST_TAR_FORMAT
11670 TAR_OPTIONS=\"-H gnu\"
11674 genfile -l 1024 -f en
11675 genfile -l 1024 -f to
11677 tar cf archive en to
11678 # Make sure we don't use bogus blocking factor.
11679 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11680 tar --file archive --blocking-factor=20 --delete tre
11683 echo delete05.at:30 >"$at_check_line_file"
11685 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11690 TEST_TAR_FORMAT=gnu
11691 export TEST_TAR_FORMAT
11692 TAR_OPTIONS="-H gnu"
11696 genfile -l 1024 -f en
11697 genfile -l 1024 -f to
11699 tar cf archive en to
11700 # Make sure we don't use bogus blocking factor.
11701 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11702 tar --file archive --blocking-factor=20 --delete tre
11704 ) ) >"$at_stdout" 2>"$at_stder1"
11705 at_func_filter_trace $?
11710 TEST_TAR_FORMAT=gnu
11711 export TEST_TAR_FORMAT
11712 TAR_OPTIONS="-H gnu"
11716 genfile -l 1024 -f en
11717 genfile -l 1024 -f to
11719 tar cf archive en to
11720 # Make sure we don't use bogus blocking factor.
11721 # GNU tar up to and including 1.14.91 produced an empty archive this way:
11722 tar --file archive --blocking-factor=20 --delete tre
11724 ) ) >"$at_stdout" 2>"$at_stderr"
11728 echo >>"$at_stderr"; $as_echo "tar: tre: Not found in archive
11729 tar: Exiting with failure status due to previous errors
11731 $at_diff - "$at_stderr" || at_failed=:
11732 echo >>"$at_stdout"; $as_echo "en
11735 $at_diff - "$at_stdout" || at_failed=:
11736 at_func_check_status 0 $at_status "$at_srcdir/delete05.at:30"
11738 $at_failed && at_func_log_failure
11745 $at_times_p && times >"$at_times_file"
11746 ) 5>&1 2>&1 | eval $at_tee_pipe
11747 at_status=`cat "$at_status_file"`
11750 # 24. extrac01.at:23: extract over an existing directory
11751 at_setup_line='extrac01.at:23'
11752 at_desc="extract over an existing directory"
11753 $at_quiet $as_echo_n " 24: $at_desc "
11755 test -f $XFAILFILE && at_xfail=yes
11756 echo "# -*- compilation -*-" >> "$at_group_log"
11758 $as_echo "24. extrac01.at:23: testing ..."
11766 $as_echo "$at_srcdir/extrac01.at:26:
11770 export TEST_TAR_FORMAT
11771 TAR_OPTIONS=\"-H v7\"
11776 touch directory/file
11777 tar cf archive directory || exit 1
11778 tar xf archive || exit 1
11780 echo extrac01.at:26 >"$at_check_line_file"
11782 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11788 export TEST_TAR_FORMAT
11789 TAR_OPTIONS="-H v7"
11794 touch directory/file
11795 tar cf archive directory || exit 1
11796 tar xf archive || exit 1
11797 ) ) >"$at_stdout" 2>"$at_stder1"
11798 at_func_filter_trace $?
11804 export TEST_TAR_FORMAT
11805 TAR_OPTIONS="-H v7"
11810 touch directory/file
11811 tar cf archive directory || exit 1
11812 tar xf archive || exit 1
11813 ) ) >"$at_stdout" 2>"$at_stderr"
11817 at_func_diff_devnull "$at_stderr" || at_failed=:
11818 at_func_diff_devnull "$at_stdout" || at_failed=:
11819 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
11821 $at_failed && at_func_log_failure
11825 $as_echo "$at_srcdir/extrac01.at:26:
11828 TEST_TAR_FORMAT=oldgnu
11829 export TEST_TAR_FORMAT
11830 TAR_OPTIONS=\"-H oldgnu\"
11835 touch directory/file
11836 tar cf archive directory || exit 1
11837 tar xf archive || exit 1
11839 echo extrac01.at:26 >"$at_check_line_file"
11841 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11846 TEST_TAR_FORMAT=oldgnu
11847 export TEST_TAR_FORMAT
11848 TAR_OPTIONS="-H oldgnu"
11853 touch directory/file
11854 tar cf archive directory || exit 1
11855 tar xf archive || exit 1
11856 ) ) >"$at_stdout" 2>"$at_stder1"
11857 at_func_filter_trace $?
11862 TEST_TAR_FORMAT=oldgnu
11863 export TEST_TAR_FORMAT
11864 TAR_OPTIONS="-H oldgnu"
11869 touch directory/file
11870 tar cf archive directory || exit 1
11871 tar xf archive || exit 1
11872 ) ) >"$at_stdout" 2>"$at_stderr"
11876 at_func_diff_devnull "$at_stderr" || at_failed=:
11877 at_func_diff_devnull "$at_stdout" || at_failed=:
11878 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
11880 $at_failed && at_func_log_failure
11884 $as_echo "$at_srcdir/extrac01.at:26:
11887 TEST_TAR_FORMAT=ustar
11888 export TEST_TAR_FORMAT
11889 TAR_OPTIONS=\"-H ustar\"
11894 touch directory/file
11895 tar cf archive directory || exit 1
11896 tar xf archive || exit 1
11898 echo extrac01.at:26 >"$at_check_line_file"
11900 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11905 TEST_TAR_FORMAT=ustar
11906 export TEST_TAR_FORMAT
11907 TAR_OPTIONS="-H ustar"
11912 touch directory/file
11913 tar cf archive directory || exit 1
11914 tar xf archive || exit 1
11915 ) ) >"$at_stdout" 2>"$at_stder1"
11916 at_func_filter_trace $?
11921 TEST_TAR_FORMAT=ustar
11922 export TEST_TAR_FORMAT
11923 TAR_OPTIONS="-H ustar"
11928 touch directory/file
11929 tar cf archive directory || exit 1
11930 tar xf archive || exit 1
11931 ) ) >"$at_stdout" 2>"$at_stderr"
11935 at_func_diff_devnull "$at_stderr" || at_failed=:
11936 at_func_diff_devnull "$at_stdout" || at_failed=:
11937 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
11939 $at_failed && at_func_log_failure
11943 $as_echo "$at_srcdir/extrac01.at:26:
11946 TEST_TAR_FORMAT=posix
11947 export TEST_TAR_FORMAT
11948 TAR_OPTIONS=\"-H posix\"
11953 touch directory/file
11954 tar cf archive directory || exit 1
11955 tar xf archive || exit 1
11957 echo extrac01.at:26 >"$at_check_line_file"
11959 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
11964 TEST_TAR_FORMAT=posix
11965 export TEST_TAR_FORMAT
11966 TAR_OPTIONS="-H posix"
11971 touch directory/file
11972 tar cf archive directory || exit 1
11973 tar xf archive || exit 1
11974 ) ) >"$at_stdout" 2>"$at_stder1"
11975 at_func_filter_trace $?
11980 TEST_TAR_FORMAT=posix
11981 export TEST_TAR_FORMAT
11982 TAR_OPTIONS="-H posix"
11987 touch directory/file
11988 tar cf archive directory || exit 1
11989 tar xf archive || exit 1
11990 ) ) >"$at_stdout" 2>"$at_stderr"
11994 at_func_diff_devnull "$at_stderr" || at_failed=:
11995 at_func_diff_devnull "$at_stdout" || at_failed=:
11996 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
11998 $at_failed && at_func_log_failure
12002 $as_echo "$at_srcdir/extrac01.at:26:
12005 TEST_TAR_FORMAT=gnu
12006 export TEST_TAR_FORMAT
12007 TAR_OPTIONS=\"-H gnu\"
12012 touch directory/file
12013 tar cf archive directory || exit 1
12014 tar xf archive || exit 1
12016 echo extrac01.at:26 >"$at_check_line_file"
12018 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12023 TEST_TAR_FORMAT=gnu
12024 export TEST_TAR_FORMAT
12025 TAR_OPTIONS="-H gnu"
12030 touch directory/file
12031 tar cf archive directory || exit 1
12032 tar xf archive || exit 1
12033 ) ) >"$at_stdout" 2>"$at_stder1"
12034 at_func_filter_trace $?
12039 TEST_TAR_FORMAT=gnu
12040 export TEST_TAR_FORMAT
12041 TAR_OPTIONS="-H gnu"
12046 touch directory/file
12047 tar cf archive directory || exit 1
12048 tar xf archive || exit 1
12049 ) ) >"$at_stdout" 2>"$at_stderr"
12053 at_func_diff_devnull "$at_stderr" || at_failed=:
12054 at_func_diff_devnull "$at_stdout" || at_failed=:
12055 at_func_check_status 0 $at_status "$at_srcdir/extrac01.at:26"
12057 $at_failed && at_func_log_failure
12064 $at_times_p && times >"$at_times_file"
12065 ) 5>&1 2>&1 | eval $at_tee_pipe
12066 at_status=`cat "$at_status_file"`
12069 # 25. extrac02.at:23: extracting symlinks over an existing file
12070 at_setup_line='extrac02.at:23'
12071 at_desc="extracting symlinks over an existing file"
12072 $at_quiet $as_echo_n " 25: $at_desc "
12074 test -f $XFAILFILE && at_xfail=yes
12075 echo "# -*- compilation -*-" >> "$at_group_log"
12077 $as_echo "25. extrac02.at:23: testing ..."
12082 # FIXME: Skip if symlinks are not supported on the system
12087 $as_echo "$at_srcdir/extrac02.at:28:
12091 export TEST_TAR_FORMAT
12092 TAR_OPTIONS=\"-H v7\"
12097 ln -s file link 2> /dev/null || ln file link
12098 tar cf archive link
12103 echo extrac02.at:28 >"$at_check_line_file"
12105 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12111 export TEST_TAR_FORMAT
12112 TAR_OPTIONS="-H v7"
12117 ln -s file link 2> /dev/null || ln file link
12118 tar cf archive link
12122 ) ) >"$at_stdout" 2>"$at_stder1"
12123 at_func_filter_trace $?
12129 export TEST_TAR_FORMAT
12130 TAR_OPTIONS="-H v7"
12135 ln -s file link 2> /dev/null || ln file link
12136 tar cf archive link
12140 ) ) >"$at_stdout" 2>"$at_stderr"
12144 at_func_diff_devnull "$at_stderr" || at_failed=:
12145 at_func_diff_devnull "$at_stdout" || at_failed=:
12146 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12148 $at_failed && at_func_log_failure
12152 $as_echo "$at_srcdir/extrac02.at:28:
12155 TEST_TAR_FORMAT=oldgnu
12156 export TEST_TAR_FORMAT
12157 TAR_OPTIONS=\"-H oldgnu\"
12162 ln -s file link 2> /dev/null || ln file link
12163 tar cf archive link
12168 echo extrac02.at:28 >"$at_check_line_file"
12170 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12175 TEST_TAR_FORMAT=oldgnu
12176 export TEST_TAR_FORMAT
12177 TAR_OPTIONS="-H oldgnu"
12182 ln -s file link 2> /dev/null || ln file link
12183 tar cf archive link
12187 ) ) >"$at_stdout" 2>"$at_stder1"
12188 at_func_filter_trace $?
12193 TEST_TAR_FORMAT=oldgnu
12194 export TEST_TAR_FORMAT
12195 TAR_OPTIONS="-H oldgnu"
12200 ln -s file link 2> /dev/null || ln file link
12201 tar cf archive link
12205 ) ) >"$at_stdout" 2>"$at_stderr"
12209 at_func_diff_devnull "$at_stderr" || at_failed=:
12210 at_func_diff_devnull "$at_stdout" || at_failed=:
12211 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12213 $at_failed && at_func_log_failure
12217 $as_echo "$at_srcdir/extrac02.at:28:
12220 TEST_TAR_FORMAT=ustar
12221 export TEST_TAR_FORMAT
12222 TAR_OPTIONS=\"-H ustar\"
12227 ln -s file link 2> /dev/null || ln file link
12228 tar cf archive link
12233 echo extrac02.at:28 >"$at_check_line_file"
12235 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12240 TEST_TAR_FORMAT=ustar
12241 export TEST_TAR_FORMAT
12242 TAR_OPTIONS="-H ustar"
12247 ln -s file link 2> /dev/null || ln file link
12248 tar cf archive link
12252 ) ) >"$at_stdout" 2>"$at_stder1"
12253 at_func_filter_trace $?
12258 TEST_TAR_FORMAT=ustar
12259 export TEST_TAR_FORMAT
12260 TAR_OPTIONS="-H ustar"
12265 ln -s file link 2> /dev/null || ln file link
12266 tar cf archive link
12270 ) ) >"$at_stdout" 2>"$at_stderr"
12274 at_func_diff_devnull "$at_stderr" || at_failed=:
12275 at_func_diff_devnull "$at_stdout" || at_failed=:
12276 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12278 $at_failed && at_func_log_failure
12282 $as_echo "$at_srcdir/extrac02.at:28:
12285 TEST_TAR_FORMAT=posix
12286 export TEST_TAR_FORMAT
12287 TAR_OPTIONS=\"-H posix\"
12292 ln -s file link 2> /dev/null || ln file link
12293 tar cf archive link
12298 echo extrac02.at:28 >"$at_check_line_file"
12300 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12305 TEST_TAR_FORMAT=posix
12306 export TEST_TAR_FORMAT
12307 TAR_OPTIONS="-H posix"
12312 ln -s file link 2> /dev/null || ln file link
12313 tar cf archive link
12317 ) ) >"$at_stdout" 2>"$at_stder1"
12318 at_func_filter_trace $?
12323 TEST_TAR_FORMAT=posix
12324 export TEST_TAR_FORMAT
12325 TAR_OPTIONS="-H posix"
12330 ln -s file link 2> /dev/null || ln file link
12331 tar cf archive link
12335 ) ) >"$at_stdout" 2>"$at_stderr"
12339 at_func_diff_devnull "$at_stderr" || at_failed=:
12340 at_func_diff_devnull "$at_stdout" || at_failed=:
12341 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12343 $at_failed && at_func_log_failure
12347 $as_echo "$at_srcdir/extrac02.at:28:
12350 TEST_TAR_FORMAT=gnu
12351 export TEST_TAR_FORMAT
12352 TAR_OPTIONS=\"-H gnu\"
12357 ln -s file link 2> /dev/null || ln file link
12358 tar cf archive link
12363 echo extrac02.at:28 >"$at_check_line_file"
12365 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12370 TEST_TAR_FORMAT=gnu
12371 export TEST_TAR_FORMAT
12372 TAR_OPTIONS="-H gnu"
12377 ln -s file link 2> /dev/null || ln file link
12378 tar cf archive link
12382 ) ) >"$at_stdout" 2>"$at_stder1"
12383 at_func_filter_trace $?
12388 TEST_TAR_FORMAT=gnu
12389 export TEST_TAR_FORMAT
12390 TAR_OPTIONS="-H gnu"
12395 ln -s file link 2> /dev/null || ln file link
12396 tar cf archive link
12400 ) ) >"$at_stdout" 2>"$at_stderr"
12404 at_func_diff_devnull "$at_stderr" || at_failed=:
12405 at_func_diff_devnull "$at_stdout" || at_failed=:
12406 at_func_check_status 0 $at_status "$at_srcdir/extrac02.at:28"
12408 $at_failed && at_func_log_failure
12415 $at_times_p && times >"$at_times_file"
12416 ) 5>&1 2>&1 | eval $at_tee_pipe
12417 at_status=`cat "$at_status_file"`
12420 # 26. extrac03.at:23: extraction loops
12421 at_setup_line='extrac03.at:23'
12422 at_desc="extraction loops"
12423 $at_quiet $as_echo_n " 26: $at_desc "
12425 test -f $XFAILFILE && at_xfail=yes
12426 echo "# -*- compilation -*-" >> "$at_group_log"
12428 $as_echo "26. extrac03.at:23: testing ..."
12436 $as_echo "$at_srcdir/extrac03.at:26:
12440 export TEST_TAR_FORMAT
12441 TAR_OPTIONS=\"-H v7\"
12446 tar -cPvf archive directory/../directory
12448 tar -xPvf archive)"
12449 echo extrac03.at:26 >"$at_check_line_file"
12451 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12457 export TEST_TAR_FORMAT
12458 TAR_OPTIONS="-H v7"
12463 tar -cPvf archive directory/../directory
12465 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stder1"
12466 at_func_filter_trace $?
12472 export TEST_TAR_FORMAT
12473 TAR_OPTIONS="-H v7"
12478 tar -cPvf archive directory/../directory
12480 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stderr"
12484 at_func_diff_devnull "$at_stderr" || at_failed=:
12485 echo >>"$at_stdout"; $as_echo "directory/../directory/
12487 directory/../directory/
12489 $at_diff - "$at_stdout" || at_failed=:
12490 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12492 $at_failed && at_func_log_failure
12496 $as_echo "$at_srcdir/extrac03.at:26:
12499 TEST_TAR_FORMAT=oldgnu
12500 export TEST_TAR_FORMAT
12501 TAR_OPTIONS=\"-H oldgnu\"
12506 tar -cPvf archive directory/../directory
12508 tar -xPvf archive)"
12509 echo extrac03.at:26 >"$at_check_line_file"
12511 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12516 TEST_TAR_FORMAT=oldgnu
12517 export TEST_TAR_FORMAT
12518 TAR_OPTIONS="-H oldgnu"
12523 tar -cPvf archive directory/../directory
12525 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stder1"
12526 at_func_filter_trace $?
12531 TEST_TAR_FORMAT=oldgnu
12532 export TEST_TAR_FORMAT
12533 TAR_OPTIONS="-H oldgnu"
12538 tar -cPvf archive directory/../directory
12540 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stderr"
12544 at_func_diff_devnull "$at_stderr" || at_failed=:
12545 echo >>"$at_stdout"; $as_echo "directory/../directory/
12547 directory/../directory/
12549 $at_diff - "$at_stdout" || at_failed=:
12550 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12552 $at_failed && at_func_log_failure
12556 $as_echo "$at_srcdir/extrac03.at:26:
12559 TEST_TAR_FORMAT=ustar
12560 export TEST_TAR_FORMAT
12561 TAR_OPTIONS=\"-H ustar\"
12566 tar -cPvf archive directory/../directory
12568 tar -xPvf archive)"
12569 echo extrac03.at:26 >"$at_check_line_file"
12571 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12576 TEST_TAR_FORMAT=ustar
12577 export TEST_TAR_FORMAT
12578 TAR_OPTIONS="-H ustar"
12583 tar -cPvf archive directory/../directory
12585 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stder1"
12586 at_func_filter_trace $?
12591 TEST_TAR_FORMAT=ustar
12592 export TEST_TAR_FORMAT
12593 TAR_OPTIONS="-H ustar"
12598 tar -cPvf archive directory/../directory
12600 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stderr"
12604 at_func_diff_devnull "$at_stderr" || at_failed=:
12605 echo >>"$at_stdout"; $as_echo "directory/../directory/
12607 directory/../directory/
12609 $at_diff - "$at_stdout" || at_failed=:
12610 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12612 $at_failed && at_func_log_failure
12616 $as_echo "$at_srcdir/extrac03.at:26:
12619 TEST_TAR_FORMAT=posix
12620 export TEST_TAR_FORMAT
12621 TAR_OPTIONS=\"-H posix\"
12626 tar -cPvf archive directory/../directory
12628 tar -xPvf archive)"
12629 echo extrac03.at:26 >"$at_check_line_file"
12631 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12636 TEST_TAR_FORMAT=posix
12637 export TEST_TAR_FORMAT
12638 TAR_OPTIONS="-H posix"
12643 tar -cPvf archive directory/../directory
12645 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stder1"
12646 at_func_filter_trace $?
12651 TEST_TAR_FORMAT=posix
12652 export TEST_TAR_FORMAT
12653 TAR_OPTIONS="-H posix"
12658 tar -cPvf archive directory/../directory
12660 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stderr"
12664 at_func_diff_devnull "$at_stderr" || at_failed=:
12665 echo >>"$at_stdout"; $as_echo "directory/../directory/
12667 directory/../directory/
12669 $at_diff - "$at_stdout" || at_failed=:
12670 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12672 $at_failed && at_func_log_failure
12676 $as_echo "$at_srcdir/extrac03.at:26:
12679 TEST_TAR_FORMAT=gnu
12680 export TEST_TAR_FORMAT
12681 TAR_OPTIONS=\"-H gnu\"
12686 tar -cPvf archive directory/../directory
12688 tar -xPvf archive)"
12689 echo extrac03.at:26 >"$at_check_line_file"
12691 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12696 TEST_TAR_FORMAT=gnu
12697 export TEST_TAR_FORMAT
12698 TAR_OPTIONS="-H gnu"
12703 tar -cPvf archive directory/../directory
12705 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stder1"
12706 at_func_filter_trace $?
12711 TEST_TAR_FORMAT=gnu
12712 export TEST_TAR_FORMAT
12713 TAR_OPTIONS="-H gnu"
12718 tar -cPvf archive directory/../directory
12720 tar -xPvf archive) ) >"$at_stdout" 2>"$at_stderr"
12724 at_func_diff_devnull "$at_stderr" || at_failed=:
12725 echo >>"$at_stdout"; $as_echo "directory/../directory/
12727 directory/../directory/
12729 $at_diff - "$at_stdout" || at_failed=:
12730 at_func_check_status 0 $at_status "$at_srcdir/extrac03.at:26"
12732 $at_failed && at_func_log_failure
12739 $at_times_p && times >"$at_times_file"
12740 ) 5>&1 2>&1 | eval $at_tee_pipe
12741 at_status=`cat "$at_status_file"`
12744 # 27. extrac04.at:23: extract + fnmatch
12745 at_setup_line='extrac04.at:23'
12746 at_desc="extract + fnmatch"
12747 $at_quiet $as_echo_n " 27: $at_desc "
12749 test -f $XFAILFILE && at_xfail=yes
12750 echo "# -*- compilation -*-" >> "$at_group_log"
12752 $as_echo "27. extrac04.at:23: testing ..."
12760 $as_echo "$at_srcdir/extrac04.at:26:
12764 export TEST_TAR_FORMAT
12765 TAR_OPTIONS=\"-H v7\"
12770 test -z "`sort < /dev/null 2>&1`" || exit 77
12774 mkdir directory/subdirectory
12775 touch directory/file1
12776 touch directory/file2
12777 touch directory/subdirectory/file1
12778 touch directory/subdirectory/file2
12779 tar -cf archive ./file1 directory
12781 --exclude='./*1' \\
12782 --exclude='d*/*1' \\
12783 --exclude='d*/s*/*2' | sort
12785 echo extrac04.at:26 >"$at_check_line_file"
12787 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12793 export TEST_TAR_FORMAT
12794 TAR_OPTIONS="-H v7"
12799 test -z "`sort < /dev/null 2>&1`" || exit 77
12803 mkdir directory/subdirectory
12804 touch directory/file1
12805 touch directory/file2
12806 touch directory/subdirectory/file1
12807 touch directory/subdirectory/file2
12808 tar -cf archive ./file1 directory
12811 --exclude='d*/*1' \
12812 --exclude='d*/s*/*2' | sort
12813 ) ) >"$at_stdout" 2>"$at_stder1"
12814 at_func_filter_trace $?
12820 export TEST_TAR_FORMAT
12821 TAR_OPTIONS="-H v7"
12826 test -z "`sort < /dev/null 2>&1`" || exit 77
12830 mkdir directory/subdirectory
12831 touch directory/file1
12832 touch directory/file2
12833 touch directory/subdirectory/file1
12834 touch directory/subdirectory/file2
12835 tar -cf archive ./file1 directory
12838 --exclude='d*/*1' \
12839 --exclude='d*/s*/*2' | sort
12840 ) ) >"$at_stdout" 2>"$at_stderr"
12844 at_func_diff_devnull "$at_stderr" || at_failed=:
12845 echo >>"$at_stdout"; $as_echo "directory/
12847 directory/subdirectory/
12849 $at_diff - "$at_stdout" || at_failed=:
12850 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
12852 $at_failed && at_func_log_failure
12856 $as_echo "$at_srcdir/extrac04.at:26:
12859 TEST_TAR_FORMAT=oldgnu
12860 export TEST_TAR_FORMAT
12861 TAR_OPTIONS=\"-H oldgnu\"
12866 test -z "`sort < /dev/null 2>&1`" || exit 77
12870 mkdir directory/subdirectory
12871 touch directory/file1
12872 touch directory/file2
12873 touch directory/subdirectory/file1
12874 touch directory/subdirectory/file2
12875 tar -cf archive ./file1 directory
12877 --exclude='./*1' \\
12878 --exclude='d*/*1' \\
12879 --exclude='d*/s*/*2' | sort
12881 echo extrac04.at:26 >"$at_check_line_file"
12883 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12888 TEST_TAR_FORMAT=oldgnu
12889 export TEST_TAR_FORMAT
12890 TAR_OPTIONS="-H oldgnu"
12895 test -z "`sort < /dev/null 2>&1`" || exit 77
12899 mkdir directory/subdirectory
12900 touch directory/file1
12901 touch directory/file2
12902 touch directory/subdirectory/file1
12903 touch directory/subdirectory/file2
12904 tar -cf archive ./file1 directory
12907 --exclude='d*/*1' \
12908 --exclude='d*/s*/*2' | sort
12909 ) ) >"$at_stdout" 2>"$at_stder1"
12910 at_func_filter_trace $?
12915 TEST_TAR_FORMAT=oldgnu
12916 export TEST_TAR_FORMAT
12917 TAR_OPTIONS="-H oldgnu"
12922 test -z "`sort < /dev/null 2>&1`" || exit 77
12926 mkdir directory/subdirectory
12927 touch directory/file1
12928 touch directory/file2
12929 touch directory/subdirectory/file1
12930 touch directory/subdirectory/file2
12931 tar -cf archive ./file1 directory
12934 --exclude='d*/*1' \
12935 --exclude='d*/s*/*2' | sort
12936 ) ) >"$at_stdout" 2>"$at_stderr"
12940 at_func_diff_devnull "$at_stderr" || at_failed=:
12941 echo >>"$at_stdout"; $as_echo "directory/
12943 directory/subdirectory/
12945 $at_diff - "$at_stdout" || at_failed=:
12946 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
12948 $at_failed && at_func_log_failure
12952 $as_echo "$at_srcdir/extrac04.at:26:
12955 TEST_TAR_FORMAT=ustar
12956 export TEST_TAR_FORMAT
12957 TAR_OPTIONS=\"-H ustar\"
12962 test -z "`sort < /dev/null 2>&1`" || exit 77
12966 mkdir directory/subdirectory
12967 touch directory/file1
12968 touch directory/file2
12969 touch directory/subdirectory/file1
12970 touch directory/subdirectory/file2
12971 tar -cf archive ./file1 directory
12973 --exclude='./*1' \\
12974 --exclude='d*/*1' \\
12975 --exclude='d*/s*/*2' | sort
12977 echo extrac04.at:26 >"$at_check_line_file"
12979 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
12984 TEST_TAR_FORMAT=ustar
12985 export TEST_TAR_FORMAT
12986 TAR_OPTIONS="-H ustar"
12991 test -z "`sort < /dev/null 2>&1`" || exit 77
12995 mkdir directory/subdirectory
12996 touch directory/file1
12997 touch directory/file2
12998 touch directory/subdirectory/file1
12999 touch directory/subdirectory/file2
13000 tar -cf archive ./file1 directory
13003 --exclude='d*/*1' \
13004 --exclude='d*/s*/*2' | sort
13005 ) ) >"$at_stdout" 2>"$at_stder1"
13006 at_func_filter_trace $?
13011 TEST_TAR_FORMAT=ustar
13012 export TEST_TAR_FORMAT
13013 TAR_OPTIONS="-H ustar"
13018 test -z "`sort < /dev/null 2>&1`" || exit 77
13022 mkdir directory/subdirectory
13023 touch directory/file1
13024 touch directory/file2
13025 touch directory/subdirectory/file1
13026 touch directory/subdirectory/file2
13027 tar -cf archive ./file1 directory
13030 --exclude='d*/*1' \
13031 --exclude='d*/s*/*2' | sort
13032 ) ) >"$at_stdout" 2>"$at_stderr"
13036 at_func_diff_devnull "$at_stderr" || at_failed=:
13037 echo >>"$at_stdout"; $as_echo "directory/
13039 directory/subdirectory/
13041 $at_diff - "$at_stdout" || at_failed=:
13042 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13044 $at_failed && at_func_log_failure
13048 $as_echo "$at_srcdir/extrac04.at:26:
13051 TEST_TAR_FORMAT=posix
13052 export TEST_TAR_FORMAT
13053 TAR_OPTIONS=\"-H posix\"
13058 test -z "`sort < /dev/null 2>&1`" || exit 77
13062 mkdir directory/subdirectory
13063 touch directory/file1
13064 touch directory/file2
13065 touch directory/subdirectory/file1
13066 touch directory/subdirectory/file2
13067 tar -cf archive ./file1 directory
13069 --exclude='./*1' \\
13070 --exclude='d*/*1' \\
13071 --exclude='d*/s*/*2' | sort
13073 echo extrac04.at:26 >"$at_check_line_file"
13075 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13080 TEST_TAR_FORMAT=posix
13081 export TEST_TAR_FORMAT
13082 TAR_OPTIONS="-H posix"
13087 test -z "`sort < /dev/null 2>&1`" || exit 77
13091 mkdir directory/subdirectory
13092 touch directory/file1
13093 touch directory/file2
13094 touch directory/subdirectory/file1
13095 touch directory/subdirectory/file2
13096 tar -cf archive ./file1 directory
13099 --exclude='d*/*1' \
13100 --exclude='d*/s*/*2' | sort
13101 ) ) >"$at_stdout" 2>"$at_stder1"
13102 at_func_filter_trace $?
13107 TEST_TAR_FORMAT=posix
13108 export TEST_TAR_FORMAT
13109 TAR_OPTIONS="-H posix"
13114 test -z "`sort < /dev/null 2>&1`" || exit 77
13118 mkdir directory/subdirectory
13119 touch directory/file1
13120 touch directory/file2
13121 touch directory/subdirectory/file1
13122 touch directory/subdirectory/file2
13123 tar -cf archive ./file1 directory
13126 --exclude='d*/*1' \
13127 --exclude='d*/s*/*2' | sort
13128 ) ) >"$at_stdout" 2>"$at_stderr"
13132 at_func_diff_devnull "$at_stderr" || at_failed=:
13133 echo >>"$at_stdout"; $as_echo "directory/
13135 directory/subdirectory/
13137 $at_diff - "$at_stdout" || at_failed=:
13138 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13140 $at_failed && at_func_log_failure
13144 $as_echo "$at_srcdir/extrac04.at:26:
13147 TEST_TAR_FORMAT=gnu
13148 export TEST_TAR_FORMAT
13149 TAR_OPTIONS=\"-H gnu\"
13154 test -z "`sort < /dev/null 2>&1`" || exit 77
13158 mkdir directory/subdirectory
13159 touch directory/file1
13160 touch directory/file2
13161 touch directory/subdirectory/file1
13162 touch directory/subdirectory/file2
13163 tar -cf archive ./file1 directory
13165 --exclude='./*1' \\
13166 --exclude='d*/*1' \\
13167 --exclude='d*/s*/*2' | sort
13169 echo extrac04.at:26 >"$at_check_line_file"
13171 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13176 TEST_TAR_FORMAT=gnu
13177 export TEST_TAR_FORMAT
13178 TAR_OPTIONS="-H gnu"
13183 test -z "`sort < /dev/null 2>&1`" || exit 77
13187 mkdir directory/subdirectory
13188 touch directory/file1
13189 touch directory/file2
13190 touch directory/subdirectory/file1
13191 touch directory/subdirectory/file2
13192 tar -cf archive ./file1 directory
13195 --exclude='d*/*1' \
13196 --exclude='d*/s*/*2' | sort
13197 ) ) >"$at_stdout" 2>"$at_stder1"
13198 at_func_filter_trace $?
13203 TEST_TAR_FORMAT=gnu
13204 export TEST_TAR_FORMAT
13205 TAR_OPTIONS="-H gnu"
13210 test -z "`sort < /dev/null 2>&1`" || exit 77
13214 mkdir directory/subdirectory
13215 touch directory/file1
13216 touch directory/file2
13217 touch directory/subdirectory/file1
13218 touch directory/subdirectory/file2
13219 tar -cf archive ./file1 directory
13222 --exclude='d*/*1' \
13223 --exclude='d*/s*/*2' | sort
13224 ) ) >"$at_stdout" 2>"$at_stderr"
13228 at_func_diff_devnull "$at_stderr" || at_failed=:
13229 echo >>"$at_stdout"; $as_echo "directory/
13231 directory/subdirectory/
13233 $at_diff - "$at_stdout" || at_failed=:
13234 at_func_check_status 0 $at_status "$at_srcdir/extrac04.at:26"
13236 $at_failed && at_func_log_failure
13243 $at_times_p && times >"$at_times_file"
13244 ) 5>&1 2>&1 | eval $at_tee_pipe
13245 at_status=`cat "$at_status_file"`
13248 # 28. extrac05.at:30: extracting selected members from pax
13249 at_setup_line='extrac05.at:30'
13250 at_desc="extracting selected members from pax"
13251 $at_quiet $as_echo_n " 28: $at_desc "
13253 test -f $XFAILFILE && at_xfail=yes
13254 echo "# -*- compilation -*-" >> "$at_group_log"
13256 $as_echo "28. extrac05.at:30: testing ..."
13261 cat >list <<'_ATEOF'
13270 $as_echo "$at_srcdir/extrac05.at:38:
13273 TEST_TAR_FORMAT=posix
13274 export TEST_TAR_FORMAT
13275 TAR_OPTIONS=\"-H posix\"
13279 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13280 genfile --length 118 --file jeden
13281 genfile --length 223 --file dwa
13282 genfile --length 517 --file trzy
13283 genfile --length 110 --file cztery
13285 tar cf archive jeden dwa trzy cztery || exit 1
13290 tar xvfT ../archive ../../list || exit 1
13294 echo extrac05.at:38 >"$at_check_line_file"
13296 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13301 TEST_TAR_FORMAT=posix
13302 export TEST_TAR_FORMAT
13303 TAR_OPTIONS="-H posix"
13307 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13308 genfile --length 118 --file jeden
13309 genfile --length 223 --file dwa
13310 genfile --length 517 --file trzy
13311 genfile --length 110 --file cztery
13313 tar cf archive jeden dwa trzy cztery || exit 1
13318 tar xvfT ../archive ../../list || exit 1
13321 ) ) >"$at_stdout" 2>"$at_stder1"
13322 at_func_filter_trace $?
13327 TEST_TAR_FORMAT=posix
13328 export TEST_TAR_FORMAT
13329 TAR_OPTIONS="-H posix"
13333 genfile --sparse --file sparsefile 0 ABCD 1M EFGH 2000K IJKL || exit 77
13334 genfile --length 118 --file jeden
13335 genfile --length 223 --file dwa
13336 genfile --length 517 --file trzy
13337 genfile --length 110 --file cztery
13339 tar cf archive jeden dwa trzy cztery || exit 1
13344 tar xvfT ../archive ../../list || exit 1
13347 ) ) >"$at_stdout" 2>"$at_stderr"
13351 at_func_diff_devnull "$at_stderr" || at_failed=:
13352 echo >>"$at_stdout"; $as_echo "jeden
13355 $at_diff - "$at_stdout" || at_failed=:
13356 at_func_check_status 0 $at_status "$at_srcdir/extrac05.at:38"
13358 $at_failed && at_func_log_failure
13365 $at_times_p && times >"$at_times_file"
13366 ) 5>&1 2>&1 | eval $at_tee_pipe
13367 at_status=`cat "$at_status_file"`
13370 # 29. extrac06.at:33: mode of extracted directories
13371 at_setup_line='extrac06.at:33'
13372 at_desc="mode of extracted directories"
13373 $at_quiet $as_echo_n " 29: $at_desc "
13375 test -f $XFAILFILE && at_xfail=yes
13376 echo "# -*- compilation -*-" >> "$at_group_log"
13378 $as_echo "29. extrac06.at:33: testing ..."
13386 $as_echo "$at_srcdir/extrac06.at:36:
13390 export TEST_TAR_FORMAT
13391 TAR_OPTIONS=\"-H v7\"
13399 # Make sure user's umask is honored, even if we are superuser
13400 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13402 # Create a directory
13404 chmod 777 directory
13405 genfile --stat=mode:777 directory
13408 tar cf arc directory
13410 # Change its permissions ...
13411 chmod 755 directory
13412 genfile --stat=mode:777 directory
13414 # ... and attempt to restore it twice
13415 tar xf arc directory
13416 genfile --stat=mode:777 directory
13418 tar xf arc directory
13419 genfile --stat=mode:777 directory
13421 # After both restores, the directory mode should be 755
13423 echo extrac06.at:36 >"$at_check_line_file"
13425 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13431 export TEST_TAR_FORMAT
13432 TAR_OPTIONS="-H v7"
13440 # Make sure user's umask is honored, even if we are superuser
13441 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13443 # Create a directory
13445 chmod 777 directory
13446 genfile --stat=mode:777 directory
13449 tar cf arc directory
13451 # Change its permissions ...
13452 chmod 755 directory
13453 genfile --stat=mode:777 directory
13455 # ... and attempt to restore it twice
13456 tar xf arc directory
13457 genfile --stat=mode:777 directory
13459 tar xf arc directory
13460 genfile --stat=mode:777 directory
13462 # After both restores, the directory mode should be 755
13463 ) ) >"$at_stdout" 2>"$at_stder1"
13464 at_func_filter_trace $?
13470 export TEST_TAR_FORMAT
13471 TAR_OPTIONS="-H v7"
13479 # Make sure user's umask is honored, even if we are superuser
13480 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13482 # Create a directory
13484 chmod 777 directory
13485 genfile --stat=mode:777 directory
13488 tar cf arc directory
13490 # Change its permissions ...
13491 chmod 755 directory
13492 genfile --stat=mode:777 directory
13494 # ... and attempt to restore it twice
13495 tar xf arc directory
13496 genfile --stat=mode:777 directory
13498 tar xf arc directory
13499 genfile --stat=mode:777 directory
13501 # After both restores, the directory mode should be 755
13502 ) ) >"$at_stdout" 2>"$at_stderr"
13506 at_func_diff_devnull "$at_stderr" || at_failed=:
13507 echo >>"$at_stdout"; $as_echo "777
13512 $at_diff - "$at_stdout" || at_failed=:
13513 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13515 $at_failed && at_func_log_failure
13519 $as_echo "$at_srcdir/extrac06.at:36:
13522 TEST_TAR_FORMAT=oldgnu
13523 export TEST_TAR_FORMAT
13524 TAR_OPTIONS=\"-H oldgnu\"
13532 # Make sure user's umask is honored, even if we are superuser
13533 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13535 # Create a directory
13537 chmod 777 directory
13538 genfile --stat=mode:777 directory
13541 tar cf arc directory
13543 # Change its permissions ...
13544 chmod 755 directory
13545 genfile --stat=mode:777 directory
13547 # ... and attempt to restore it twice
13548 tar xf arc directory
13549 genfile --stat=mode:777 directory
13551 tar xf arc directory
13552 genfile --stat=mode:777 directory
13554 # After both restores, the directory mode should be 755
13556 echo extrac06.at:36 >"$at_check_line_file"
13558 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13563 TEST_TAR_FORMAT=oldgnu
13564 export TEST_TAR_FORMAT
13565 TAR_OPTIONS="-H oldgnu"
13573 # Make sure user's umask is honored, even if we are superuser
13574 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13576 # Create a directory
13578 chmod 777 directory
13579 genfile --stat=mode:777 directory
13582 tar cf arc directory
13584 # Change its permissions ...
13585 chmod 755 directory
13586 genfile --stat=mode:777 directory
13588 # ... and attempt to restore it twice
13589 tar xf arc directory
13590 genfile --stat=mode:777 directory
13592 tar xf arc directory
13593 genfile --stat=mode:777 directory
13595 # After both restores, the directory mode should be 755
13596 ) ) >"$at_stdout" 2>"$at_stder1"
13597 at_func_filter_trace $?
13602 TEST_TAR_FORMAT=oldgnu
13603 export TEST_TAR_FORMAT
13604 TAR_OPTIONS="-H oldgnu"
13612 # Make sure user's umask is honored, even if we are superuser
13613 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13615 # Create a directory
13617 chmod 777 directory
13618 genfile --stat=mode:777 directory
13621 tar cf arc directory
13623 # Change its permissions ...
13624 chmod 755 directory
13625 genfile --stat=mode:777 directory
13627 # ... and attempt to restore it twice
13628 tar xf arc directory
13629 genfile --stat=mode:777 directory
13631 tar xf arc directory
13632 genfile --stat=mode:777 directory
13634 # After both restores, the directory mode should be 755
13635 ) ) >"$at_stdout" 2>"$at_stderr"
13639 at_func_diff_devnull "$at_stderr" || at_failed=:
13640 echo >>"$at_stdout"; $as_echo "777
13645 $at_diff - "$at_stdout" || at_failed=:
13646 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13648 $at_failed && at_func_log_failure
13652 $as_echo "$at_srcdir/extrac06.at:36:
13655 TEST_TAR_FORMAT=ustar
13656 export TEST_TAR_FORMAT
13657 TAR_OPTIONS=\"-H ustar\"
13665 # Make sure user's umask is honored, even if we are superuser
13666 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13668 # Create a directory
13670 chmod 777 directory
13671 genfile --stat=mode:777 directory
13674 tar cf arc directory
13676 # Change its permissions ...
13677 chmod 755 directory
13678 genfile --stat=mode:777 directory
13680 # ... and attempt to restore it twice
13681 tar xf arc directory
13682 genfile --stat=mode:777 directory
13684 tar xf arc directory
13685 genfile --stat=mode:777 directory
13687 # After both restores, the directory mode should be 755
13689 echo extrac06.at:36 >"$at_check_line_file"
13691 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13696 TEST_TAR_FORMAT=ustar
13697 export TEST_TAR_FORMAT
13698 TAR_OPTIONS="-H ustar"
13706 # Make sure user's umask is honored, even if we are superuser
13707 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13709 # Create a directory
13711 chmod 777 directory
13712 genfile --stat=mode:777 directory
13715 tar cf arc directory
13717 # Change its permissions ...
13718 chmod 755 directory
13719 genfile --stat=mode:777 directory
13721 # ... and attempt to restore it twice
13722 tar xf arc directory
13723 genfile --stat=mode:777 directory
13725 tar xf arc directory
13726 genfile --stat=mode:777 directory
13728 # After both restores, the directory mode should be 755
13729 ) ) >"$at_stdout" 2>"$at_stder1"
13730 at_func_filter_trace $?
13735 TEST_TAR_FORMAT=ustar
13736 export TEST_TAR_FORMAT
13737 TAR_OPTIONS="-H ustar"
13745 # Make sure user's umask is honored, even if we are superuser
13746 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13748 # Create a directory
13750 chmod 777 directory
13751 genfile --stat=mode:777 directory
13754 tar cf arc directory
13756 # Change its permissions ...
13757 chmod 755 directory
13758 genfile --stat=mode:777 directory
13760 # ... and attempt to restore it twice
13761 tar xf arc directory
13762 genfile --stat=mode:777 directory
13764 tar xf arc directory
13765 genfile --stat=mode:777 directory
13767 # After both restores, the directory mode should be 755
13768 ) ) >"$at_stdout" 2>"$at_stderr"
13772 at_func_diff_devnull "$at_stderr" || at_failed=:
13773 echo >>"$at_stdout"; $as_echo "777
13778 $at_diff - "$at_stdout" || at_failed=:
13779 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13781 $at_failed && at_func_log_failure
13785 $as_echo "$at_srcdir/extrac06.at:36:
13788 TEST_TAR_FORMAT=posix
13789 export TEST_TAR_FORMAT
13790 TAR_OPTIONS=\"-H posix\"
13798 # Make sure user's umask is honored, even if we are superuser
13799 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13801 # Create a directory
13803 chmod 777 directory
13804 genfile --stat=mode:777 directory
13807 tar cf arc directory
13809 # Change its permissions ...
13810 chmod 755 directory
13811 genfile --stat=mode:777 directory
13813 # ... and attempt to restore it twice
13814 tar xf arc directory
13815 genfile --stat=mode:777 directory
13817 tar xf arc directory
13818 genfile --stat=mode:777 directory
13820 # After both restores, the directory mode should be 755
13822 echo extrac06.at:36 >"$at_check_line_file"
13824 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13829 TEST_TAR_FORMAT=posix
13830 export TEST_TAR_FORMAT
13831 TAR_OPTIONS="-H posix"
13839 # Make sure user's umask is honored, even if we are superuser
13840 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13842 # Create a directory
13844 chmod 777 directory
13845 genfile --stat=mode:777 directory
13848 tar cf arc directory
13850 # Change its permissions ...
13851 chmod 755 directory
13852 genfile --stat=mode:777 directory
13854 # ... and attempt to restore it twice
13855 tar xf arc directory
13856 genfile --stat=mode:777 directory
13858 tar xf arc directory
13859 genfile --stat=mode:777 directory
13861 # After both restores, the directory mode should be 755
13862 ) ) >"$at_stdout" 2>"$at_stder1"
13863 at_func_filter_trace $?
13868 TEST_TAR_FORMAT=posix
13869 export TEST_TAR_FORMAT
13870 TAR_OPTIONS="-H posix"
13878 # Make sure user's umask is honored, even if we are superuser
13879 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13881 # Create a directory
13883 chmod 777 directory
13884 genfile --stat=mode:777 directory
13887 tar cf arc directory
13889 # Change its permissions ...
13890 chmod 755 directory
13891 genfile --stat=mode:777 directory
13893 # ... and attempt to restore it twice
13894 tar xf arc directory
13895 genfile --stat=mode:777 directory
13897 tar xf arc directory
13898 genfile --stat=mode:777 directory
13900 # After both restores, the directory mode should be 755
13901 ) ) >"$at_stdout" 2>"$at_stderr"
13905 at_func_diff_devnull "$at_stderr" || at_failed=:
13906 echo >>"$at_stdout"; $as_echo "777
13911 $at_diff - "$at_stdout" || at_failed=:
13912 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
13914 $at_failed && at_func_log_failure
13918 $as_echo "$at_srcdir/extrac06.at:36:
13921 TEST_TAR_FORMAT=gnu
13922 export TEST_TAR_FORMAT
13923 TAR_OPTIONS=\"-H gnu\"
13931 # Make sure user's umask is honored, even if we are superuser
13932 TAR_OPTIONS=\"\$TAR_OPTIONS --no-same-permissions\"
13934 # Create a directory
13936 chmod 777 directory
13937 genfile --stat=mode:777 directory
13940 tar cf arc directory
13942 # Change its permissions ...
13943 chmod 755 directory
13944 genfile --stat=mode:777 directory
13946 # ... and attempt to restore it twice
13947 tar xf arc directory
13948 genfile --stat=mode:777 directory
13950 tar xf arc directory
13951 genfile --stat=mode:777 directory
13953 # After both restores, the directory mode should be 755
13955 echo extrac06.at:36 >"$at_check_line_file"
13957 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
13962 TEST_TAR_FORMAT=gnu
13963 export TEST_TAR_FORMAT
13964 TAR_OPTIONS="-H gnu"
13972 # Make sure user's umask is honored, even if we are superuser
13973 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
13975 # Create a directory
13977 chmod 777 directory
13978 genfile --stat=mode:777 directory
13981 tar cf arc directory
13983 # Change its permissions ...
13984 chmod 755 directory
13985 genfile --stat=mode:777 directory
13987 # ... and attempt to restore it twice
13988 tar xf arc directory
13989 genfile --stat=mode:777 directory
13991 tar xf arc directory
13992 genfile --stat=mode:777 directory
13994 # After both restores, the directory mode should be 755
13995 ) ) >"$at_stdout" 2>"$at_stder1"
13996 at_func_filter_trace $?
14001 TEST_TAR_FORMAT=gnu
14002 export TEST_TAR_FORMAT
14003 TAR_OPTIONS="-H gnu"
14011 # Make sure user's umask is honored, even if we are superuser
14012 TAR_OPTIONS="$TAR_OPTIONS --no-same-permissions"
14014 # Create a directory
14016 chmod 777 directory
14017 genfile --stat=mode:777 directory
14020 tar cf arc directory
14022 # Change its permissions ...
14023 chmod 755 directory
14024 genfile --stat=mode:777 directory
14026 # ... and attempt to restore it twice
14027 tar xf arc directory
14028 genfile --stat=mode:777 directory
14030 tar xf arc directory
14031 genfile --stat=mode:777 directory
14033 # After both restores, the directory mode should be 755
14034 ) ) >"$at_stdout" 2>"$at_stderr"
14038 at_func_diff_devnull "$at_stderr" || at_failed=:
14039 echo >>"$at_stdout"; $as_echo "777
14044 $at_diff - "$at_stdout" || at_failed=:
14045 at_func_check_status 0 $at_status "$at_srcdir/extrac06.at:36"
14047 $at_failed && at_func_log_failure
14054 $at_times_p && times >"$at_times_file"
14055 ) 5>&1 2>&1 | eval $at_tee_pipe
14056 at_status=`cat "$at_status_file"`
14059 # 30. extrac07.at:27: extracting symlinks to a read-only dir
14060 at_setup_line='extrac07.at:27'
14061 at_desc="extracting symlinks to a read-only dir"
14062 $at_quiet $as_echo_n " 30: $at_desc "
14064 test -f $XFAILFILE && at_xfail=yes
14065 echo "# -*- compilation -*-" >> "$at_group_log"
14067 $as_echo "30. extrac07.at:27: testing ..."
14075 $as_echo "$at_srcdir/extrac07.at:30:
14079 export TEST_TAR_FORMAT
14080 TAR_OPTIONS=\"-H v7\"
14084 echo Prepare the directory
14092 echo Create the archive
14093 tar cf archive dir || exit 1
14099 tar -C out -xvf archive
14101 echo extrac07.at:30 >"$at_check_line_file"
14103 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14109 export TEST_TAR_FORMAT
14110 TAR_OPTIONS="-H v7"
14114 echo Prepare the directory
14122 echo Create the archive
14123 tar cf archive dir || exit 1
14129 tar -C out -xvf archive
14130 ) ) >"$at_stdout" 2>"$at_stder1"
14131 at_func_filter_trace $?
14137 export TEST_TAR_FORMAT
14138 TAR_OPTIONS="-H v7"
14142 echo Prepare the directory
14150 echo Create the archive
14151 tar cf archive dir || exit 1
14157 tar -C out -xvf archive
14158 ) ) >"$at_stdout" 2>"$at_stderr"
14162 at_func_diff_devnull "$at_stderr" || at_failed=:
14163 echo >>"$at_stdout"; $as_echo "Prepare the directory
14169 $at_diff - "$at_stdout" || at_failed=:
14170 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14171 if $at_failed; then
14177 $at_failed && at_func_log_failure
14181 $as_echo "$at_srcdir/extrac07.at:30:
14184 TEST_TAR_FORMAT=oldgnu
14185 export TEST_TAR_FORMAT
14186 TAR_OPTIONS=\"-H oldgnu\"
14190 echo Prepare the directory
14198 echo Create the archive
14199 tar cf archive dir || exit 1
14205 tar -C out -xvf archive
14207 echo extrac07.at:30 >"$at_check_line_file"
14209 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14214 TEST_TAR_FORMAT=oldgnu
14215 export TEST_TAR_FORMAT
14216 TAR_OPTIONS="-H oldgnu"
14220 echo Prepare the directory
14228 echo Create the archive
14229 tar cf archive dir || exit 1
14235 tar -C out -xvf archive
14236 ) ) >"$at_stdout" 2>"$at_stder1"
14237 at_func_filter_trace $?
14242 TEST_TAR_FORMAT=oldgnu
14243 export TEST_TAR_FORMAT
14244 TAR_OPTIONS="-H oldgnu"
14248 echo Prepare the directory
14256 echo Create the archive
14257 tar cf archive dir || exit 1
14263 tar -C out -xvf archive
14264 ) ) >"$at_stdout" 2>"$at_stderr"
14268 at_func_diff_devnull "$at_stderr" || at_failed=:
14269 echo >>"$at_stdout"; $as_echo "Prepare the directory
14275 $at_diff - "$at_stdout" || at_failed=:
14276 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14277 if $at_failed; then
14283 $at_failed && at_func_log_failure
14287 $as_echo "$at_srcdir/extrac07.at:30:
14290 TEST_TAR_FORMAT=ustar
14291 export TEST_TAR_FORMAT
14292 TAR_OPTIONS=\"-H ustar\"
14296 echo Prepare the directory
14304 echo Create the archive
14305 tar cf archive dir || exit 1
14311 tar -C out -xvf archive
14313 echo extrac07.at:30 >"$at_check_line_file"
14315 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14320 TEST_TAR_FORMAT=ustar
14321 export TEST_TAR_FORMAT
14322 TAR_OPTIONS="-H ustar"
14326 echo Prepare the directory
14334 echo Create the archive
14335 tar cf archive dir || exit 1
14341 tar -C out -xvf archive
14342 ) ) >"$at_stdout" 2>"$at_stder1"
14343 at_func_filter_trace $?
14348 TEST_TAR_FORMAT=ustar
14349 export TEST_TAR_FORMAT
14350 TAR_OPTIONS="-H ustar"
14354 echo Prepare the directory
14362 echo Create the archive
14363 tar cf archive dir || exit 1
14369 tar -C out -xvf archive
14370 ) ) >"$at_stdout" 2>"$at_stderr"
14374 at_func_diff_devnull "$at_stderr" || at_failed=:
14375 echo >>"$at_stdout"; $as_echo "Prepare the directory
14381 $at_diff - "$at_stdout" || at_failed=:
14382 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14383 if $at_failed; then
14389 $at_failed && at_func_log_failure
14393 $as_echo "$at_srcdir/extrac07.at:30:
14396 TEST_TAR_FORMAT=posix
14397 export TEST_TAR_FORMAT
14398 TAR_OPTIONS=\"-H posix\"
14402 echo Prepare the directory
14410 echo Create the archive
14411 tar cf archive dir || exit 1
14417 tar -C out -xvf archive
14419 echo extrac07.at:30 >"$at_check_line_file"
14421 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14426 TEST_TAR_FORMAT=posix
14427 export TEST_TAR_FORMAT
14428 TAR_OPTIONS="-H posix"
14432 echo Prepare the directory
14440 echo Create the archive
14441 tar cf archive dir || exit 1
14447 tar -C out -xvf archive
14448 ) ) >"$at_stdout" 2>"$at_stder1"
14449 at_func_filter_trace $?
14454 TEST_TAR_FORMAT=posix
14455 export TEST_TAR_FORMAT
14456 TAR_OPTIONS="-H posix"
14460 echo Prepare the directory
14468 echo Create the archive
14469 tar cf archive dir || exit 1
14475 tar -C out -xvf archive
14476 ) ) >"$at_stdout" 2>"$at_stderr"
14480 at_func_diff_devnull "$at_stderr" || at_failed=:
14481 echo >>"$at_stdout"; $as_echo "Prepare the directory
14487 $at_diff - "$at_stdout" || at_failed=:
14488 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14489 if $at_failed; then
14495 $at_failed && at_func_log_failure
14499 $as_echo "$at_srcdir/extrac07.at:30:
14502 TEST_TAR_FORMAT=gnu
14503 export TEST_TAR_FORMAT
14504 TAR_OPTIONS=\"-H gnu\"
14508 echo Prepare the directory
14516 echo Create the archive
14517 tar cf archive dir || exit 1
14523 tar -C out -xvf archive
14525 echo extrac07.at:30 >"$at_check_line_file"
14527 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14532 TEST_TAR_FORMAT=gnu
14533 export TEST_TAR_FORMAT
14534 TAR_OPTIONS="-H gnu"
14538 echo Prepare the directory
14546 echo Create the archive
14547 tar cf archive dir || exit 1
14553 tar -C out -xvf archive
14554 ) ) >"$at_stdout" 2>"$at_stder1"
14555 at_func_filter_trace $?
14560 TEST_TAR_FORMAT=gnu
14561 export TEST_TAR_FORMAT
14562 TAR_OPTIONS="-H gnu"
14566 echo Prepare the directory
14574 echo Create the archive
14575 tar cf archive dir || exit 1
14581 tar -C out -xvf archive
14582 ) ) >"$at_stdout" 2>"$at_stderr"
14586 at_func_diff_devnull "$at_stderr" || at_failed=:
14587 echo >>"$at_stdout"; $as_echo "Prepare the directory
14593 $at_diff - "$at_stdout" || at_failed=:
14594 at_func_check_status 0 $at_status "$at_srcdir/extrac07.at:30"
14595 if $at_failed; then
14601 $at_failed && at_func_log_failure
14605 # Testing one format is enough
14608 $at_times_p && times >"$at_times_file"
14609 ) 5>&1 2>&1 | eval $at_tee_pipe
14610 at_status=`cat "$at_status_file"`
14613 # 31. extrac08.at:33: restoring mode on existing directory
14614 at_setup_line='extrac08.at:33'
14615 at_desc="restoring mode on existing directory"
14616 $at_quiet $as_echo_n " 31: $at_desc "
14618 test -f $XFAILFILE && at_xfail=yes
14619 echo "# -*- compilation -*-" >> "$at_group_log"
14621 $as_echo "31. extrac08.at:33: testing ..."
14629 $as_echo "$at_srcdir/extrac08.at:36:
14633 export TEST_TAR_FORMAT
14634 TAR_OPTIONS=\"-H v7\"
14641 echo bla > dir/file
14642 tar cf test.tar dir
14645 genfile --stat=mode.777 dir
14647 echo extrac08.at:36 >"$at_check_line_file"
14649 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14655 export TEST_TAR_FORMAT
14656 TAR_OPTIONS="-H v7"
14663 echo bla > dir/file
14664 tar cf test.tar dir
14667 genfile --stat=mode.777 dir
14668 ) ) >"$at_stdout" 2>"$at_stder1"
14669 at_func_filter_trace $?
14675 export TEST_TAR_FORMAT
14676 TAR_OPTIONS="-H v7"
14683 echo bla > dir/file
14684 tar cf test.tar dir
14687 genfile --stat=mode.777 dir
14688 ) ) >"$at_stdout" 2>"$at_stderr"
14692 at_func_diff_devnull "$at_stderr" || at_failed=:
14693 echo >>"$at_stdout"; $as_echo "dir/
14697 $at_diff - "$at_stdout" || at_failed=:
14698 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14700 $at_failed && at_func_log_failure
14704 $as_echo "$at_srcdir/extrac08.at:36:
14707 TEST_TAR_FORMAT=oldgnu
14708 export TEST_TAR_FORMAT
14709 TAR_OPTIONS=\"-H oldgnu\"
14716 echo bla > dir/file
14717 tar cf test.tar dir
14720 genfile --stat=mode.777 dir
14722 echo extrac08.at:36 >"$at_check_line_file"
14724 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14729 TEST_TAR_FORMAT=oldgnu
14730 export TEST_TAR_FORMAT
14731 TAR_OPTIONS="-H oldgnu"
14738 echo bla > dir/file
14739 tar cf test.tar dir
14742 genfile --stat=mode.777 dir
14743 ) ) >"$at_stdout" 2>"$at_stder1"
14744 at_func_filter_trace $?
14749 TEST_TAR_FORMAT=oldgnu
14750 export TEST_TAR_FORMAT
14751 TAR_OPTIONS="-H oldgnu"
14758 echo bla > dir/file
14759 tar cf test.tar dir
14762 genfile --stat=mode.777 dir
14763 ) ) >"$at_stdout" 2>"$at_stderr"
14767 at_func_diff_devnull "$at_stderr" || at_failed=:
14768 echo >>"$at_stdout"; $as_echo "dir/
14772 $at_diff - "$at_stdout" || at_failed=:
14773 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14775 $at_failed && at_func_log_failure
14779 $as_echo "$at_srcdir/extrac08.at:36:
14782 TEST_TAR_FORMAT=ustar
14783 export TEST_TAR_FORMAT
14784 TAR_OPTIONS=\"-H ustar\"
14791 echo bla > dir/file
14792 tar cf test.tar dir
14795 genfile --stat=mode.777 dir
14797 echo extrac08.at:36 >"$at_check_line_file"
14799 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14804 TEST_TAR_FORMAT=ustar
14805 export TEST_TAR_FORMAT
14806 TAR_OPTIONS="-H ustar"
14813 echo bla > dir/file
14814 tar cf test.tar dir
14817 genfile --stat=mode.777 dir
14818 ) ) >"$at_stdout" 2>"$at_stder1"
14819 at_func_filter_trace $?
14824 TEST_TAR_FORMAT=ustar
14825 export TEST_TAR_FORMAT
14826 TAR_OPTIONS="-H ustar"
14833 echo bla > dir/file
14834 tar cf test.tar dir
14837 genfile --stat=mode.777 dir
14838 ) ) >"$at_stdout" 2>"$at_stderr"
14842 at_func_diff_devnull "$at_stderr" || at_failed=:
14843 echo >>"$at_stdout"; $as_echo "dir/
14847 $at_diff - "$at_stdout" || at_failed=:
14848 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14850 $at_failed && at_func_log_failure
14854 $as_echo "$at_srcdir/extrac08.at:36:
14857 TEST_TAR_FORMAT=posix
14858 export TEST_TAR_FORMAT
14859 TAR_OPTIONS=\"-H posix\"
14866 echo bla > dir/file
14867 tar cf test.tar dir
14870 genfile --stat=mode.777 dir
14872 echo extrac08.at:36 >"$at_check_line_file"
14874 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14879 TEST_TAR_FORMAT=posix
14880 export TEST_TAR_FORMAT
14881 TAR_OPTIONS="-H posix"
14888 echo bla > dir/file
14889 tar cf test.tar dir
14892 genfile --stat=mode.777 dir
14893 ) ) >"$at_stdout" 2>"$at_stder1"
14894 at_func_filter_trace $?
14899 TEST_TAR_FORMAT=posix
14900 export TEST_TAR_FORMAT
14901 TAR_OPTIONS="-H posix"
14908 echo bla > dir/file
14909 tar cf test.tar dir
14912 genfile --stat=mode.777 dir
14913 ) ) >"$at_stdout" 2>"$at_stderr"
14917 at_func_diff_devnull "$at_stderr" || at_failed=:
14918 echo >>"$at_stdout"; $as_echo "dir/
14922 $at_diff - "$at_stdout" || at_failed=:
14923 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
14925 $at_failed && at_func_log_failure
14929 $as_echo "$at_srcdir/extrac08.at:36:
14932 TEST_TAR_FORMAT=gnu
14933 export TEST_TAR_FORMAT
14934 TAR_OPTIONS=\"-H gnu\"
14941 echo bla > dir/file
14942 tar cf test.tar dir
14945 genfile --stat=mode.777 dir
14947 echo extrac08.at:36 >"$at_check_line_file"
14949 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
14954 TEST_TAR_FORMAT=gnu
14955 export TEST_TAR_FORMAT
14956 TAR_OPTIONS="-H gnu"
14963 echo bla > dir/file
14964 tar cf test.tar dir
14967 genfile --stat=mode.777 dir
14968 ) ) >"$at_stdout" 2>"$at_stder1"
14969 at_func_filter_trace $?
14974 TEST_TAR_FORMAT=gnu
14975 export TEST_TAR_FORMAT
14976 TAR_OPTIONS="-H gnu"
14983 echo bla > dir/file
14984 tar cf test.tar dir
14987 genfile --stat=mode.777 dir
14988 ) ) >"$at_stdout" 2>"$at_stderr"
14992 at_func_diff_devnull "$at_stderr" || at_failed=:
14993 echo >>"$at_stdout"; $as_echo "dir/
14997 $at_diff - "$at_stdout" || at_failed=:
14998 at_func_check_status 0 $at_status "$at_srcdir/extrac08.at:36"
15000 $at_failed && at_func_log_failure
15007 $at_times_p && times >"$at_times_file"
15008 ) 5>&1 2>&1 | eval $at_tee_pipe
15009 at_status=`cat "$at_status_file"`
15012 # 32. label01.at:19: single-volume label
15013 at_setup_line='label01.at:19'
15014 at_desc="single-volume label"
15015 $at_quiet $as_echo_n " 32: $at_desc "
15017 test -f $XFAILFILE && at_xfail=yes
15018 echo "# -*- compilation -*-" >> "$at_group_log"
15020 $as_echo "32. label01.at:19: testing ..."
15028 $as_echo "$at_srcdir/label01.at:22:
15031 TEST_TAR_FORMAT=gnu
15032 export TEST_TAR_FORMAT
15033 TAR_OPTIONS=\"-H gnu\"
15039 tar -cf archive --label=Test foo bar
15042 echo label01.at:22 >"$at_check_line_file"
15044 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15049 TEST_TAR_FORMAT=gnu
15050 export TEST_TAR_FORMAT
15051 TAR_OPTIONS="-H gnu"
15057 tar -cf archive --label=Test foo bar
15059 ) ) >"$at_stdout" 2>"$at_stder1"
15060 at_func_filter_trace $?
15065 TEST_TAR_FORMAT=gnu
15066 export TEST_TAR_FORMAT
15067 TAR_OPTIONS="-H gnu"
15073 tar -cf archive --label=Test foo bar
15075 ) ) >"$at_stdout" 2>"$at_stderr"
15079 at_func_diff_devnull "$at_stderr" || at_failed=:
15080 echo >>"$at_stdout"; $as_echo "Test
15084 $at_diff - "$at_stdout" || at_failed=:
15085 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15087 $at_failed && at_func_log_failure
15091 $as_echo "$at_srcdir/label01.at:22:
15094 TEST_TAR_FORMAT=oldgnu
15095 export TEST_TAR_FORMAT
15096 TAR_OPTIONS=\"-H oldgnu\"
15102 tar -cf archive --label=Test foo bar
15105 echo label01.at:22 >"$at_check_line_file"
15107 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15112 TEST_TAR_FORMAT=oldgnu
15113 export TEST_TAR_FORMAT
15114 TAR_OPTIONS="-H oldgnu"
15120 tar -cf archive --label=Test foo bar
15122 ) ) >"$at_stdout" 2>"$at_stder1"
15123 at_func_filter_trace $?
15128 TEST_TAR_FORMAT=oldgnu
15129 export TEST_TAR_FORMAT
15130 TAR_OPTIONS="-H oldgnu"
15136 tar -cf archive --label=Test foo bar
15138 ) ) >"$at_stdout" 2>"$at_stderr"
15142 at_func_diff_devnull "$at_stderr" || at_failed=:
15143 echo >>"$at_stdout"; $as_echo "Test
15147 $at_diff - "$at_stdout" || at_failed=:
15148 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15150 $at_failed && at_func_log_failure
15154 $as_echo "$at_srcdir/label01.at:22:
15157 TEST_TAR_FORMAT=posix
15158 export TEST_TAR_FORMAT
15159 TAR_OPTIONS=\"-H posix\"
15165 tar -cf archive --label=Test foo bar
15168 echo label01.at:22 >"$at_check_line_file"
15170 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15175 TEST_TAR_FORMAT=posix
15176 export TEST_TAR_FORMAT
15177 TAR_OPTIONS="-H posix"
15183 tar -cf archive --label=Test foo bar
15185 ) ) >"$at_stdout" 2>"$at_stder1"
15186 at_func_filter_trace $?
15191 TEST_TAR_FORMAT=posix
15192 export TEST_TAR_FORMAT
15193 TAR_OPTIONS="-H posix"
15199 tar -cf archive --label=Test foo bar
15201 ) ) >"$at_stdout" 2>"$at_stderr"
15205 at_func_diff_devnull "$at_stderr" || at_failed=:
15206 echo >>"$at_stdout"; $as_echo "Test
15210 $at_diff - "$at_stdout" || at_failed=:
15211 at_func_check_status 0 $at_status "$at_srcdir/label01.at:22"
15213 $at_failed && at_func_log_failure
15220 $at_times_p && times >"$at_times_file"
15221 ) 5>&1 2>&1 | eval $at_tee_pipe
15222 at_status=`cat "$at_status_file"`
15225 # 33. label02.at:19: multi-volume label
15226 at_setup_line='label02.at:19'
15227 at_desc="multi-volume label"
15228 $at_quiet $as_echo_n " 33: $at_desc "
15230 test -f $XFAILFILE && at_xfail=yes
15231 echo "# -*- compilation -*-" >> "$at_group_log"
15233 $as_echo "33. label02.at:19: testing ..."
15241 $as_echo "$at_srcdir/label02.at:22:
15244 TEST_TAR_FORMAT=gnu
15245 export TEST_TAR_FORMAT
15246 TAR_OPTIONS=\"-H gnu\"
15251 genfile --length 0 --file foo
15252 genfile --length 12288 --file bar
15253 genfile --length 12288 --file baz
15254 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15255 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15257 echo label02.at:22 >"$at_check_line_file"
15259 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15264 TEST_TAR_FORMAT=gnu
15265 export TEST_TAR_FORMAT
15266 TAR_OPTIONS="-H gnu"
15271 genfile --length 0 --file foo
15272 genfile --length 12288 --file bar
15273 genfile --length 12288 --file baz
15274 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15275 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15276 ) ) >"$at_stdout" 2>"$at_stder1"
15277 at_func_filter_trace $?
15282 TEST_TAR_FORMAT=gnu
15283 export TEST_TAR_FORMAT
15284 TAR_OPTIONS="-H gnu"
15289 genfile --length 0 --file foo
15290 genfile --length 12288 --file bar
15291 genfile --length 12288 --file baz
15292 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15293 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15294 ) ) >"$at_stdout" 2>"$at_stderr"
15298 at_func_diff_devnull "$at_stderr" || at_failed=:
15299 echo >>"$at_stdout"; $as_echo "Test Volume 1
15304 $at_diff - "$at_stdout" || at_failed=:
15305 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
15307 $at_failed && at_func_log_failure
15311 $as_echo "$at_srcdir/label02.at:22:
15314 TEST_TAR_FORMAT=oldgnu
15315 export TEST_TAR_FORMAT
15316 TAR_OPTIONS=\"-H oldgnu\"
15321 genfile --length 0 --file foo
15322 genfile --length 12288 --file bar
15323 genfile --length 12288 --file baz
15324 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15325 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15327 echo label02.at:22 >"$at_check_line_file"
15329 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15334 TEST_TAR_FORMAT=oldgnu
15335 export TEST_TAR_FORMAT
15336 TAR_OPTIONS="-H oldgnu"
15341 genfile --length 0 --file foo
15342 genfile --length 12288 --file bar
15343 genfile --length 12288 --file baz
15344 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15345 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15346 ) ) >"$at_stdout" 2>"$at_stder1"
15347 at_func_filter_trace $?
15352 TEST_TAR_FORMAT=oldgnu
15353 export TEST_TAR_FORMAT
15354 TAR_OPTIONS="-H oldgnu"
15359 genfile --length 0 --file foo
15360 genfile --length 12288 --file bar
15361 genfile --length 12288 --file baz
15362 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15363 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15364 ) ) >"$at_stdout" 2>"$at_stderr"
15368 at_func_diff_devnull "$at_stderr" || at_failed=:
15369 echo >>"$at_stdout"; $as_echo "Test Volume 1
15374 $at_diff - "$at_stdout" || at_failed=:
15375 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
15377 $at_failed && at_func_log_failure
15381 $as_echo "$at_srcdir/label02.at:22:
15384 TEST_TAR_FORMAT=posix
15385 export TEST_TAR_FORMAT
15386 TAR_OPTIONS=\"-H posix\"
15391 genfile --length 0 --file foo
15392 genfile --length 12288 --file bar
15393 genfile --length 12288 --file baz
15394 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15395 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15397 echo label02.at:22 >"$at_check_line_file"
15399 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15404 TEST_TAR_FORMAT=posix
15405 export TEST_TAR_FORMAT
15406 TAR_OPTIONS="-H posix"
15411 genfile --length 0 --file foo
15412 genfile --length 12288 --file bar
15413 genfile --length 12288 --file baz
15414 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15415 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15416 ) ) >"$at_stdout" 2>"$at_stder1"
15417 at_func_filter_trace $?
15422 TEST_TAR_FORMAT=posix
15423 export TEST_TAR_FORMAT
15424 TAR_OPTIONS="-H posix"
15429 genfile --length 0 --file foo
15430 genfile --length 12288 --file bar
15431 genfile --length 12288 --file baz
15432 tar --label=Test -cM -L10 -f 1.tar -f 2.tar -f 3.tar -f 4.tar foo bar baz
15433 tar -Mt -f 1.tar -f 2.tar -f 3.tar -f 4.tar
15434 ) ) >"$at_stdout" 2>"$at_stderr"
15438 at_func_diff_devnull "$at_stderr" || at_failed=:
15439 echo >>"$at_stdout"; $as_echo "Test Volume 1
15444 $at_diff - "$at_stdout" || at_failed=:
15445 at_func_check_status 0 $at_status "$at_srcdir/label02.at:22"
15447 $at_failed && at_func_log_failure
15454 $at_times_p && times >"$at_times_file"
15455 ) 5>&1 2>&1 | eval $at_tee_pipe
15456 at_status=`cat "$at_status_file"`
15459 # 34. backup01.at:33: extracting existing dir with --backup
15460 at_setup_line='backup01.at:33'
15461 at_desc="extracting existing dir with --backup"
15462 $at_quiet $as_echo_n " 34: $at_desc "
15464 test -f $XFAILFILE && at_xfail=yes
15465 echo "# -*- compilation -*-" >> "$at_group_log"
15467 $as_echo "34. backup01.at:33: testing ..."
15475 $as_echo "$at_srcdir/backup01.at:36:
15479 export TEST_TAR_FORMAT
15480 TAR_OPTIONS=\"-H v7\"
15485 echo bla > dir1/file1
15486 tar cf test.tar dir1 dir2
15487 tar xfv test.tar --backup
15489 echo backup01.at:36 >"$at_check_line_file"
15491 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15497 export TEST_TAR_FORMAT
15498 TAR_OPTIONS="-H v7"
15503 echo bla > dir1/file1
15504 tar cf test.tar dir1 dir2
15505 tar xfv test.tar --backup
15506 ) ) >"$at_stdout" 2>"$at_stder1"
15507 at_func_filter_trace $?
15513 export TEST_TAR_FORMAT
15514 TAR_OPTIONS="-H v7"
15519 echo bla > dir1/file1
15520 tar cf test.tar dir1 dir2
15521 tar xfv test.tar --backup
15522 ) ) >"$at_stdout" 2>"$at_stderr"
15526 at_func_diff_devnull "$at_stderr" || at_failed=:
15527 echo >>"$at_stdout"; $as_echo "dir1/
15529 Renaming \`dir1/file1' to \`dir1/file1~'
15532 $at_diff - "$at_stdout" || at_failed=:
15533 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
15535 $at_failed && at_func_log_failure
15539 $as_echo "$at_srcdir/backup01.at:36:
15542 TEST_TAR_FORMAT=oldgnu
15543 export TEST_TAR_FORMAT
15544 TAR_OPTIONS=\"-H oldgnu\"
15549 echo bla > dir1/file1
15550 tar cf test.tar dir1 dir2
15551 tar xfv test.tar --backup
15553 echo backup01.at:36 >"$at_check_line_file"
15555 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15560 TEST_TAR_FORMAT=oldgnu
15561 export TEST_TAR_FORMAT
15562 TAR_OPTIONS="-H oldgnu"
15567 echo bla > dir1/file1
15568 tar cf test.tar dir1 dir2
15569 tar xfv test.tar --backup
15570 ) ) >"$at_stdout" 2>"$at_stder1"
15571 at_func_filter_trace $?
15576 TEST_TAR_FORMAT=oldgnu
15577 export TEST_TAR_FORMAT
15578 TAR_OPTIONS="-H oldgnu"
15583 echo bla > dir1/file1
15584 tar cf test.tar dir1 dir2
15585 tar xfv test.tar --backup
15586 ) ) >"$at_stdout" 2>"$at_stderr"
15590 at_func_diff_devnull "$at_stderr" || at_failed=:
15591 echo >>"$at_stdout"; $as_echo "dir1/
15593 Renaming \`dir1/file1' to \`dir1/file1~'
15596 $at_diff - "$at_stdout" || at_failed=:
15597 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
15599 $at_failed && at_func_log_failure
15603 $as_echo "$at_srcdir/backup01.at:36:
15606 TEST_TAR_FORMAT=ustar
15607 export TEST_TAR_FORMAT
15608 TAR_OPTIONS=\"-H ustar\"
15613 echo bla > dir1/file1
15614 tar cf test.tar dir1 dir2
15615 tar xfv test.tar --backup
15617 echo backup01.at:36 >"$at_check_line_file"
15619 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15624 TEST_TAR_FORMAT=ustar
15625 export TEST_TAR_FORMAT
15626 TAR_OPTIONS="-H ustar"
15631 echo bla > dir1/file1
15632 tar cf test.tar dir1 dir2
15633 tar xfv test.tar --backup
15634 ) ) >"$at_stdout" 2>"$at_stder1"
15635 at_func_filter_trace $?
15640 TEST_TAR_FORMAT=ustar
15641 export TEST_TAR_FORMAT
15642 TAR_OPTIONS="-H ustar"
15647 echo bla > dir1/file1
15648 tar cf test.tar dir1 dir2
15649 tar xfv test.tar --backup
15650 ) ) >"$at_stdout" 2>"$at_stderr"
15654 at_func_diff_devnull "$at_stderr" || at_failed=:
15655 echo >>"$at_stdout"; $as_echo "dir1/
15657 Renaming \`dir1/file1' to \`dir1/file1~'
15660 $at_diff - "$at_stdout" || at_failed=:
15661 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
15663 $at_failed && at_func_log_failure
15667 $as_echo "$at_srcdir/backup01.at:36:
15670 TEST_TAR_FORMAT=posix
15671 export TEST_TAR_FORMAT
15672 TAR_OPTIONS=\"-H posix\"
15677 echo bla > dir1/file1
15678 tar cf test.tar dir1 dir2
15679 tar xfv test.tar --backup
15681 echo backup01.at:36 >"$at_check_line_file"
15683 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15688 TEST_TAR_FORMAT=posix
15689 export TEST_TAR_FORMAT
15690 TAR_OPTIONS="-H posix"
15695 echo bla > dir1/file1
15696 tar cf test.tar dir1 dir2
15697 tar xfv test.tar --backup
15698 ) ) >"$at_stdout" 2>"$at_stder1"
15699 at_func_filter_trace $?
15704 TEST_TAR_FORMAT=posix
15705 export TEST_TAR_FORMAT
15706 TAR_OPTIONS="-H posix"
15711 echo bla > dir1/file1
15712 tar cf test.tar dir1 dir2
15713 tar xfv test.tar --backup
15714 ) ) >"$at_stdout" 2>"$at_stderr"
15718 at_func_diff_devnull "$at_stderr" || at_failed=:
15719 echo >>"$at_stdout"; $as_echo "dir1/
15721 Renaming \`dir1/file1' to \`dir1/file1~'
15724 $at_diff - "$at_stdout" || at_failed=:
15725 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
15727 $at_failed && at_func_log_failure
15731 $as_echo "$at_srcdir/backup01.at:36:
15734 TEST_TAR_FORMAT=gnu
15735 export TEST_TAR_FORMAT
15736 TAR_OPTIONS=\"-H gnu\"
15741 echo bla > dir1/file1
15742 tar cf test.tar dir1 dir2
15743 tar xfv test.tar --backup
15745 echo backup01.at:36 >"$at_check_line_file"
15747 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15752 TEST_TAR_FORMAT=gnu
15753 export TEST_TAR_FORMAT
15754 TAR_OPTIONS="-H gnu"
15759 echo bla > dir1/file1
15760 tar cf test.tar dir1 dir2
15761 tar xfv test.tar --backup
15762 ) ) >"$at_stdout" 2>"$at_stder1"
15763 at_func_filter_trace $?
15768 TEST_TAR_FORMAT=gnu
15769 export TEST_TAR_FORMAT
15770 TAR_OPTIONS="-H gnu"
15775 echo bla > dir1/file1
15776 tar cf test.tar dir1 dir2
15777 tar xfv test.tar --backup
15778 ) ) >"$at_stdout" 2>"$at_stderr"
15782 at_func_diff_devnull "$at_stderr" || at_failed=:
15783 echo >>"$at_stdout"; $as_echo "dir1/
15785 Renaming \`dir1/file1' to \`dir1/file1~'
15788 $at_diff - "$at_stdout" || at_failed=:
15789 at_func_check_status 0 $at_status "$at_srcdir/backup01.at:36"
15791 $at_failed && at_func_log_failure
15798 $at_times_p && times >"$at_times_file"
15799 ) 5>&1 2>&1 | eval $at_tee_pipe
15800 at_status=`cat "$at_status_file"`
15803 # 35. gzip.at:23: gzip
15804 at_setup_line='gzip.at:23'
15806 $at_quiet $as_echo_n " 35: $at_desc "
15808 echo "# -*- compilation -*-" >> "$at_group_log"
15810 $as_echo "35. gzip.at:23: testing ..."
15818 $as_echo "$at_srcdir/gzip.at:28:
15820 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
15824 echo gzip.at:28 >"$at_check_line_file"
15826 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
15830 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
15833 ) >"$at_stdout" 2>"$at_stder1"
15834 at_func_filter_trace $?
15838 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
15841 ) >"$at_stdout" 2>"$at_stderr"
15845 echo >>"$at_stderr"; $as_echo "
15846 gzip: stdin: unexpected end of file
15847 tar: Child returned status 1
15848 tar: Error is not recoverable: exiting now
15850 $at_diff - "$at_stderr" || at_failed=:
15851 at_func_diff_devnull "$at_stdout" || at_failed=:
15852 at_func_check_status 2 $at_status "$at_srcdir/gzip.at:28"
15854 $at_failed && at_func_log_failure
15859 $at_times_p && times >"$at_times_file"
15860 ) 5>&1 2>&1 | eval $at_tee_pipe
15861 at_status=`cat "$at_status_file"`
15864 # 36. incremental.at:23: incremental
15865 at_setup_line='incremental.at:23'
15866 at_desc="incremental"
15867 $at_quiet $as_echo_n " 36: $at_desc "
15869 test -f $XFAILFILE && at_xfail=yes
15870 echo "# -*- compilation -*-" >> "$at_group_log"
15872 $as_echo "36. incremental.at:23: testing ..."
15880 $as_echo "$at_srcdir/incremental.at:26:
15883 TEST_TAR_FORMAT=gnu
15884 export TEST_TAR_FORMAT
15885 TAR_OPTIONS=\"-H gnu\"
15890 echo x >structure/file
15892 # On Nextstep (and perhaps other 4.3BSD systems),
15893 # a newly created file's ctime isn't updated
15894 # until the next sync or stat operation on the file.
15895 ls -l structure/file >/dev/null
15897 # If the time of an initial backup and the creation time of a file contained
15898 # in that backup are the same, the file will be backed up again when an
15899 # incremental backup is done, because the incremental backup backs up
15900 # files created \`on or after' the initial backup time. Without the sleep
15901 # command, behaviour of tar becomes variable, depending whether the system
15902 # clock ticked over to the next second between creating the file and
15906 tar cf archive --listed=list structure
15907 tar cfv archive --listed=list structure
15909 # ReiserFS often offsets the timestamps of newly created files
15910 # 1 second to the past. Try to compensate for it, until a better
15911 # solution is found.
15913 echo y >structure/file
15914 tar cfv archive --listed=list structure
15916 echo incremental.at:26 >"$at_check_line_file"
15918 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
15923 TEST_TAR_FORMAT=gnu
15924 export TEST_TAR_FORMAT
15925 TAR_OPTIONS="-H gnu"
15930 echo x >structure/file
15932 # On Nextstep (and perhaps other 4.3BSD systems),
15933 # a newly created file's ctime isn't updated
15934 # until the next sync or stat operation on the file.
15935 ls -l structure/file >/dev/null
15937 # If the time of an initial backup and the creation time of a file contained
15938 # in that backup are the same, the file will be backed up again when an
15939 # incremental backup is done, because the incremental backup backs up
15940 # files created `on or after' the initial backup time. Without the sleep
15941 # command, behaviour of tar becomes variable, depending whether the system
15942 # clock ticked over to the next second between creating the file and
15946 tar cf archive --listed=list structure
15947 tar cfv archive --listed=list structure
15949 # ReiserFS often offsets the timestamps of newly created files
15950 # 1 second to the past. Try to compensate for it, until a better
15951 # solution is found.
15953 echo y >structure/file
15954 tar cfv archive --listed=list structure
15955 ) ) >"$at_stdout" 2>"$at_stder1"
15956 at_func_filter_trace $?
15961 TEST_TAR_FORMAT=gnu
15962 export TEST_TAR_FORMAT
15963 TAR_OPTIONS="-H gnu"
15968 echo x >structure/file
15970 # On Nextstep (and perhaps other 4.3BSD systems),
15971 # a newly created file's ctime isn't updated
15972 # until the next sync or stat operation on the file.
15973 ls -l structure/file >/dev/null
15975 # If the time of an initial backup and the creation time of a file contained
15976 # in that backup are the same, the file will be backed up again when an
15977 # incremental backup is done, because the incremental backup backs up
15978 # files created `on or after' the initial backup time. Without the sleep
15979 # command, behaviour of tar becomes variable, depending whether the system
15980 # clock ticked over to the next second between creating the file and
15984 tar cf archive --listed=list structure
15985 tar cfv archive --listed=list structure
15987 # ReiserFS often offsets the timestamps of newly created files
15988 # 1 second to the past. Try to compensate for it, until a better
15989 # solution is found.
15991 echo y >structure/file
15992 tar cfv archive --listed=list structure
15993 ) ) >"$at_stdout" 2>"$at_stderr"
15997 at_func_diff_devnull "$at_stderr" || at_failed=:
15998 echo >>"$at_stdout"; $as_echo "structure/
16003 $at_diff - "$at_stdout" || at_failed=:
16004 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
16006 $at_failed && at_func_log_failure
16010 $as_echo "$at_srcdir/incremental.at:26:
16013 TEST_TAR_FORMAT=oldgnu
16014 export TEST_TAR_FORMAT
16015 TAR_OPTIONS=\"-H oldgnu\"
16020 echo x >structure/file
16022 # On Nextstep (and perhaps other 4.3BSD systems),
16023 # a newly created file's ctime isn't updated
16024 # until the next sync or stat operation on the file.
16025 ls -l structure/file >/dev/null
16027 # If the time of an initial backup and the creation time of a file contained
16028 # in that backup are the same, the file will be backed up again when an
16029 # incremental backup is done, because the incremental backup backs up
16030 # files created \`on or after' the initial backup time. Without the sleep
16031 # command, behaviour of tar becomes variable, depending whether the system
16032 # clock ticked over to the next second between creating the file and
16036 tar cf archive --listed=list structure
16037 tar cfv archive --listed=list structure
16039 # ReiserFS often offsets the timestamps of newly created files
16040 # 1 second to the past. Try to compensate for it, until a better
16041 # solution is found.
16043 echo y >structure/file
16044 tar cfv archive --listed=list structure
16046 echo incremental.at:26 >"$at_check_line_file"
16048 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
16053 TEST_TAR_FORMAT=oldgnu
16054 export TEST_TAR_FORMAT
16055 TAR_OPTIONS="-H oldgnu"
16060 echo x >structure/file
16062 # On Nextstep (and perhaps other 4.3BSD systems),
16063 # a newly created file's ctime isn't updated
16064 # until the next sync or stat operation on the file.
16065 ls -l structure/file >/dev/null
16067 # If the time of an initial backup and the creation time of a file contained
16068 # in that backup are the same, the file will be backed up again when an
16069 # incremental backup is done, because the incremental backup backs up
16070 # files created `on or after' the initial backup time. Without the sleep
16071 # command, behaviour of tar becomes variable, depending whether the system
16072 # clock ticked over to the next second between creating the file and
16076 tar cf archive --listed=list structure
16077 tar cfv archive --listed=list structure
16079 # ReiserFS often offsets the timestamps of newly created files
16080 # 1 second to the past. Try to compensate for it, until a better
16081 # solution is found.
16083 echo y >structure/file
16084 tar cfv archive --listed=list structure
16085 ) ) >"$at_stdout" 2>"$at_stder1"
16086 at_func_filter_trace $?
16091 TEST_TAR_FORMAT=oldgnu
16092 export TEST_TAR_FORMAT
16093 TAR_OPTIONS="-H oldgnu"
16098 echo x >structure/file
16100 # On Nextstep (and perhaps other 4.3BSD systems),
16101 # a newly created file's ctime isn't updated
16102 # until the next sync or stat operation on the file.
16103 ls -l structure/file >/dev/null
16105 # If the time of an initial backup and the creation time of a file contained
16106 # in that backup are the same, the file will be backed up again when an
16107 # incremental backup is done, because the incremental backup backs up
16108 # files created `on or after' the initial backup time. Without the sleep
16109 # command, behaviour of tar becomes variable, depending whether the system
16110 # clock ticked over to the next second between creating the file and
16114 tar cf archive --listed=list structure
16115 tar cfv archive --listed=list structure
16117 # ReiserFS often offsets the timestamps of newly created files
16118 # 1 second to the past. Try to compensate for it, until a better
16119 # solution is found.
16121 echo y >structure/file
16122 tar cfv archive --listed=list structure
16123 ) ) >"$at_stdout" 2>"$at_stderr"
16127 at_func_diff_devnull "$at_stderr" || at_failed=:
16128 echo >>"$at_stdout"; $as_echo "structure/
16133 $at_diff - "$at_stdout" || at_failed=:
16134 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
16136 $at_failed && at_func_log_failure
16140 $as_echo "$at_srcdir/incremental.at:26:
16143 TEST_TAR_FORMAT=posix
16144 export TEST_TAR_FORMAT
16145 TAR_OPTIONS=\"-H posix\"
16150 echo x >structure/file
16152 # On Nextstep (and perhaps other 4.3BSD systems),
16153 # a newly created file's ctime isn't updated
16154 # until the next sync or stat operation on the file.
16155 ls -l structure/file >/dev/null
16157 # If the time of an initial backup and the creation time of a file contained
16158 # in that backup are the same, the file will be backed up again when an
16159 # incremental backup is done, because the incremental backup backs up
16160 # files created \`on or after' the initial backup time. Without the sleep
16161 # command, behaviour of tar becomes variable, depending whether the system
16162 # clock ticked over to the next second between creating the file and
16166 tar cf archive --listed=list structure
16167 tar cfv archive --listed=list structure
16169 # ReiserFS often offsets the timestamps of newly created files
16170 # 1 second to the past. Try to compensate for it, until a better
16171 # solution is found.
16173 echo y >structure/file
16174 tar cfv archive --listed=list structure
16176 echo incremental.at:26 >"$at_check_line_file"
16178 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
16183 TEST_TAR_FORMAT=posix
16184 export TEST_TAR_FORMAT
16185 TAR_OPTIONS="-H posix"
16190 echo x >structure/file
16192 # On Nextstep (and perhaps other 4.3BSD systems),
16193 # a newly created file's ctime isn't updated
16194 # until the next sync or stat operation on the file.
16195 ls -l structure/file >/dev/null
16197 # If the time of an initial backup and the creation time of a file contained
16198 # in that backup are the same, the file will be backed up again when an
16199 # incremental backup is done, because the incremental backup backs up
16200 # files created `on or after' the initial backup time. Without the sleep
16201 # command, behaviour of tar becomes variable, depending whether the system
16202 # clock ticked over to the next second between creating the file and
16206 tar cf archive --listed=list structure
16207 tar cfv archive --listed=list structure
16209 # ReiserFS often offsets the timestamps of newly created files
16210 # 1 second to the past. Try to compensate for it, until a better
16211 # solution is found.
16213 echo y >structure/file
16214 tar cfv archive --listed=list structure
16215 ) ) >"$at_stdout" 2>"$at_stder1"
16216 at_func_filter_trace $?
16221 TEST_TAR_FORMAT=posix
16222 export TEST_TAR_FORMAT
16223 TAR_OPTIONS="-H posix"
16228 echo x >structure/file
16230 # On Nextstep (and perhaps other 4.3BSD systems),
16231 # a newly created file's ctime isn't updated
16232 # until the next sync or stat operation on the file.
16233 ls -l structure/file >/dev/null
16235 # If the time of an initial backup and the creation time of a file contained
16236 # in that backup are the same, the file will be backed up again when an
16237 # incremental backup is done, because the incremental backup backs up
16238 # files created `on or after' the initial backup time. Without the sleep
16239 # command, behaviour of tar becomes variable, depending whether the system
16240 # clock ticked over to the next second between creating the file and
16244 tar cf archive --listed=list structure
16245 tar cfv archive --listed=list structure
16247 # ReiserFS often offsets the timestamps of newly created files
16248 # 1 second to the past. Try to compensate for it, until a better
16249 # solution is found.
16251 echo y >structure/file
16252 tar cfv archive --listed=list structure
16253 ) ) >"$at_stdout" 2>"$at_stderr"
16257 at_func_diff_devnull "$at_stderr" || at_failed=:
16258 echo >>"$at_stdout"; $as_echo "structure/
16263 $at_diff - "$at_stdout" || at_failed=:
16264 at_func_check_status 0 $at_status "$at_srcdir/incremental.at:26"
16266 $at_failed && at_func_log_failure
16273 $at_times_p && times >"$at_times_file"
16274 ) 5>&1 2>&1 | eval $at_tee_pipe
16275 at_status=`cat "$at_status_file"`
16278 # 37. incr01.at:27: restore broken symlinks from incremental
16279 at_setup_line='incr01.at:27'
16280 at_desc="restore broken symlinks from incremental"
16281 $at_quiet $as_echo_n " 37: $at_desc "
16283 test -f $XFAILFILE && at_xfail=yes
16284 echo "# -*- compilation -*-" >> "$at_group_log"
16286 $as_echo "37. incr01.at:27: testing ..."
16294 $as_echo "$at_srcdir/incr01.at:30:
16297 TEST_TAR_FORMAT=gnu
16298 export TEST_TAR_FORMAT
16299 TAR_OPTIONS=\"-H gnu\"
16304 \$as_ln_s foo directory/bar
16306 tar -cf archive.0 -g db directory
16308 tar -cf archive.1 -g db directory
16312 tar xvfg archive.0 /dev/null
16314 tar xvfg archive.1 /dev/null
16316 echo incr01.at:30 >"$at_check_line_file"
16318 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16323 TEST_TAR_FORMAT=gnu
16324 export TEST_TAR_FORMAT
16325 TAR_OPTIONS="-H gnu"
16330 $as_ln_s foo directory/bar
16332 tar -cf archive.0 -g db directory
16334 tar -cf archive.1 -g db directory
16338 tar xvfg archive.0 /dev/null
16340 tar xvfg archive.1 /dev/null
16341 ) ) >"$at_stdout" 2>"$at_stder1"
16342 at_func_filter_trace $?
16347 TEST_TAR_FORMAT=gnu
16348 export TEST_TAR_FORMAT
16349 TAR_OPTIONS="-H gnu"
16354 $as_ln_s foo directory/bar
16356 tar -cf archive.0 -g db directory
16358 tar -cf archive.1 -g db directory
16362 tar xvfg archive.0 /dev/null
16364 tar xvfg archive.1 /dev/null
16365 ) ) >"$at_stdout" 2>"$at_stderr"
16369 at_func_diff_devnull "$at_stderr" || at_failed=:
16370 echo >>"$at_stdout"; $as_echo "directory/
16374 tar: Deleting \`directory/bar'
16376 $at_diff - "$at_stdout" || at_failed=:
16377 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
16379 $at_failed && at_func_log_failure
16383 $as_echo "$at_srcdir/incr01.at:30:
16386 TEST_TAR_FORMAT=oldgnu
16387 export TEST_TAR_FORMAT
16388 TAR_OPTIONS=\"-H oldgnu\"
16393 \$as_ln_s foo directory/bar
16395 tar -cf archive.0 -g db directory
16397 tar -cf archive.1 -g db directory
16401 tar xvfg archive.0 /dev/null
16403 tar xvfg archive.1 /dev/null
16405 echo incr01.at:30 >"$at_check_line_file"
16407 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16412 TEST_TAR_FORMAT=oldgnu
16413 export TEST_TAR_FORMAT
16414 TAR_OPTIONS="-H oldgnu"
16419 $as_ln_s foo directory/bar
16421 tar -cf archive.0 -g db directory
16423 tar -cf archive.1 -g db directory
16427 tar xvfg archive.0 /dev/null
16429 tar xvfg archive.1 /dev/null
16430 ) ) >"$at_stdout" 2>"$at_stder1"
16431 at_func_filter_trace $?
16436 TEST_TAR_FORMAT=oldgnu
16437 export TEST_TAR_FORMAT
16438 TAR_OPTIONS="-H oldgnu"
16443 $as_ln_s foo directory/bar
16445 tar -cf archive.0 -g db directory
16447 tar -cf archive.1 -g db directory
16451 tar xvfg archive.0 /dev/null
16453 tar xvfg archive.1 /dev/null
16454 ) ) >"$at_stdout" 2>"$at_stderr"
16458 at_func_diff_devnull "$at_stderr" || at_failed=:
16459 echo >>"$at_stdout"; $as_echo "directory/
16463 tar: Deleting \`directory/bar'
16465 $at_diff - "$at_stdout" || at_failed=:
16466 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
16468 $at_failed && at_func_log_failure
16472 $as_echo "$at_srcdir/incr01.at:30:
16475 TEST_TAR_FORMAT=posix
16476 export TEST_TAR_FORMAT
16477 TAR_OPTIONS=\"-H posix\"
16482 \$as_ln_s foo directory/bar
16484 tar -cf archive.0 -g db directory
16486 tar -cf archive.1 -g db directory
16490 tar xvfg archive.0 /dev/null
16492 tar xvfg archive.1 /dev/null
16494 echo incr01.at:30 >"$at_check_line_file"
16496 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
16501 TEST_TAR_FORMAT=posix
16502 export TEST_TAR_FORMAT
16503 TAR_OPTIONS="-H posix"
16508 $as_ln_s foo directory/bar
16510 tar -cf archive.0 -g db directory
16512 tar -cf archive.1 -g db directory
16516 tar xvfg archive.0 /dev/null
16518 tar xvfg archive.1 /dev/null
16519 ) ) >"$at_stdout" 2>"$at_stder1"
16520 at_func_filter_trace $?
16525 TEST_TAR_FORMAT=posix
16526 export TEST_TAR_FORMAT
16527 TAR_OPTIONS="-H posix"
16532 $as_ln_s foo directory/bar
16534 tar -cf archive.0 -g db directory
16536 tar -cf archive.1 -g db directory
16540 tar xvfg archive.0 /dev/null
16542 tar xvfg archive.1 /dev/null
16543 ) ) >"$at_stdout" 2>"$at_stderr"
16547 at_func_diff_devnull "$at_stderr" || at_failed=:
16548 echo >>"$at_stdout"; $as_echo "directory/
16552 tar: Deleting \`directory/bar'
16554 $at_diff - "$at_stdout" || at_failed=:
16555 at_func_check_status 0 $at_status "$at_srcdir/incr01.at:30"
16557 $at_failed && at_func_log_failure
16564 $at_times_p && times >"$at_times_file"
16565 ) 5>&1 2>&1 | eval $at_tee_pipe
16566 at_status=`cat "$at_status_file"`
16569 # 38. incr02.at:32: restoring timestamps from incremental
16570 at_setup_line='incr02.at:32'
16571 at_desc="restoring timestamps from incremental"
16572 $at_quiet $as_echo_n " 38: $at_desc "
16574 test -f $XFAILFILE && at_xfail=yes
16575 echo "# -*- compilation -*-" >> "$at_group_log"
16577 $as_echo "38. incr02.at:32: testing ..."
16585 $as_echo "$at_srcdir/incr02.at:35:
16588 TEST_TAR_FORMAT=gnu
16589 export TEST_TAR_FORMAT
16590 TAR_OPTIONS=\"-H gnu\"
16594 # Create directory structure
16598 genfile --length 10 --file dir/subdir1/file
16600 # Save mtime for later comparison
16601 genfile --stat=mtime dir/subdir1 > ts
16603 # Create an archive. Using incremental mode makes sure the
16604 # archive will have a directory-first member ordering,
16609 # dir/subdir1/foofile
16611 # When restoring from this directory structure, \`dir/subdir2/' used to
16612 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16613 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
16614 # latter clobbered the directory timestamp.
16616 tar -cf archive -g db dir
16618 # Move away the directory
16621 # Wait enough time for timestamps to differ in case of failure.
16624 # Restore the directory
16625 tar -xf archive dir
16627 # Check the timestamp
16628 genfile --stat=mtime dir/subdir1 | diff ts -
16630 echo incr02.at:35 >"$at_check_line_file"
16632 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
16637 TEST_TAR_FORMAT=gnu
16638 export TEST_TAR_FORMAT
16639 TAR_OPTIONS="-H gnu"
16643 # Create directory structure
16647 genfile --length 10 --file dir/subdir1/file
16649 # Save mtime for later comparison
16650 genfile --stat=mtime dir/subdir1 > ts
16652 # Create an archive. Using incremental mode makes sure the
16653 # archive will have a directory-first member ordering,
16658 # dir/subdir1/foofile
16660 # When restoring from this directory structure, `dir/subdir2/' used to
16661 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16662 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
16663 # latter clobbered the directory timestamp.
16665 tar -cf archive -g db dir
16667 # Move away the directory
16670 # Wait enough time for timestamps to differ in case of failure.
16673 # Restore the directory
16674 tar -xf archive dir
16676 # Check the timestamp
16677 genfile --stat=mtime dir/subdir1 | diff ts -
16678 ) ) >"$at_stdout" 2>"$at_stder1"
16679 at_func_filter_trace $?
16684 TEST_TAR_FORMAT=gnu
16685 export TEST_TAR_FORMAT
16686 TAR_OPTIONS="-H gnu"
16690 # Create directory structure
16694 genfile --length 10 --file dir/subdir1/file
16696 # Save mtime for later comparison
16697 genfile --stat=mtime dir/subdir1 > ts
16699 # Create an archive. Using incremental mode makes sure the
16700 # archive will have a directory-first member ordering,
16705 # dir/subdir1/foofile
16707 # When restoring from this directory structure, `dir/subdir2/' used to
16708 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16709 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
16710 # latter clobbered the directory timestamp.
16712 tar -cf archive -g db dir
16714 # Move away the directory
16717 # Wait enough time for timestamps to differ in case of failure.
16720 # Restore the directory
16721 tar -xf archive dir
16723 # Check the timestamp
16724 genfile --stat=mtime dir/subdir1 | diff ts -
16725 ) ) >"$at_stdout" 2>"$at_stderr"
16729 at_func_diff_devnull "$at_stderr" || at_failed=:
16730 at_func_diff_devnull "$at_stdout" || at_failed=:
16731 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
16733 $at_failed && at_func_log_failure
16737 $as_echo "$at_srcdir/incr02.at:35:
16740 TEST_TAR_FORMAT=oldgnu
16741 export TEST_TAR_FORMAT
16742 TAR_OPTIONS=\"-H oldgnu\"
16746 # Create directory structure
16750 genfile --length 10 --file dir/subdir1/file
16752 # Save mtime for later comparison
16753 genfile --stat=mtime dir/subdir1 > ts
16755 # Create an archive. Using incremental mode makes sure the
16756 # archive will have a directory-first member ordering,
16761 # dir/subdir1/foofile
16763 # When restoring from this directory structure, \`dir/subdir2/' used to
16764 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16765 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
16766 # latter clobbered the directory timestamp.
16768 tar -cf archive -g db dir
16770 # Move away the directory
16773 # Wait enough time for timestamps to differ in case of failure.
16776 # Restore the directory
16777 tar -xf archive dir
16779 # Check the timestamp
16780 genfile --stat=mtime dir/subdir1 | diff ts -
16782 echo incr02.at:35 >"$at_check_line_file"
16784 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
16789 TEST_TAR_FORMAT=oldgnu
16790 export TEST_TAR_FORMAT
16791 TAR_OPTIONS="-H oldgnu"
16795 # Create directory structure
16799 genfile --length 10 --file dir/subdir1/file
16801 # Save mtime for later comparison
16802 genfile --stat=mtime dir/subdir1 > ts
16804 # Create an archive. Using incremental mode makes sure the
16805 # archive will have a directory-first member ordering,
16810 # dir/subdir1/foofile
16812 # When restoring from this directory structure, `dir/subdir2/' used to
16813 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16814 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
16815 # latter clobbered the directory timestamp.
16817 tar -cf archive -g db dir
16819 # Move away the directory
16822 # Wait enough time for timestamps to differ in case of failure.
16825 # Restore the directory
16826 tar -xf archive dir
16828 # Check the timestamp
16829 genfile --stat=mtime dir/subdir1 | diff ts -
16830 ) ) >"$at_stdout" 2>"$at_stder1"
16831 at_func_filter_trace $?
16836 TEST_TAR_FORMAT=oldgnu
16837 export TEST_TAR_FORMAT
16838 TAR_OPTIONS="-H oldgnu"
16842 # Create directory structure
16846 genfile --length 10 --file dir/subdir1/file
16848 # Save mtime for later comparison
16849 genfile --stat=mtime dir/subdir1 > ts
16851 # Create an archive. Using incremental mode makes sure the
16852 # archive will have a directory-first member ordering,
16857 # dir/subdir1/foofile
16859 # When restoring from this directory structure, `dir/subdir2/' used to
16860 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16861 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
16862 # latter clobbered the directory timestamp.
16864 tar -cf archive -g db dir
16866 # Move away the directory
16869 # Wait enough time for timestamps to differ in case of failure.
16872 # Restore the directory
16873 tar -xf archive dir
16875 # Check the timestamp
16876 genfile --stat=mtime dir/subdir1 | diff ts -
16877 ) ) >"$at_stdout" 2>"$at_stderr"
16881 at_func_diff_devnull "$at_stderr" || at_failed=:
16882 at_func_diff_devnull "$at_stdout" || at_failed=:
16883 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
16885 $at_failed && at_func_log_failure
16889 $as_echo "$at_srcdir/incr02.at:35:
16892 TEST_TAR_FORMAT=posix
16893 export TEST_TAR_FORMAT
16894 TAR_OPTIONS=\"-H posix\"
16898 # Create directory structure
16902 genfile --length 10 --file dir/subdir1/file
16904 # Save mtime for later comparison
16905 genfile --stat=mtime dir/subdir1 > ts
16907 # Create an archive. Using incremental mode makes sure the
16908 # archive will have a directory-first member ordering,
16913 # dir/subdir1/foofile
16915 # When restoring from this directory structure, \`dir/subdir2/' used to
16916 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16917 # \`subdir1' prior to restoring \`dir/subdir1/foofile'. Then, restoring the
16918 # latter clobbered the directory timestamp.
16920 tar -cf archive -g db dir
16922 # Move away the directory
16925 # Wait enough time for timestamps to differ in case of failure.
16928 # Restore the directory
16929 tar -xf archive dir
16931 # Check the timestamp
16932 genfile --stat=mtime dir/subdir1 | diff ts -
16934 echo incr02.at:35 >"$at_check_line_file"
16936 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
16941 TEST_TAR_FORMAT=posix
16942 export TEST_TAR_FORMAT
16943 TAR_OPTIONS="-H posix"
16947 # Create directory structure
16951 genfile --length 10 --file dir/subdir1/file
16953 # Save mtime for later comparison
16954 genfile --stat=mtime dir/subdir1 > ts
16956 # Create an archive. Using incremental mode makes sure the
16957 # archive will have a directory-first member ordering,
16962 # dir/subdir1/foofile
16964 # When restoring from this directory structure, `dir/subdir2/' used to
16965 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
16966 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
16967 # latter clobbered the directory timestamp.
16969 tar -cf archive -g db dir
16971 # Move away the directory
16974 # Wait enough time for timestamps to differ in case of failure.
16977 # Restore the directory
16978 tar -xf archive dir
16980 # Check the timestamp
16981 genfile --stat=mtime dir/subdir1 | diff ts -
16982 ) ) >"$at_stdout" 2>"$at_stder1"
16983 at_func_filter_trace $?
16988 TEST_TAR_FORMAT=posix
16989 export TEST_TAR_FORMAT
16990 TAR_OPTIONS="-H posix"
16994 # Create directory structure
16998 genfile --length 10 --file dir/subdir1/file
17000 # Save mtime for later comparison
17001 genfile --stat=mtime dir/subdir1 > ts
17003 # Create an archive. Using incremental mode makes sure the
17004 # archive will have a directory-first member ordering,
17009 # dir/subdir1/foofile
17011 # When restoring from this directory structure, `dir/subdir2/' used to
17012 # trigger apply_nonancestor_delayed_set_stat() which restored stats for
17013 # `subdir1' prior to restoring `dir/subdir1/foofile'. Then, restoring the
17014 # latter clobbered the directory timestamp.
17016 tar -cf archive -g db dir
17018 # Move away the directory
17021 # Wait enough time for timestamps to differ in case of failure.
17024 # Restore the directory
17025 tar -xf archive dir
17027 # Check the timestamp
17028 genfile --stat=mtime dir/subdir1 | diff ts -
17029 ) ) >"$at_stdout" 2>"$at_stderr"
17033 at_func_diff_devnull "$at_stderr" || at_failed=:
17034 at_func_diff_devnull "$at_stdout" || at_failed=:
17035 at_func_check_status 0 $at_status "$at_srcdir/incr02.at:35"
17037 $at_failed && at_func_log_failure
17044 $at_times_p && times >"$at_times_file"
17045 ) 5>&1 2>&1 | eval $at_tee_pipe
17046 at_status=`cat "$at_status_file"`
17049 # 39. listed01.at:26: --listed for individual files
17050 at_setup_line='listed01.at:26'
17051 at_desc="--listed for individual files"
17052 $at_quiet $as_echo_n " 39: $at_desc "
17054 test -f $XFAILFILE && at_xfail=yes
17055 echo "# -*- compilation -*-" >> "$at_group_log"
17057 $as_echo "39. listed01.at:26: testing ..."
17065 $as_echo "$at_srcdir/listed01.at:29:
17068 TEST_TAR_FORMAT=gnu
17069 export TEST_TAR_FORMAT
17070 TAR_OPTIONS=\"-H gnu\"
17075 genfile --length 10240 --pattern zeros --file directory/file1
17076 # Let the things settle
17080 --file=archive.1 \\
17081 --listed-incremental=listing \\
17084 tar tf archive.1 || exit 1
17088 genfile --length 10240 --pattern zeros --file directory/file2
17091 cp listing listing.old
17093 --file=archive.2 \\
17094 --listed-incremental=listing \\
17095 directory/file* || exit 1
17097 tar tf archive.2 || exit 1
17099 echo listed01.at:29 >"$at_check_line_file"
17101 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17106 TEST_TAR_FORMAT=gnu
17107 export TEST_TAR_FORMAT
17108 TAR_OPTIONS="-H gnu"
17113 genfile --length 10240 --pattern zeros --file directory/file1
17114 # Let the things settle
17119 --listed-incremental=listing \
17122 tar tf archive.1 || exit 1
17126 genfile --length 10240 --pattern zeros --file directory/file2
17129 cp listing listing.old
17132 --listed-incremental=listing \
17133 directory/file* || exit 1
17135 tar tf archive.2 || exit 1
17136 ) ) >"$at_stdout" 2>"$at_stder1"
17137 at_func_filter_trace $?
17142 TEST_TAR_FORMAT=gnu
17143 export TEST_TAR_FORMAT
17144 TAR_OPTIONS="-H gnu"
17149 genfile --length 10240 --pattern zeros --file directory/file1
17150 # Let the things settle
17155 --listed-incremental=listing \
17158 tar tf archive.1 || exit 1
17162 genfile --length 10240 --pattern zeros --file directory/file2
17165 cp listing listing.old
17168 --listed-incremental=listing \
17169 directory/file* || exit 1
17171 tar tf archive.2 || exit 1
17172 ) ) >"$at_stdout" 2>"$at_stderr"
17176 at_func_diff_devnull "$at_stderr" || at_failed=:
17177 echo >>"$at_stdout"; $as_echo "directory/file1
17181 $at_diff - "$at_stdout" || at_failed=:
17182 at_func_check_status 0 $at_status "$at_srcdir/listed01.at:29"
17184 $at_failed && at_func_log_failure
17188 $as_echo "$at_srcdir/listed01.at:29:
17191 TEST_TAR_FORMAT=oldgnu
17192 export TEST_TAR_FORMAT
17193 TAR_OPTIONS=\"-H oldgnu\"
17198 genfile --length 10240 --pattern zeros --file directory/file1
17199 # Let the things settle
17203 --file=archive.1 \\
17204 --listed-incremental=listing \\
17207 tar tf archive.1 || exit 1
17211 genfile --length 10240 --pattern zeros --file directory/file2
17214 cp listing listing.old
17216 --file=archive.2 \\
17217 --listed-incremental=listing \\
17218 directory/file* || exit 1
17220 tar tf archive.2 || exit 1
17222 echo listed01.at:29 >"$at_check_line_file"
17224 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17229 TEST_TAR_FORMAT=oldgnu
17230 export TEST_TAR_FORMAT
17231 TAR_OPTIONS="-H oldgnu"
17236 genfile --length 10240 --pattern zeros --file directory/file1
17237 # Let the things settle
17242 --listed-incremental=listing \
17245 tar tf archive.1 || exit 1
17249 genfile --length 10240 --pattern zeros --file directory/file2
17252 cp listing listing.old
17255 --listed-incremental=listing \
17256 directory/file* || exit 1
17258 tar tf archive.2 || exit 1
17259 ) ) >"$at_stdout" 2>"$at_stder1"
17260 at_func_filter_trace $?
17265 TEST_TAR_FORMAT=oldgnu
17266 export TEST_TAR_FORMAT
17267 TAR_OPTIONS="-H oldgnu"
17272 genfile --length 10240 --pattern zeros --file directory/file1
17273 # Let the things settle
17278 --listed-incremental=listing \
17281 tar tf archive.1 || exit 1
17285 genfile --length 10240 --pattern zeros --file directory/file2
17288 cp listing listing.old
17291 --listed-incremental=listing \
17292 directory/file* || exit 1
17294 tar tf archive.2 || exit 1
17295 ) ) >"$at_stdout" 2>"$at_stderr"
17299 at_func_diff_devnull "$at_stderr" || at_failed=:
17300 echo >>"$at_stdout"; $as_echo "directory/file1
17304 $at_diff - "$at_stdout" || at_failed=:
17305 at_func_check_status 0 $at_status "$at_srcdir/listed01.at:29"
17307 $at_failed && at_func_log_failure
17314 $at_times_p && times >"$at_times_file"
17315 ) 5>&1 2>&1 | eval $at_tee_pipe
17316 at_status=`cat "$at_status_file"`
17319 # 40. listed02.at:28: working --listed
17320 at_setup_line='listed02.at:28'
17321 at_desc="working --listed"
17322 $at_quiet $as_echo_n " 40: $at_desc "
17324 test -f $XFAILFILE && at_xfail=yes
17325 echo "# -*- compilation -*-" >> "$at_group_log"
17327 $as_echo "40. listed02.at:28: testing ..."
17335 $as_echo "$at_srcdir/listed02.at:31:
17338 TEST_TAR_FORMAT=gnu
17339 export TEST_TAR_FORMAT
17340 TAR_OPTIONS=\"-H gnu\"
17345 test -z "`sort < /dev/null 2>&1`" || exit 77
17347 echo Create directories
17356 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17358 echo File \$file > \$file
17363 echo Creating main archive
17364 echo >&2 \"Creating main archive\"
17365 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17367 # The above prints two lines to stderr announcing the new directories c0 and c1.
17368 # Ensure that they appear in this script's stderr in sorted order.
17369 sort err 1>&2; rm -f err
17372 echo Modifying filesystem
17379 echo Directory contents
17380 find tart -print | sort 2>/dev/null
17383 echo Creating incremental archive
17384 echo >&2 \"Creating incremental archive\"
17385 cp -p tart.incr1 tart.incr2
17386 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17391 echo Extracting main archive
17392 echo >&2 \"Extracting main archive\"
17393 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17394 echo Extracting incremental archive
17395 # This command should produce three messages about deletion
17396 # of the existing files, that may appear in any order. Piping
17397 # to sort makes sure we don't depend on any particular ordering.
17398 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17401 find tart -print | sort 2>/dev/null
17403 echo listed02.at:31 >"$at_check_line_file"
17405 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17410 TEST_TAR_FORMAT=gnu
17411 export TEST_TAR_FORMAT
17412 TAR_OPTIONS="-H gnu"
17417 test -z "`sort < /dev/null 2>&1`" || exit 77
17419 echo Create directories
17428 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17430 echo File $file > $file
17435 echo Creating main archive
17436 echo >&2 "Creating main archive"
17437 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17439 # The above prints two lines to stderr announcing the new directories c0 and c1.
17440 # Ensure that they appear in this script's stderr in sorted order.
17441 sort err 1>&2; rm -f err
17444 echo Modifying filesystem
17451 echo Directory contents
17452 find tart -print | sort 2>/dev/null
17455 echo Creating incremental archive
17456 echo >&2 "Creating incremental archive"
17457 cp -p tart.incr1 tart.incr2
17458 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17463 echo Extracting main archive
17464 echo >&2 "Extracting main archive"
17465 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17466 echo Extracting incremental archive
17467 # This command should produce three messages about deletion
17468 # of the existing files, that may appear in any order. Piping
17469 # to sort makes sure we don't depend on any particular ordering.
17470 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17473 find tart -print | sort 2>/dev/null
17474 ) ) >"$at_stdout" 2>"$at_stder1"
17475 at_func_filter_trace $?
17480 TEST_TAR_FORMAT=gnu
17481 export TEST_TAR_FORMAT
17482 TAR_OPTIONS="-H gnu"
17487 test -z "`sort < /dev/null 2>&1`" || exit 77
17489 echo Create directories
17498 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17500 echo File $file > $file
17505 echo Creating main archive
17506 echo >&2 "Creating main archive"
17507 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17509 # The above prints two lines to stderr announcing the new directories c0 and c1.
17510 # Ensure that they appear in this script's stderr in sorted order.
17511 sort err 1>&2; rm -f err
17514 echo Modifying filesystem
17521 echo Directory contents
17522 find tart -print | sort 2>/dev/null
17525 echo Creating incremental archive
17526 echo >&2 "Creating incremental archive"
17527 cp -p tart.incr1 tart.incr2
17528 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17533 echo Extracting main archive
17534 echo >&2 "Extracting main archive"
17535 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17536 echo Extracting incremental archive
17537 # This command should produce three messages about deletion
17538 # of the existing files, that may appear in any order. Piping
17539 # to sort makes sure we don't depend on any particular ordering.
17540 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17543 find tart -print | sort 2>/dev/null
17544 ) ) >"$at_stdout" 2>"$at_stderr"
17548 echo >>"$at_stderr"; $as_echo "Creating main archive
17549 tar: tart/c0: Directory is new
17550 tar: tart/c1: Directory is new
17551 tar: tart: Directory is new
17552 Creating incremental archive
17553 tar: tart/c2: Directory has been renamed from \`tart/c1'
17554 Extracting main archive
17556 $at_diff - "$at_stderr" || at_failed=:
17557 echo >>"$at_stdout"; $as_echo "Create directories
17558 Creating main archive
17568 Modifying filesystem
17579 Creating incremental archive
17585 Extracting main archive
17595 Extracting incremental archive
17596 tar: Deleting \`tart/a1'
17597 tar: Deleting \`tart/b1'
17614 $at_diff - "$at_stdout" || at_failed=:
17615 at_func_check_status 0 $at_status "$at_srcdir/listed02.at:31"
17617 $at_failed && at_func_log_failure
17621 $as_echo "$at_srcdir/listed02.at:31:
17624 TEST_TAR_FORMAT=oldgnu
17625 export TEST_TAR_FORMAT
17626 TAR_OPTIONS=\"-H oldgnu\"
17631 test -z "`sort < /dev/null 2>&1`" || exit 77
17633 echo Create directories
17642 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17644 echo File \$file > \$file
17649 echo Creating main archive
17650 echo >&2 \"Creating main archive\"
17651 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17653 # The above prints two lines to stderr announcing the new directories c0 and c1.
17654 # Ensure that they appear in this script's stderr in sorted order.
17655 sort err 1>&2; rm -f err
17658 echo Modifying filesystem
17665 echo Directory contents
17666 find tart -print | sort 2>/dev/null
17669 echo Creating incremental archive
17670 echo >&2 \"Creating incremental archive\"
17671 cp -p tart.incr1 tart.incr2
17672 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17677 echo Extracting main archive
17678 echo >&2 \"Extracting main archive\"
17679 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17680 echo Extracting incremental archive
17681 # This command should produce three messages about deletion
17682 # of the existing files, that may appear in any order. Piping
17683 # to sort makes sure we don't depend on any particular ordering.
17684 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17687 find tart -print | sort 2>/dev/null
17689 echo listed02.at:31 >"$at_check_line_file"
17691 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17696 TEST_TAR_FORMAT=oldgnu
17697 export TEST_TAR_FORMAT
17698 TAR_OPTIONS="-H oldgnu"
17703 test -z "`sort < /dev/null 2>&1`" || exit 77
17705 echo Create directories
17714 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17716 echo File $file > $file
17721 echo Creating main archive
17722 echo >&2 "Creating main archive"
17723 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17725 # The above prints two lines to stderr announcing the new directories c0 and c1.
17726 # Ensure that they appear in this script's stderr in sorted order.
17727 sort err 1>&2; rm -f err
17730 echo Modifying filesystem
17737 echo Directory contents
17738 find tart -print | sort 2>/dev/null
17741 echo Creating incremental archive
17742 echo >&2 "Creating incremental archive"
17743 cp -p tart.incr1 tart.incr2
17744 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17749 echo Extracting main archive
17750 echo >&2 "Extracting main archive"
17751 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17752 echo Extracting incremental archive
17753 # This command should produce three messages about deletion
17754 # of the existing files, that may appear in any order. Piping
17755 # to sort makes sure we don't depend on any particular ordering.
17756 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17759 find tart -print | sort 2>/dev/null
17760 ) ) >"$at_stdout" 2>"$at_stder1"
17761 at_func_filter_trace $?
17766 TEST_TAR_FORMAT=oldgnu
17767 export TEST_TAR_FORMAT
17768 TAR_OPTIONS="-H oldgnu"
17773 test -z "`sort < /dev/null 2>&1`" || exit 77
17775 echo Create directories
17784 for file in tart/a1 tart/b1 tart/c0/cq1 tart/c0/cq2 tart/c1/ca1 tart/c1/ca2
17786 echo File $file > $file
17791 echo Creating main archive
17792 echo >&2 "Creating main archive"
17793 tar -c -v --listed-incremental=tart.incr1 -f archive.1 tart 2> err || exit 1
17795 # The above prints two lines to stderr announcing the new directories c0 and c1.
17796 # Ensure that they appear in this script's stderr in sorted order.
17797 sort err 1>&2; rm -f err
17800 echo Modifying filesystem
17807 echo Directory contents
17808 find tart -print | sort 2>/dev/null
17811 echo Creating incremental archive
17812 echo >&2 "Creating incremental archive"
17813 cp -p tart.incr1 tart.incr2
17814 tar -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit 1
17819 echo Extracting main archive
17820 echo >&2 "Extracting main archive"
17821 tar -x -v --listed-incremental=tart.incr1 -f archive.1 || exit 1
17822 echo Extracting incremental archive
17823 # This command should produce three messages about deletion
17824 # of the existing files, that may appear in any order. Piping
17825 # to sort makes sure we don't depend on any particular ordering.
17826 tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort 2>/dev/null
17829 find tart -print | sort 2>/dev/null
17830 ) ) >"$at_stdout" 2>"$at_stderr"
17834 echo >>"$at_stderr"; $as_echo "Creating main archive
17835 tar: tart/c0: Directory is new
17836 tar: tart/c1: Directory is new
17837 tar: tart: Directory is new
17838 Creating incremental archive
17839 tar: tart/c2: Directory has been renamed from \`tart/c1'
17840 Extracting main archive
17842 $at_diff - "$at_stderr" || at_failed=:
17843 echo >>"$at_stdout"; $as_echo "Create directories
17844 Creating main archive
17854 Modifying filesystem
17865 Creating incremental archive
17871 Extracting main archive
17881 Extracting incremental archive
17882 tar: Deleting \`tart/a1'
17883 tar: Deleting \`tart/b1'
17900 $at_diff - "$at_stdout" || at_failed=:
17901 at_func_check_status 0 $at_status "$at_srcdir/listed02.at:31"
17903 $at_failed && at_func_log_failure
17910 $at_times_p && times >"$at_times_file"
17911 ) 5>&1 2>&1 | eval $at_tee_pipe
17912 at_status=`cat "$at_status_file"`
17915 # 41. incr03.at:28: renamed files in incrementals
17916 at_setup_line='incr03.at:28'
17917 at_desc="renamed files in incrementals"
17918 $at_quiet $as_echo_n " 41: $at_desc "
17920 test -f $XFAILFILE && at_xfail=yes
17921 echo "# -*- compilation -*-" >> "$at_group_log"
17923 $as_echo "41. incr03.at:28: testing ..."
17931 $as_echo "$at_srcdir/incr03.at:31:
17934 TEST_TAR_FORMAT=gnu
17935 export TEST_TAR_FORMAT
17936 TAR_OPTIONS=\"-H gnu\"
17941 test -z "`sort < /dev/null 2>&1`" || exit 77
17944 genfile --file=directory/x
17945 genfile --file=directory/y
17949 tar -cf archive.1 -g db directory
17951 mv directory/x directory/z
17953 tar -cf archive.2 -g db directory
17957 echo Listing of archive.1
17958 tar -tf archive.1 | sort
17959 echo Listing of archive.2
17960 tar -tf archive.2 | sort
17962 echo Directory after first restore
17963 tar -xf archive.1 -g db
17964 find directory | sort
17966 echo Directory after second restore
17967 tar -xf archive.2 -g db
17968 find directory | sort
17970 echo incr03.at:31 >"$at_check_line_file"
17972 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
17977 TEST_TAR_FORMAT=gnu
17978 export TEST_TAR_FORMAT
17979 TAR_OPTIONS="-H gnu"
17984 test -z "`sort < /dev/null 2>&1`" || exit 77
17987 genfile --file=directory/x
17988 genfile --file=directory/y
17992 tar -cf archive.1 -g db directory
17994 mv directory/x directory/z
17996 tar -cf archive.2 -g db directory
18000 echo Listing of archive.1
18001 tar -tf archive.1 | sort
18002 echo Listing of archive.2
18003 tar -tf archive.2 | sort
18005 echo Directory after first restore
18006 tar -xf archive.1 -g db
18007 find directory | sort
18009 echo Directory after second restore
18010 tar -xf archive.2 -g db
18011 find directory | sort
18012 ) ) >"$at_stdout" 2>"$at_stder1"
18013 at_func_filter_trace $?
18018 TEST_TAR_FORMAT=gnu
18019 export TEST_TAR_FORMAT
18020 TAR_OPTIONS="-H gnu"
18025 test -z "`sort < /dev/null 2>&1`" || exit 77
18028 genfile --file=directory/x
18029 genfile --file=directory/y
18033 tar -cf archive.1 -g db directory
18035 mv directory/x directory/z
18037 tar -cf archive.2 -g db directory
18041 echo Listing of archive.1
18042 tar -tf archive.1 | sort
18043 echo Listing of archive.2
18044 tar -tf archive.2 | sort
18046 echo Directory after first restore
18047 tar -xf archive.1 -g db
18048 find directory | sort
18050 echo Directory after second restore
18051 tar -xf archive.2 -g db
18052 find directory | sort
18053 ) ) >"$at_stdout" 2>"$at_stderr"
18057 at_func_diff_devnull "$at_stderr" || at_failed=:
18058 echo >>"$at_stdout"; $as_echo "Listing of archive.1
18062 Listing of archive.2
18065 Directory after first restore
18069 Directory after second restore
18074 $at_diff - "$at_stdout" || at_failed=:
18075 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
18077 $at_failed && at_func_log_failure
18081 $as_echo "$at_srcdir/incr03.at:31:
18084 TEST_TAR_FORMAT=oldgnu
18085 export TEST_TAR_FORMAT
18086 TAR_OPTIONS=\"-H oldgnu\"
18091 test -z "`sort < /dev/null 2>&1`" || exit 77
18094 genfile --file=directory/x
18095 genfile --file=directory/y
18099 tar -cf archive.1 -g db directory
18101 mv directory/x directory/z
18103 tar -cf archive.2 -g db directory
18107 echo Listing of archive.1
18108 tar -tf archive.1 | sort
18109 echo Listing of archive.2
18110 tar -tf archive.2 | sort
18112 echo Directory after first restore
18113 tar -xf archive.1 -g db
18114 find directory | sort
18116 echo Directory after second restore
18117 tar -xf archive.2 -g db
18118 find directory | sort
18120 echo incr03.at:31 >"$at_check_line_file"
18122 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18127 TEST_TAR_FORMAT=oldgnu
18128 export TEST_TAR_FORMAT
18129 TAR_OPTIONS="-H oldgnu"
18134 test -z "`sort < /dev/null 2>&1`" || exit 77
18137 genfile --file=directory/x
18138 genfile --file=directory/y
18142 tar -cf archive.1 -g db directory
18144 mv directory/x directory/z
18146 tar -cf archive.2 -g db directory
18150 echo Listing of archive.1
18151 tar -tf archive.1 | sort
18152 echo Listing of archive.2
18153 tar -tf archive.2 | sort
18155 echo Directory after first restore
18156 tar -xf archive.1 -g db
18157 find directory | sort
18159 echo Directory after second restore
18160 tar -xf archive.2 -g db
18161 find directory | sort
18162 ) ) >"$at_stdout" 2>"$at_stder1"
18163 at_func_filter_trace $?
18168 TEST_TAR_FORMAT=oldgnu
18169 export TEST_TAR_FORMAT
18170 TAR_OPTIONS="-H oldgnu"
18175 test -z "`sort < /dev/null 2>&1`" || exit 77
18178 genfile --file=directory/x
18179 genfile --file=directory/y
18183 tar -cf archive.1 -g db directory
18185 mv directory/x directory/z
18187 tar -cf archive.2 -g db directory
18191 echo Listing of archive.1
18192 tar -tf archive.1 | sort
18193 echo Listing of archive.2
18194 tar -tf archive.2 | sort
18196 echo Directory after first restore
18197 tar -xf archive.1 -g db
18198 find directory | sort
18200 echo Directory after second restore
18201 tar -xf archive.2 -g db
18202 find directory | sort
18203 ) ) >"$at_stdout" 2>"$at_stderr"
18207 at_func_diff_devnull "$at_stderr" || at_failed=:
18208 echo >>"$at_stdout"; $as_echo "Listing of archive.1
18212 Listing of archive.2
18215 Directory after first restore
18219 Directory after second restore
18224 $at_diff - "$at_stdout" || at_failed=:
18225 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
18227 $at_failed && at_func_log_failure
18231 $as_echo "$at_srcdir/incr03.at:31:
18234 TEST_TAR_FORMAT=posix
18235 export TEST_TAR_FORMAT
18236 TAR_OPTIONS=\"-H posix\"
18241 test -z "`sort < /dev/null 2>&1`" || exit 77
18244 genfile --file=directory/x
18245 genfile --file=directory/y
18249 tar -cf archive.1 -g db directory
18251 mv directory/x directory/z
18253 tar -cf archive.2 -g db directory
18257 echo Listing of archive.1
18258 tar -tf archive.1 | sort
18259 echo Listing of archive.2
18260 tar -tf archive.2 | sort
18262 echo Directory after first restore
18263 tar -xf archive.1 -g db
18264 find directory | sort
18266 echo Directory after second restore
18267 tar -xf archive.2 -g db
18268 find directory | sort
18270 echo incr03.at:31 >"$at_check_line_file"
18272 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18277 TEST_TAR_FORMAT=posix
18278 export TEST_TAR_FORMAT
18279 TAR_OPTIONS="-H posix"
18284 test -z "`sort < /dev/null 2>&1`" || exit 77
18287 genfile --file=directory/x
18288 genfile --file=directory/y
18292 tar -cf archive.1 -g db directory
18294 mv directory/x directory/z
18296 tar -cf archive.2 -g db directory
18300 echo Listing of archive.1
18301 tar -tf archive.1 | sort
18302 echo Listing of archive.2
18303 tar -tf archive.2 | sort
18305 echo Directory after first restore
18306 tar -xf archive.1 -g db
18307 find directory | sort
18309 echo Directory after second restore
18310 tar -xf archive.2 -g db
18311 find directory | sort
18312 ) ) >"$at_stdout" 2>"$at_stder1"
18313 at_func_filter_trace $?
18318 TEST_TAR_FORMAT=posix
18319 export TEST_TAR_FORMAT
18320 TAR_OPTIONS="-H posix"
18325 test -z "`sort < /dev/null 2>&1`" || exit 77
18328 genfile --file=directory/x
18329 genfile --file=directory/y
18333 tar -cf archive.1 -g db directory
18335 mv directory/x directory/z
18337 tar -cf archive.2 -g db directory
18341 echo Listing of archive.1
18342 tar -tf archive.1 | sort
18343 echo Listing of archive.2
18344 tar -tf archive.2 | sort
18346 echo Directory after first restore
18347 tar -xf archive.1 -g db
18348 find directory | sort
18350 echo Directory after second restore
18351 tar -xf archive.2 -g db
18352 find directory | sort
18353 ) ) >"$at_stdout" 2>"$at_stderr"
18357 at_func_diff_devnull "$at_stderr" || at_failed=:
18358 echo >>"$at_stdout"; $as_echo "Listing of archive.1
18362 Listing of archive.2
18365 Directory after first restore
18369 Directory after second restore
18374 $at_diff - "$at_stdout" || at_failed=:
18375 at_func_check_status 0 $at_status "$at_srcdir/incr03.at:31"
18377 $at_failed && at_func_log_failure
18384 $at_times_p && times >"$at_times_file"
18385 ) 5>&1 2>&1 | eval $at_tee_pipe
18386 at_status=`cat "$at_status_file"`
18389 # 42. incr04.at:29: proper icontents initialization
18390 at_setup_line='incr04.at:29'
18391 at_desc="proper icontents initialization"
18392 $at_quiet $as_echo_n " 42: $at_desc "
18394 test -f $XFAILFILE && at_xfail=yes
18395 echo "# -*- compilation -*-" >> "$at_group_log"
18397 $as_echo "42. incr04.at:29: testing ..."
18407 $as_echo "$at_srcdir/incr04.at:34:
18410 TEST_TAR_FORMAT=gnu
18411 export TEST_TAR_FORMAT
18412 TAR_OPTIONS=\"-H gnu\"
18417 install-sh -d a/b >/dev/null || exit 77
18419 for (i=1;i<=142;i++)
18420 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
18421 }' < /dev/null | genfile --files-from -
18425 echo \"Initial dump\"
18426 tar cvf a0.tar -g a.sna a
18428 echo \"Incremental dump\"
18429 tar cvf a1.tar -g a.sna a
18431 echo incr04.at:34 >"$at_check_line_file"
18433 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18438 TEST_TAR_FORMAT=gnu
18439 export TEST_TAR_FORMAT
18440 TAR_OPTIONS="-H gnu"
18445 install-sh -d a/b >/dev/null || exit 77
18447 for (i=1;i<=142;i++)
18448 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18449 }' < /dev/null | genfile --files-from -
18453 echo "Initial dump"
18454 tar cvf a0.tar -g a.sna a
18456 echo "Incremental dump"
18457 tar cvf a1.tar -g a.sna a
18458 ) ) >"$at_stdout" 2>"$at_stder1"
18459 at_func_filter_trace $?
18464 TEST_TAR_FORMAT=gnu
18465 export TEST_TAR_FORMAT
18466 TAR_OPTIONS="-H gnu"
18471 install-sh -d a/b >/dev/null || exit 77
18473 for (i=1;i<=142;i++)
18474 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18475 }' < /dev/null | genfile --files-from -
18479 echo "Initial dump"
18480 tar cvf a0.tar -g a.sna a
18482 echo "Incremental dump"
18483 tar cvf a1.tar -g a.sna a
18484 ) ) >"$at_stdout" 2>"$at_stderr"
18488 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
18489 tar: a/b: Directory is new
18490 tar: a/c: Directory has been renamed from \`a/b'
18492 $at_diff - "$at_stderr" || at_failed=:
18493 echo >>"$at_stdout"; $as_echo "Initial dump
18496 a/b/one_31_chars_long_file_name_001
18497 a/b/one_31_chars_long_file_name_002
18498 a/b/one_31_chars_long_file_name_003
18499 a/b/one_31_chars_long_file_name_004
18500 a/b/one_31_chars_long_file_name_005
18501 a/b/one_31_chars_long_file_name_006
18502 a/b/one_31_chars_long_file_name_007
18503 a/b/one_31_chars_long_file_name_008
18504 a/b/one_31_chars_long_file_name_009
18505 a/b/one_31_chars_long_file_name_010
18506 a/b/one_31_chars_long_file_name_011
18507 a/b/one_31_chars_long_file_name_012
18508 a/b/one_31_chars_long_file_name_013
18509 a/b/one_31_chars_long_file_name_014
18510 a/b/one_31_chars_long_file_name_015
18511 a/b/one_31_chars_long_file_name_016
18512 a/b/one_31_chars_long_file_name_017
18513 a/b/one_31_chars_long_file_name_018
18514 a/b/one_31_chars_long_file_name_019
18515 a/b/one_31_chars_long_file_name_020
18516 a/b/one_31_chars_long_file_name_021
18517 a/b/one_31_chars_long_file_name_022
18518 a/b/one_31_chars_long_file_name_023
18519 a/b/one_31_chars_long_file_name_024
18520 a/b/one_31_chars_long_file_name_025
18521 a/b/one_31_chars_long_file_name_026
18522 a/b/one_31_chars_long_file_name_027
18523 a/b/one_31_chars_long_file_name_028
18524 a/b/one_31_chars_long_file_name_029
18525 a/b/one_31_chars_long_file_name_030
18526 a/b/one_31_chars_long_file_name_031
18527 a/b/one_31_chars_long_file_name_032
18528 a/b/one_31_chars_long_file_name_033
18529 a/b/one_31_chars_long_file_name_034
18530 a/b/one_31_chars_long_file_name_035
18531 a/b/one_31_chars_long_file_name_036
18532 a/b/one_31_chars_long_file_name_037
18533 a/b/one_31_chars_long_file_name_038
18534 a/b/one_31_chars_long_file_name_039
18535 a/b/one_31_chars_long_file_name_040
18536 a/b/one_31_chars_long_file_name_041
18537 a/b/one_31_chars_long_file_name_042
18538 a/b/one_31_chars_long_file_name_043
18539 a/b/one_31_chars_long_file_name_044
18540 a/b/one_31_chars_long_file_name_045
18541 a/b/one_31_chars_long_file_name_046
18542 a/b/one_31_chars_long_file_name_047
18543 a/b/one_31_chars_long_file_name_048
18544 a/b/one_31_chars_long_file_name_049
18545 a/b/one_31_chars_long_file_name_050
18546 a/b/one_31_chars_long_file_name_051
18547 a/b/one_31_chars_long_file_name_052
18548 a/b/one_31_chars_long_file_name_053
18549 a/b/one_31_chars_long_file_name_054
18550 a/b/one_31_chars_long_file_name_055
18551 a/b/one_31_chars_long_file_name_056
18552 a/b/one_31_chars_long_file_name_057
18553 a/b/one_31_chars_long_file_name_058
18554 a/b/one_31_chars_long_file_name_059
18555 a/b/one_31_chars_long_file_name_060
18556 a/b/one_31_chars_long_file_name_061
18557 a/b/one_31_chars_long_file_name_062
18558 a/b/one_31_chars_long_file_name_063
18559 a/b/one_31_chars_long_file_name_064
18560 a/b/one_31_chars_long_file_name_065
18561 a/b/one_31_chars_long_file_name_066
18562 a/b/one_31_chars_long_file_name_067
18563 a/b/one_31_chars_long_file_name_068
18564 a/b/one_31_chars_long_file_name_069
18565 a/b/one_31_chars_long_file_name_070
18566 a/b/one_31_chars_long_file_name_071
18567 a/b/one_31_chars_long_file_name_072
18568 a/b/one_31_chars_long_file_name_073
18569 a/b/one_31_chars_long_file_name_074
18570 a/b/one_31_chars_long_file_name_075
18571 a/b/one_31_chars_long_file_name_076
18572 a/b/one_31_chars_long_file_name_077
18573 a/b/one_31_chars_long_file_name_078
18574 a/b/one_31_chars_long_file_name_079
18575 a/b/one_31_chars_long_file_name_080
18576 a/b/one_31_chars_long_file_name_081
18577 a/b/one_31_chars_long_file_name_082
18578 a/b/one_31_chars_long_file_name_083
18579 a/b/one_31_chars_long_file_name_084
18580 a/b/one_31_chars_long_file_name_085
18581 a/b/one_31_chars_long_file_name_086
18582 a/b/one_31_chars_long_file_name_087
18583 a/b/one_31_chars_long_file_name_088
18584 a/b/one_31_chars_long_file_name_089
18585 a/b/one_31_chars_long_file_name_090
18586 a/b/one_31_chars_long_file_name_091
18587 a/b/one_31_chars_long_file_name_092
18588 a/b/one_31_chars_long_file_name_093
18589 a/b/one_31_chars_long_file_name_094
18590 a/b/one_31_chars_long_file_name_095
18591 a/b/one_31_chars_long_file_name_096
18592 a/b/one_31_chars_long_file_name_097
18593 a/b/one_31_chars_long_file_name_098
18594 a/b/one_31_chars_long_file_name_099
18595 a/b/one_31_chars_long_file_name_100
18596 a/b/one_31_chars_long_file_name_101
18597 a/b/one_31_chars_long_file_name_102
18598 a/b/one_31_chars_long_file_name_103
18599 a/b/one_31_chars_long_file_name_104
18600 a/b/one_31_chars_long_file_name_105
18601 a/b/one_31_chars_long_file_name_106
18602 a/b/one_31_chars_long_file_name_107
18603 a/b/one_31_chars_long_file_name_108
18604 a/b/one_31_chars_long_file_name_109
18605 a/b/one_31_chars_long_file_name_110
18606 a/b/one_31_chars_long_file_name_111
18607 a/b/one_31_chars_long_file_name_112
18608 a/b/one_31_chars_long_file_name_113
18609 a/b/one_31_chars_long_file_name_114
18610 a/b/one_31_chars_long_file_name_115
18611 a/b/one_31_chars_long_file_name_116
18612 a/b/one_31_chars_long_file_name_117
18613 a/b/one_31_chars_long_file_name_118
18614 a/b/one_31_chars_long_file_name_119
18615 a/b/one_31_chars_long_file_name_120
18616 a/b/one_31_chars_long_file_name_121
18617 a/b/one_31_chars_long_file_name_122
18618 a/b/one_31_chars_long_file_name_123
18619 a/b/one_31_chars_long_file_name_124
18620 a/b/one_31_chars_long_file_name_125
18621 a/b/one_31_chars_long_file_name_126
18622 a/b/one_31_chars_long_file_name_127
18623 a/b/one_31_chars_long_file_name_128
18624 a/b/one_31_chars_long_file_name_129
18625 a/b/one_31_chars_long_file_name_130
18626 a/b/one_31_chars_long_file_name_131
18627 a/b/one_31_chars_long_file_name_132
18628 a/b/one_31_chars_long_file_name_133
18629 a/b/one_31_chars_long_file_name_134
18630 a/b/one_31_chars_long_file_name_135
18631 a/b/one_31_chars_long_file_name_136
18632 a/b/one_31_chars_long_file_name_137
18633 a/b/one_31_chars_long_file_name_138
18634 a/b/one_31_chars_long_file_name_139
18635 a/b/one_31_chars_long_file_name_140
18636 a/b/one_31_chars_long_file_name_141
18637 a/b/one_31_chars_long_file_name_142
18642 $at_diff - "$at_stdout" || at_failed=:
18643 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
18645 $at_failed && at_func_log_failure
18649 $as_echo "$at_srcdir/incr04.at:34:
18652 TEST_TAR_FORMAT=oldgnu
18653 export TEST_TAR_FORMAT
18654 TAR_OPTIONS=\"-H oldgnu\"
18659 install-sh -d a/b >/dev/null || exit 77
18661 for (i=1;i<=142;i++)
18662 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
18663 }' < /dev/null | genfile --files-from -
18667 echo \"Initial dump\"
18668 tar cvf a0.tar -g a.sna a
18670 echo \"Incremental dump\"
18671 tar cvf a1.tar -g a.sna a
18673 echo incr04.at:34 >"$at_check_line_file"
18675 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18680 TEST_TAR_FORMAT=oldgnu
18681 export TEST_TAR_FORMAT
18682 TAR_OPTIONS="-H oldgnu"
18687 install-sh -d a/b >/dev/null || exit 77
18689 for (i=1;i<=142;i++)
18690 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18691 }' < /dev/null | genfile --files-from -
18695 echo "Initial dump"
18696 tar cvf a0.tar -g a.sna a
18698 echo "Incremental dump"
18699 tar cvf a1.tar -g a.sna a
18700 ) ) >"$at_stdout" 2>"$at_stder1"
18701 at_func_filter_trace $?
18706 TEST_TAR_FORMAT=oldgnu
18707 export TEST_TAR_FORMAT
18708 TAR_OPTIONS="-H oldgnu"
18713 install-sh -d a/b >/dev/null || exit 77
18715 for (i=1;i<=142;i++)
18716 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18717 }' < /dev/null | genfile --files-from -
18721 echo "Initial dump"
18722 tar cvf a0.tar -g a.sna a
18724 echo "Incremental dump"
18725 tar cvf a1.tar -g a.sna a
18726 ) ) >"$at_stdout" 2>"$at_stderr"
18730 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
18731 tar: a/b: Directory is new
18732 tar: a/c: Directory has been renamed from \`a/b'
18734 $at_diff - "$at_stderr" || at_failed=:
18735 echo >>"$at_stdout"; $as_echo "Initial dump
18738 a/b/one_31_chars_long_file_name_001
18739 a/b/one_31_chars_long_file_name_002
18740 a/b/one_31_chars_long_file_name_003
18741 a/b/one_31_chars_long_file_name_004
18742 a/b/one_31_chars_long_file_name_005
18743 a/b/one_31_chars_long_file_name_006
18744 a/b/one_31_chars_long_file_name_007
18745 a/b/one_31_chars_long_file_name_008
18746 a/b/one_31_chars_long_file_name_009
18747 a/b/one_31_chars_long_file_name_010
18748 a/b/one_31_chars_long_file_name_011
18749 a/b/one_31_chars_long_file_name_012
18750 a/b/one_31_chars_long_file_name_013
18751 a/b/one_31_chars_long_file_name_014
18752 a/b/one_31_chars_long_file_name_015
18753 a/b/one_31_chars_long_file_name_016
18754 a/b/one_31_chars_long_file_name_017
18755 a/b/one_31_chars_long_file_name_018
18756 a/b/one_31_chars_long_file_name_019
18757 a/b/one_31_chars_long_file_name_020
18758 a/b/one_31_chars_long_file_name_021
18759 a/b/one_31_chars_long_file_name_022
18760 a/b/one_31_chars_long_file_name_023
18761 a/b/one_31_chars_long_file_name_024
18762 a/b/one_31_chars_long_file_name_025
18763 a/b/one_31_chars_long_file_name_026
18764 a/b/one_31_chars_long_file_name_027
18765 a/b/one_31_chars_long_file_name_028
18766 a/b/one_31_chars_long_file_name_029
18767 a/b/one_31_chars_long_file_name_030
18768 a/b/one_31_chars_long_file_name_031
18769 a/b/one_31_chars_long_file_name_032
18770 a/b/one_31_chars_long_file_name_033
18771 a/b/one_31_chars_long_file_name_034
18772 a/b/one_31_chars_long_file_name_035
18773 a/b/one_31_chars_long_file_name_036
18774 a/b/one_31_chars_long_file_name_037
18775 a/b/one_31_chars_long_file_name_038
18776 a/b/one_31_chars_long_file_name_039
18777 a/b/one_31_chars_long_file_name_040
18778 a/b/one_31_chars_long_file_name_041
18779 a/b/one_31_chars_long_file_name_042
18780 a/b/one_31_chars_long_file_name_043
18781 a/b/one_31_chars_long_file_name_044
18782 a/b/one_31_chars_long_file_name_045
18783 a/b/one_31_chars_long_file_name_046
18784 a/b/one_31_chars_long_file_name_047
18785 a/b/one_31_chars_long_file_name_048
18786 a/b/one_31_chars_long_file_name_049
18787 a/b/one_31_chars_long_file_name_050
18788 a/b/one_31_chars_long_file_name_051
18789 a/b/one_31_chars_long_file_name_052
18790 a/b/one_31_chars_long_file_name_053
18791 a/b/one_31_chars_long_file_name_054
18792 a/b/one_31_chars_long_file_name_055
18793 a/b/one_31_chars_long_file_name_056
18794 a/b/one_31_chars_long_file_name_057
18795 a/b/one_31_chars_long_file_name_058
18796 a/b/one_31_chars_long_file_name_059
18797 a/b/one_31_chars_long_file_name_060
18798 a/b/one_31_chars_long_file_name_061
18799 a/b/one_31_chars_long_file_name_062
18800 a/b/one_31_chars_long_file_name_063
18801 a/b/one_31_chars_long_file_name_064
18802 a/b/one_31_chars_long_file_name_065
18803 a/b/one_31_chars_long_file_name_066
18804 a/b/one_31_chars_long_file_name_067
18805 a/b/one_31_chars_long_file_name_068
18806 a/b/one_31_chars_long_file_name_069
18807 a/b/one_31_chars_long_file_name_070
18808 a/b/one_31_chars_long_file_name_071
18809 a/b/one_31_chars_long_file_name_072
18810 a/b/one_31_chars_long_file_name_073
18811 a/b/one_31_chars_long_file_name_074
18812 a/b/one_31_chars_long_file_name_075
18813 a/b/one_31_chars_long_file_name_076
18814 a/b/one_31_chars_long_file_name_077
18815 a/b/one_31_chars_long_file_name_078
18816 a/b/one_31_chars_long_file_name_079
18817 a/b/one_31_chars_long_file_name_080
18818 a/b/one_31_chars_long_file_name_081
18819 a/b/one_31_chars_long_file_name_082
18820 a/b/one_31_chars_long_file_name_083
18821 a/b/one_31_chars_long_file_name_084
18822 a/b/one_31_chars_long_file_name_085
18823 a/b/one_31_chars_long_file_name_086
18824 a/b/one_31_chars_long_file_name_087
18825 a/b/one_31_chars_long_file_name_088
18826 a/b/one_31_chars_long_file_name_089
18827 a/b/one_31_chars_long_file_name_090
18828 a/b/one_31_chars_long_file_name_091
18829 a/b/one_31_chars_long_file_name_092
18830 a/b/one_31_chars_long_file_name_093
18831 a/b/one_31_chars_long_file_name_094
18832 a/b/one_31_chars_long_file_name_095
18833 a/b/one_31_chars_long_file_name_096
18834 a/b/one_31_chars_long_file_name_097
18835 a/b/one_31_chars_long_file_name_098
18836 a/b/one_31_chars_long_file_name_099
18837 a/b/one_31_chars_long_file_name_100
18838 a/b/one_31_chars_long_file_name_101
18839 a/b/one_31_chars_long_file_name_102
18840 a/b/one_31_chars_long_file_name_103
18841 a/b/one_31_chars_long_file_name_104
18842 a/b/one_31_chars_long_file_name_105
18843 a/b/one_31_chars_long_file_name_106
18844 a/b/one_31_chars_long_file_name_107
18845 a/b/one_31_chars_long_file_name_108
18846 a/b/one_31_chars_long_file_name_109
18847 a/b/one_31_chars_long_file_name_110
18848 a/b/one_31_chars_long_file_name_111
18849 a/b/one_31_chars_long_file_name_112
18850 a/b/one_31_chars_long_file_name_113
18851 a/b/one_31_chars_long_file_name_114
18852 a/b/one_31_chars_long_file_name_115
18853 a/b/one_31_chars_long_file_name_116
18854 a/b/one_31_chars_long_file_name_117
18855 a/b/one_31_chars_long_file_name_118
18856 a/b/one_31_chars_long_file_name_119
18857 a/b/one_31_chars_long_file_name_120
18858 a/b/one_31_chars_long_file_name_121
18859 a/b/one_31_chars_long_file_name_122
18860 a/b/one_31_chars_long_file_name_123
18861 a/b/one_31_chars_long_file_name_124
18862 a/b/one_31_chars_long_file_name_125
18863 a/b/one_31_chars_long_file_name_126
18864 a/b/one_31_chars_long_file_name_127
18865 a/b/one_31_chars_long_file_name_128
18866 a/b/one_31_chars_long_file_name_129
18867 a/b/one_31_chars_long_file_name_130
18868 a/b/one_31_chars_long_file_name_131
18869 a/b/one_31_chars_long_file_name_132
18870 a/b/one_31_chars_long_file_name_133
18871 a/b/one_31_chars_long_file_name_134
18872 a/b/one_31_chars_long_file_name_135
18873 a/b/one_31_chars_long_file_name_136
18874 a/b/one_31_chars_long_file_name_137
18875 a/b/one_31_chars_long_file_name_138
18876 a/b/one_31_chars_long_file_name_139
18877 a/b/one_31_chars_long_file_name_140
18878 a/b/one_31_chars_long_file_name_141
18879 a/b/one_31_chars_long_file_name_142
18884 $at_diff - "$at_stdout" || at_failed=:
18885 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
18887 $at_failed && at_func_log_failure
18891 $as_echo "$at_srcdir/incr04.at:34:
18894 TEST_TAR_FORMAT=posix
18895 export TEST_TAR_FORMAT
18896 TAR_OPTIONS=\"-H posix\"
18901 install-sh -d a/b >/dev/null || exit 77
18903 for (i=1;i<=142;i++)
18904 printf(\"a/b/one_31_chars_long_file_name_%03d\\n\", i);
18905 }' < /dev/null | genfile --files-from -
18909 echo \"Initial dump\"
18910 tar cvf a0.tar -g a.sna a
18912 echo \"Incremental dump\"
18913 tar cvf a1.tar -g a.sna a
18915 echo incr04.at:34 >"$at_check_line_file"
18917 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
18922 TEST_TAR_FORMAT=posix
18923 export TEST_TAR_FORMAT
18924 TAR_OPTIONS="-H posix"
18929 install-sh -d a/b >/dev/null || exit 77
18931 for (i=1;i<=142;i++)
18932 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18933 }' < /dev/null | genfile --files-from -
18937 echo "Initial dump"
18938 tar cvf a0.tar -g a.sna a
18940 echo "Incremental dump"
18941 tar cvf a1.tar -g a.sna a
18942 ) ) >"$at_stdout" 2>"$at_stder1"
18943 at_func_filter_trace $?
18948 TEST_TAR_FORMAT=posix
18949 export TEST_TAR_FORMAT
18950 TAR_OPTIONS="-H posix"
18955 install-sh -d a/b >/dev/null || exit 77
18957 for (i=1;i<=142;i++)
18958 printf("a/b/one_31_chars_long_file_name_%03d\n", i);
18959 }' < /dev/null | genfile --files-from -
18963 echo "Initial dump"
18964 tar cvf a0.tar -g a.sna a
18966 echo "Incremental dump"
18967 tar cvf a1.tar -g a.sna a
18968 ) ) >"$at_stdout" 2>"$at_stderr"
18972 echo >>"$at_stderr"; $as_echo "tar: a: Directory is new
18973 tar: a/b: Directory is new
18974 tar: a/c: Directory has been renamed from \`a/b'
18976 $at_diff - "$at_stderr" || at_failed=:
18977 echo >>"$at_stdout"; $as_echo "Initial dump
18980 a/b/one_31_chars_long_file_name_001
18981 a/b/one_31_chars_long_file_name_002
18982 a/b/one_31_chars_long_file_name_003
18983 a/b/one_31_chars_long_file_name_004
18984 a/b/one_31_chars_long_file_name_005
18985 a/b/one_31_chars_long_file_name_006
18986 a/b/one_31_chars_long_file_name_007
18987 a/b/one_31_chars_long_file_name_008
18988 a/b/one_31_chars_long_file_name_009
18989 a/b/one_31_chars_long_file_name_010
18990 a/b/one_31_chars_long_file_name_011
18991 a/b/one_31_chars_long_file_name_012
18992 a/b/one_31_chars_long_file_name_013
18993 a/b/one_31_chars_long_file_name_014
18994 a/b/one_31_chars_long_file_name_015
18995 a/b/one_31_chars_long_file_name_016
18996 a/b/one_31_chars_long_file_name_017
18997 a/b/one_31_chars_long_file_name_018
18998 a/b/one_31_chars_long_file_name_019
18999 a/b/one_31_chars_long_file_name_020
19000 a/b/one_31_chars_long_file_name_021
19001 a/b/one_31_chars_long_file_name_022
19002 a/b/one_31_chars_long_file_name_023
19003 a/b/one_31_chars_long_file_name_024
19004 a/b/one_31_chars_long_file_name_025
19005 a/b/one_31_chars_long_file_name_026
19006 a/b/one_31_chars_long_file_name_027
19007 a/b/one_31_chars_long_file_name_028
19008 a/b/one_31_chars_long_file_name_029
19009 a/b/one_31_chars_long_file_name_030
19010 a/b/one_31_chars_long_file_name_031
19011 a/b/one_31_chars_long_file_name_032
19012 a/b/one_31_chars_long_file_name_033
19013 a/b/one_31_chars_long_file_name_034
19014 a/b/one_31_chars_long_file_name_035
19015 a/b/one_31_chars_long_file_name_036
19016 a/b/one_31_chars_long_file_name_037
19017 a/b/one_31_chars_long_file_name_038
19018 a/b/one_31_chars_long_file_name_039
19019 a/b/one_31_chars_long_file_name_040
19020 a/b/one_31_chars_long_file_name_041
19021 a/b/one_31_chars_long_file_name_042
19022 a/b/one_31_chars_long_file_name_043
19023 a/b/one_31_chars_long_file_name_044
19024 a/b/one_31_chars_long_file_name_045
19025 a/b/one_31_chars_long_file_name_046
19026 a/b/one_31_chars_long_file_name_047
19027 a/b/one_31_chars_long_file_name_048
19028 a/b/one_31_chars_long_file_name_049
19029 a/b/one_31_chars_long_file_name_050
19030 a/b/one_31_chars_long_file_name_051
19031 a/b/one_31_chars_long_file_name_052
19032 a/b/one_31_chars_long_file_name_053
19033 a/b/one_31_chars_long_file_name_054
19034 a/b/one_31_chars_long_file_name_055
19035 a/b/one_31_chars_long_file_name_056
19036 a/b/one_31_chars_long_file_name_057
19037 a/b/one_31_chars_long_file_name_058
19038 a/b/one_31_chars_long_file_name_059
19039 a/b/one_31_chars_long_file_name_060
19040 a/b/one_31_chars_long_file_name_061
19041 a/b/one_31_chars_long_file_name_062
19042 a/b/one_31_chars_long_file_name_063
19043 a/b/one_31_chars_long_file_name_064
19044 a/b/one_31_chars_long_file_name_065
19045 a/b/one_31_chars_long_file_name_066
19046 a/b/one_31_chars_long_file_name_067
19047 a/b/one_31_chars_long_file_name_068
19048 a/b/one_31_chars_long_file_name_069
19049 a/b/one_31_chars_long_file_name_070
19050 a/b/one_31_chars_long_file_name_071
19051 a/b/one_31_chars_long_file_name_072
19052 a/b/one_31_chars_long_file_name_073
19053 a/b/one_31_chars_long_file_name_074
19054 a/b/one_31_chars_long_file_name_075
19055 a/b/one_31_chars_long_file_name_076
19056 a/b/one_31_chars_long_file_name_077
19057 a/b/one_31_chars_long_file_name_078
19058 a/b/one_31_chars_long_file_name_079
19059 a/b/one_31_chars_long_file_name_080
19060 a/b/one_31_chars_long_file_name_081
19061 a/b/one_31_chars_long_file_name_082
19062 a/b/one_31_chars_long_file_name_083
19063 a/b/one_31_chars_long_file_name_084
19064 a/b/one_31_chars_long_file_name_085
19065 a/b/one_31_chars_long_file_name_086
19066 a/b/one_31_chars_long_file_name_087
19067 a/b/one_31_chars_long_file_name_088
19068 a/b/one_31_chars_long_file_name_089
19069 a/b/one_31_chars_long_file_name_090
19070 a/b/one_31_chars_long_file_name_091
19071 a/b/one_31_chars_long_file_name_092
19072 a/b/one_31_chars_long_file_name_093
19073 a/b/one_31_chars_long_file_name_094
19074 a/b/one_31_chars_long_file_name_095
19075 a/b/one_31_chars_long_file_name_096
19076 a/b/one_31_chars_long_file_name_097
19077 a/b/one_31_chars_long_file_name_098
19078 a/b/one_31_chars_long_file_name_099
19079 a/b/one_31_chars_long_file_name_100
19080 a/b/one_31_chars_long_file_name_101
19081 a/b/one_31_chars_long_file_name_102
19082 a/b/one_31_chars_long_file_name_103
19083 a/b/one_31_chars_long_file_name_104
19084 a/b/one_31_chars_long_file_name_105
19085 a/b/one_31_chars_long_file_name_106
19086 a/b/one_31_chars_long_file_name_107
19087 a/b/one_31_chars_long_file_name_108
19088 a/b/one_31_chars_long_file_name_109
19089 a/b/one_31_chars_long_file_name_110
19090 a/b/one_31_chars_long_file_name_111
19091 a/b/one_31_chars_long_file_name_112
19092 a/b/one_31_chars_long_file_name_113
19093 a/b/one_31_chars_long_file_name_114
19094 a/b/one_31_chars_long_file_name_115
19095 a/b/one_31_chars_long_file_name_116
19096 a/b/one_31_chars_long_file_name_117
19097 a/b/one_31_chars_long_file_name_118
19098 a/b/one_31_chars_long_file_name_119
19099 a/b/one_31_chars_long_file_name_120
19100 a/b/one_31_chars_long_file_name_121
19101 a/b/one_31_chars_long_file_name_122
19102 a/b/one_31_chars_long_file_name_123
19103 a/b/one_31_chars_long_file_name_124
19104 a/b/one_31_chars_long_file_name_125
19105 a/b/one_31_chars_long_file_name_126
19106 a/b/one_31_chars_long_file_name_127
19107 a/b/one_31_chars_long_file_name_128
19108 a/b/one_31_chars_long_file_name_129
19109 a/b/one_31_chars_long_file_name_130
19110 a/b/one_31_chars_long_file_name_131
19111 a/b/one_31_chars_long_file_name_132
19112 a/b/one_31_chars_long_file_name_133
19113 a/b/one_31_chars_long_file_name_134
19114 a/b/one_31_chars_long_file_name_135
19115 a/b/one_31_chars_long_file_name_136
19116 a/b/one_31_chars_long_file_name_137
19117 a/b/one_31_chars_long_file_name_138
19118 a/b/one_31_chars_long_file_name_139
19119 a/b/one_31_chars_long_file_name_140
19120 a/b/one_31_chars_long_file_name_141
19121 a/b/one_31_chars_long_file_name_142
19126 $at_diff - "$at_stdout" || at_failed=:
19127 at_func_check_status 0 $at_status "$at_srcdir/incr04.at:34"
19129 $at_failed && at_func_log_failure
19136 $at_times_p && times >"$at_times_file"
19137 ) 5>&1 2>&1 | eval $at_tee_pipe
19138 at_status=`cat "$at_status_file"`
19141 # 43. incr05.at:19: incremental dumps with -C
19142 at_setup_line='incr05.at:19'
19143 at_desc="incremental dumps with -C"
19144 $at_quiet $as_echo_n " 43: $at_desc "
19146 test -f $XFAILFILE && at_xfail=yes
19147 echo "# -*- compilation -*-" >> "$at_group_log"
19149 $as_echo "43. incr05.at:19: testing ..."
19157 $as_echo "$at_srcdir/incr05.at:22:
19160 TEST_TAR_FORMAT=gnu
19161 export TEST_TAR_FORMAT
19162 TAR_OPTIONS=\"-H gnu\"
19168 genfile --file dir/file1
19169 genfile --file dir/sub/file2
19172 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19174 genfile --file dir/file3
19176 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19178 echo incr05.at:22 >"$at_check_line_file"
19180 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19185 TEST_TAR_FORMAT=gnu
19186 export TEST_TAR_FORMAT
19187 TAR_OPTIONS="-H gnu"
19193 genfile --file dir/file1
19194 genfile --file dir/sub/file2
19197 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19199 genfile --file dir/file3
19201 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19202 ) ) >"$at_stdout" 2>"$at_stder1"
19203 at_func_filter_trace $?
19208 TEST_TAR_FORMAT=gnu
19209 export TEST_TAR_FORMAT
19210 TAR_OPTIONS="-H gnu"
19216 genfile --file dir/file1
19217 genfile --file dir/sub/file2
19220 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19222 genfile --file dir/file3
19224 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19225 ) ) >"$at_stdout" 2>"$at_stderr"
19229 at_func_diff_devnull "$at_stderr" || at_failed=:
19230 echo >>"$at_stdout"; $as_echo "Level 0
19240 $at_diff - "$at_stdout" || at_failed=:
19241 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
19243 $at_failed && at_func_log_failure
19247 $as_echo "$at_srcdir/incr05.at:22:
19250 TEST_TAR_FORMAT=oldgnu
19251 export TEST_TAR_FORMAT
19252 TAR_OPTIONS=\"-H oldgnu\"
19258 genfile --file dir/file1
19259 genfile --file dir/sub/file2
19262 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19264 genfile --file dir/file3
19266 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19268 echo incr05.at:22 >"$at_check_line_file"
19270 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19275 TEST_TAR_FORMAT=oldgnu
19276 export TEST_TAR_FORMAT
19277 TAR_OPTIONS="-H oldgnu"
19283 genfile --file dir/file1
19284 genfile --file dir/sub/file2
19287 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19289 genfile --file dir/file3
19291 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19292 ) ) >"$at_stdout" 2>"$at_stder1"
19293 at_func_filter_trace $?
19298 TEST_TAR_FORMAT=oldgnu
19299 export TEST_TAR_FORMAT
19300 TAR_OPTIONS="-H oldgnu"
19306 genfile --file dir/file1
19307 genfile --file dir/sub/file2
19310 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19312 genfile --file dir/file3
19314 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19315 ) ) >"$at_stdout" 2>"$at_stderr"
19319 at_func_diff_devnull "$at_stderr" || at_failed=:
19320 echo >>"$at_stdout"; $as_echo "Level 0
19330 $at_diff - "$at_stdout" || at_failed=:
19331 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
19333 $at_failed && at_func_log_failure
19337 $as_echo "$at_srcdir/incr05.at:22:
19340 TEST_TAR_FORMAT=posix
19341 export TEST_TAR_FORMAT
19342 TAR_OPTIONS=\"-H posix\"
19348 genfile --file dir/file1
19349 genfile --file dir/sub/file2
19352 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19354 genfile --file dir/file3
19356 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19358 echo incr05.at:22 >"$at_check_line_file"
19360 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19365 TEST_TAR_FORMAT=posix
19366 export TEST_TAR_FORMAT
19367 TAR_OPTIONS="-H posix"
19373 genfile --file dir/file1
19374 genfile --file dir/sub/file2
19377 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19379 genfile --file dir/file3
19381 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19382 ) ) >"$at_stdout" 2>"$at_stder1"
19383 at_func_filter_trace $?
19388 TEST_TAR_FORMAT=posix
19389 export TEST_TAR_FORMAT
19390 TAR_OPTIONS="-H posix"
19396 genfile --file dir/file1
19397 genfile --file dir/sub/file2
19400 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19402 genfile --file dir/file3
19404 tar -c -f archive.tar -g db -C dir -v --warning=no-new-dir .
19405 ) ) >"$at_stdout" 2>"$at_stderr"
19409 at_func_diff_devnull "$at_stderr" || at_failed=:
19410 echo >>"$at_stdout"; $as_echo "Level 0
19420 $at_diff - "$at_stdout" || at_failed=:
19421 at_func_check_status 0 $at_status "$at_srcdir/incr05.at:22"
19423 $at_failed && at_func_log_failure
19430 $at_times_p && times >"$at_times_file"
19431 ) 5>&1 2>&1 | eval $at_tee_pipe
19432 at_status=`cat "$at_status_file"`
19435 # 44. incr06.at:19: incremental dumps of nested directories
19436 at_setup_line='incr06.at:19'
19437 at_desc="incremental dumps of nested directories"
19438 $at_quiet $as_echo_n " 44: $at_desc "
19440 test -f $XFAILFILE && at_xfail=yes
19441 echo "# -*- compilation -*-" >> "$at_group_log"
19443 $as_echo "44. incr06.at:19: testing ..."
19451 $as_echo "$at_srcdir/incr06.at:22:
19454 TEST_TAR_FORMAT=gnu
19455 export TEST_TAR_FORMAT
19456 TAR_OPTIONS=\"-H gnu\"
19464 genfile --file dir/file1
19465 genfile --file dir/sub/file2
19466 genfile --file dir/sub/a/file3
19469 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19471 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19474 genfile --file dir/sub/b/file4
19477 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19479 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19481 echo incr06.at:22 >"$at_check_line_file"
19483 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19488 TEST_TAR_FORMAT=gnu
19489 export TEST_TAR_FORMAT
19490 TAR_OPTIONS="-H gnu"
19498 genfile --file dir/file1
19499 genfile --file dir/sub/file2
19500 genfile --file dir/sub/a/file3
19503 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19505 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19508 genfile --file dir/sub/b/file4
19511 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19513 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19514 ) ) >"$at_stdout" 2>"$at_stder1"
19515 at_func_filter_trace $?
19520 TEST_TAR_FORMAT=gnu
19521 export TEST_TAR_FORMAT
19522 TAR_OPTIONS="-H gnu"
19530 genfile --file dir/file1
19531 genfile --file dir/sub/file2
19532 genfile --file dir/sub/a/file3
19535 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19537 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19540 genfile --file dir/sub/b/file4
19543 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19545 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19546 ) ) >"$at_stdout" 2>"$at_stderr"
19550 at_func_diff_devnull "$at_stderr" || at_failed=:
19551 echo >>"$at_stdout"; $as_echo "Level 0 . sub
19582 $at_diff - "$at_stdout" || at_failed=:
19583 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
19585 $at_failed && at_func_log_failure
19589 $as_echo "$at_srcdir/incr06.at:22:
19592 TEST_TAR_FORMAT=oldgnu
19593 export TEST_TAR_FORMAT
19594 TAR_OPTIONS=\"-H oldgnu\"
19602 genfile --file dir/file1
19603 genfile --file dir/sub/file2
19604 genfile --file dir/sub/a/file3
19607 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19609 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19612 genfile --file dir/sub/b/file4
19615 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19617 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19619 echo incr06.at:22 >"$at_check_line_file"
19621 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19626 TEST_TAR_FORMAT=oldgnu
19627 export TEST_TAR_FORMAT
19628 TAR_OPTIONS="-H oldgnu"
19636 genfile --file dir/file1
19637 genfile --file dir/sub/file2
19638 genfile --file dir/sub/a/file3
19641 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19643 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19646 genfile --file dir/sub/b/file4
19649 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19651 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19652 ) ) >"$at_stdout" 2>"$at_stder1"
19653 at_func_filter_trace $?
19658 TEST_TAR_FORMAT=oldgnu
19659 export TEST_TAR_FORMAT
19660 TAR_OPTIONS="-H oldgnu"
19668 genfile --file dir/file1
19669 genfile --file dir/sub/file2
19670 genfile --file dir/sub/a/file3
19673 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19675 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19678 genfile --file dir/sub/b/file4
19681 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19683 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19684 ) ) >"$at_stdout" 2>"$at_stderr"
19688 at_func_diff_devnull "$at_stderr" || at_failed=:
19689 echo >>"$at_stdout"; $as_echo "Level 0 . sub
19720 $at_diff - "$at_stdout" || at_failed=:
19721 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
19723 $at_failed && at_func_log_failure
19727 $as_echo "$at_srcdir/incr06.at:22:
19730 TEST_TAR_FORMAT=posix
19731 export TEST_TAR_FORMAT
19732 TAR_OPTIONS=\"-H posix\"
19740 genfile --file dir/file1
19741 genfile --file dir/sub/file2
19742 genfile --file dir/sub/a/file3
19745 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19747 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19750 genfile --file dir/sub/b/file4
19753 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19755 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19757 echo incr06.at:22 >"$at_check_line_file"
19759 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19764 TEST_TAR_FORMAT=posix
19765 export TEST_TAR_FORMAT
19766 TAR_OPTIONS="-H posix"
19774 genfile --file dir/file1
19775 genfile --file dir/sub/file2
19776 genfile --file dir/sub/a/file3
19779 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19781 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19784 genfile --file dir/sub/b/file4
19787 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19789 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19790 ) ) >"$at_stdout" 2>"$at_stder1"
19791 at_func_filter_trace $?
19796 TEST_TAR_FORMAT=posix
19797 export TEST_TAR_FORMAT
19798 TAR_OPTIONS="-H posix"
19806 genfile --file dir/file1
19807 genfile --file dir/sub/file2
19808 genfile --file dir/sub/a/file3
19811 tar -c -f archive-0.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19813 tar -c -f archive-0.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19816 genfile --file dir/sub/b/file4
19819 tar -c -f archive-1.1.tar -g db.1 -C dir -v --warning=no-new-dir . sub
19821 tar -c -f archive-1.2.tar -g db.2 -C dir -v --warning=no-new-dir sub .
19822 ) ) >"$at_stdout" 2>"$at_stderr"
19826 at_func_diff_devnull "$at_stderr" || at_failed=:
19827 echo >>"$at_stdout"; $as_echo "Level 0 . sub
19858 $at_diff - "$at_stdout" || at_failed=:
19859 at_func_check_status 0 $at_status "$at_srcdir/incr06.at:22"
19861 $at_failed && at_func_log_failure
19868 $at_times_p && times >"$at_times_file"
19869 ) 5>&1 2>&1 | eval $at_tee_pipe
19870 at_status=`cat "$at_status_file"`
19873 # 45. filerem01.at:34: file removed as we read it (ca. 22 seconds)
19874 at_setup_line='filerem01.at:34'
19875 at_desc="file removed as we read it (ca. 22 seconds)"
19876 $at_quiet $as_echo_n " 45: $at_desc "
19878 test -f $XFAILFILE && at_xfail=yes
19879 echo "# -*- compilation -*-" >> "$at_group_log"
19881 $as_echo "45. filerem01.at:34: testing ..."
19889 $as_echo "$at_srcdir/filerem01.at:37:
19892 TEST_TAR_FORMAT=gnu
19893 export TEST_TAR_FORMAT
19894 TAR_OPTIONS=\"-H gnu\"
19900 genfile --file dir/file1
19901 genfile --file dir/sub/file2
19903 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
19904 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
19905 --checkpoint-action='echo' -c -f archive.tar \\
19906 --listed-incremental db -v dir >/dev/null
19908 echo filerem01.at:37 >"$at_check_line_file"
19910 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19915 TEST_TAR_FORMAT=gnu
19916 export TEST_TAR_FORMAT
19917 TAR_OPTIONS="-H gnu"
19923 genfile --file dir/file1
19924 genfile --file dir/sub/file2
19926 genfile --run --checkpoint=3 --unlink dir/file1 -- \
19927 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
19928 --checkpoint-action='echo' -c -f archive.tar \
19929 --listed-incremental db -v dir >/dev/null
19930 ) ) >"$at_stdout" 2>"$at_stder1"
19931 at_func_filter_trace $?
19936 TEST_TAR_FORMAT=gnu
19937 export TEST_TAR_FORMAT
19938 TAR_OPTIONS="-H gnu"
19944 genfile --file dir/file1
19945 genfile --file dir/sub/file2
19947 genfile --run --checkpoint=3 --unlink dir/file1 -- \
19948 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
19949 --checkpoint-action='echo' -c -f archive.tar \
19950 --listed-incremental db -v dir >/dev/null
19951 ) ) >"$at_stdout" 2>"$at_stderr"
19955 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
19956 tar: dir/sub: Directory is new
19957 tar: dir/file1: File removed before we read it
19959 $at_diff - "$at_stderr" || at_failed=:
19960 echo stdout:; cat "$at_stdout"
19961 at_func_check_status 1 $at_status "$at_srcdir/filerem01.at:37"
19963 $at_failed && at_func_log_failure
19967 $as_echo "$at_srcdir/filerem01.at:37:
19970 TEST_TAR_FORMAT=posix
19971 export TEST_TAR_FORMAT
19972 TAR_OPTIONS=\"-H posix\"
19978 genfile --file dir/file1
19979 genfile --file dir/sub/file2
19981 genfile --run --checkpoint=3 --unlink dir/file1 -- \\
19982 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
19983 --checkpoint-action='echo' -c -f archive.tar \\
19984 --listed-incremental db -v dir >/dev/null
19986 echo filerem01.at:37 >"$at_check_line_file"
19988 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
19993 TEST_TAR_FORMAT=posix
19994 export TEST_TAR_FORMAT
19995 TAR_OPTIONS="-H posix"
20001 genfile --file dir/file1
20002 genfile --file dir/sub/file2
20004 genfile --run --checkpoint=3 --unlink dir/file1 -- \
20005 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20006 --checkpoint-action='echo' -c -f archive.tar \
20007 --listed-incremental db -v dir >/dev/null
20008 ) ) >"$at_stdout" 2>"$at_stder1"
20009 at_func_filter_trace $?
20014 TEST_TAR_FORMAT=posix
20015 export TEST_TAR_FORMAT
20016 TAR_OPTIONS="-H posix"
20022 genfile --file dir/file1
20023 genfile --file dir/sub/file2
20025 genfile --run --checkpoint=3 --unlink dir/file1 -- \
20026 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20027 --checkpoint-action='echo' -c -f archive.tar \
20028 --listed-incremental db -v dir >/dev/null
20029 ) ) >"$at_stdout" 2>"$at_stderr"
20033 echo >>"$at_stderr"; $as_echo "tar: dir: Directory is new
20034 tar: dir/sub: Directory is new
20035 tar: dir/file1: File removed before we read it
20037 $at_diff - "$at_stderr" || at_failed=:
20038 echo stdout:; cat "$at_stdout"
20039 at_func_check_status 1 $at_status "$at_srcdir/filerem01.at:37"
20041 $at_failed && at_func_log_failure
20047 # Timing information:
20049 # For -Hgnu the above command line takes about 8 seconds to execute and
20052 # tar: dir: Directory is new
20053 # tar: dir/sub: Directory is new
20055 # tar: Write checkpoint 1
20056 # tar: Write checkpoint 2
20058 # tar: Write checkpoint 3
20059 # tar: Write checkpoint 4
20061 # tar: Write checkpoint 5
20063 # tar: Write checkpoint 6
20064 # tar: Write checkpoint 7
20065 # tar: Write checkpoint 8
20067 # For -Hposix the above command line takes about 14 seconds to execute and
20070 # ./tar: dir: Directory is new
20071 # ./tar: dir/sub: Directory is new
20073 # ./tar: Write checkpoint 1
20074 # ./tar: Write checkpoint 2
20075 # ./tar: Write checkpoint 3
20077 # ./tar: Write checkpoint 4
20078 # ./tar: Write checkpoint 5
20079 # ./tar: Write checkpoint 6
20081 # ./tar: Write checkpoint 7
20082 # ./tar: Write checkpoint 8
20083 # ./tar: Write checkpoint 9
20085 # ./tar: Write checkpoint 10
20086 # ./tar: Write checkpoint 11
20087 # ./tar: Write checkpoint 12
20088 # ./tar: Write checkpoint 13
20089 # ./tar: Write checkpoint 14
20093 $at_times_p && times >"$at_times_file"
20094 ) 5>&1 2>&1 | eval $at_tee_pipe
20095 at_status=`cat "$at_status_file"`
20098 # 46. filerem02.at:24: toplevel file removed (ca. 24 seconds)
20099 at_setup_line='filerem02.at:24'
20100 at_desc="toplevel file removed (ca. 24 seconds)"
20101 $at_quiet $as_echo_n " 46: $at_desc "
20103 test -f $XFAILFILE && at_xfail=yes
20104 echo "# -*- compilation -*-" >> "$at_group_log"
20106 $as_echo "46. filerem02.at:24: testing ..."
20114 $as_echo "$at_srcdir/filerem02.at:27:
20117 TEST_TAR_FORMAT=gnu
20118 export TEST_TAR_FORMAT
20119 TAR_OPTIONS=\"-H gnu\"
20125 genfile --file dir/file1
20126 genfile --file dir/sub/file2
20128 genfile --file dir2/file1
20130 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
20131 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
20132 --checkpoint-action='echo' -c -f archive.tar \\
20133 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20135 echo filerem02.at:27 >"$at_check_line_file"
20137 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20142 TEST_TAR_FORMAT=gnu
20143 export TEST_TAR_FORMAT
20144 TAR_OPTIONS="-H gnu"
20150 genfile --file dir/file1
20151 genfile --file dir/sub/file2
20153 genfile --file dir2/file1
20155 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
20156 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20157 --checkpoint-action='echo' -c -f archive.tar \
20158 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20159 ) ) >"$at_stdout" 2>"$at_stder1"
20160 at_func_filter_trace $?
20165 TEST_TAR_FORMAT=gnu
20166 export TEST_TAR_FORMAT
20167 TAR_OPTIONS="-H gnu"
20173 genfile --file dir/file1
20174 genfile --file dir/sub/file2
20176 genfile --file dir2/file1
20178 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
20179 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20180 --checkpoint-action='echo' -c -f archive.tar \
20181 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20182 ) ) >"$at_stdout" 2>"$at_stderr"
20186 echo >>"$at_stderr"; $as_echo "tar: dir2: Cannot stat: No such file or directory
20187 tar: dir2/file1: File removed before we read it
20188 tar: Exiting with failure status due to previous errors
20190 $at_diff - "$at_stderr" || at_failed=:
20191 echo stdout:; cat "$at_stdout"
20192 at_func_check_status 2 $at_status "$at_srcdir/filerem02.at:27"
20194 $at_failed && at_func_log_failure
20198 $as_echo "$at_srcdir/filerem02.at:27:
20201 TEST_TAR_FORMAT=posix
20202 export TEST_TAR_FORMAT
20203 TAR_OPTIONS=\"-H posix\"
20209 genfile --file dir/file1
20210 genfile --file dir/sub/file2
20212 genfile --file dir2/file1
20214 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \\
20215 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \\
20216 --checkpoint-action='echo' -c -f archive.tar \\
20217 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20219 echo filerem02.at:27 >"$at_check_line_file"
20221 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20226 TEST_TAR_FORMAT=posix
20227 export TEST_TAR_FORMAT
20228 TAR_OPTIONS="-H posix"
20234 genfile --file dir/file1
20235 genfile --file dir/sub/file2
20237 genfile --file dir2/file1
20239 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
20240 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20241 --checkpoint-action='echo' -c -f archive.tar \
20242 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20243 ) ) >"$at_stdout" 2>"$at_stder1"
20244 at_func_filter_trace $?
20249 TEST_TAR_FORMAT=posix
20250 export TEST_TAR_FORMAT
20251 TAR_OPTIONS="-H posix"
20257 genfile --file dir/file1
20258 genfile --file dir/sub/file2
20260 genfile --file dir2/file1
20262 genfile --run --checkpoint=3 --exec 'rm -rf dir2' -- \
20263 tar --blocking-factor=1 --checkpoint=1 --checkpoint-action='sleep=1' \
20264 --checkpoint-action='echo' -c -f archive.tar \
20265 --listed-incremental db -v --warning=no-new-dir dir dir2 >/dev/null
20266 ) ) >"$at_stdout" 2>"$at_stderr"
20270 echo >>"$at_stderr"; $as_echo "tar: dir2: Cannot stat: No such file or directory
20271 tar: dir2/file1: File removed before we read it
20272 tar: Exiting with failure status due to previous errors
20274 $at_diff - "$at_stderr" || at_failed=:
20275 echo stdout:; cat "$at_stdout"
20276 at_func_check_status 2 $at_status "$at_srcdir/filerem02.at:27"
20278 $at_failed && at_func_log_failure
20284 # Timing information: see filerem01.at
20287 $at_times_p && times >"$at_times_file"
20288 ) 5>&1 2>&1 | eval $at_tee_pipe
20289 at_status=`cat "$at_status_file"`
20292 # 47. rename01.at:24: renamed dirs in incrementals
20293 at_setup_line='rename01.at:24'
20294 at_desc="renamed dirs in incrementals"
20295 $at_quiet $as_echo_n " 47: $at_desc "
20297 test -f $XFAILFILE && at_xfail=yes
20298 echo "# -*- compilation -*-" >> "$at_group_log"
20300 $as_echo "47. rename01.at:24: testing ..."
20308 $as_echo "$at_srcdir/rename01.at:27:
20311 TEST_TAR_FORMAT=gnu
20312 export TEST_TAR_FORMAT
20313 TAR_OPTIONS=\"-H gnu\"
20318 test -z "`sort < /dev/null 2>&1`" || exit 77
20322 genfile --file foo/file1
20323 genfile --file foo/file2
20325 genfile --file foo/bar/file
20327 echo \"Creating base archive\"
20328 tar -g incr -cf arch.1 -v foo
20332 echo \"Creating incremental archive\"
20333 tar -g incr -cf arch.2 -v foo
20337 tar xfg arch.1 /dev/null
20339 echo \"Begin directory listing 1\"
20341 echo \"End directory listing 1\"
20343 tar xfg arch.2 /dev/null
20344 echo Begin directory listing 2
20346 echo End directory listing 2
20348 echo rename01.at:27 >"$at_check_line_file"
20350 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20355 TEST_TAR_FORMAT=gnu
20356 export TEST_TAR_FORMAT
20357 TAR_OPTIONS="-H gnu"
20362 test -z "`sort < /dev/null 2>&1`" || exit 77
20366 genfile --file foo/file1
20367 genfile --file foo/file2
20369 genfile --file foo/bar/file
20371 echo "Creating base archive"
20372 tar -g incr -cf arch.1 -v foo
20376 echo "Creating incremental archive"
20377 tar -g incr -cf arch.2 -v foo
20381 tar xfg arch.1 /dev/null
20383 echo "Begin directory listing 1"
20385 echo "End directory listing 1"
20387 tar xfg arch.2 /dev/null
20388 echo Begin directory listing 2
20390 echo End directory listing 2
20391 ) ) >"$at_stdout" 2>"$at_stder1"
20392 at_func_filter_trace $?
20397 TEST_TAR_FORMAT=gnu
20398 export TEST_TAR_FORMAT
20399 TAR_OPTIONS="-H gnu"
20404 test -z "`sort < /dev/null 2>&1`" || exit 77
20408 genfile --file foo/file1
20409 genfile --file foo/file2
20411 genfile --file foo/bar/file
20413 echo "Creating base archive"
20414 tar -g incr -cf arch.1 -v foo
20418 echo "Creating incremental archive"
20419 tar -g incr -cf arch.2 -v foo
20423 tar xfg arch.1 /dev/null
20425 echo "Begin directory listing 1"
20427 echo "End directory listing 1"
20429 tar xfg arch.2 /dev/null
20430 echo Begin directory listing 2
20432 echo End directory listing 2
20433 ) ) >"$at_stdout" 2>"$at_stderr"
20437 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
20438 tar: foo/bar: Directory is new
20439 tar: foo/baz: Directory has been renamed from \`foo/bar'
20441 $at_diff - "$at_stderr" || at_failed=:
20442 echo >>"$at_stdout"; $as_echo "Creating base archive
20448 Creating incremental archive
20451 Begin directory listing 1
20457 End directory listing 1
20458 Begin directory listing 2
20464 End directory listing 2
20466 $at_diff - "$at_stdout" || at_failed=:
20467 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
20469 $at_failed && at_func_log_failure
20473 $as_echo "$at_srcdir/rename01.at:27:
20476 TEST_TAR_FORMAT=oldgnu
20477 export TEST_TAR_FORMAT
20478 TAR_OPTIONS=\"-H oldgnu\"
20483 test -z "`sort < /dev/null 2>&1`" || exit 77
20487 genfile --file foo/file1
20488 genfile --file foo/file2
20490 genfile --file foo/bar/file
20492 echo \"Creating base archive\"
20493 tar -g incr -cf arch.1 -v foo
20497 echo \"Creating incremental archive\"
20498 tar -g incr -cf arch.2 -v foo
20502 tar xfg arch.1 /dev/null
20504 echo \"Begin directory listing 1\"
20506 echo \"End directory listing 1\"
20508 tar xfg arch.2 /dev/null
20509 echo Begin directory listing 2
20511 echo End directory listing 2
20513 echo rename01.at:27 >"$at_check_line_file"
20515 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20520 TEST_TAR_FORMAT=oldgnu
20521 export TEST_TAR_FORMAT
20522 TAR_OPTIONS="-H oldgnu"
20527 test -z "`sort < /dev/null 2>&1`" || exit 77
20531 genfile --file foo/file1
20532 genfile --file foo/file2
20534 genfile --file foo/bar/file
20536 echo "Creating base archive"
20537 tar -g incr -cf arch.1 -v foo
20541 echo "Creating incremental archive"
20542 tar -g incr -cf arch.2 -v foo
20546 tar xfg arch.1 /dev/null
20548 echo "Begin directory listing 1"
20550 echo "End directory listing 1"
20552 tar xfg arch.2 /dev/null
20553 echo Begin directory listing 2
20555 echo End directory listing 2
20556 ) ) >"$at_stdout" 2>"$at_stder1"
20557 at_func_filter_trace $?
20562 TEST_TAR_FORMAT=oldgnu
20563 export TEST_TAR_FORMAT
20564 TAR_OPTIONS="-H oldgnu"
20569 test -z "`sort < /dev/null 2>&1`" || exit 77
20573 genfile --file foo/file1
20574 genfile --file foo/file2
20576 genfile --file foo/bar/file
20578 echo "Creating base archive"
20579 tar -g incr -cf arch.1 -v foo
20583 echo "Creating incremental archive"
20584 tar -g incr -cf arch.2 -v foo
20588 tar xfg arch.1 /dev/null
20590 echo "Begin directory listing 1"
20592 echo "End directory listing 1"
20594 tar xfg arch.2 /dev/null
20595 echo Begin directory listing 2
20597 echo End directory listing 2
20598 ) ) >"$at_stdout" 2>"$at_stderr"
20602 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
20603 tar: foo/bar: Directory is new
20604 tar: foo/baz: Directory has been renamed from \`foo/bar'
20606 $at_diff - "$at_stderr" || at_failed=:
20607 echo >>"$at_stdout"; $as_echo "Creating base archive
20613 Creating incremental archive
20616 Begin directory listing 1
20622 End directory listing 1
20623 Begin directory listing 2
20629 End directory listing 2
20631 $at_diff - "$at_stdout" || at_failed=:
20632 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
20634 $at_failed && at_func_log_failure
20638 $as_echo "$at_srcdir/rename01.at:27:
20641 TEST_TAR_FORMAT=posix
20642 export TEST_TAR_FORMAT
20643 TAR_OPTIONS=\"-H posix\"
20648 test -z "`sort < /dev/null 2>&1`" || exit 77
20652 genfile --file foo/file1
20653 genfile --file foo/file2
20655 genfile --file foo/bar/file
20657 echo \"Creating base archive\"
20658 tar -g incr -cf arch.1 -v foo
20662 echo \"Creating incremental archive\"
20663 tar -g incr -cf arch.2 -v foo
20667 tar xfg arch.1 /dev/null
20669 echo \"Begin directory listing 1\"
20671 echo \"End directory listing 1\"
20673 tar xfg arch.2 /dev/null
20674 echo Begin directory listing 2
20676 echo End directory listing 2
20678 echo rename01.at:27 >"$at_check_line_file"
20680 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20685 TEST_TAR_FORMAT=posix
20686 export TEST_TAR_FORMAT
20687 TAR_OPTIONS="-H posix"
20692 test -z "`sort < /dev/null 2>&1`" || exit 77
20696 genfile --file foo/file1
20697 genfile --file foo/file2
20699 genfile --file foo/bar/file
20701 echo "Creating base archive"
20702 tar -g incr -cf arch.1 -v foo
20706 echo "Creating incremental archive"
20707 tar -g incr -cf arch.2 -v foo
20711 tar xfg arch.1 /dev/null
20713 echo "Begin directory listing 1"
20715 echo "End directory listing 1"
20717 tar xfg arch.2 /dev/null
20718 echo Begin directory listing 2
20720 echo End directory listing 2
20721 ) ) >"$at_stdout" 2>"$at_stder1"
20722 at_func_filter_trace $?
20727 TEST_TAR_FORMAT=posix
20728 export TEST_TAR_FORMAT
20729 TAR_OPTIONS="-H posix"
20734 test -z "`sort < /dev/null 2>&1`" || exit 77
20738 genfile --file foo/file1
20739 genfile --file foo/file2
20741 genfile --file foo/bar/file
20743 echo "Creating base archive"
20744 tar -g incr -cf arch.1 -v foo
20748 echo "Creating incremental archive"
20749 tar -g incr -cf arch.2 -v foo
20753 tar xfg arch.1 /dev/null
20755 echo "Begin directory listing 1"
20757 echo "End directory listing 1"
20759 tar xfg arch.2 /dev/null
20760 echo Begin directory listing 2
20762 echo End directory listing 2
20763 ) ) >"$at_stdout" 2>"$at_stderr"
20767 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
20768 tar: foo/bar: Directory is new
20769 tar: foo/baz: Directory has been renamed from \`foo/bar'
20771 $at_diff - "$at_stderr" || at_failed=:
20772 echo >>"$at_stdout"; $as_echo "Creating base archive
20778 Creating incremental archive
20781 Begin directory listing 1
20787 End directory listing 1
20788 Begin directory listing 2
20794 End directory listing 2
20796 $at_diff - "$at_stdout" || at_failed=:
20797 at_func_check_status 0 $at_status "$at_srcdir/rename01.at:27"
20799 $at_failed && at_func_log_failure
20806 $at_times_p && times >"$at_times_file"
20807 ) 5>&1 2>&1 | eval $at_tee_pipe
20808 at_status=`cat "$at_status_file"`
20811 # 48. rename02.at:24: move between hierarchies
20812 at_setup_line='rename02.at:24'
20813 at_desc="move between hierarchies"
20814 $at_quiet $as_echo_n " 48: $at_desc "
20816 test -f $XFAILFILE && at_xfail=yes
20817 echo "# -*- compilation -*-" >> "$at_group_log"
20819 $as_echo "48. rename02.at:24: testing ..."
20827 $as_echo "$at_srcdir/rename02.at:27:
20830 TEST_TAR_FORMAT=gnu
20831 export TEST_TAR_FORMAT
20832 TAR_OPTIONS=\"-H gnu\"
20837 test -z "`sort < /dev/null 2>&1`" || exit 77
20840 genfile --file foo/file1
20841 genfile --file foo/file2
20843 genfile --file foo/bar/file.r
20845 genfile --file foo/bar/baz/file.z
20849 echo \"Creating base archive\"
20850 tar -g incr -cf arch.1 -v foo
20854 echo \"Creating incremental archive\"
20855 tar -g incr -cf arch.2 -v foo
20859 tar xfg arch.1 /dev/null 2>tmperr
20862 echo \"Begin directory listing 1\"
20864 echo \"End directory listing 1\"
20866 tar xfgv arch.2 /dev/null
20867 echo Begin directory listing 2
20869 echo End directory listing 2
20871 echo rename02.at:27 >"$at_check_line_file"
20873 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
20878 TEST_TAR_FORMAT=gnu
20879 export TEST_TAR_FORMAT
20880 TAR_OPTIONS="-H gnu"
20885 test -z "`sort < /dev/null 2>&1`" || exit 77
20888 genfile --file foo/file1
20889 genfile --file foo/file2
20891 genfile --file foo/bar/file.r
20893 genfile --file foo/bar/baz/file.z
20897 echo "Creating base archive"
20898 tar -g incr -cf arch.1 -v foo
20902 echo "Creating incremental archive"
20903 tar -g incr -cf arch.2 -v foo
20907 tar xfg arch.1 /dev/null 2>tmperr
20910 echo "Begin directory listing 1"
20912 echo "End directory listing 1"
20914 tar xfgv arch.2 /dev/null
20915 echo Begin directory listing 2
20917 echo End directory listing 2
20918 ) ) >"$at_stdout" 2>"$at_stder1"
20919 at_func_filter_trace $?
20924 TEST_TAR_FORMAT=gnu
20925 export TEST_TAR_FORMAT
20926 TAR_OPTIONS="-H gnu"
20931 test -z "`sort < /dev/null 2>&1`" || exit 77
20934 genfile --file foo/file1
20935 genfile --file foo/file2
20937 genfile --file foo/bar/file.r
20939 genfile --file foo/bar/baz/file.z
20943 echo "Creating base archive"
20944 tar -g incr -cf arch.1 -v foo
20948 echo "Creating incremental archive"
20949 tar -g incr -cf arch.2 -v foo
20953 tar xfg arch.1 /dev/null 2>tmperr
20956 echo "Begin directory listing 1"
20958 echo "End directory listing 1"
20960 tar xfgv arch.2 /dev/null
20961 echo Begin directory listing 2
20963 echo End directory listing 2
20964 ) ) >"$at_stdout" 2>"$at_stderr"
20968 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
20969 tar: foo/bar: Directory is new
20970 tar: foo/bar/baz: Directory is new
20971 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
20973 $at_diff - "$at_stderr" || at_failed=:
20974 echo >>"$at_stdout"; $as_echo "Creating base archive
20982 Creating incremental archive
20986 Begin directory listing 1
20994 End directory listing 1
20998 Begin directory listing 2
21006 End directory listing 2
21008 $at_diff - "$at_stdout" || at_failed=:
21009 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
21011 $at_failed && at_func_log_failure
21015 $as_echo "$at_srcdir/rename02.at:27:
21018 TEST_TAR_FORMAT=oldgnu
21019 export TEST_TAR_FORMAT
21020 TAR_OPTIONS=\"-H oldgnu\"
21025 test -z "`sort < /dev/null 2>&1`" || exit 77
21028 genfile --file foo/file1
21029 genfile --file foo/file2
21031 genfile --file foo/bar/file.r
21033 genfile --file foo/bar/baz/file.z
21037 echo \"Creating base archive\"
21038 tar -g incr -cf arch.1 -v foo
21042 echo \"Creating incremental archive\"
21043 tar -g incr -cf arch.2 -v foo
21047 tar xfg arch.1 /dev/null 2>tmperr
21050 echo \"Begin directory listing 1\"
21052 echo \"End directory listing 1\"
21054 tar xfgv arch.2 /dev/null
21055 echo Begin directory listing 2
21057 echo End directory listing 2
21059 echo rename02.at:27 >"$at_check_line_file"
21061 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21066 TEST_TAR_FORMAT=oldgnu
21067 export TEST_TAR_FORMAT
21068 TAR_OPTIONS="-H oldgnu"
21073 test -z "`sort < /dev/null 2>&1`" || exit 77
21076 genfile --file foo/file1
21077 genfile --file foo/file2
21079 genfile --file foo/bar/file.r
21081 genfile --file foo/bar/baz/file.z
21085 echo "Creating base archive"
21086 tar -g incr -cf arch.1 -v foo
21090 echo "Creating incremental archive"
21091 tar -g incr -cf arch.2 -v foo
21095 tar xfg arch.1 /dev/null 2>tmperr
21098 echo "Begin directory listing 1"
21100 echo "End directory listing 1"
21102 tar xfgv arch.2 /dev/null
21103 echo Begin directory listing 2
21105 echo End directory listing 2
21106 ) ) >"$at_stdout" 2>"$at_stder1"
21107 at_func_filter_trace $?
21112 TEST_TAR_FORMAT=oldgnu
21113 export TEST_TAR_FORMAT
21114 TAR_OPTIONS="-H oldgnu"
21119 test -z "`sort < /dev/null 2>&1`" || exit 77
21122 genfile --file foo/file1
21123 genfile --file foo/file2
21125 genfile --file foo/bar/file.r
21127 genfile --file foo/bar/baz/file.z
21131 echo "Creating base archive"
21132 tar -g incr -cf arch.1 -v foo
21136 echo "Creating incremental archive"
21137 tar -g incr -cf arch.2 -v foo
21141 tar xfg arch.1 /dev/null 2>tmperr
21144 echo "Begin directory listing 1"
21146 echo "End directory listing 1"
21148 tar xfgv arch.2 /dev/null
21149 echo Begin directory listing 2
21151 echo End directory listing 2
21152 ) ) >"$at_stdout" 2>"$at_stderr"
21156 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
21157 tar: foo/bar: Directory is new
21158 tar: foo/bar/baz: Directory is new
21159 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
21161 $at_diff - "$at_stderr" || at_failed=:
21162 echo >>"$at_stdout"; $as_echo "Creating base archive
21170 Creating incremental archive
21174 Begin directory listing 1
21182 End directory listing 1
21186 Begin directory listing 2
21194 End directory listing 2
21196 $at_diff - "$at_stdout" || at_failed=:
21197 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
21199 $at_failed && at_func_log_failure
21203 $as_echo "$at_srcdir/rename02.at:27:
21206 TEST_TAR_FORMAT=posix
21207 export TEST_TAR_FORMAT
21208 TAR_OPTIONS=\"-H posix\"
21213 test -z "`sort < /dev/null 2>&1`" || exit 77
21216 genfile --file foo/file1
21217 genfile --file foo/file2
21219 genfile --file foo/bar/file.r
21221 genfile --file foo/bar/baz/file.z
21225 echo \"Creating base archive\"
21226 tar -g incr -cf arch.1 -v foo
21230 echo \"Creating incremental archive\"
21231 tar -g incr -cf arch.2 -v foo
21235 tar xfg arch.1 /dev/null 2>tmperr
21238 echo \"Begin directory listing 1\"
21240 echo \"End directory listing 1\"
21242 tar xfgv arch.2 /dev/null
21243 echo Begin directory listing 2
21245 echo End directory listing 2
21247 echo rename02.at:27 >"$at_check_line_file"
21249 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21254 TEST_TAR_FORMAT=posix
21255 export TEST_TAR_FORMAT
21256 TAR_OPTIONS="-H posix"
21261 test -z "`sort < /dev/null 2>&1`" || exit 77
21264 genfile --file foo/file1
21265 genfile --file foo/file2
21267 genfile --file foo/bar/file.r
21269 genfile --file foo/bar/baz/file.z
21273 echo "Creating base archive"
21274 tar -g incr -cf arch.1 -v foo
21278 echo "Creating incremental archive"
21279 tar -g incr -cf arch.2 -v foo
21283 tar xfg arch.1 /dev/null 2>tmperr
21286 echo "Begin directory listing 1"
21288 echo "End directory listing 1"
21290 tar xfgv arch.2 /dev/null
21291 echo Begin directory listing 2
21293 echo End directory listing 2
21294 ) ) >"$at_stdout" 2>"$at_stder1"
21295 at_func_filter_trace $?
21300 TEST_TAR_FORMAT=posix
21301 export TEST_TAR_FORMAT
21302 TAR_OPTIONS="-H posix"
21307 test -z "`sort < /dev/null 2>&1`" || exit 77
21310 genfile --file foo/file1
21311 genfile --file foo/file2
21313 genfile --file foo/bar/file.r
21315 genfile --file foo/bar/baz/file.z
21319 echo "Creating base archive"
21320 tar -g incr -cf arch.1 -v foo
21324 echo "Creating incremental archive"
21325 tar -g incr -cf arch.2 -v foo
21329 tar xfg arch.1 /dev/null 2>tmperr
21332 echo "Begin directory listing 1"
21334 echo "End directory listing 1"
21336 tar xfgv arch.2 /dev/null
21337 echo Begin directory listing 2
21339 echo End directory listing 2
21340 ) ) >"$at_stdout" 2>"$at_stderr"
21344 echo >>"$at_stderr"; $as_echo "tar: foo: Directory is new
21345 tar: foo/bar: Directory is new
21346 tar: foo/bar/baz: Directory is new
21347 tar: foo/baz: Directory has been renamed from \`foo/bar/baz'
21349 $at_diff - "$at_stderr" || at_failed=:
21350 echo >>"$at_stdout"; $as_echo "Creating base archive
21358 Creating incremental archive
21362 Begin directory listing 1
21370 End directory listing 1
21374 Begin directory listing 2
21382 End directory listing 2
21384 $at_diff - "$at_stdout" || at_failed=:
21385 at_func_check_status 0 $at_status "$at_srcdir/rename02.at:27"
21387 $at_failed && at_func_log_failure
21394 $at_times_p && times >"$at_times_file"
21395 ) 5>&1 2>&1 | eval $at_tee_pipe
21396 at_status=`cat "$at_status_file"`
21399 # 49. rename03.at:23: cyclic renames
21400 at_setup_line='rename03.at:23'
21401 at_desc="cyclic renames"
21402 $at_quiet $as_echo_n " 49: $at_desc "
21404 test -f $XFAILFILE && at_xfail=yes
21405 echo "# -*- compilation -*-" >> "$at_group_log"
21407 $as_echo "49. rename03.at:23: testing ..."
21415 $as_echo "$at_srcdir/rename03.at:26:
21418 TEST_TAR_FORMAT=gnu
21419 export TEST_TAR_FORMAT
21420 TAR_OPTIONS=\"-H gnu\"
21425 test -z "`sort < /dev/null 2>&1`" || exit 77
21429 genfile --file foo/file1
21430 genfile --file foo/file2
21433 genfile --file foo/a/filea
21436 genfile --file foo/b/fileb
21439 genfile --file foo/c/filec
21443 echo \"First dump\"
21444 echo \"First dump\">&2
21445 tar -g incr -cf arch.1 -v foo 2>tmperr
21448 # Shuffle directories:
21455 echo \"Second dump\"
21456 echo \"Second dump\" >&2
21457 tar -g incr -cf arch.2 -v foo 2>tmperr
21460 tar xfg arch.1 /dev/null
21462 echo \"Begin directory listing 1\"
21464 echo \"End directory listing 1\"
21466 tar xfgv arch.2 /dev/null
21467 echo Begin directory listing 2
21469 echo End directory listing 2
21471 echo rename03.at:26 >"$at_check_line_file"
21473 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21478 TEST_TAR_FORMAT=gnu
21479 export TEST_TAR_FORMAT
21480 TAR_OPTIONS="-H gnu"
21485 test -z "`sort < /dev/null 2>&1`" || exit 77
21489 genfile --file foo/file1
21490 genfile --file foo/file2
21493 genfile --file foo/a/filea
21496 genfile --file foo/b/fileb
21499 genfile --file foo/c/filec
21504 echo "First dump">&2
21505 tar -g incr -cf arch.1 -v foo 2>tmperr
21508 # Shuffle directories:
21516 echo "Second dump" >&2
21517 tar -g incr -cf arch.2 -v foo 2>tmperr
21520 tar xfg arch.1 /dev/null
21522 echo "Begin directory listing 1"
21524 echo "End directory listing 1"
21526 tar xfgv arch.2 /dev/null
21527 echo Begin directory listing 2
21529 echo End directory listing 2
21530 ) ) >"$at_stdout" 2>"$at_stder1"
21531 at_func_filter_trace $?
21536 TEST_TAR_FORMAT=gnu
21537 export TEST_TAR_FORMAT
21538 TAR_OPTIONS="-H gnu"
21543 test -z "`sort < /dev/null 2>&1`" || exit 77
21547 genfile --file foo/file1
21548 genfile --file foo/file2
21551 genfile --file foo/a/filea
21554 genfile --file foo/b/fileb
21557 genfile --file foo/c/filec
21562 echo "First dump">&2
21563 tar -g incr -cf arch.1 -v foo 2>tmperr
21566 # Shuffle directories:
21574 echo "Second dump" >&2
21575 tar -g incr -cf arch.2 -v foo 2>tmperr
21578 tar xfg arch.1 /dev/null
21580 echo "Begin directory listing 1"
21582 echo "End directory listing 1"
21584 tar xfgv arch.2 /dev/null
21585 echo Begin directory listing 2
21587 echo End directory listing 2
21588 ) ) >"$at_stdout" 2>"$at_stderr"
21592 echo >>"$at_stderr"; $as_echo "First dump
21593 tar: foo/a: Directory is new
21594 tar: foo/b: Directory is new
21595 tar: foo/c: Directory is new
21596 tar: foo: Directory is new
21598 tar: foo/a: Directory has been renamed from \`foo/c'
21599 tar: foo/b: Directory has been renamed from \`foo/a'
21600 tar: foo/c: Directory has been renamed from \`foo/b'
21602 $at_diff - "$at_stderr" || at_failed=:
21603 echo >>"$at_stdout"; $as_echo "First dump
21618 Begin directory listing 1
21628 End directory listing 1
21633 Begin directory listing 2
21643 End directory listing 2
21645 $at_diff - "$at_stdout" || at_failed=:
21646 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
21648 $at_failed && at_func_log_failure
21652 $as_echo "$at_srcdir/rename03.at:26:
21655 TEST_TAR_FORMAT=oldgnu
21656 export TEST_TAR_FORMAT
21657 TAR_OPTIONS=\"-H oldgnu\"
21662 test -z "`sort < /dev/null 2>&1`" || exit 77
21666 genfile --file foo/file1
21667 genfile --file foo/file2
21670 genfile --file foo/a/filea
21673 genfile --file foo/b/fileb
21676 genfile --file foo/c/filec
21680 echo \"First dump\"
21681 echo \"First dump\">&2
21682 tar -g incr -cf arch.1 -v foo 2>tmperr
21685 # Shuffle directories:
21692 echo \"Second dump\"
21693 echo \"Second dump\" >&2
21694 tar -g incr -cf arch.2 -v foo 2>tmperr
21697 tar xfg arch.1 /dev/null
21699 echo \"Begin directory listing 1\"
21701 echo \"End directory listing 1\"
21703 tar xfgv arch.2 /dev/null
21704 echo Begin directory listing 2
21706 echo End directory listing 2
21708 echo rename03.at:26 >"$at_check_line_file"
21710 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21715 TEST_TAR_FORMAT=oldgnu
21716 export TEST_TAR_FORMAT
21717 TAR_OPTIONS="-H oldgnu"
21722 test -z "`sort < /dev/null 2>&1`" || exit 77
21726 genfile --file foo/file1
21727 genfile --file foo/file2
21730 genfile --file foo/a/filea
21733 genfile --file foo/b/fileb
21736 genfile --file foo/c/filec
21741 echo "First dump">&2
21742 tar -g incr -cf arch.1 -v foo 2>tmperr
21745 # Shuffle directories:
21753 echo "Second dump" >&2
21754 tar -g incr -cf arch.2 -v foo 2>tmperr
21757 tar xfg arch.1 /dev/null
21759 echo "Begin directory listing 1"
21761 echo "End directory listing 1"
21763 tar xfgv arch.2 /dev/null
21764 echo Begin directory listing 2
21766 echo End directory listing 2
21767 ) ) >"$at_stdout" 2>"$at_stder1"
21768 at_func_filter_trace $?
21773 TEST_TAR_FORMAT=oldgnu
21774 export TEST_TAR_FORMAT
21775 TAR_OPTIONS="-H oldgnu"
21780 test -z "`sort < /dev/null 2>&1`" || exit 77
21784 genfile --file foo/file1
21785 genfile --file foo/file2
21788 genfile --file foo/a/filea
21791 genfile --file foo/b/fileb
21794 genfile --file foo/c/filec
21799 echo "First dump">&2
21800 tar -g incr -cf arch.1 -v foo 2>tmperr
21803 # Shuffle directories:
21811 echo "Second dump" >&2
21812 tar -g incr -cf arch.2 -v foo 2>tmperr
21815 tar xfg arch.1 /dev/null
21817 echo "Begin directory listing 1"
21819 echo "End directory listing 1"
21821 tar xfgv arch.2 /dev/null
21822 echo Begin directory listing 2
21824 echo End directory listing 2
21825 ) ) >"$at_stdout" 2>"$at_stderr"
21829 echo >>"$at_stderr"; $as_echo "First dump
21830 tar: foo/a: Directory is new
21831 tar: foo/b: Directory is new
21832 tar: foo/c: Directory is new
21833 tar: foo: Directory is new
21835 tar: foo/a: Directory has been renamed from \`foo/c'
21836 tar: foo/b: Directory has been renamed from \`foo/a'
21837 tar: foo/c: Directory has been renamed from \`foo/b'
21839 $at_diff - "$at_stderr" || at_failed=:
21840 echo >>"$at_stdout"; $as_echo "First dump
21855 Begin directory listing 1
21865 End directory listing 1
21870 Begin directory listing 2
21880 End directory listing 2
21882 $at_diff - "$at_stdout" || at_failed=:
21883 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
21885 $at_failed && at_func_log_failure
21889 $as_echo "$at_srcdir/rename03.at:26:
21892 TEST_TAR_FORMAT=posix
21893 export TEST_TAR_FORMAT
21894 TAR_OPTIONS=\"-H posix\"
21899 test -z "`sort < /dev/null 2>&1`" || exit 77
21903 genfile --file foo/file1
21904 genfile --file foo/file2
21907 genfile --file foo/a/filea
21910 genfile --file foo/b/fileb
21913 genfile --file foo/c/filec
21917 echo \"First dump\"
21918 echo \"First dump\">&2
21919 tar -g incr -cf arch.1 -v foo 2>tmperr
21922 # Shuffle directories:
21929 echo \"Second dump\"
21930 echo \"Second dump\" >&2
21931 tar -g incr -cf arch.2 -v foo 2>tmperr
21934 tar xfg arch.1 /dev/null
21936 echo \"Begin directory listing 1\"
21938 echo \"End directory listing 1\"
21940 tar xfgv arch.2 /dev/null
21941 echo Begin directory listing 2
21943 echo End directory listing 2
21945 echo rename03.at:26 >"$at_check_line_file"
21947 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
21952 TEST_TAR_FORMAT=posix
21953 export TEST_TAR_FORMAT
21954 TAR_OPTIONS="-H posix"
21959 test -z "`sort < /dev/null 2>&1`" || exit 77
21963 genfile --file foo/file1
21964 genfile --file foo/file2
21967 genfile --file foo/a/filea
21970 genfile --file foo/b/fileb
21973 genfile --file foo/c/filec
21978 echo "First dump">&2
21979 tar -g incr -cf arch.1 -v foo 2>tmperr
21982 # Shuffle directories:
21990 echo "Second dump" >&2
21991 tar -g incr -cf arch.2 -v foo 2>tmperr
21994 tar xfg arch.1 /dev/null
21996 echo "Begin directory listing 1"
21998 echo "End directory listing 1"
22000 tar xfgv arch.2 /dev/null
22001 echo Begin directory listing 2
22003 echo End directory listing 2
22004 ) ) >"$at_stdout" 2>"$at_stder1"
22005 at_func_filter_trace $?
22010 TEST_TAR_FORMAT=posix
22011 export TEST_TAR_FORMAT
22012 TAR_OPTIONS="-H posix"
22017 test -z "`sort < /dev/null 2>&1`" || exit 77
22021 genfile --file foo/file1
22022 genfile --file foo/file2
22025 genfile --file foo/a/filea
22028 genfile --file foo/b/fileb
22031 genfile --file foo/c/filec
22036 echo "First dump">&2
22037 tar -g incr -cf arch.1 -v foo 2>tmperr
22040 # Shuffle directories:
22048 echo "Second dump" >&2
22049 tar -g incr -cf arch.2 -v foo 2>tmperr
22052 tar xfg arch.1 /dev/null
22054 echo "Begin directory listing 1"
22056 echo "End directory listing 1"
22058 tar xfgv arch.2 /dev/null
22059 echo Begin directory listing 2
22061 echo End directory listing 2
22062 ) ) >"$at_stdout" 2>"$at_stderr"
22066 echo >>"$at_stderr"; $as_echo "First dump
22067 tar: foo/a: Directory is new
22068 tar: foo/b: Directory is new
22069 tar: foo/c: Directory is new
22070 tar: foo: Directory is new
22072 tar: foo/a: Directory has been renamed from \`foo/c'
22073 tar: foo/b: Directory has been renamed from \`foo/a'
22074 tar: foo/c: Directory has been renamed from \`foo/b'
22076 $at_diff - "$at_stderr" || at_failed=:
22077 echo >>"$at_stdout"; $as_echo "First dump
22092 Begin directory listing 1
22102 End directory listing 1
22107 Begin directory listing 2
22117 End directory listing 2
22119 $at_diff - "$at_stdout" || at_failed=:
22120 at_func_check_status 0 $at_status "$at_srcdir/rename03.at:26"
22122 $at_failed && at_func_log_failure
22129 $at_times_p && times >"$at_times_file"
22130 ) 5>&1 2>&1 | eval $at_tee_pipe
22131 at_status=`cat "$at_status_file"`
22134 # 50. rename04.at:27: renamed directory containing subdirectories
22135 at_setup_line='rename04.at:27'
22136 at_desc="renamed directory containing subdirectories"
22137 $at_quiet $as_echo_n " 50: $at_desc "
22139 test -f $XFAILFILE && at_xfail=yes
22140 echo "# -*- compilation -*-" >> "$at_group_log"
22142 $as_echo "50. rename04.at:27: testing ..."
22150 $as_echo "$at_srcdir/rename04.at:30:
22153 TEST_TAR_FORMAT=gnu
22154 export TEST_TAR_FORMAT
22155 TAR_OPTIONS=\"-H gnu\"
22160 test -z "`sort < /dev/null 2>&1`" || exit 77
22163 decho Creating directory structure
22165 mkdir directory/subdir
22166 genfile --file=directory/file
22168 decho Creating initial archive
22169 tar -cf archive.1 -g db.1 directory
22174 decho Creating incremental archive
22176 tar -cf archive.2 -g db.2 dir
22180 decho First restore
22181 tar -xf archive.1 -g db.1
22182 find directory | sort
22184 decho Second restore
22185 tar -xf archive.2 -g db.2
22188 echo rename04.at:30 >"$at_check_line_file"
22190 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22195 TEST_TAR_FORMAT=gnu
22196 export TEST_TAR_FORMAT
22197 TAR_OPTIONS="-H gnu"
22202 test -z "`sort < /dev/null 2>&1`" || exit 77
22205 decho Creating directory structure
22207 mkdir directory/subdir
22208 genfile --file=directory/file
22210 decho Creating initial archive
22211 tar -cf archive.1 -g db.1 directory
22216 decho Creating incremental archive
22218 tar -cf archive.2 -g db.2 dir
22222 decho First restore
22223 tar -xf archive.1 -g db.1
22224 find directory | sort
22226 decho Second restore
22227 tar -xf archive.2 -g db.2
22229 ) ) >"$at_stdout" 2>"$at_stder1"
22230 at_func_filter_trace $?
22235 TEST_TAR_FORMAT=gnu
22236 export TEST_TAR_FORMAT
22237 TAR_OPTIONS="-H gnu"
22242 test -z "`sort < /dev/null 2>&1`" || exit 77
22245 decho Creating directory structure
22247 mkdir directory/subdir
22248 genfile --file=directory/file
22250 decho Creating initial archive
22251 tar -cf archive.1 -g db.1 directory
22256 decho Creating incremental archive
22258 tar -cf archive.2 -g db.2 dir
22262 decho First restore
22263 tar -xf archive.1 -g db.1
22264 find directory | sort
22266 decho Second restore
22267 tar -xf archive.2 -g db.2
22269 ) ) >"$at_stdout" 2>"$at_stderr"
22273 echo >>"$at_stderr"; $as_echo "Creating directory structure
22274 Creating initial archive
22276 Creating incremental archive
22280 $at_diff - "$at_stderr" || at_failed=:
22281 echo >>"$at_stdout"; $as_echo "Creating directory structure
22282 Creating initial archive
22284 Creating incremental archive
22293 $at_diff - "$at_stdout" || at_failed=:
22294 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
22296 $at_failed && at_func_log_failure
22300 $as_echo "$at_srcdir/rename04.at:30:
22303 TEST_TAR_FORMAT=oldgnu
22304 export TEST_TAR_FORMAT
22305 TAR_OPTIONS=\"-H oldgnu\"
22310 test -z "`sort < /dev/null 2>&1`" || exit 77
22313 decho Creating directory structure
22315 mkdir directory/subdir
22316 genfile --file=directory/file
22318 decho Creating initial archive
22319 tar -cf archive.1 -g db.1 directory
22324 decho Creating incremental archive
22326 tar -cf archive.2 -g db.2 dir
22330 decho First restore
22331 tar -xf archive.1 -g db.1
22332 find directory | sort
22334 decho Second restore
22335 tar -xf archive.2 -g db.2
22338 echo rename04.at:30 >"$at_check_line_file"
22340 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22345 TEST_TAR_FORMAT=oldgnu
22346 export TEST_TAR_FORMAT
22347 TAR_OPTIONS="-H oldgnu"
22352 test -z "`sort < /dev/null 2>&1`" || exit 77
22355 decho Creating directory structure
22357 mkdir directory/subdir
22358 genfile --file=directory/file
22360 decho Creating initial archive
22361 tar -cf archive.1 -g db.1 directory
22366 decho Creating incremental archive
22368 tar -cf archive.2 -g db.2 dir
22372 decho First restore
22373 tar -xf archive.1 -g db.1
22374 find directory | sort
22376 decho Second restore
22377 tar -xf archive.2 -g db.2
22379 ) ) >"$at_stdout" 2>"$at_stder1"
22380 at_func_filter_trace $?
22385 TEST_TAR_FORMAT=oldgnu
22386 export TEST_TAR_FORMAT
22387 TAR_OPTIONS="-H oldgnu"
22392 test -z "`sort < /dev/null 2>&1`" || exit 77
22395 decho Creating directory structure
22397 mkdir directory/subdir
22398 genfile --file=directory/file
22400 decho Creating initial archive
22401 tar -cf archive.1 -g db.1 directory
22406 decho Creating incremental archive
22408 tar -cf archive.2 -g db.2 dir
22412 decho First restore
22413 tar -xf archive.1 -g db.1
22414 find directory | sort
22416 decho Second restore
22417 tar -xf archive.2 -g db.2
22419 ) ) >"$at_stdout" 2>"$at_stderr"
22423 echo >>"$at_stderr"; $as_echo "Creating directory structure
22424 Creating initial archive
22426 Creating incremental archive
22430 $at_diff - "$at_stderr" || at_failed=:
22431 echo >>"$at_stdout"; $as_echo "Creating directory structure
22432 Creating initial archive
22434 Creating incremental archive
22443 $at_diff - "$at_stdout" || at_failed=:
22444 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
22446 $at_failed && at_func_log_failure
22450 $as_echo "$at_srcdir/rename04.at:30:
22453 TEST_TAR_FORMAT=posix
22454 export TEST_TAR_FORMAT
22455 TAR_OPTIONS=\"-H posix\"
22460 test -z "`sort < /dev/null 2>&1`" || exit 77
22463 decho Creating directory structure
22465 mkdir directory/subdir
22466 genfile --file=directory/file
22468 decho Creating initial archive
22469 tar -cf archive.1 -g db.1 directory
22474 decho Creating incremental archive
22476 tar -cf archive.2 -g db.2 dir
22480 decho First restore
22481 tar -xf archive.1 -g db.1
22482 find directory | sort
22484 decho Second restore
22485 tar -xf archive.2 -g db.2
22488 echo rename04.at:30 >"$at_check_line_file"
22490 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22495 TEST_TAR_FORMAT=posix
22496 export TEST_TAR_FORMAT
22497 TAR_OPTIONS="-H posix"
22502 test -z "`sort < /dev/null 2>&1`" || exit 77
22505 decho Creating directory structure
22507 mkdir directory/subdir
22508 genfile --file=directory/file
22510 decho Creating initial archive
22511 tar -cf archive.1 -g db.1 directory
22516 decho Creating incremental archive
22518 tar -cf archive.2 -g db.2 dir
22522 decho First restore
22523 tar -xf archive.1 -g db.1
22524 find directory | sort
22526 decho Second restore
22527 tar -xf archive.2 -g db.2
22529 ) ) >"$at_stdout" 2>"$at_stder1"
22530 at_func_filter_trace $?
22535 TEST_TAR_FORMAT=posix
22536 export TEST_TAR_FORMAT
22537 TAR_OPTIONS="-H posix"
22542 test -z "`sort < /dev/null 2>&1`" || exit 77
22545 decho Creating directory structure
22547 mkdir directory/subdir
22548 genfile --file=directory/file
22550 decho Creating initial archive
22551 tar -cf archive.1 -g db.1 directory
22556 decho Creating incremental archive
22558 tar -cf archive.2 -g db.2 dir
22562 decho First restore
22563 tar -xf archive.1 -g db.1
22564 find directory | sort
22566 decho Second restore
22567 tar -xf archive.2 -g db.2
22569 ) ) >"$at_stdout" 2>"$at_stderr"
22573 echo >>"$at_stderr"; $as_echo "Creating directory structure
22574 Creating initial archive
22576 Creating incremental archive
22580 $at_diff - "$at_stderr" || at_failed=:
22581 echo >>"$at_stdout"; $as_echo "Creating directory structure
22582 Creating initial archive
22584 Creating incremental archive
22593 $at_diff - "$at_stdout" || at_failed=:
22594 at_func_check_status 0 $at_status "$at_srcdir/rename04.at:30"
22596 $at_failed && at_func_log_failure
22603 $at_times_p && times >"$at_times_file"
22604 ) 5>&1 2>&1 | eval $at_tee_pipe
22605 at_status=`cat "$at_status_file"`
22608 # 51. rename05.at:24: renamed subdirectories
22609 at_setup_line='rename05.at:24'
22610 at_desc="renamed subdirectories"
22611 $at_quiet $as_echo_n " 51: $at_desc "
22613 test -f $XFAILFILE && at_xfail=yes
22614 echo "# -*- compilation -*-" >> "$at_group_log"
22616 $as_echo "51. rename05.at:24: testing ..."
22624 $as_echo "$at_srcdir/rename05.at:27:
22627 TEST_TAR_FORMAT=gnu
22628 export TEST_TAR_FORMAT
22629 TAR_OPTIONS=\"-H gnu\"
22634 test -z "`sort < /dev/null 2>&1`" || exit 77
22637 decho Creating directory structure
22639 mkdir directory/subdir
22640 genfile --file=directory/file
22642 decho Creating initial archive
22643 tar -cf archive.1 -g db.1 directory
22646 mv directory/subdir directory/subdir.0
22649 decho Creating incremental archive
22651 tar -cf archive.2 -g db.2 dir
22655 decho First restore
22656 tar -xf archive.1 -g db.1
22657 find directory | sort
22659 decho Second restore
22660 tar -xf archive.2 -g db.2
22663 echo rename05.at:27 >"$at_check_line_file"
22665 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22670 TEST_TAR_FORMAT=gnu
22671 export TEST_TAR_FORMAT
22672 TAR_OPTIONS="-H gnu"
22677 test -z "`sort < /dev/null 2>&1`" || exit 77
22680 decho Creating directory structure
22682 mkdir directory/subdir
22683 genfile --file=directory/file
22685 decho Creating initial archive
22686 tar -cf archive.1 -g db.1 directory
22689 mv directory/subdir directory/subdir.0
22692 decho Creating incremental archive
22694 tar -cf archive.2 -g db.2 dir
22698 decho First restore
22699 tar -xf archive.1 -g db.1
22700 find directory | sort
22702 decho Second restore
22703 tar -xf archive.2 -g db.2
22705 ) ) >"$at_stdout" 2>"$at_stder1"
22706 at_func_filter_trace $?
22711 TEST_TAR_FORMAT=gnu
22712 export TEST_TAR_FORMAT
22713 TAR_OPTIONS="-H gnu"
22718 test -z "`sort < /dev/null 2>&1`" || exit 77
22721 decho Creating directory structure
22723 mkdir directory/subdir
22724 genfile --file=directory/file
22726 decho Creating initial archive
22727 tar -cf archive.1 -g db.1 directory
22730 mv directory/subdir directory/subdir.0
22733 decho Creating incremental archive
22735 tar -cf archive.2 -g db.2 dir
22739 decho First restore
22740 tar -xf archive.1 -g db.1
22741 find directory | sort
22743 decho Second restore
22744 tar -xf archive.2 -g db.2
22746 ) ) >"$at_stdout" 2>"$at_stderr"
22750 echo >>"$at_stderr"; $as_echo "Creating directory structure
22751 Creating initial archive
22753 Creating incremental archive
22757 $at_diff - "$at_stderr" || at_failed=:
22758 echo >>"$at_stdout"; $as_echo "Creating directory structure
22759 Creating initial archive
22761 Creating incremental archive
22770 $at_diff - "$at_stdout" || at_failed=:
22771 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
22773 $at_failed && at_func_log_failure
22777 $as_echo "$at_srcdir/rename05.at:27:
22780 TEST_TAR_FORMAT=oldgnu
22781 export TEST_TAR_FORMAT
22782 TAR_OPTIONS=\"-H oldgnu\"
22787 test -z "`sort < /dev/null 2>&1`" || exit 77
22790 decho Creating directory structure
22792 mkdir directory/subdir
22793 genfile --file=directory/file
22795 decho Creating initial archive
22796 tar -cf archive.1 -g db.1 directory
22799 mv directory/subdir directory/subdir.0
22802 decho Creating incremental archive
22804 tar -cf archive.2 -g db.2 dir
22808 decho First restore
22809 tar -xf archive.1 -g db.1
22810 find directory | sort
22812 decho Second restore
22813 tar -xf archive.2 -g db.2
22816 echo rename05.at:27 >"$at_check_line_file"
22818 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22823 TEST_TAR_FORMAT=oldgnu
22824 export TEST_TAR_FORMAT
22825 TAR_OPTIONS="-H oldgnu"
22830 test -z "`sort < /dev/null 2>&1`" || exit 77
22833 decho Creating directory structure
22835 mkdir directory/subdir
22836 genfile --file=directory/file
22838 decho Creating initial archive
22839 tar -cf archive.1 -g db.1 directory
22842 mv directory/subdir directory/subdir.0
22845 decho Creating incremental archive
22847 tar -cf archive.2 -g db.2 dir
22851 decho First restore
22852 tar -xf archive.1 -g db.1
22853 find directory | sort
22855 decho Second restore
22856 tar -xf archive.2 -g db.2
22858 ) ) >"$at_stdout" 2>"$at_stder1"
22859 at_func_filter_trace $?
22864 TEST_TAR_FORMAT=oldgnu
22865 export TEST_TAR_FORMAT
22866 TAR_OPTIONS="-H oldgnu"
22871 test -z "`sort < /dev/null 2>&1`" || exit 77
22874 decho Creating directory structure
22876 mkdir directory/subdir
22877 genfile --file=directory/file
22879 decho Creating initial archive
22880 tar -cf archive.1 -g db.1 directory
22883 mv directory/subdir directory/subdir.0
22886 decho Creating incremental archive
22888 tar -cf archive.2 -g db.2 dir
22892 decho First restore
22893 tar -xf archive.1 -g db.1
22894 find directory | sort
22896 decho Second restore
22897 tar -xf archive.2 -g db.2
22899 ) ) >"$at_stdout" 2>"$at_stderr"
22903 echo >>"$at_stderr"; $as_echo "Creating directory structure
22904 Creating initial archive
22906 Creating incremental archive
22910 $at_diff - "$at_stderr" || at_failed=:
22911 echo >>"$at_stdout"; $as_echo "Creating directory structure
22912 Creating initial archive
22914 Creating incremental archive
22923 $at_diff - "$at_stdout" || at_failed=:
22924 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
22926 $at_failed && at_func_log_failure
22930 $as_echo "$at_srcdir/rename05.at:27:
22933 TEST_TAR_FORMAT=posix
22934 export TEST_TAR_FORMAT
22935 TAR_OPTIONS=\"-H posix\"
22940 test -z "`sort < /dev/null 2>&1`" || exit 77
22943 decho Creating directory structure
22945 mkdir directory/subdir
22946 genfile --file=directory/file
22948 decho Creating initial archive
22949 tar -cf archive.1 -g db.1 directory
22952 mv directory/subdir directory/subdir.0
22955 decho Creating incremental archive
22957 tar -cf archive.2 -g db.2 dir
22961 decho First restore
22962 tar -xf archive.1 -g db.1
22963 find directory | sort
22965 decho Second restore
22966 tar -xf archive.2 -g db.2
22969 echo rename05.at:27 >"$at_check_line_file"
22971 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
22976 TEST_TAR_FORMAT=posix
22977 export TEST_TAR_FORMAT
22978 TAR_OPTIONS="-H posix"
22983 test -z "`sort < /dev/null 2>&1`" || exit 77
22986 decho Creating directory structure
22988 mkdir directory/subdir
22989 genfile --file=directory/file
22991 decho Creating initial archive
22992 tar -cf archive.1 -g db.1 directory
22995 mv directory/subdir directory/subdir.0
22998 decho Creating incremental archive
23000 tar -cf archive.2 -g db.2 dir
23004 decho First restore
23005 tar -xf archive.1 -g db.1
23006 find directory | sort
23008 decho Second restore
23009 tar -xf archive.2 -g db.2
23011 ) ) >"$at_stdout" 2>"$at_stder1"
23012 at_func_filter_trace $?
23017 TEST_TAR_FORMAT=posix
23018 export TEST_TAR_FORMAT
23019 TAR_OPTIONS="-H posix"
23024 test -z "`sort < /dev/null 2>&1`" || exit 77
23027 decho Creating directory structure
23029 mkdir directory/subdir
23030 genfile --file=directory/file
23032 decho Creating initial archive
23033 tar -cf archive.1 -g db.1 directory
23036 mv directory/subdir directory/subdir.0
23039 decho Creating incremental archive
23041 tar -cf archive.2 -g db.2 dir
23045 decho First restore
23046 tar -xf archive.1 -g db.1
23047 find directory | sort
23049 decho Second restore
23050 tar -xf archive.2 -g db.2
23052 ) ) >"$at_stdout" 2>"$at_stderr"
23056 echo >>"$at_stderr"; $as_echo "Creating directory structure
23057 Creating initial archive
23059 Creating incremental archive
23063 $at_diff - "$at_stderr" || at_failed=:
23064 echo >>"$at_stdout"; $as_echo "Creating directory structure
23065 Creating initial archive
23067 Creating incremental archive
23076 $at_diff - "$at_stdout" || at_failed=:
23077 at_func_check_status 0 $at_status "$at_srcdir/rename05.at:27"
23079 $at_failed && at_func_log_failure
23086 $at_times_p && times >"$at_times_file"
23087 ) 5>&1 2>&1 | eval $at_tee_pipe
23088 at_status=`cat "$at_status_file"`
23091 # 52. chtype.at:27: changed file types in incrementals
23092 at_setup_line='chtype.at:27'
23093 at_desc="changed file types in incrementals"
23094 $at_quiet $as_echo_n " 52: $at_desc "
23096 test -f $XFAILFILE && at_xfail=yes
23097 echo "# -*- compilation -*-" >> "$at_group_log"
23099 $as_echo "52. chtype.at:27: testing ..."
23107 $as_echo "$at_srcdir/chtype.at:30:
23110 TEST_TAR_FORMAT=gnu
23111 export TEST_TAR_FORMAT
23112 TAR_OPTIONS=\"-H gnu\"
23117 test -z "`sort < /dev/null 2>&1`" || exit 77
23120 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23122 genfile --file directory/a/a
23125 tar --create --file=archive.1 --listed-incremental=db.1 directory
23129 # Remove directory b and create a file with this name.
23130 # Previous versions were not able to restore over this file.
23132 genfile --file directory/b
23133 genfile --file directory/a/b
23136 tar --create --file=archive.2 --listed-incremental=db.2 directory
23141 echo Restore archive.1
23142 tar -xf archive.1 --listed-incremental=/dev/null
23143 echo Restore archive.2
23144 tar -xf archive.2 --listed-incremental=/dev/null
23145 find directory | sort
23147 echo chtype.at:30 >"$at_check_line_file"
23149 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23154 TEST_TAR_FORMAT=gnu
23155 export TEST_TAR_FORMAT
23156 TAR_OPTIONS="-H gnu"
23161 test -z "`sort < /dev/null 2>&1`" || exit 77
23164 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23166 genfile --file directory/a/a
23169 tar --create --file=archive.1 --listed-incremental=db.1 directory
23173 # Remove directory b and create a file with this name.
23174 # Previous versions were not able to restore over this file.
23176 genfile --file directory/b
23177 genfile --file directory/a/b
23180 tar --create --file=archive.2 --listed-incremental=db.2 directory
23185 echo Restore archive.1
23186 tar -xf archive.1 --listed-incremental=/dev/null
23187 echo Restore archive.2
23188 tar -xf archive.2 --listed-incremental=/dev/null
23189 find directory | sort
23190 ) ) >"$at_stdout" 2>"$at_stder1"
23191 at_func_filter_trace $?
23196 TEST_TAR_FORMAT=gnu
23197 export TEST_TAR_FORMAT
23198 TAR_OPTIONS="-H gnu"
23203 test -z "`sort < /dev/null 2>&1`" || exit 77
23206 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23208 genfile --file directory/a/a
23211 tar --create --file=archive.1 --listed-incremental=db.1 directory
23215 # Remove directory b and create a file with this name.
23216 # Previous versions were not able to restore over this file.
23218 genfile --file directory/b
23219 genfile --file directory/a/b
23222 tar --create --file=archive.2 --listed-incremental=db.2 directory
23227 echo Restore archive.1
23228 tar -xf archive.1 --listed-incremental=/dev/null
23229 echo Restore archive.2
23230 tar -xf archive.2 --listed-incremental=/dev/null
23231 find directory | sort
23232 ) ) >"$at_stdout" 2>"$at_stderr"
23236 at_func_diff_devnull "$at_stderr" || at_failed=:
23237 echo >>"$at_stdout"; $as_echo "First backup
23247 $at_diff - "$at_stdout" || at_failed=:
23248 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
23250 $at_failed && at_func_log_failure
23254 $as_echo "$at_srcdir/chtype.at:30:
23257 TEST_TAR_FORMAT=oldgnu
23258 export TEST_TAR_FORMAT
23259 TAR_OPTIONS=\"-H oldgnu\"
23264 test -z "`sort < /dev/null 2>&1`" || exit 77
23267 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23269 genfile --file directory/a/a
23272 tar --create --file=archive.1 --listed-incremental=db.1 directory
23276 # Remove directory b and create a file with this name.
23277 # Previous versions were not able to restore over this file.
23279 genfile --file directory/b
23280 genfile --file directory/a/b
23283 tar --create --file=archive.2 --listed-incremental=db.2 directory
23288 echo Restore archive.1
23289 tar -xf archive.1 --listed-incremental=/dev/null
23290 echo Restore archive.2
23291 tar -xf archive.2 --listed-incremental=/dev/null
23292 find directory | sort
23294 echo chtype.at:30 >"$at_check_line_file"
23296 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23301 TEST_TAR_FORMAT=oldgnu
23302 export TEST_TAR_FORMAT
23303 TAR_OPTIONS="-H oldgnu"
23308 test -z "`sort < /dev/null 2>&1`" || exit 77
23311 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23313 genfile --file directory/a/a
23316 tar --create --file=archive.1 --listed-incremental=db.1 directory
23320 # Remove directory b and create a file with this name.
23321 # Previous versions were not able to restore over this file.
23323 genfile --file directory/b
23324 genfile --file directory/a/b
23327 tar --create --file=archive.2 --listed-incremental=db.2 directory
23332 echo Restore archive.1
23333 tar -xf archive.1 --listed-incremental=/dev/null
23334 echo Restore archive.2
23335 tar -xf archive.2 --listed-incremental=/dev/null
23336 find directory | sort
23337 ) ) >"$at_stdout" 2>"$at_stder1"
23338 at_func_filter_trace $?
23343 TEST_TAR_FORMAT=oldgnu
23344 export TEST_TAR_FORMAT
23345 TAR_OPTIONS="-H oldgnu"
23350 test -z "`sort < /dev/null 2>&1`" || exit 77
23353 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23355 genfile --file directory/a/a
23358 tar --create --file=archive.1 --listed-incremental=db.1 directory
23362 # Remove directory b and create a file with this name.
23363 # Previous versions were not able to restore over this file.
23365 genfile --file directory/b
23366 genfile --file directory/a/b
23369 tar --create --file=archive.2 --listed-incremental=db.2 directory
23374 echo Restore archive.1
23375 tar -xf archive.1 --listed-incremental=/dev/null
23376 echo Restore archive.2
23377 tar -xf archive.2 --listed-incremental=/dev/null
23378 find directory | sort
23379 ) ) >"$at_stdout" 2>"$at_stderr"
23383 at_func_diff_devnull "$at_stderr" || at_failed=:
23384 echo >>"$at_stdout"; $as_echo "First backup
23394 $at_diff - "$at_stdout" || at_failed=:
23395 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
23397 $at_failed && at_func_log_failure
23401 $as_echo "$at_srcdir/chtype.at:30:
23404 TEST_TAR_FORMAT=posix
23405 export TEST_TAR_FORMAT
23406 TAR_OPTIONS=\"-H posix\"
23411 test -z "`sort < /dev/null 2>&1`" || exit 77
23414 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23416 genfile --file directory/a/a
23419 tar --create --file=archive.1 --listed-incremental=db.1 directory
23423 # Remove directory b and create a file with this name.
23424 # Previous versions were not able to restore over this file.
23426 genfile --file directory/b
23427 genfile --file directory/a/b
23430 tar --create --file=archive.2 --listed-incremental=db.2 directory
23435 echo Restore archive.1
23436 tar -xf archive.1 --listed-incremental=/dev/null
23437 echo Restore archive.2
23438 tar -xf archive.2 --listed-incremental=/dev/null
23439 find directory | sort
23441 echo chtype.at:30 >"$at_check_line_file"
23443 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23448 TEST_TAR_FORMAT=posix
23449 export TEST_TAR_FORMAT
23450 TAR_OPTIONS="-H posix"
23455 test -z "`sort < /dev/null 2>&1`" || exit 77
23458 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23460 genfile --file directory/a/a
23463 tar --create --file=archive.1 --listed-incremental=db.1 directory
23467 # Remove directory b and create a file with this name.
23468 # Previous versions were not able to restore over this file.
23470 genfile --file directory/b
23471 genfile --file directory/a/b
23474 tar --create --file=archive.2 --listed-incremental=db.2 directory
23479 echo Restore archive.1
23480 tar -xf archive.1 --listed-incremental=/dev/null
23481 echo Restore archive.2
23482 tar -xf archive.2 --listed-incremental=/dev/null
23483 find directory | sort
23484 ) ) >"$at_stdout" 2>"$at_stder1"
23485 at_func_filter_trace $?
23490 TEST_TAR_FORMAT=posix
23491 export TEST_TAR_FORMAT
23492 TAR_OPTIONS="-H posix"
23497 test -z "`sort < /dev/null 2>&1`" || exit 77
23500 install-sh -d directory/b/c >/dev/null && genfile --file directory/b/c/x || exit 77
23502 genfile --file directory/a/a
23505 tar --create --file=archive.1 --listed-incremental=db.1 directory
23509 # Remove directory b and create a file with this name.
23510 # Previous versions were not able to restore over this file.
23512 genfile --file directory/b
23513 genfile --file directory/a/b
23516 tar --create --file=archive.2 --listed-incremental=db.2 directory
23521 echo Restore archive.1
23522 tar -xf archive.1 --listed-incremental=/dev/null
23523 echo Restore archive.2
23524 tar -xf archive.2 --listed-incremental=/dev/null
23525 find directory | sort
23526 ) ) >"$at_stdout" 2>"$at_stderr"
23530 at_func_diff_devnull "$at_stderr" || at_failed=:
23531 echo >>"$at_stdout"; $as_echo "First backup
23541 $at_diff - "$at_stdout" || at_failed=:
23542 at_func_check_status 0 $at_status "$at_srcdir/chtype.at:30"
23544 $at_failed && at_func_log_failure
23551 $at_times_p && times >"$at_times_file"
23552 ) 5>&1 2>&1 | eval $at_tee_pipe
23553 at_status=`cat "$at_status_file"`
23556 # 53. ignfail.at:23: ignfail
23557 at_setup_line='ignfail.at:23'
23559 $at_quiet $as_echo_n " 53: $at_desc "
23561 test -f $XFAILFILE && at_xfail=yes
23562 echo "# -*- compilation -*-" >> "$at_group_log"
23564 $as_echo "53. ignfail.at:23: testing ..."
23572 $as_echo "$at_srcdir/ignfail.at:26:
23576 export TEST_TAR_FORMAT
23577 TAR_OPTIONS=\"-H v7\"
23581 # The test is meaningless for super-user.
23585 cat $$ > /dev/null 2>&1
23588 test $result -eq 0 && exit 77
23593 touch directory/file
23597 tar cf archive file
23600 test \$status = 2 || exit 1
23604 tar cf archive --ignore-failed-read file || exit 1
23607 test \$status = 0 || exit 1
23610 chmod 000 directory
23611 tar cf archive directory
23613 chmod 700 directory
23614 test \$status = 2 || exit 1
23617 chmod 000 directory
23618 tar cf archive --ignore-failed-read directory || exit 1
23620 chmod 700 directory
23623 echo ignfail.at:26 >"$at_check_line_file"
23625 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23631 export TEST_TAR_FORMAT
23632 TAR_OPTIONS="-H v7"
23636 # The test is meaningless for super-user.
23640 cat $$ > /dev/null 2>&1
23643 test $result -eq 0 && exit 77
23648 touch directory/file
23652 tar cf archive file
23655 test $status = 2 || exit 1
23659 tar cf archive --ignore-failed-read file || exit 1
23662 test $status = 0 || exit 1
23665 chmod 000 directory
23666 tar cf archive directory
23668 chmod 700 directory
23669 test $status = 2 || exit 1
23672 chmod 000 directory
23673 tar cf archive --ignore-failed-read directory || exit 1
23675 chmod 700 directory
23677 ) ) >"$at_stdout" 2>"$at_stder1"
23678 at_func_filter_trace $?
23684 export TEST_TAR_FORMAT
23685 TAR_OPTIONS="-H v7"
23689 # The test is meaningless for super-user.
23693 cat $$ > /dev/null 2>&1
23696 test $result -eq 0 && exit 77
23701 touch directory/file
23705 tar cf archive file
23708 test $status = 2 || exit 1
23712 tar cf archive --ignore-failed-read file || exit 1
23715 test $status = 0 || exit 1
23718 chmod 000 directory
23719 tar cf archive directory
23721 chmod 700 directory
23722 test $status = 2 || exit 1
23725 chmod 000 directory
23726 tar cf archive --ignore-failed-read directory || exit 1
23728 chmod 700 directory
23730 ) ) >"$at_stdout" 2>"$at_stderr"
23734 echo >>"$at_stderr"; $as_echo "-----
23735 tar: file: Cannot open: Permission denied
23736 tar: Exiting with failure status due to previous errors
23738 tar: file: Warning: Cannot open: Permission denied
23740 tar: directory: Cannot open: Permission denied
23741 tar: Exiting with failure status due to previous errors
23743 tar: directory: Warning: Cannot open: Permission denied
23745 $at_diff - "$at_stderr" || at_failed=:
23746 at_func_diff_devnull "$at_stdout" || at_failed=:
23747 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
23749 $at_failed && at_func_log_failure
23753 $as_echo "$at_srcdir/ignfail.at:26:
23756 TEST_TAR_FORMAT=oldgnu
23757 export TEST_TAR_FORMAT
23758 TAR_OPTIONS=\"-H oldgnu\"
23762 # The test is meaningless for super-user.
23766 cat $$ > /dev/null 2>&1
23769 test $result -eq 0 && exit 77
23774 touch directory/file
23778 tar cf archive file
23781 test \$status = 2 || exit 1
23785 tar cf archive --ignore-failed-read file || exit 1
23788 test \$status = 0 || exit 1
23791 chmod 000 directory
23792 tar cf archive directory
23794 chmod 700 directory
23795 test \$status = 2 || exit 1
23798 chmod 000 directory
23799 tar cf archive --ignore-failed-read directory || exit 1
23801 chmod 700 directory
23804 echo ignfail.at:26 >"$at_check_line_file"
23806 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23811 TEST_TAR_FORMAT=oldgnu
23812 export TEST_TAR_FORMAT
23813 TAR_OPTIONS="-H oldgnu"
23817 # The test is meaningless for super-user.
23821 cat $$ > /dev/null 2>&1
23824 test $result -eq 0 && exit 77
23829 touch directory/file
23833 tar cf archive file
23836 test $status = 2 || exit 1
23840 tar cf archive --ignore-failed-read file || exit 1
23843 test $status = 0 || exit 1
23846 chmod 000 directory
23847 tar cf archive directory
23849 chmod 700 directory
23850 test $status = 2 || exit 1
23853 chmod 000 directory
23854 tar cf archive --ignore-failed-read directory || exit 1
23856 chmod 700 directory
23858 ) ) >"$at_stdout" 2>"$at_stder1"
23859 at_func_filter_trace $?
23864 TEST_TAR_FORMAT=oldgnu
23865 export TEST_TAR_FORMAT
23866 TAR_OPTIONS="-H oldgnu"
23870 # The test is meaningless for super-user.
23874 cat $$ > /dev/null 2>&1
23877 test $result -eq 0 && exit 77
23882 touch directory/file
23886 tar cf archive file
23889 test $status = 2 || exit 1
23893 tar cf archive --ignore-failed-read file || exit 1
23896 test $status = 0 || exit 1
23899 chmod 000 directory
23900 tar cf archive directory
23902 chmod 700 directory
23903 test $status = 2 || exit 1
23906 chmod 000 directory
23907 tar cf archive --ignore-failed-read directory || exit 1
23909 chmod 700 directory
23911 ) ) >"$at_stdout" 2>"$at_stderr"
23915 echo >>"$at_stderr"; $as_echo "-----
23916 tar: file: Cannot open: Permission denied
23917 tar: Exiting with failure status due to previous errors
23919 tar: file: Warning: Cannot open: Permission denied
23921 tar: directory: Cannot open: Permission denied
23922 tar: Exiting with failure status due to previous errors
23924 tar: directory: Warning: Cannot open: Permission denied
23926 $at_diff - "$at_stderr" || at_failed=:
23927 at_func_diff_devnull "$at_stdout" || at_failed=:
23928 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
23930 $at_failed && at_func_log_failure
23934 $as_echo "$at_srcdir/ignfail.at:26:
23937 TEST_TAR_FORMAT=ustar
23938 export TEST_TAR_FORMAT
23939 TAR_OPTIONS=\"-H ustar\"
23943 # The test is meaningless for super-user.
23947 cat $$ > /dev/null 2>&1
23950 test $result -eq 0 && exit 77
23955 touch directory/file
23959 tar cf archive file
23962 test \$status = 2 || exit 1
23966 tar cf archive --ignore-failed-read file || exit 1
23969 test \$status = 0 || exit 1
23972 chmod 000 directory
23973 tar cf archive directory
23975 chmod 700 directory
23976 test \$status = 2 || exit 1
23979 chmod 000 directory
23980 tar cf archive --ignore-failed-read directory || exit 1
23982 chmod 700 directory
23985 echo ignfail.at:26 >"$at_check_line_file"
23987 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
23992 TEST_TAR_FORMAT=ustar
23993 export TEST_TAR_FORMAT
23994 TAR_OPTIONS="-H ustar"
23998 # The test is meaningless for super-user.
24002 cat $$ > /dev/null 2>&1
24005 test $result -eq 0 && exit 77
24010 touch directory/file
24014 tar cf archive file
24017 test $status = 2 || exit 1
24021 tar cf archive --ignore-failed-read file || exit 1
24024 test $status = 0 || exit 1
24027 chmod 000 directory
24028 tar cf archive directory
24030 chmod 700 directory
24031 test $status = 2 || exit 1
24034 chmod 000 directory
24035 tar cf archive --ignore-failed-read directory || exit 1
24037 chmod 700 directory
24039 ) ) >"$at_stdout" 2>"$at_stder1"
24040 at_func_filter_trace $?
24045 TEST_TAR_FORMAT=ustar
24046 export TEST_TAR_FORMAT
24047 TAR_OPTIONS="-H ustar"
24051 # The test is meaningless for super-user.
24055 cat $$ > /dev/null 2>&1
24058 test $result -eq 0 && exit 77
24063 touch directory/file
24067 tar cf archive file
24070 test $status = 2 || exit 1
24074 tar cf archive --ignore-failed-read file || exit 1
24077 test $status = 0 || exit 1
24080 chmod 000 directory
24081 tar cf archive directory
24083 chmod 700 directory
24084 test $status = 2 || exit 1
24087 chmod 000 directory
24088 tar cf archive --ignore-failed-read directory || exit 1
24090 chmod 700 directory
24092 ) ) >"$at_stdout" 2>"$at_stderr"
24096 echo >>"$at_stderr"; $as_echo "-----
24097 tar: file: Cannot open: Permission denied
24098 tar: Exiting with failure status due to previous errors
24100 tar: file: Warning: Cannot open: Permission denied
24102 tar: directory: Cannot open: Permission denied
24103 tar: Exiting with failure status due to previous errors
24105 tar: directory: Warning: Cannot open: Permission denied
24107 $at_diff - "$at_stderr" || at_failed=:
24108 at_func_diff_devnull "$at_stdout" || at_failed=:
24109 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
24111 $at_failed && at_func_log_failure
24115 $as_echo "$at_srcdir/ignfail.at:26:
24118 TEST_TAR_FORMAT=posix
24119 export TEST_TAR_FORMAT
24120 TAR_OPTIONS=\"-H posix\"
24124 # The test is meaningless for super-user.
24128 cat $$ > /dev/null 2>&1
24131 test $result -eq 0 && exit 77
24136 touch directory/file
24140 tar cf archive file
24143 test \$status = 2 || exit 1
24147 tar cf archive --ignore-failed-read file || exit 1
24150 test \$status = 0 || exit 1
24153 chmod 000 directory
24154 tar cf archive directory
24156 chmod 700 directory
24157 test \$status = 2 || exit 1
24160 chmod 000 directory
24161 tar cf archive --ignore-failed-read directory || exit 1
24163 chmod 700 directory
24166 echo ignfail.at:26 >"$at_check_line_file"
24168 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24173 TEST_TAR_FORMAT=posix
24174 export TEST_TAR_FORMAT
24175 TAR_OPTIONS="-H posix"
24179 # The test is meaningless for super-user.
24183 cat $$ > /dev/null 2>&1
24186 test $result -eq 0 && exit 77
24191 touch directory/file
24195 tar cf archive file
24198 test $status = 2 || exit 1
24202 tar cf archive --ignore-failed-read file || exit 1
24205 test $status = 0 || exit 1
24208 chmod 000 directory
24209 tar cf archive directory
24211 chmod 700 directory
24212 test $status = 2 || exit 1
24215 chmod 000 directory
24216 tar cf archive --ignore-failed-read directory || exit 1
24218 chmod 700 directory
24220 ) ) >"$at_stdout" 2>"$at_stder1"
24221 at_func_filter_trace $?
24226 TEST_TAR_FORMAT=posix
24227 export TEST_TAR_FORMAT
24228 TAR_OPTIONS="-H posix"
24232 # The test is meaningless for super-user.
24236 cat $$ > /dev/null 2>&1
24239 test $result -eq 0 && exit 77
24244 touch directory/file
24248 tar cf archive file
24251 test $status = 2 || exit 1
24255 tar cf archive --ignore-failed-read file || exit 1
24258 test $status = 0 || exit 1
24261 chmod 000 directory
24262 tar cf archive directory
24264 chmod 700 directory
24265 test $status = 2 || exit 1
24268 chmod 000 directory
24269 tar cf archive --ignore-failed-read directory || exit 1
24271 chmod 700 directory
24273 ) ) >"$at_stdout" 2>"$at_stderr"
24277 echo >>"$at_stderr"; $as_echo "-----
24278 tar: file: Cannot open: Permission denied
24279 tar: Exiting with failure status due to previous errors
24281 tar: file: Warning: Cannot open: Permission denied
24283 tar: directory: Cannot open: Permission denied
24284 tar: Exiting with failure status due to previous errors
24286 tar: directory: Warning: Cannot open: Permission denied
24288 $at_diff - "$at_stderr" || at_failed=:
24289 at_func_diff_devnull "$at_stdout" || at_failed=:
24290 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
24292 $at_failed && at_func_log_failure
24296 $as_echo "$at_srcdir/ignfail.at:26:
24299 TEST_TAR_FORMAT=gnu
24300 export TEST_TAR_FORMAT
24301 TAR_OPTIONS=\"-H gnu\"
24305 # The test is meaningless for super-user.
24309 cat $$ > /dev/null 2>&1
24312 test $result -eq 0 && exit 77
24317 touch directory/file
24321 tar cf archive file
24324 test \$status = 2 || exit 1
24328 tar cf archive --ignore-failed-read file || exit 1
24331 test \$status = 0 || exit 1
24334 chmod 000 directory
24335 tar cf archive directory
24337 chmod 700 directory
24338 test \$status = 2 || exit 1
24341 chmod 000 directory
24342 tar cf archive --ignore-failed-read directory || exit 1
24344 chmod 700 directory
24347 echo ignfail.at:26 >"$at_check_line_file"
24349 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24354 TEST_TAR_FORMAT=gnu
24355 export TEST_TAR_FORMAT
24356 TAR_OPTIONS="-H gnu"
24360 # The test is meaningless for super-user.
24364 cat $$ > /dev/null 2>&1
24367 test $result -eq 0 && exit 77
24372 touch directory/file
24376 tar cf archive file
24379 test $status = 2 || exit 1
24383 tar cf archive --ignore-failed-read file || exit 1
24386 test $status = 0 || exit 1
24389 chmod 000 directory
24390 tar cf archive directory
24392 chmod 700 directory
24393 test $status = 2 || exit 1
24396 chmod 000 directory
24397 tar cf archive --ignore-failed-read directory || exit 1
24399 chmod 700 directory
24401 ) ) >"$at_stdout" 2>"$at_stder1"
24402 at_func_filter_trace $?
24407 TEST_TAR_FORMAT=gnu
24408 export TEST_TAR_FORMAT
24409 TAR_OPTIONS="-H gnu"
24413 # The test is meaningless for super-user.
24417 cat $$ > /dev/null 2>&1
24420 test $result -eq 0 && exit 77
24425 touch directory/file
24429 tar cf archive file
24432 test $status = 2 || exit 1
24436 tar cf archive --ignore-failed-read file || exit 1
24439 test $status = 0 || exit 1
24442 chmod 000 directory
24443 tar cf archive directory
24445 chmod 700 directory
24446 test $status = 2 || exit 1
24449 chmod 000 directory
24450 tar cf archive --ignore-failed-read directory || exit 1
24452 chmod 700 directory
24454 ) ) >"$at_stdout" 2>"$at_stderr"
24458 echo >>"$at_stderr"; $as_echo "-----
24459 tar: file: Cannot open: Permission denied
24460 tar: Exiting with failure status due to previous errors
24462 tar: file: Warning: Cannot open: Permission denied
24464 tar: directory: Cannot open: Permission denied
24465 tar: Exiting with failure status due to previous errors
24467 tar: directory: Warning: Cannot open: Permission denied
24469 $at_diff - "$at_stderr" || at_failed=:
24470 at_func_diff_devnull "$at_stdout" || at_failed=:
24471 at_func_check_status 0 $at_status "$at_srcdir/ignfail.at:26"
24473 $at_failed && at_func_log_failure
24480 $at_times_p && times >"$at_times_file"
24481 ) 5>&1 2>&1 | eval $at_tee_pipe
24482 at_status=`cat "$at_status_file"`
24485 # 54. link01.at:33: link count gt 2
24486 at_setup_line='link01.at:33'
24487 at_desc="link count gt 2"
24488 $at_quiet $as_echo_n " 54: $at_desc "
24490 test -f $XFAILFILE && at_xfail=yes
24491 echo "# -*- compilation -*-" >> "$at_group_log"
24493 $as_echo "54. link01.at:33: testing ..."
24501 $as_echo "$at_srcdir/link01.at:36:
24505 export TEST_TAR_FORMAT
24506 TAR_OPTIONS=\"-H v7\"
24511 mkdir directory/test1
24512 mkdir directory/test2
24514 echo TEST > directory/test1/test.txt
24515 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24517 tar cf archive directory/test1/test.txt directory/test1/test.txt
24524 echo link01.at:36 >"$at_check_line_file"
24526 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24532 export TEST_TAR_FORMAT
24533 TAR_OPTIONS="-H v7"
24538 mkdir directory/test1
24539 mkdir directory/test2
24541 echo TEST > directory/test1/test.txt
24542 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24544 tar cf archive directory/test1/test.txt directory/test1/test.txt
24550 ) ) >"$at_stdout" 2>"$at_stder1"
24551 at_func_filter_trace $?
24557 export TEST_TAR_FORMAT
24558 TAR_OPTIONS="-H v7"
24563 mkdir directory/test1
24564 mkdir directory/test2
24566 echo TEST > directory/test1/test.txt
24567 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24569 tar cf archive directory/test1/test.txt directory/test1/test.txt
24575 ) ) >"$at_stdout" 2>"$at_stderr"
24579 at_func_diff_devnull "$at_stderr" || at_failed=:
24580 echo >>"$at_stdout"; $as_echo "test.txt
24582 $at_diff - "$at_stdout" || at_failed=:
24583 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
24585 $at_failed && at_func_log_failure
24589 $as_echo "$at_srcdir/link01.at:36:
24592 TEST_TAR_FORMAT=oldgnu
24593 export TEST_TAR_FORMAT
24594 TAR_OPTIONS=\"-H oldgnu\"
24599 mkdir directory/test1
24600 mkdir directory/test2
24602 echo TEST > directory/test1/test.txt
24603 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24605 tar cf archive directory/test1/test.txt directory/test1/test.txt
24612 echo link01.at:36 >"$at_check_line_file"
24614 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24619 TEST_TAR_FORMAT=oldgnu
24620 export TEST_TAR_FORMAT
24621 TAR_OPTIONS="-H oldgnu"
24626 mkdir directory/test1
24627 mkdir directory/test2
24629 echo TEST > directory/test1/test.txt
24630 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24632 tar cf archive directory/test1/test.txt directory/test1/test.txt
24638 ) ) >"$at_stdout" 2>"$at_stder1"
24639 at_func_filter_trace $?
24644 TEST_TAR_FORMAT=oldgnu
24645 export TEST_TAR_FORMAT
24646 TAR_OPTIONS="-H oldgnu"
24651 mkdir directory/test1
24652 mkdir directory/test2
24654 echo TEST > directory/test1/test.txt
24655 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24657 tar cf archive directory/test1/test.txt directory/test1/test.txt
24663 ) ) >"$at_stdout" 2>"$at_stderr"
24667 at_func_diff_devnull "$at_stderr" || at_failed=:
24668 echo >>"$at_stdout"; $as_echo "test.txt
24670 $at_diff - "$at_stdout" || at_failed=:
24671 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
24673 $at_failed && at_func_log_failure
24677 $as_echo "$at_srcdir/link01.at:36:
24680 TEST_TAR_FORMAT=ustar
24681 export TEST_TAR_FORMAT
24682 TAR_OPTIONS=\"-H ustar\"
24687 mkdir directory/test1
24688 mkdir directory/test2
24690 echo TEST > directory/test1/test.txt
24691 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24693 tar cf archive directory/test1/test.txt directory/test1/test.txt
24700 echo link01.at:36 >"$at_check_line_file"
24702 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24707 TEST_TAR_FORMAT=ustar
24708 export TEST_TAR_FORMAT
24709 TAR_OPTIONS="-H ustar"
24714 mkdir directory/test1
24715 mkdir directory/test2
24717 echo TEST > directory/test1/test.txt
24718 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24720 tar cf archive directory/test1/test.txt directory/test1/test.txt
24726 ) ) >"$at_stdout" 2>"$at_stder1"
24727 at_func_filter_trace $?
24732 TEST_TAR_FORMAT=ustar
24733 export TEST_TAR_FORMAT
24734 TAR_OPTIONS="-H ustar"
24739 mkdir directory/test1
24740 mkdir directory/test2
24742 echo TEST > directory/test1/test.txt
24743 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24745 tar cf archive directory/test1/test.txt directory/test1/test.txt
24751 ) ) >"$at_stdout" 2>"$at_stderr"
24755 at_func_diff_devnull "$at_stderr" || at_failed=:
24756 echo >>"$at_stdout"; $as_echo "test.txt
24758 $at_diff - "$at_stdout" || at_failed=:
24759 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
24761 $at_failed && at_func_log_failure
24765 $as_echo "$at_srcdir/link01.at:36:
24768 TEST_TAR_FORMAT=posix
24769 export TEST_TAR_FORMAT
24770 TAR_OPTIONS=\"-H posix\"
24775 mkdir directory/test1
24776 mkdir directory/test2
24778 echo TEST > directory/test1/test.txt
24779 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24781 tar cf archive directory/test1/test.txt directory/test1/test.txt
24788 echo link01.at:36 >"$at_check_line_file"
24790 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24795 TEST_TAR_FORMAT=posix
24796 export TEST_TAR_FORMAT
24797 TAR_OPTIONS="-H posix"
24802 mkdir directory/test1
24803 mkdir directory/test2
24805 echo TEST > directory/test1/test.txt
24806 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24808 tar cf archive directory/test1/test.txt directory/test1/test.txt
24814 ) ) >"$at_stdout" 2>"$at_stder1"
24815 at_func_filter_trace $?
24820 TEST_TAR_FORMAT=posix
24821 export TEST_TAR_FORMAT
24822 TAR_OPTIONS="-H posix"
24827 mkdir directory/test1
24828 mkdir directory/test2
24830 echo TEST > directory/test1/test.txt
24831 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24833 tar cf archive directory/test1/test.txt directory/test1/test.txt
24839 ) ) >"$at_stdout" 2>"$at_stderr"
24843 at_func_diff_devnull "$at_stderr" || at_failed=:
24844 echo >>"$at_stdout"; $as_echo "test.txt
24846 $at_diff - "$at_stdout" || at_failed=:
24847 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
24849 $at_failed && at_func_log_failure
24853 $as_echo "$at_srcdir/link01.at:36:
24856 TEST_TAR_FORMAT=gnu
24857 export TEST_TAR_FORMAT
24858 TAR_OPTIONS=\"-H gnu\"
24863 mkdir directory/test1
24864 mkdir directory/test2
24866 echo TEST > directory/test1/test.txt
24867 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24869 tar cf archive directory/test1/test.txt directory/test1/test.txt
24876 echo link01.at:36 >"$at_check_line_file"
24878 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24883 TEST_TAR_FORMAT=gnu
24884 export TEST_TAR_FORMAT
24885 TAR_OPTIONS="-H gnu"
24890 mkdir directory/test1
24891 mkdir directory/test2
24893 echo TEST > directory/test1/test.txt
24894 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24896 tar cf archive directory/test1/test.txt directory/test1/test.txt
24902 ) ) >"$at_stdout" 2>"$at_stder1"
24903 at_func_filter_trace $?
24908 TEST_TAR_FORMAT=gnu
24909 export TEST_TAR_FORMAT
24910 TAR_OPTIONS="-H gnu"
24915 mkdir directory/test1
24916 mkdir directory/test2
24918 echo TEST > directory/test1/test.txt
24919 ln directory/test1/test.txt directory/test2/test.txt || exit 77
24921 tar cf archive directory/test1/test.txt directory/test1/test.txt
24927 ) ) >"$at_stdout" 2>"$at_stderr"
24931 at_func_diff_devnull "$at_stderr" || at_failed=:
24932 echo >>"$at_stdout"; $as_echo "test.txt
24934 $at_diff - "$at_stdout" || at_failed=:
24935 at_func_check_status 0 $at_status "$at_srcdir/link01.at:36"
24937 $at_failed && at_func_log_failure
24944 $at_times_p && times >"$at_times_file"
24945 ) 5>&1 2>&1 | eval $at_tee_pipe
24946 at_status=`cat "$at_status_file"`
24949 # 55. link02.at:32: preserve hard links with --remove-files
24950 at_setup_line='link02.at:32'
24951 at_desc="preserve hard links with --remove-files"
24952 $at_quiet $as_echo_n " 55: $at_desc "
24954 test -f $XFAILFILE && at_xfail=yes
24955 echo "# -*- compilation -*-" >> "$at_group_log"
24957 $as_echo "55. link02.at:32: testing ..."
24965 $as_echo "$at_srcdir/link02.at:35:
24969 export TEST_TAR_FORMAT
24970 TAR_OPTIONS=\"-H v7\"
24974 genfile -l 64 -f file1
24978 tar -c -f archive --remove-files file1 file2 file3 file4
24979 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
24981 echo link02.at:35 >"$at_check_line_file"
24983 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
24989 export TEST_TAR_FORMAT
24990 TAR_OPTIONS="-H v7"
24994 genfile -l 64 -f file1
24998 tar -c -f archive --remove-files file1 file2 file3 file4
24999 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25000 ) ) >"$at_stdout" 2>"$at_stder1"
25001 at_func_filter_trace $?
25007 export TEST_TAR_FORMAT
25008 TAR_OPTIONS="-H v7"
25012 genfile -l 64 -f file1
25016 tar -c -f archive --remove-files file1 file2 file3 file4
25017 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25018 ) ) >"$at_stdout" 2>"$at_stderr"
25022 at_func_diff_devnull "$at_stderr" || at_failed=:
25023 echo >>"$at_stdout"; $as_echo "file1
25027 $at_diff - "$at_stdout" || at_failed=:
25028 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
25030 $at_failed && at_func_log_failure
25034 $as_echo "$at_srcdir/link02.at:35:
25037 TEST_TAR_FORMAT=oldgnu
25038 export TEST_TAR_FORMAT
25039 TAR_OPTIONS=\"-H oldgnu\"
25043 genfile -l 64 -f file1
25047 tar -c -f archive --remove-files file1 file2 file3 file4
25048 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25050 echo link02.at:35 >"$at_check_line_file"
25052 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25057 TEST_TAR_FORMAT=oldgnu
25058 export TEST_TAR_FORMAT
25059 TAR_OPTIONS="-H oldgnu"
25063 genfile -l 64 -f file1
25067 tar -c -f archive --remove-files file1 file2 file3 file4
25068 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25069 ) ) >"$at_stdout" 2>"$at_stder1"
25070 at_func_filter_trace $?
25075 TEST_TAR_FORMAT=oldgnu
25076 export TEST_TAR_FORMAT
25077 TAR_OPTIONS="-H oldgnu"
25081 genfile -l 64 -f file1
25085 tar -c -f archive --remove-files file1 file2 file3 file4
25086 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25087 ) ) >"$at_stdout" 2>"$at_stderr"
25091 at_func_diff_devnull "$at_stderr" || at_failed=:
25092 echo >>"$at_stdout"; $as_echo "file1
25096 $at_diff - "$at_stdout" || at_failed=:
25097 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
25099 $at_failed && at_func_log_failure
25103 $as_echo "$at_srcdir/link02.at:35:
25106 TEST_TAR_FORMAT=ustar
25107 export TEST_TAR_FORMAT
25108 TAR_OPTIONS=\"-H ustar\"
25112 genfile -l 64 -f file1
25116 tar -c -f archive --remove-files file1 file2 file3 file4
25117 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25119 echo link02.at:35 >"$at_check_line_file"
25121 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25126 TEST_TAR_FORMAT=ustar
25127 export TEST_TAR_FORMAT
25128 TAR_OPTIONS="-H ustar"
25132 genfile -l 64 -f file1
25136 tar -c -f archive --remove-files file1 file2 file3 file4
25137 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25138 ) ) >"$at_stdout" 2>"$at_stder1"
25139 at_func_filter_trace $?
25144 TEST_TAR_FORMAT=ustar
25145 export TEST_TAR_FORMAT
25146 TAR_OPTIONS="-H ustar"
25150 genfile -l 64 -f file1
25154 tar -c -f archive --remove-files file1 file2 file3 file4
25155 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25156 ) ) >"$at_stdout" 2>"$at_stderr"
25160 at_func_diff_devnull "$at_stderr" || at_failed=:
25161 echo >>"$at_stdout"; $as_echo "file1
25165 $at_diff - "$at_stdout" || at_failed=:
25166 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
25168 $at_failed && at_func_log_failure
25172 $as_echo "$at_srcdir/link02.at:35:
25175 TEST_TAR_FORMAT=posix
25176 export TEST_TAR_FORMAT
25177 TAR_OPTIONS=\"-H posix\"
25181 genfile -l 64 -f file1
25185 tar -c -f archive --remove-files file1 file2 file3 file4
25186 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25188 echo link02.at:35 >"$at_check_line_file"
25190 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25195 TEST_TAR_FORMAT=posix
25196 export TEST_TAR_FORMAT
25197 TAR_OPTIONS="-H posix"
25201 genfile -l 64 -f file1
25205 tar -c -f archive --remove-files file1 file2 file3 file4
25206 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25207 ) ) >"$at_stdout" 2>"$at_stder1"
25208 at_func_filter_trace $?
25213 TEST_TAR_FORMAT=posix
25214 export TEST_TAR_FORMAT
25215 TAR_OPTIONS="-H posix"
25219 genfile -l 64 -f file1
25223 tar -c -f archive --remove-files file1 file2 file3 file4
25224 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25225 ) ) >"$at_stdout" 2>"$at_stderr"
25229 at_func_diff_devnull "$at_stderr" || at_failed=:
25230 echo >>"$at_stdout"; $as_echo "file1
25234 $at_diff - "$at_stdout" || at_failed=:
25235 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
25237 $at_failed && at_func_log_failure
25241 $as_echo "$at_srcdir/link02.at:35:
25244 TEST_TAR_FORMAT=gnu
25245 export TEST_TAR_FORMAT
25246 TAR_OPTIONS=\"-H gnu\"
25250 genfile -l 64 -f file1
25254 tar -c -f archive --remove-files file1 file2 file3 file4
25255 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25257 echo link02.at:35 >"$at_check_line_file"
25259 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25264 TEST_TAR_FORMAT=gnu
25265 export TEST_TAR_FORMAT
25266 TAR_OPTIONS="-H gnu"
25270 genfile -l 64 -f file1
25274 tar -c -f archive --remove-files file1 file2 file3 file4
25275 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25276 ) ) >"$at_stdout" 2>"$at_stder1"
25277 at_func_filter_trace $?
25282 TEST_TAR_FORMAT=gnu
25283 export TEST_TAR_FORMAT
25284 TAR_OPTIONS="-H gnu"
25288 genfile -l 64 -f file1
25292 tar -c -f archive --remove-files file1 file2 file3 file4
25293 tar tfv archive | sed -n 's/.*file[2-4] link to //p'
25294 ) ) >"$at_stdout" 2>"$at_stderr"
25298 at_func_diff_devnull "$at_stderr" || at_failed=:
25299 echo >>"$at_stdout"; $as_echo "file1
25303 $at_diff - "$at_stdout" || at_failed=:
25304 at_func_check_status 0 $at_status "$at_srcdir/link02.at:35"
25306 $at_failed && at_func_log_failure
25313 $at_times_p && times >"$at_times_file"
25314 ) 5>&1 2>&1 | eval $at_tee_pipe
25315 at_status=`cat "$at_status_file"`
25318 # 56. link03.at:24: working -l with --remove-files
25319 at_setup_line='link03.at:24'
25320 at_desc="working -l with --remove-files"
25321 $at_quiet $as_echo_n " 56: $at_desc "
25323 test -f $XFAILFILE && at_xfail=yes
25324 echo "# -*- compilation -*-" >> "$at_group_log"
25326 $as_echo "56. link03.at:24: testing ..."
25336 $as_echo "$at_srcdir/link03.at:34:
25340 export TEST_TAR_FORMAT
25341 TAR_OPTIONS=\"-H v7\"
25346 genfile -l 64 -f file1
25352 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25354 genfile -l 64 -f file1
25360 tar -c -f archive.2 -l --remove-files file1 file2 file3
25361 echo testing archive.2
25362 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25364 echo link03.at:34 >"$at_check_line_file"
25366 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25372 export TEST_TAR_FORMAT
25373 TAR_OPTIONS="-H v7"
25378 genfile -l 64 -f file1
25384 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25386 genfile -l 64 -f file1
25392 tar -c -f archive.2 -l --remove-files file1 file2 file3
25393 echo testing archive.2
25394 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25395 ) ) >"$at_stdout" 2>"$at_stder1"
25396 at_func_filter_trace $?
25402 export TEST_TAR_FORMAT
25403 TAR_OPTIONS="-H v7"
25408 genfile -l 64 -f file1
25414 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25416 genfile -l 64 -f file1
25422 tar -c -f archive.2 -l --remove-files file1 file2 file3
25423 echo testing archive.2
25424 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25425 ) ) >"$at_stdout" 2>"$at_stderr"
25429 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
25431 $at_diff - "$at_stderr" || at_failed=:
25432 echo >>"$at_stdout"; $as_echo "archive.1
25438 $at_diff - "$at_stdout" || at_failed=:
25439 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
25441 $at_failed && at_func_log_failure
25445 $as_echo "$at_srcdir/link03.at:34:
25448 TEST_TAR_FORMAT=oldgnu
25449 export TEST_TAR_FORMAT
25450 TAR_OPTIONS=\"-H oldgnu\"
25455 genfile -l 64 -f file1
25461 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25463 genfile -l 64 -f file1
25469 tar -c -f archive.2 -l --remove-files file1 file2 file3
25470 echo testing archive.2
25471 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25473 echo link03.at:34 >"$at_check_line_file"
25475 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25480 TEST_TAR_FORMAT=oldgnu
25481 export TEST_TAR_FORMAT
25482 TAR_OPTIONS="-H oldgnu"
25487 genfile -l 64 -f file1
25493 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25495 genfile -l 64 -f file1
25501 tar -c -f archive.2 -l --remove-files file1 file2 file3
25502 echo testing archive.2
25503 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25504 ) ) >"$at_stdout" 2>"$at_stder1"
25505 at_func_filter_trace $?
25510 TEST_TAR_FORMAT=oldgnu
25511 export TEST_TAR_FORMAT
25512 TAR_OPTIONS="-H oldgnu"
25517 genfile -l 64 -f file1
25523 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25525 genfile -l 64 -f file1
25531 tar -c -f archive.2 -l --remove-files file1 file2 file3
25532 echo testing archive.2
25533 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25534 ) ) >"$at_stdout" 2>"$at_stderr"
25538 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
25540 $at_diff - "$at_stderr" || at_failed=:
25541 echo >>"$at_stdout"; $as_echo "archive.1
25547 $at_diff - "$at_stdout" || at_failed=:
25548 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
25550 $at_failed && at_func_log_failure
25554 $as_echo "$at_srcdir/link03.at:34:
25557 TEST_TAR_FORMAT=ustar
25558 export TEST_TAR_FORMAT
25559 TAR_OPTIONS=\"-H ustar\"
25564 genfile -l 64 -f file1
25570 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25572 genfile -l 64 -f file1
25578 tar -c -f archive.2 -l --remove-files file1 file2 file3
25579 echo testing archive.2
25580 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25582 echo link03.at:34 >"$at_check_line_file"
25584 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25589 TEST_TAR_FORMAT=ustar
25590 export TEST_TAR_FORMAT
25591 TAR_OPTIONS="-H ustar"
25596 genfile -l 64 -f file1
25602 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25604 genfile -l 64 -f file1
25610 tar -c -f archive.2 -l --remove-files file1 file2 file3
25611 echo testing archive.2
25612 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25613 ) ) >"$at_stdout" 2>"$at_stder1"
25614 at_func_filter_trace $?
25619 TEST_TAR_FORMAT=ustar
25620 export TEST_TAR_FORMAT
25621 TAR_OPTIONS="-H ustar"
25626 genfile -l 64 -f file1
25632 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25634 genfile -l 64 -f file1
25640 tar -c -f archive.2 -l --remove-files file1 file2 file3
25641 echo testing archive.2
25642 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25643 ) ) >"$at_stdout" 2>"$at_stderr"
25647 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
25649 $at_diff - "$at_stderr" || at_failed=:
25650 echo >>"$at_stdout"; $as_echo "archive.1
25656 $at_diff - "$at_stdout" || at_failed=:
25657 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
25659 $at_failed && at_func_log_failure
25663 $as_echo "$at_srcdir/link03.at:34:
25666 TEST_TAR_FORMAT=posix
25667 export TEST_TAR_FORMAT
25668 TAR_OPTIONS=\"-H posix\"
25673 genfile -l 64 -f file1
25679 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25681 genfile -l 64 -f file1
25687 tar -c -f archive.2 -l --remove-files file1 file2 file3
25688 echo testing archive.2
25689 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25691 echo link03.at:34 >"$at_check_line_file"
25693 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25698 TEST_TAR_FORMAT=posix
25699 export TEST_TAR_FORMAT
25700 TAR_OPTIONS="-H posix"
25705 genfile -l 64 -f file1
25711 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25713 genfile -l 64 -f file1
25719 tar -c -f archive.2 -l --remove-files file1 file2 file3
25720 echo testing archive.2
25721 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25722 ) ) >"$at_stdout" 2>"$at_stder1"
25723 at_func_filter_trace $?
25728 TEST_TAR_FORMAT=posix
25729 export TEST_TAR_FORMAT
25730 TAR_OPTIONS="-H posix"
25735 genfile -l 64 -f file1
25741 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25743 genfile -l 64 -f file1
25749 tar -c -f archive.2 -l --remove-files file1 file2 file3
25750 echo testing archive.2
25751 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25752 ) ) >"$at_stdout" 2>"$at_stderr"
25756 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
25758 $at_diff - "$at_stderr" || at_failed=:
25759 echo >>"$at_stdout"; $as_echo "archive.1
25765 $at_diff - "$at_stdout" || at_failed=:
25766 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
25768 $at_failed && at_func_log_failure
25772 $as_echo "$at_srcdir/link03.at:34:
25775 TEST_TAR_FORMAT=gnu
25776 export TEST_TAR_FORMAT
25777 TAR_OPTIONS=\"-H gnu\"
25782 genfile -l 64 -f file1
25788 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25790 genfile -l 64 -f file1
25796 tar -c -f archive.2 -l --remove-files file1 file2 file3
25797 echo testing archive.2
25798 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25800 echo link03.at:34 >"$at_check_line_file"
25802 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25807 TEST_TAR_FORMAT=gnu
25808 export TEST_TAR_FORMAT
25809 TAR_OPTIONS="-H gnu"
25814 genfile -l 64 -f file1
25820 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25822 genfile -l 64 -f file1
25828 tar -c -f archive.2 -l --remove-files file1 file2 file3
25829 echo testing archive.2
25830 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25831 ) ) >"$at_stdout" 2>"$at_stder1"
25832 at_func_filter_trace $?
25837 TEST_TAR_FORMAT=gnu
25838 export TEST_TAR_FORMAT
25839 TAR_OPTIONS="-H gnu"
25844 genfile -l 64 -f file1
25850 tar -c -f archive.1 -l --remove-files file1 file2 file3 file4
25852 genfile -l 64 -f file1
25858 tar -c -f archive.2 -l --remove-files file1 file2 file3
25859 echo testing archive.2
25860 tar tfv archive.2 | sed -n 's/.*file[2-3] link to //p'
25861 ) ) >"$at_stdout" 2>"$at_stderr"
25865 echo >>"$at_stderr"; $as_echo "tar: Missing links to \`file1'.
25867 $at_diff - "$at_stderr" || at_failed=:
25868 echo >>"$at_stdout"; $as_echo "archive.1
25874 $at_diff - "$at_stdout" || at_failed=:
25875 at_func_check_status 0 $at_status "$at_srcdir/link03.at:34"
25877 $at_failed && at_func_log_failure
25884 $at_times_p && times >"$at_times_file"
25885 ) 5>&1 2>&1 | eval $at_tee_pipe
25886 at_status=`cat "$at_status_file"`
25889 # 57. longv7.at:24: long names in V7 archives
25890 at_setup_line='longv7.at:24'
25891 at_desc="long names in V7 archives"
25892 $at_quiet $as_echo_n " 57: $at_desc "
25894 test -f $XFAILFILE && at_xfail=yes
25895 echo "# -*- compilation -*-" >> "$at_group_log"
25897 $as_echo "57. longv7.at:24: testing ..."
25908 $as_echo "$at_srcdir/longv7.at:30:
25912 export TEST_TAR_FORMAT
25913 TAR_OPTIONS=\"-H v7\"
25917 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
25918 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
25920 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
25924 echo longv7.at:30 >"$at_check_line_file"
25926 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
25932 export TEST_TAR_FORMAT
25933 TAR_OPTIONS="-H v7"
25937 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
25938 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
25940 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
25943 ) ) >"$at_stdout" 2>"$at_stder1"
25944 at_func_filter_trace $?
25950 export TEST_TAR_FORMAT
25951 TAR_OPTIONS="-H v7"
25955 mkdir this_is_a_very_long_name_for_a_directory_which_causes_problems
25956 touch this_is_a_very_long_name_for_a_directory_which_causes_problems/this_is_a_very_long_file_name_which_raises_issues.c
25958 tar cf archive this_is_a_very_long_name_for_a_directory_which_causes_problems
25961 ) ) >"$at_stdout" 2>"$at_stderr"
25965 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
25966 tar: Exiting with failure status due to previous errors
25968 $at_diff - "$at_stderr" || at_failed=:
25969 echo >>"$at_stdout"; $as_echo "separator
25970 this_is_a_very_long_name_for_a_directory_which_causes_problems/
25972 $at_diff - "$at_stdout" || at_failed=:
25973 at_func_check_status 0 $at_status "$at_srcdir/longv7.at:30"
25975 $at_failed && at_func_log_failure
25982 $at_times_p && times >"$at_times_file"
25983 ) 5>&1 2>&1 | eval $at_tee_pipe
25984 at_status=`cat "$at_status_file"`
25987 # 58. long01.at:28: long file names divisible by block size
25988 at_setup_line='long01.at:28'
25989 at_desc="long file names divisible by block size"
25990 $at_quiet $as_echo_n " 58: $at_desc "
25992 test -f $XFAILFILE && at_xfail=yes
25993 echo "# -*- compilation -*-" >> "$at_group_log"
25995 $as_echo "58. long01.at:28: testing ..."
26007 $as_echo "$at_srcdir/long01.at:36:
26010 TEST_TAR_FORMAT=gnu
26011 export TEST_TAR_FORMAT
26012 TAR_OPTIONS=\"-H gnu\"
26017 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
26018 echo test > endfile
26020 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
26022 echo long01.at:36 >"$at_check_line_file"
26024 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26029 TEST_TAR_FORMAT=gnu
26030 export TEST_TAR_FORMAT
26031 TAR_OPTIONS="-H gnu"
26036 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
26037 echo test > endfile
26039 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
26040 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
26041 at_func_filter_trace $?
26046 TEST_TAR_FORMAT=gnu
26047 export TEST_TAR_FORMAT
26048 TAR_OPTIONS="-H gnu"
26053 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
26054 echo test > endfile
26056 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
26057 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
26061 at_func_diff_devnull "$at_stderr" || at_failed=:
26062 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
26065 $at_diff - "$at_stdout" || at_failed=:
26066 at_func_check_status 0 $at_status "$at_srcdir/long01.at:36"
26068 $at_failed && at_func_log_failure
26072 $as_echo "$at_srcdir/long01.at:36:
26075 TEST_TAR_FORMAT=oldgnu
26076 export TEST_TAR_FORMAT
26077 TAR_OPTIONS=\"-H oldgnu\"
26082 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
26083 echo test > endfile
26085 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
26087 echo long01.at:36 >"$at_check_line_file"
26089 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26094 TEST_TAR_FORMAT=oldgnu
26095 export TEST_TAR_FORMAT
26096 TAR_OPTIONS="-H oldgnu"
26101 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
26102 echo test > endfile
26104 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
26105 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
26106 at_func_filter_trace $?
26111 TEST_TAR_FORMAT=oldgnu
26112 export TEST_TAR_FORMAT
26113 TAR_OPTIONS="-H oldgnu"
26118 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
26119 echo test > endfile
26121 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
26122 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
26126 at_func_diff_devnull "$at_stderr" || at_failed=:
26127 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
26130 $at_diff - "$at_stdout" || at_failed=:
26131 at_func_check_status 0 $at_status "$at_srcdir/long01.at:36"
26133 $at_failed && at_func_log_failure
26140 $at_times_p && times >"$at_times_file"
26141 ) 5>&1 2>&1 | eval $at_tee_pipe
26142 at_status=`cat "$at_status_file"`
26145 # 59. lustar01.at:21: ustar: unsplittable file name
26146 at_setup_line='lustar01.at:21'
26147 at_desc="ustar: unsplittable file name"
26148 $at_quiet $as_echo_n " 59: $at_desc "
26150 test -f $XFAILFILE && at_xfail=yes
26151 echo "# -*- compilation -*-" >> "$at_group_log"
26153 $as_echo "59. lustar01.at:21: testing ..."
26163 $as_echo "$at_srcdir/lustar01.at:27:
26166 TEST_TAR_FORMAT=ustar
26167 export TEST_TAR_FORMAT
26168 TAR_OPTIONS=\"-H ustar\"
26172 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
26173 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
26175 echo lustar01.at:27 >"$at_check_line_file"
26177 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26182 TEST_TAR_FORMAT=ustar
26183 export TEST_TAR_FORMAT
26184 TAR_OPTIONS="-H ustar"
26188 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
26189 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
26190 ) ) >"$at_stdout" 2>"$at_stder1"
26191 at_func_filter_trace $?
26196 TEST_TAR_FORMAT=ustar
26197 export TEST_TAR_FORMAT
26198 TAR_OPTIONS="-H ustar"
26202 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
26203 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
26204 ) ) >"$at_stdout" 2>"$at_stderr"
26208 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
26209 tar: Exiting with failure status due to previous errors
26211 $at_diff - "$at_stderr" || at_failed=:
26212 at_func_diff_devnull "$at_stdout" || at_failed=:
26213 at_func_check_status 2 $at_status "$at_srcdir/lustar01.at:27"
26215 $at_failed && at_func_log_failure
26222 $at_times_p && times >"$at_times_file"
26223 ) 5>&1 2>&1 | eval $at_tee_pipe
26224 at_status=`cat "$at_status_file"`
26227 # 60. lustar02.at:21: ustar: unsplittable path name
26228 at_setup_line='lustar02.at:21'
26229 at_desc="ustar: unsplittable path name"
26230 $at_quiet $as_echo_n " 60: $at_desc "
26232 test -f $XFAILFILE && at_xfail=yes
26233 echo "# -*- compilation -*-" >> "$at_group_log"
26235 $as_echo "60. lustar02.at:21: testing ..."
26249 $as_echo "$at_srcdir/lustar02.at:32:
26252 TEST_TAR_FORMAT=ustar
26253 export TEST_TAR_FORMAT
26254 TAR_OPTIONS=\"-H ustar\"
26259 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
26260 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
26262 echo lustar02.at:32 >"$at_check_line_file"
26264 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26269 TEST_TAR_FORMAT=ustar
26270 export TEST_TAR_FORMAT
26271 TAR_OPTIONS="-H ustar"
26276 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
26277 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
26278 ) ) >"$at_stdout" 2>"$at_stder1"
26279 at_func_filter_trace $?
26284 TEST_TAR_FORMAT=ustar
26285 export TEST_TAR_FORMAT
26286 TAR_OPTIONS="-H ustar"
26291 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
26292 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
26293 ) ) >"$at_stdout" 2>"$at_stderr"
26297 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
26298 tar: Exiting with failure status due to previous errors
26300 $at_diff - "$at_stderr" || at_failed=:
26301 at_func_diff_devnull "$at_stdout" || at_failed=:
26302 at_func_check_status 2 $at_status "$at_srcdir/lustar02.at:32"
26304 $at_failed && at_func_log_failure
26311 $at_times_p && times >"$at_times_file"
26312 ) 5>&1 2>&1 | eval $at_tee_pipe
26313 at_status=`cat "$at_status_file"`
26316 # 61. lustar03.at:21: ustar: splitting long names
26317 at_setup_line='lustar03.at:21'
26318 at_desc="ustar: splitting long names"
26319 $at_quiet $as_echo_n " 61: $at_desc "
26321 test -f $XFAILFILE && at_xfail=yes
26322 echo "# -*- compilation -*-" >> "$at_group_log"
26324 $as_echo "61. lustar03.at:21: testing ..."
26336 $as_echo "$at_srcdir/lustar03.at:29:
26339 TEST_TAR_FORMAT=ustar
26340 export TEST_TAR_FORMAT
26341 TAR_OPTIONS=\"-H ustar\"
26346 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
26347 echo \"Create archive\"
26348 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
26349 echo \"List archive\"
26351 echo lustar03.at:29 >"$at_check_line_file"
26353 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26358 TEST_TAR_FORMAT=ustar
26359 export TEST_TAR_FORMAT
26360 TAR_OPTIONS="-H ustar"
26365 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
26366 echo "Create archive"
26367 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
26368 echo "List archive"
26369 tar tf archive) ) >"$at_stdout" 2>"$at_stder1"
26370 at_func_filter_trace $?
26375 TEST_TAR_FORMAT=ustar
26376 export TEST_TAR_FORMAT
26377 TAR_OPTIONS="-H ustar"
26382 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
26383 echo "Create archive"
26384 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
26385 echo "List archive"
26386 tar tf archive) ) >"$at_stdout" 2>"$at_stderr"
26390 at_func_diff_devnull "$at_stderr" || at_failed=:
26391 echo >>"$at_stdout"; $as_echo "Create archive
26393 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/
26394 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
26396 $at_diff - "$at_stdout" || at_failed=:
26397 at_func_check_status 0 $at_status "$at_srcdir/lustar03.at:29"
26399 $at_failed && at_func_log_failure
26406 $at_times_p && times >"$at_times_file"
26407 ) 5>&1 2>&1 | eval $at_tee_pipe
26408 at_status=`cat "$at_status_file"`
26411 # 62. multiv01.at:23: multivolume dumps from pipes
26412 at_setup_line='multiv01.at:23'
26413 at_desc="multivolume dumps from pipes"
26414 $at_quiet $as_echo_n " 62: $at_desc "
26416 test -f $XFAILFILE && at_xfail=yes
26417 echo "# -*- compilation -*-" >> "$at_group_log"
26419 $as_echo "62. multiv01.at:23: testing ..."
26424 # Fixme: should be configurable
26425 # TRUSS=truss -o /tmp/tr
26431 $as_echo "$at_srcdir/multiv01.at:30:
26434 TEST_TAR_FORMAT=gnu
26435 export TEST_TAR_FORMAT
26436 TAR_OPTIONS=\"-H gnu\"
26441 genfile --length 7168 --file file1
26443 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
26444 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
26445 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26446 for count in 2 3 4 5 6 7 8 ; do
26447 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26451 if test \$TEST_TAR_FORMAT = pax; then
26457 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
26458 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26460 mkdir extract-dir-pipe
26461 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26462 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
26463 -C extract-dir-pipe -x --multi-volume \\
26464 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
26466 cmp file1 extract-dir-pipe/file1
26467 cmp file2 extract-dir-pipe/file2
26469 echo multiv01.at:30 >"$at_check_line_file"
26471 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
26476 TEST_TAR_FORMAT=gnu
26477 export TEST_TAR_FORMAT
26478 TAR_OPTIONS="-H gnu"
26483 genfile --length 7168 --file file1
26485 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26486 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26487 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26488 for count in 2 3 4 5 6 7 8 ; do
26489 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26493 if test $TEST_TAR_FORMAT = pax; then
26499 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26500 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26502 mkdir extract-dir-pipe
26503 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26504 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26505 -C extract-dir-pipe -x --multi-volume \
26506 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26508 cmp file1 extract-dir-pipe/file1
26509 cmp file2 extract-dir-pipe/file2
26510 ) ) >"$at_stdout" 2>"$at_stder1"
26511 at_func_filter_trace $?
26516 TEST_TAR_FORMAT=gnu
26517 export TEST_TAR_FORMAT
26518 TAR_OPTIONS="-H gnu"
26523 genfile --length 7168 --file file1
26525 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26526 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26527 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26528 for count in 2 3 4 5 6 7 8 ; do
26529 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26533 if test $TEST_TAR_FORMAT = pax; then
26539 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26540 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26542 mkdir extract-dir-pipe
26543 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26544 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26545 -C extract-dir-pipe -x --multi-volume \
26546 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26548 cmp file1 extract-dir-pipe/file1
26549 cmp file2 extract-dir-pipe/file2
26550 ) ) >"$at_stdout" 2>"$at_stderr"
26554 at_func_diff_devnull "$at_stderr" || at_failed=:
26555 at_func_diff_devnull "$at_stdout" || at_failed=:
26556 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
26558 $at_failed && at_func_log_failure
26562 $as_echo "$at_srcdir/multiv01.at:30:
26565 TEST_TAR_FORMAT=oldgnu
26566 export TEST_TAR_FORMAT
26567 TAR_OPTIONS=\"-H oldgnu\"
26572 genfile --length 7168 --file file1
26574 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
26575 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
26576 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26577 for count in 2 3 4 5 6 7 8 ; do
26578 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26582 if test \$TEST_TAR_FORMAT = pax; then
26588 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
26589 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26591 mkdir extract-dir-pipe
26592 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26593 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
26594 -C extract-dir-pipe -x --multi-volume \\
26595 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
26597 cmp file1 extract-dir-pipe/file1
26598 cmp file2 extract-dir-pipe/file2
26600 echo multiv01.at:30 >"$at_check_line_file"
26602 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
26607 TEST_TAR_FORMAT=oldgnu
26608 export TEST_TAR_FORMAT
26609 TAR_OPTIONS="-H oldgnu"
26614 genfile --length 7168 --file file1
26616 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26617 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26618 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26619 for count in 2 3 4 5 6 7 8 ; do
26620 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26624 if test $TEST_TAR_FORMAT = pax; then
26630 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26631 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26633 mkdir extract-dir-pipe
26634 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26635 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26636 -C extract-dir-pipe -x --multi-volume \
26637 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26639 cmp file1 extract-dir-pipe/file1
26640 cmp file2 extract-dir-pipe/file2
26641 ) ) >"$at_stdout" 2>"$at_stder1"
26642 at_func_filter_trace $?
26647 TEST_TAR_FORMAT=oldgnu
26648 export TEST_TAR_FORMAT
26649 TAR_OPTIONS="-H oldgnu"
26654 genfile --length 7168 --file file1
26656 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26657 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26658 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26659 for count in 2 3 4 5 6 7 8 ; do
26660 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26664 if test $TEST_TAR_FORMAT = pax; then
26670 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26671 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26673 mkdir extract-dir-pipe
26674 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26675 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26676 -C extract-dir-pipe -x --multi-volume \
26677 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26679 cmp file1 extract-dir-pipe/file1
26680 cmp file2 extract-dir-pipe/file2
26681 ) ) >"$at_stdout" 2>"$at_stderr"
26685 at_func_diff_devnull "$at_stderr" || at_failed=:
26686 at_func_diff_devnull "$at_stdout" || at_failed=:
26687 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
26689 $at_failed && at_func_log_failure
26693 $as_echo "$at_srcdir/multiv01.at:30:
26696 TEST_TAR_FORMAT=pax
26697 export TEST_TAR_FORMAT
26698 TAR_OPTIONS=\"-H pax\"
26703 genfile --length 7168 --file file1
26705 for block in \" 1\" \" 2\" \" 3\" \" 4\" \" 5\" \" 6\" \" 7\" \" 8\" \\
26706 \" 9\" \"10\" \"11\" \"12\" \"13\" \"14\" \"15\" \"16\" ; do \\
26707 echo \"file2 block \${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26708 for count in 2 3 4 5 6 7 8 ; do
26709 echo \"bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla\"
26713 if test \$TEST_TAR_FORMAT = pax; then
26719 tar -c --multi-volume --tape-length=\$TAPE_LENGTH \\
26720 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26722 mkdir extract-dir-pipe
26723 dd bs=4096 count=\$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26724 PATH=\$PATH \${TRUSS} tar -f t1-pipe.tar -f - \\
26725 -C extract-dir-pipe -x --multi-volume \\
26726 --tape-length=\$TAPE_LENGTH --read-full-records || exit 1
26728 cmp file1 extract-dir-pipe/file1
26729 cmp file2 extract-dir-pipe/file2
26731 echo multiv01.at:30 >"$at_check_line_file"
26733 if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
26738 TEST_TAR_FORMAT=pax
26739 export TEST_TAR_FORMAT
26740 TAR_OPTIONS="-H pax"
26745 genfile --length 7168 --file file1
26747 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26748 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26749 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26750 for count in 2 3 4 5 6 7 8 ; do
26751 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26755 if test $TEST_TAR_FORMAT = pax; then
26761 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26762 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26764 mkdir extract-dir-pipe
26765 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26766 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26767 -C extract-dir-pipe -x --multi-volume \
26768 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26770 cmp file1 extract-dir-pipe/file1
26771 cmp file2 extract-dir-pipe/file2
26772 ) ) >"$at_stdout" 2>"$at_stder1"
26773 at_func_filter_trace $?
26778 TEST_TAR_FORMAT=pax
26779 export TEST_TAR_FORMAT
26780 TAR_OPTIONS="-H pax"
26785 genfile --length 7168 --file file1
26787 for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
26788 " 9" "10" "11" "12" "13" "14" "15" "16" ; do \
26789 echo "file2 block ${block} bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26790 for count in 2 3 4 5 6 7 8 ; do
26791 echo "bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla!bla"
26795 if test $TEST_TAR_FORMAT = pax; then
26801 tar -c --multi-volume --tape-length=$TAPE_LENGTH \
26802 -f t1-pipe.tar -f t2-pipe.tar ./file1 ./file2 || exit 1
26804 mkdir extract-dir-pipe
26805 dd bs=4096 count=$TAPE_LENGTH if=t2-pipe.tar 2>/dev/null |
26806 PATH=$PATH ${TRUSS} tar -f t1-pipe.tar -f - \
26807 -C extract-dir-pipe -x --multi-volume \
26808 --tape-length=$TAPE_LENGTH --read-full-records || exit 1
26810 cmp file1 extract-dir-pipe/file1
26811 cmp file2 extract-dir-pipe/file2
26812 ) ) >"$at_stdout" 2>"$at_stderr"
26816 at_func_diff_devnull "$at_stderr" || at_failed=:
26817 at_func_diff_devnull "$at_stdout" || at_failed=:
26818 at_func_check_status 0 $at_status "$at_srcdir/multiv01.at:30"
26820 $at_failed && at_func_log_failure
26827 $at_times_p && times >"$at_times_file"
26828 ) 5>&1 2>&1 | eval $at_tee_pipe
26829 at_status=`cat "$at_status_file"`
26832 # 63. multiv02.at:28: skipping a straddling member
26833 at_setup_line='multiv02.at:28'
26834 at_desc="skipping a straddling member"
26835 $at_quiet $as_echo_n " 63: $at_desc "
26837 test -f $XFAILFILE && at_xfail=yes
26838 echo "# -*- compilation -*-" >> "$at_group_log"
26840 $as_echo "63. multiv02.at:28: testing ..."
26848 $as_echo "$at_srcdir/multiv02.at:31:
26851 TEST_TAR_FORMAT=gnu
26852 export TEST_TAR_FORMAT
26853 TAR_OPTIONS=\"-H gnu\"
26857 genfile --length 10240 --file en
26858 genfile --length 20000 --file to
26859 genfile --length 20000 --file tre
26860 genfile --length 10240 --file fire
26864 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26866 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26868 echo multiv02.at:31 >"$at_check_line_file"
26870 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26875 TEST_TAR_FORMAT=gnu
26876 export TEST_TAR_FORMAT
26877 TAR_OPTIONS="-H gnu"
26881 genfile --length 10240 --file en
26882 genfile --length 20000 --file to
26883 genfile --length 20000 --file tre
26884 genfile --length 10240 --file fire
26888 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26890 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26891 ) ) >"$at_stdout" 2>"$at_stder1"
26892 at_func_filter_trace $?
26897 TEST_TAR_FORMAT=gnu
26898 export TEST_TAR_FORMAT
26899 TAR_OPTIONS="-H gnu"
26903 genfile --length 10240 --file en
26904 genfile --length 20000 --file to
26905 genfile --length 20000 --file tre
26906 genfile --length 10240 --file fire
26910 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26912 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26913 ) ) >"$at_stdout" 2>"$at_stderr"
26917 at_func_diff_devnull "$at_stderr" || at_failed=:
26918 echo >>"$at_stdout"; $as_echo "separator
26921 $at_diff - "$at_stdout" || at_failed=:
26922 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
26924 $at_failed && at_func_log_failure
26928 $as_echo "$at_srcdir/multiv02.at:31:
26931 TEST_TAR_FORMAT=oldgnu
26932 export TEST_TAR_FORMAT
26933 TAR_OPTIONS=\"-H oldgnu\"
26937 genfile --length 10240 --file en
26938 genfile --length 20000 --file to
26939 genfile --length 20000 --file tre
26940 genfile --length 10240 --file fire
26944 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26946 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26948 echo multiv02.at:31 >"$at_check_line_file"
26950 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
26955 TEST_TAR_FORMAT=oldgnu
26956 export TEST_TAR_FORMAT
26957 TAR_OPTIONS="-H oldgnu"
26961 genfile --length 10240 --file en
26962 genfile --length 20000 --file to
26963 genfile --length 20000 --file tre
26964 genfile --length 10240 --file fire
26968 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26970 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26971 ) ) >"$at_stdout" 2>"$at_stder1"
26972 at_func_filter_trace $?
26977 TEST_TAR_FORMAT=oldgnu
26978 export TEST_TAR_FORMAT
26979 TAR_OPTIONS="-H oldgnu"
26983 genfile --length 10240 --file en
26984 genfile --length 20000 --file to
26985 genfile --length 20000 --file tre
26986 genfile --length 10240 --file fire
26990 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
26992 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
26993 ) ) >"$at_stdout" 2>"$at_stderr"
26997 at_func_diff_devnull "$at_stderr" || at_failed=:
26998 echo >>"$at_stdout"; $as_echo "separator
27001 $at_diff - "$at_stdout" || at_failed=:
27002 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
27004 $at_failed && at_func_log_failure
27008 $as_echo "$at_srcdir/multiv02.at:31:
27011 TEST_TAR_FORMAT=pax
27012 export TEST_TAR_FORMAT
27013 TAR_OPTIONS=\"-H pax\"
27017 genfile --length 10240 --file en
27018 genfile --length 20000 --file to
27019 genfile --length 20000 --file tre
27020 genfile --length 10240 --file fire
27024 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
27026 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
27028 echo multiv02.at:31 >"$at_check_line_file"
27030 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27035 TEST_TAR_FORMAT=pax
27036 export TEST_TAR_FORMAT
27037 TAR_OPTIONS="-H pax"
27041 genfile --length 10240 --file en
27042 genfile --length 20000 --file to
27043 genfile --length 20000 --file tre
27044 genfile --length 10240 --file fire
27048 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
27050 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
27051 ) ) >"$at_stdout" 2>"$at_stder1"
27052 at_func_filter_trace $?
27057 TEST_TAR_FORMAT=pax
27058 export TEST_TAR_FORMAT
27059 TAR_OPTIONS="-H pax"
27063 genfile --length 10240 --file en
27064 genfile --length 20000 --file to
27065 genfile --length 20000 --file tre
27066 genfile --length 10240 --file fire
27070 tar -c -f A.tar -f B.tar -f C.tar -M -L 30 en to tre fire || exit 1
27072 tar -v -x -f A.tar -f B.tar -f C.tar -M en || exit 1
27073 ) ) >"$at_stdout" 2>"$at_stderr"
27077 at_func_diff_devnull "$at_stderr" || at_failed=:
27078 echo >>"$at_stdout"; $as_echo "separator
27081 $at_diff - "$at_stdout" || at_failed=:
27082 at_func_check_status 0 $at_status "$at_srcdir/multiv02.at:31"
27084 $at_failed && at_func_log_failure
27091 $at_times_p && times >"$at_times_file"
27092 ) 5>&1 2>&1 | eval $at_tee_pipe
27093 at_status=`cat "$at_status_file"`
27096 # 64. multiv03.at:30: MV archive & long filenames
27097 at_setup_line='multiv03.at:30'
27098 at_desc="MV archive & long filenames"
27099 $at_quiet $as_echo_n " 64: $at_desc "
27101 test -f $XFAILFILE && at_xfail=yes
27102 echo "# -*- compilation -*-" >> "$at_group_log"
27104 $as_echo "64. multiv03.at:30: testing ..."
27112 $as_echo "$at_srcdir/multiv03.at:33:
27115 TEST_TAR_FORMAT=gnu
27116 export TEST_TAR_FORMAT
27117 TAR_OPTIONS=\"-H gnu\"
27121 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
27122 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
27124 cat > ../experr <<EOF
27125 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
27126 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
27129 cat > ../expout <<EOF
27135 genfile --length 15360 --file \$AFILE
27139 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
27140 tar -tM -f arch.1 -f arch.2 || exit 1
27144 genfile --length 15360 --file \$BFILE
27145 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
27149 tar -M -x -f arch.1 -f arch.2 || exit 1
27152 echo multiv03.at:33 >"$at_check_line_file"
27154 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
27159 TEST_TAR_FORMAT=gnu
27160 export TEST_TAR_FORMAT
27161 TAR_OPTIONS="-H gnu"
27165 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
27166 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
27168 cat > ../experr <<EOF
27169 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
27170 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
27173 cat > ../expout <<EOF
27179 genfile --length 15360 --file $AFILE
27183 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
27184 tar -tM -f arch.1 -f arch.2 || exit 1
27188 genfile --length 15360 --file $BFILE
27189 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
27193 tar -M -x -f arch.1 -f arch.2 || exit 1
27195 ) ) >"$at_stdout" 2>"$at_stder1"
27196 at_func_filter_trace $?
27201 TEST_TAR_FORMAT=gnu
27202 export TEST_TAR_FORMAT
27203 TAR_OPTIONS="-H gnu"
27207 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
27208 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
27210 cat > ../experr <<EOF
27211 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
27212 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
27215 cat > ../expout <<EOF
27221 genfile --length 15360 --file $AFILE
27225 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
27226 tar -tM -f arch.1 -f arch.2 || exit 1
27230 genfile --length 15360 --file $BFILE
27231 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
27235 tar -M -x -f arch.1 -f arch.2 || exit 1
27237 ) ) >"$at_stdout" 2>"$at_stderr"
27241 $at_diff experr "$at_stderr" || at_failed=:
27242 $at_diff expout "$at_stdout" || at_failed=:
27243 at_func_check_status 0 $at_status "$at_srcdir/multiv03.at:33"
27245 $at_failed && at_func_log_failure
27249 $as_echo "$at_srcdir/multiv03.at:33:
27252 TEST_TAR_FORMAT=oldgnu
27253 export TEST_TAR_FORMAT
27254 TAR_OPTIONS=\"-H oldgnu\"
27258 AFILE=\`awk 'BEGIN { for (i = 0; i < 100; i++) printf \"a\"; exit; }'\`
27259 BFILE=\`awk 'BEGIN { for (i = 0; i < 101; i++) printf \"b\"; exit; }'\`
27261 cat > ../experr <<EOF
27262 tar: \$BFILE: file name too long to be stored in a GNU multivolume header, truncated
27263 tar: \\\`\$BFILE' is possibly continued on this volume: header contains truncated name
27266 cat > ../expout <<EOF
27272 genfile --length 15360 --file \$AFILE
27276 tar -M -L 10 -c -f arch.1 -f arch.2 \$AFILE || exit 1
27277 tar -tM -f arch.1 -f arch.2 || exit 1
27281 genfile --length 15360 --file \$BFILE
27282 tar -M -L 10 -c -f arch.1 -f arch.2 \$BFILE || exit 1
27286 tar -M -x -f arch.1 -f arch.2 || exit 1
27289 echo multiv03.at:33 >"$at_check_line_file"
27291 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
27296 TEST_TAR_FORMAT=oldgnu
27297 export TEST_TAR_FORMAT
27298 TAR_OPTIONS="-H oldgnu"
27302 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
27303 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
27305 cat > ../experr <<EOF
27306 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
27307 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
27310 cat > ../expout <<EOF
27316 genfile --length 15360 --file $AFILE
27320 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
27321 tar -tM -f arch.1 -f arch.2 || exit 1
27325 genfile --length 15360 --file $BFILE
27326 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
27330 tar -M -x -f arch.1 -f arch.2 || exit 1
27332 ) ) >"$at_stdout" 2>"$at_stder1"
27333 at_func_filter_trace $?
27338 TEST_TAR_FORMAT=oldgnu
27339 export TEST_TAR_FORMAT
27340 TAR_OPTIONS="-H oldgnu"
27344 AFILE=`awk 'BEGIN { for (i = 0; i < 100; i++) printf "a"; exit; }'`
27345 BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
27347 cat > ../experr <<EOF
27348 tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
27349 tar: \`$BFILE' is possibly continued on this volume: header contains truncated name
27352 cat > ../expout <<EOF
27358 genfile --length 15360 --file $AFILE
27362 tar -M -L 10 -c -f arch.1 -f arch.2 $AFILE || exit 1
27363 tar -tM -f arch.1 -f arch.2 || exit 1
27367 genfile --length 15360 --file $BFILE
27368 tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE || exit 1
27372 tar -M -x -f arch.1 -f arch.2 || exit 1
27374 ) ) >"$at_stdout" 2>"$at_stderr"
27378 $at_diff experr "$at_stderr" || at_failed=:
27379 $at_diff expout "$at_stdout" || at_failed=:
27380 at_func_check_status 0 $at_status "$at_srcdir/multiv03.at:33"
27382 $at_failed && at_func_log_failure
27389 $at_times_p && times >"$at_times_file"
27390 ) 5>&1 2>&1 | eval $at_tee_pipe
27391 at_status=`cat "$at_status_file"`
27394 # 65. multiv04.at:36: split directory members in a MV archive
27395 at_setup_line='multiv04.at:36'
27396 at_desc="split directory members in a MV archive"
27397 $at_quiet $as_echo_n " 65: $at_desc "
27399 test -f $XFAILFILE && at_xfail=yes
27400 echo "# -*- compilation -*-" >> "$at_group_log"
27402 $as_echo "65. multiv04.at:36: testing ..."
27410 $as_echo "$at_srcdir/multiv04.at:39:
27413 TEST_TAR_FORMAT=gnu
27414 export TEST_TAR_FORMAT
27415 TAR_OPTIONS=\"-H gnu\"
27421 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
27427 tar --listed-incremental=list -c -f archive.a directory
27431 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27435 tar -MRt -f arc.1 -f arc.2)"
27436 echo multiv04.at:39 >"$at_check_line_file"
27438 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27443 TEST_TAR_FORMAT=gnu
27444 export TEST_TAR_FORMAT
27445 TAR_OPTIONS="-H gnu"
27451 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
27457 tar --listed-incremental=list -c -f archive.a directory
27461 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27465 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stder1"
27466 at_func_filter_trace $?
27471 TEST_TAR_FORMAT=gnu
27472 export TEST_TAR_FORMAT
27473 TAR_OPTIONS="-H gnu"
27479 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
27485 tar --listed-incremental=list -c -f archive.a directory
27489 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27493 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stderr"
27497 at_func_diff_devnull "$at_stderr" || at_failed=:
27498 echo >>"$at_stdout"; $as_echo "directory/
27500 block 0: directory/
27501 block 35: ** Block of NULs **
27503 $at_diff - "$at_stdout" || at_failed=:
27504 at_func_check_status 0 $at_status "$at_srcdir/multiv04.at:39"
27506 $at_failed && at_func_log_failure
27510 $as_echo "$at_srcdir/multiv04.at:39:
27513 TEST_TAR_FORMAT=oldgnu
27514 export TEST_TAR_FORMAT
27515 TAR_OPTIONS=\"-H oldgnu\"
27521 awk 'BEGIN { for (i = 0; i < 1024; i++) printf(\"directory/%014x\\n\", i); }' </dev/null | genfile --files-from -
27527 tar --listed-incremental=list -c -f archive.a directory
27531 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27535 tar -MRt -f arc.1 -f arc.2)"
27536 echo multiv04.at:39 >"$at_check_line_file"
27538 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27543 TEST_TAR_FORMAT=oldgnu
27544 export TEST_TAR_FORMAT
27545 TAR_OPTIONS="-H oldgnu"
27551 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
27557 tar --listed-incremental=list -c -f archive.a directory
27561 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27565 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stder1"
27566 at_func_filter_trace $?
27571 TEST_TAR_FORMAT=oldgnu
27572 export TEST_TAR_FORMAT
27573 TAR_OPTIONS="-H oldgnu"
27579 awk 'BEGIN { for (i = 0; i < 1024; i++) printf("directory/%014x\n", i); }' </dev/null | genfile --files-from -
27585 tar --listed-incremental=list -c -f archive.a directory
27589 tar --listed-incremental=list -c --record-size 1024 -L 16 -f arc.1 -f arc.2 -v directory
27593 tar -MRt -f arc.1 -f arc.2) ) >"$at_stdout" 2>"$at_stderr"
27597 at_func_diff_devnull "$at_stderr" || at_failed=:
27598 echo >>"$at_stdout"; $as_echo "directory/
27600 block 0: directory/
27601 block 35: ** Block of NULs **
27603 $at_diff - "$at_stdout" || at_failed=:
27604 at_func_check_status 0 $at_status "$at_srcdir/multiv04.at:39"
27606 $at_failed && at_func_log_failure
27613 $at_times_p && times >"$at_times_file"
27614 ) 5>&1 2>&1 | eval $at_tee_pipe
27615 at_status=`cat "$at_status_file"`
27618 # 66. multiv05.at:26: Restoring after an out of sync volume
27619 at_setup_line='multiv05.at:26'
27620 at_desc="Restoring after an out of sync volume"
27621 $at_quiet $as_echo_n " 66: $at_desc "
27623 test -f $XFAILFILE && at_xfail=yes
27624 echo "# -*- compilation -*-" >> "$at_group_log"
27626 $as_echo "66. multiv05.at:26: testing ..."
27635 $as_echo "$at_srcdir/multiv05.at:30:
27638 TEST_TAR_FORMAT=gnu
27639 export TEST_TAR_FORMAT
27640 TAR_OPTIONS=\"-H gnu\"
27646 genfile --length 250k --file jeden
27647 genfile --length 250k --file dwa
27648 genfile --length 250k --file trzy
27649 genfile --length 250k --file cztery
27650 genfile --length 250k --file piec
27651 genfile --length 250k --file szesc
27654 echo Creating archive
27655 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
27658 mv jeden dwa trzy cztery piec szesc bak
27659 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
27661 cmp bak/jeden jeden || exit 1
27663 cmp bak/dwa dwa || exit 1
27665 cmp bak/trzy trzy || exit 1
27666 echo Diffing cztery
27667 cmp bak/cztery cztery || exit 1
27669 cmp bak/piec piec || exit 1
27671 cmp bak/szesc szesc || exit 1
27673 echo multiv05.at:30 >"$at_check_line_file"
27675 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27680 TEST_TAR_FORMAT=gnu
27681 export TEST_TAR_FORMAT
27682 TAR_OPTIONS="-H gnu"
27688 genfile --length 250k --file jeden
27689 genfile --length 250k --file dwa
27690 genfile --length 250k --file trzy
27691 genfile --length 250k --file cztery
27692 genfile --length 250k --file piec
27693 genfile --length 250k --file szesc
27696 echo Creating archive
27697 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
27700 mv jeden dwa trzy cztery piec szesc bak
27701 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
27703 cmp bak/jeden jeden || exit 1
27705 cmp bak/dwa dwa || exit 1
27707 cmp bak/trzy trzy || exit 1
27708 echo Diffing cztery
27709 cmp bak/cztery cztery || exit 1
27711 cmp bak/piec piec || exit 1
27713 cmp bak/szesc szesc || exit 1
27714 ) ) >"$at_stdout" 2>"$at_stder1"
27715 at_func_filter_trace $?
27720 TEST_TAR_FORMAT=gnu
27721 export TEST_TAR_FORMAT
27722 TAR_OPTIONS="-H gnu"
27728 genfile --length 250k --file jeden
27729 genfile --length 250k --file dwa
27730 genfile --length 250k --file trzy
27731 genfile --length 250k --file cztery
27732 genfile --length 250k --file piec
27733 genfile --length 250k --file szesc
27736 echo Creating archive
27737 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar jeden dwa trzy cztery piec szesc
27740 mv jeden dwa trzy cztery piec szesc bak
27741 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
27743 cmp bak/jeden jeden || exit 1
27745 cmp bak/dwa dwa || exit 1
27747 cmp bak/trzy trzy || exit 1
27748 echo Diffing cztery
27749 cmp bak/cztery cztery || exit 1
27751 cmp bak/piec piec || exit 1
27753 cmp bak/szesc szesc || exit 1
27754 ) ) >"$at_stdout" 2>"$at_stderr"
27758 echo >>"$at_stderr"; $as_echo "tar: \`trzy' is not continued on this volume
27760 $at_diff - "$at_stderr" || at_failed=:
27761 echo >>"$at_stdout"; $as_echo "Creating archive
27776 $at_diff - "$at_stdout" || at_failed=:
27777 at_func_check_status 0 $at_status "$at_srcdir/multiv05.at:30"
27779 $at_failed && at_func_log_failure
27786 $at_times_p && times >"$at_times_file"
27787 ) 5>&1 2>&1 | eval $at_tee_pipe
27788 at_status=`cat "$at_status_file"`
27791 # 67. multiv06.at:27: Multivolumes with L=record_size
27792 at_setup_line='multiv06.at:27'
27793 at_desc="Multivolumes with L=record_size"
27794 $at_quiet $as_echo_n " 67: $at_desc "
27796 test -f $XFAILFILE && at_xfail=yes
27797 echo "# -*- compilation -*-" >> "$at_group_log"
27799 $as_echo "67. multiv06.at:27: testing ..."
27807 $as_echo "$at_srcdir/multiv06.at:30:
27810 TEST_TAR_FORMAT=gnu
27811 export TEST_TAR_FORMAT
27812 TAR_OPTIONS=\"-H gnu\"
27817 decho Creating file
27818 genfile --length 20139 --file file
27819 decho Creating archive
27820 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27821 decho Testing archive
27822 tar -t -M -farc.1 -farc.2 -farc.3)"
27823 echo multiv06.at:30 >"$at_check_line_file"
27825 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27830 TEST_TAR_FORMAT=gnu
27831 export TEST_TAR_FORMAT
27832 TAR_OPTIONS="-H gnu"
27837 decho Creating file
27838 genfile --length 20139 --file file
27839 decho Creating archive
27840 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27841 decho Testing archive
27842 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
27843 at_func_filter_trace $?
27848 TEST_TAR_FORMAT=gnu
27849 export TEST_TAR_FORMAT
27850 TAR_OPTIONS="-H gnu"
27855 decho Creating file
27856 genfile --length 20139 --file file
27857 decho Creating archive
27858 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27859 decho Testing archive
27860 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
27864 echo >>"$at_stderr"; $as_echo "Creating file
27868 $at_diff - "$at_stderr" || at_failed=:
27869 echo >>"$at_stdout"; $as_echo "Creating file
27874 $at_diff - "$at_stdout" || at_failed=:
27875 at_func_check_status 0 $at_status "$at_srcdir/multiv06.at:30"
27877 $at_failed && at_func_log_failure
27881 $as_echo "$at_srcdir/multiv06.at:30:
27884 TEST_TAR_FORMAT=pax
27885 export TEST_TAR_FORMAT
27886 TAR_OPTIONS=\"-H pax\"
27891 decho Creating file
27892 genfile --length 20139 --file file
27893 decho Creating archive
27894 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27895 decho Testing archive
27896 tar -t -M -farc.1 -farc.2 -farc.3)"
27897 echo multiv06.at:30 >"$at_check_line_file"
27899 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27904 TEST_TAR_FORMAT=pax
27905 export TEST_TAR_FORMAT
27906 TAR_OPTIONS="-H pax"
27911 decho Creating file
27912 genfile --length 20139 --file file
27913 decho Creating archive
27914 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27915 decho Testing archive
27916 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stder1"
27917 at_func_filter_trace $?
27922 TEST_TAR_FORMAT=pax
27923 export TEST_TAR_FORMAT
27924 TAR_OPTIONS="-H pax"
27929 decho Creating file
27930 genfile --length 20139 --file file
27931 decho Creating archive
27932 tar -c -M -L10 -b20 -farc.1 -farc.2 -farc.3 file
27933 decho Testing archive
27934 tar -t -M -farc.1 -farc.2 -farc.3) ) >"$at_stdout" 2>"$at_stderr"
27938 echo >>"$at_stderr"; $as_echo "Creating file
27942 $at_diff - "$at_stderr" || at_failed=:
27943 echo >>"$at_stdout"; $as_echo "Creating file
27948 $at_diff - "$at_stdout" || at_failed=:
27949 at_func_check_status 0 $at_status "$at_srcdir/multiv06.at:30"
27951 $at_failed && at_func_log_failure
27958 $at_times_p && times >"$at_times_file"
27959 ) 5>&1 2>&1 | eval $at_tee_pipe
27960 at_status=`cat "$at_status_file"`
27963 # 68. multiv07.at:26: volumes split at an extended header
27964 at_setup_line='multiv07.at:26'
27965 at_desc="volumes split at an extended header"
27966 $at_quiet $as_echo_n " 68: $at_desc "
27968 test -f \$XFAILFILE && at_xfail=yes
27969 test -f $XFAILFILE && at_xfail=yes
27970 test -f $XFAILFILE && at_xfail=yes
27971 echo "# -*- compilation -*-" >> "$at_group_log"
27973 $as_echo "68. multiv07.at:26: testing ..."
27979 $as_echo "$at_srcdir/multiv07.at:29:
27982 test -z "$TEST_DATA_DIR" && exit 77
27983 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
27985 test -z "$TEST_DATA_DIR" && exit 77
27986 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
27989 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
27991 echo multiv07.at:29 >"$at_check_line_file"
27993 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
27998 test -z "$TEST_DATA_DIR" && exit 77
27999 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
28001 test -z "$TEST_DATA_DIR" && exit 77
28002 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
28005 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
28006 ) >"$at_stdout" 2>"$at_stder1"
28007 at_func_filter_trace $?
28012 test -z "$TEST_DATA_DIR" && exit 77
28013 tarball_prereq xsplit-1.tar 0e008c84c517e48fbf23ca6a7033cde6 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
28015 test -z "$TEST_DATA_DIR" && exit 77
28016 tarball_prereq xsplit-2.tar 03150b9852d285458f43734e9e0b9a45 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
28019 tar -t -M -fxsplit-1.tar -fxsplit-2.tar
28020 ) >"$at_stdout" 2>"$at_stderr"
28024 at_func_diff_devnull "$at_stderr" || at_failed=:
28025 echo >>"$at_stdout"; $as_echo "Archive volumes split at an extended header Volume 1
28029 $at_diff - "$at_stdout" || at_failed=:
28030 at_func_check_status 0 $at_status "$at_srcdir/multiv07.at:29"
28032 $at_failed && at_func_log_failure
28037 $at_times_p && times >"$at_times_file"
28038 ) 5>&1 2>&1 | eval $at_tee_pipe
28039 at_status=`cat "$at_status_file"`
28042 # 69. old.at:23: old archives
28043 at_setup_line='old.at:23'
28044 at_desc="old archives"
28045 $at_quiet $as_echo_n " 69: $at_desc "
28047 echo "# -*- compilation -*-" >> "$at_group_log"
28049 $as_echo "69. old.at:23: testing ..."
28056 $as_echo "$at_srcdir/old.at:27:
28058 tar cfvo archive directory || exit 1
28061 echo old.at:27 >"$at_check_line_file"
28063 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28067 tar cfvo archive directory || exit 1
28069 ) >"$at_stdout" 2>"$at_stder1"
28070 at_func_filter_trace $?
28074 tar cfvo archive directory || exit 1
28076 ) >"$at_stdout" 2>"$at_stderr"
28080 at_func_diff_devnull "$at_stderr" || at_failed=:
28081 echo >>"$at_stdout"; $as_echo "directory/
28084 $at_diff - "$at_stdout" || at_failed=:
28085 at_func_check_status 0 $at_status "$at_srcdir/old.at:27"
28087 $at_failed && at_func_log_failure
28092 $at_times_p && times >"$at_times_file"
28093 ) 5>&1 2>&1 | eval $at_tee_pipe
28094 at_status=`cat "$at_status_file"`
28097 # 70. recurse.at:21: recurse
28098 at_setup_line='recurse.at:21'
28100 $at_quiet $as_echo_n " 70: $at_desc "
28102 test -f $XFAILFILE && at_xfail=yes
28103 echo "# -*- compilation -*-" >> "$at_group_log"
28105 $as_echo "70. recurse.at:21: testing ..."
28113 $as_echo "$at_srcdir/recurse.at:24:
28117 export TEST_TAR_FORMAT
28118 TAR_OPTIONS=\"-H v7\"
28123 touch directory/file
28124 tar --create --file archive --no-recursion directory || exit 1
28127 echo recurse.at:24 >"$at_check_line_file"
28129 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28135 export TEST_TAR_FORMAT
28136 TAR_OPTIONS="-H v7"
28141 touch directory/file
28142 tar --create --file archive --no-recursion directory || exit 1
28144 ) ) >"$at_stdout" 2>"$at_stder1"
28145 at_func_filter_trace $?
28151 export TEST_TAR_FORMAT
28152 TAR_OPTIONS="-H v7"
28157 touch directory/file
28158 tar --create --file archive --no-recursion directory || exit 1
28160 ) ) >"$at_stdout" 2>"$at_stderr"
28164 at_func_diff_devnull "$at_stderr" || at_failed=:
28165 echo >>"$at_stdout"; $as_echo "directory/
28167 $at_diff - "$at_stdout" || at_failed=:
28168 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
28170 $at_failed && at_func_log_failure
28174 $as_echo "$at_srcdir/recurse.at:24:
28177 TEST_TAR_FORMAT=oldgnu
28178 export TEST_TAR_FORMAT
28179 TAR_OPTIONS=\"-H oldgnu\"
28184 touch directory/file
28185 tar --create --file archive --no-recursion directory || exit 1
28188 echo recurse.at:24 >"$at_check_line_file"
28190 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28195 TEST_TAR_FORMAT=oldgnu
28196 export TEST_TAR_FORMAT
28197 TAR_OPTIONS="-H oldgnu"
28202 touch directory/file
28203 tar --create --file archive --no-recursion directory || exit 1
28205 ) ) >"$at_stdout" 2>"$at_stder1"
28206 at_func_filter_trace $?
28211 TEST_TAR_FORMAT=oldgnu
28212 export TEST_TAR_FORMAT
28213 TAR_OPTIONS="-H oldgnu"
28218 touch directory/file
28219 tar --create --file archive --no-recursion directory || exit 1
28221 ) ) >"$at_stdout" 2>"$at_stderr"
28225 at_func_diff_devnull "$at_stderr" || at_failed=:
28226 echo >>"$at_stdout"; $as_echo "directory/
28228 $at_diff - "$at_stdout" || at_failed=:
28229 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
28231 $at_failed && at_func_log_failure
28235 $as_echo "$at_srcdir/recurse.at:24:
28238 TEST_TAR_FORMAT=ustar
28239 export TEST_TAR_FORMAT
28240 TAR_OPTIONS=\"-H ustar\"
28245 touch directory/file
28246 tar --create --file archive --no-recursion directory || exit 1
28249 echo recurse.at:24 >"$at_check_line_file"
28251 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28256 TEST_TAR_FORMAT=ustar
28257 export TEST_TAR_FORMAT
28258 TAR_OPTIONS="-H ustar"
28263 touch directory/file
28264 tar --create --file archive --no-recursion directory || exit 1
28266 ) ) >"$at_stdout" 2>"$at_stder1"
28267 at_func_filter_trace $?
28272 TEST_TAR_FORMAT=ustar
28273 export TEST_TAR_FORMAT
28274 TAR_OPTIONS="-H ustar"
28279 touch directory/file
28280 tar --create --file archive --no-recursion directory || exit 1
28282 ) ) >"$at_stdout" 2>"$at_stderr"
28286 at_func_diff_devnull "$at_stderr" || at_failed=:
28287 echo >>"$at_stdout"; $as_echo "directory/
28289 $at_diff - "$at_stdout" || at_failed=:
28290 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
28292 $at_failed && at_func_log_failure
28296 $as_echo "$at_srcdir/recurse.at:24:
28299 TEST_TAR_FORMAT=posix
28300 export TEST_TAR_FORMAT
28301 TAR_OPTIONS=\"-H posix\"
28306 touch directory/file
28307 tar --create --file archive --no-recursion directory || exit 1
28310 echo recurse.at:24 >"$at_check_line_file"
28312 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28317 TEST_TAR_FORMAT=posix
28318 export TEST_TAR_FORMAT
28319 TAR_OPTIONS="-H posix"
28324 touch directory/file
28325 tar --create --file archive --no-recursion directory || exit 1
28327 ) ) >"$at_stdout" 2>"$at_stder1"
28328 at_func_filter_trace $?
28333 TEST_TAR_FORMAT=posix
28334 export TEST_TAR_FORMAT
28335 TAR_OPTIONS="-H posix"
28340 touch directory/file
28341 tar --create --file archive --no-recursion directory || exit 1
28343 ) ) >"$at_stdout" 2>"$at_stderr"
28347 at_func_diff_devnull "$at_stderr" || at_failed=:
28348 echo >>"$at_stdout"; $as_echo "directory/
28350 $at_diff - "$at_stdout" || at_failed=:
28351 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
28353 $at_failed && at_func_log_failure
28357 $as_echo "$at_srcdir/recurse.at:24:
28360 TEST_TAR_FORMAT=gnu
28361 export TEST_TAR_FORMAT
28362 TAR_OPTIONS=\"-H gnu\"
28367 touch directory/file
28368 tar --create --file archive --no-recursion directory || exit 1
28371 echo recurse.at:24 >"$at_check_line_file"
28373 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28378 TEST_TAR_FORMAT=gnu
28379 export TEST_TAR_FORMAT
28380 TAR_OPTIONS="-H gnu"
28385 touch directory/file
28386 tar --create --file archive --no-recursion directory || exit 1
28388 ) ) >"$at_stdout" 2>"$at_stder1"
28389 at_func_filter_trace $?
28394 TEST_TAR_FORMAT=gnu
28395 export TEST_TAR_FORMAT
28396 TAR_OPTIONS="-H gnu"
28401 touch directory/file
28402 tar --create --file archive --no-recursion directory || exit 1
28404 ) ) >"$at_stdout" 2>"$at_stderr"
28408 at_func_diff_devnull "$at_stderr" || at_failed=:
28409 echo >>"$at_stdout"; $as_echo "directory/
28411 $at_diff - "$at_stdout" || at_failed=:
28412 at_func_check_status 0 $at_status "$at_srcdir/recurse.at:24"
28414 $at_failed && at_func_log_failure
28421 $at_times_p && times >"$at_times_file"
28422 ) 5>&1 2>&1 | eval $at_tee_pipe
28423 at_status=`cat "$at_status_file"`
28426 # 71. same-order01.at:26: working -C with --same-order
28427 at_setup_line='same-order01.at:26'
28428 at_desc="working -C with --same-order"
28429 $at_quiet $as_echo_n " 71: $at_desc "
28431 test -f $XFAILFILE && at_xfail=yes
28432 echo "# -*- compilation -*-" >> "$at_group_log"
28434 $as_echo "71. same-order01.at:26: testing ..."
28442 $as_echo "$at_srcdir/same-order01.at:29:
28446 export TEST_TAR_FORMAT
28447 TAR_OPTIONS=\"-H v7\"
28452 test -z "`sort < /dev/null 2>&1`" || exit 77
28455 genfile -l 1024 -f file1
28456 genfile -l 1024 -f file2
28457 tar cf archive file1 file2
28460 tar -xf archive --same-order -C directory || exit 1
28464 echo same-order01.at:29 >"$at_check_line_file"
28466 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28472 export TEST_TAR_FORMAT
28473 TAR_OPTIONS="-H v7"
28478 test -z "`sort < /dev/null 2>&1`" || exit 77
28481 genfile -l 1024 -f file1
28482 genfile -l 1024 -f file2
28483 tar cf archive file1 file2
28486 tar -xf archive --same-order -C directory || exit 1
28489 ) ) >"$at_stdout" 2>"$at_stder1"
28490 at_func_filter_trace $?
28496 export TEST_TAR_FORMAT
28497 TAR_OPTIONS="-H v7"
28502 test -z "`sort < /dev/null 2>&1`" || exit 77
28505 genfile -l 1024 -f file1
28506 genfile -l 1024 -f file2
28507 tar cf archive file1 file2
28510 tar -xf archive --same-order -C directory || exit 1
28513 ) ) >"$at_stdout" 2>"$at_stderr"
28517 at_func_diff_devnull "$at_stderr" || at_failed=:
28518 echo >>"$at_stdout"; $as_echo "file1
28521 $at_diff - "$at_stdout" || at_failed=:
28522 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
28524 $at_failed && at_func_log_failure
28528 $as_echo "$at_srcdir/same-order01.at:29:
28531 TEST_TAR_FORMAT=oldgnu
28532 export TEST_TAR_FORMAT
28533 TAR_OPTIONS=\"-H oldgnu\"
28538 test -z "`sort < /dev/null 2>&1`" || exit 77
28541 genfile -l 1024 -f file1
28542 genfile -l 1024 -f file2
28543 tar cf archive file1 file2
28546 tar -xf archive --same-order -C directory || exit 1
28550 echo same-order01.at:29 >"$at_check_line_file"
28552 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28557 TEST_TAR_FORMAT=oldgnu
28558 export TEST_TAR_FORMAT
28559 TAR_OPTIONS="-H oldgnu"
28564 test -z "`sort < /dev/null 2>&1`" || exit 77
28567 genfile -l 1024 -f file1
28568 genfile -l 1024 -f file2
28569 tar cf archive file1 file2
28572 tar -xf archive --same-order -C directory || exit 1
28575 ) ) >"$at_stdout" 2>"$at_stder1"
28576 at_func_filter_trace $?
28581 TEST_TAR_FORMAT=oldgnu
28582 export TEST_TAR_FORMAT
28583 TAR_OPTIONS="-H oldgnu"
28588 test -z "`sort < /dev/null 2>&1`" || exit 77
28591 genfile -l 1024 -f file1
28592 genfile -l 1024 -f file2
28593 tar cf archive file1 file2
28596 tar -xf archive --same-order -C directory || exit 1
28599 ) ) >"$at_stdout" 2>"$at_stderr"
28603 at_func_diff_devnull "$at_stderr" || at_failed=:
28604 echo >>"$at_stdout"; $as_echo "file1
28607 $at_diff - "$at_stdout" || at_failed=:
28608 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
28610 $at_failed && at_func_log_failure
28614 $as_echo "$at_srcdir/same-order01.at:29:
28617 TEST_TAR_FORMAT=ustar
28618 export TEST_TAR_FORMAT
28619 TAR_OPTIONS=\"-H ustar\"
28624 test -z "`sort < /dev/null 2>&1`" || exit 77
28627 genfile -l 1024 -f file1
28628 genfile -l 1024 -f file2
28629 tar cf archive file1 file2
28632 tar -xf archive --same-order -C directory || exit 1
28636 echo same-order01.at:29 >"$at_check_line_file"
28638 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28643 TEST_TAR_FORMAT=ustar
28644 export TEST_TAR_FORMAT
28645 TAR_OPTIONS="-H ustar"
28650 test -z "`sort < /dev/null 2>&1`" || exit 77
28653 genfile -l 1024 -f file1
28654 genfile -l 1024 -f file2
28655 tar cf archive file1 file2
28658 tar -xf archive --same-order -C directory || exit 1
28661 ) ) >"$at_stdout" 2>"$at_stder1"
28662 at_func_filter_trace $?
28667 TEST_TAR_FORMAT=ustar
28668 export TEST_TAR_FORMAT
28669 TAR_OPTIONS="-H ustar"
28674 test -z "`sort < /dev/null 2>&1`" || exit 77
28677 genfile -l 1024 -f file1
28678 genfile -l 1024 -f file2
28679 tar cf archive file1 file2
28682 tar -xf archive --same-order -C directory || exit 1
28685 ) ) >"$at_stdout" 2>"$at_stderr"
28689 at_func_diff_devnull "$at_stderr" || at_failed=:
28690 echo >>"$at_stdout"; $as_echo "file1
28693 $at_diff - "$at_stdout" || at_failed=:
28694 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
28696 $at_failed && at_func_log_failure
28700 $as_echo "$at_srcdir/same-order01.at:29:
28703 TEST_TAR_FORMAT=posix
28704 export TEST_TAR_FORMAT
28705 TAR_OPTIONS=\"-H posix\"
28710 test -z "`sort < /dev/null 2>&1`" || exit 77
28713 genfile -l 1024 -f file1
28714 genfile -l 1024 -f file2
28715 tar cf archive file1 file2
28718 tar -xf archive --same-order -C directory || exit 1
28722 echo same-order01.at:29 >"$at_check_line_file"
28724 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28729 TEST_TAR_FORMAT=posix
28730 export TEST_TAR_FORMAT
28731 TAR_OPTIONS="-H posix"
28736 test -z "`sort < /dev/null 2>&1`" || exit 77
28739 genfile -l 1024 -f file1
28740 genfile -l 1024 -f file2
28741 tar cf archive file1 file2
28744 tar -xf archive --same-order -C directory || exit 1
28747 ) ) >"$at_stdout" 2>"$at_stder1"
28748 at_func_filter_trace $?
28753 TEST_TAR_FORMAT=posix
28754 export TEST_TAR_FORMAT
28755 TAR_OPTIONS="-H posix"
28760 test -z "`sort < /dev/null 2>&1`" || exit 77
28763 genfile -l 1024 -f file1
28764 genfile -l 1024 -f file2
28765 tar cf archive file1 file2
28768 tar -xf archive --same-order -C directory || exit 1
28771 ) ) >"$at_stdout" 2>"$at_stderr"
28775 at_func_diff_devnull "$at_stderr" || at_failed=:
28776 echo >>"$at_stdout"; $as_echo "file1
28779 $at_diff - "$at_stdout" || at_failed=:
28780 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
28782 $at_failed && at_func_log_failure
28786 $as_echo "$at_srcdir/same-order01.at:29:
28789 TEST_TAR_FORMAT=gnu
28790 export TEST_TAR_FORMAT
28791 TAR_OPTIONS=\"-H gnu\"
28796 test -z "`sort < /dev/null 2>&1`" || exit 77
28799 genfile -l 1024 -f file1
28800 genfile -l 1024 -f file2
28801 tar cf archive file1 file2
28804 tar -xf archive --same-order -C directory || exit 1
28808 echo same-order01.at:29 >"$at_check_line_file"
28810 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
28815 TEST_TAR_FORMAT=gnu
28816 export TEST_TAR_FORMAT
28817 TAR_OPTIONS="-H gnu"
28822 test -z "`sort < /dev/null 2>&1`" || exit 77
28825 genfile -l 1024 -f file1
28826 genfile -l 1024 -f file2
28827 tar cf archive file1 file2
28830 tar -xf archive --same-order -C directory || exit 1
28833 ) ) >"$at_stdout" 2>"$at_stder1"
28834 at_func_filter_trace $?
28839 TEST_TAR_FORMAT=gnu
28840 export TEST_TAR_FORMAT
28841 TAR_OPTIONS="-H gnu"
28846 test -z "`sort < /dev/null 2>&1`" || exit 77
28849 genfile -l 1024 -f file1
28850 genfile -l 1024 -f file2
28851 tar cf archive file1 file2
28854 tar -xf archive --same-order -C directory || exit 1
28857 ) ) >"$at_stdout" 2>"$at_stderr"
28861 at_func_diff_devnull "$at_stderr" || at_failed=:
28862 echo >>"$at_stdout"; $as_echo "file1
28865 $at_diff - "$at_stdout" || at_failed=:
28866 at_func_check_status 0 $at_status "$at_srcdir/same-order01.at:29"
28868 $at_failed && at_func_log_failure
28875 $at_times_p && times >"$at_times_file"
28876 ) 5>&1 2>&1 | eval $at_tee_pipe
28877 at_status=`cat "$at_status_file"`
28880 # 72. same-order02.at:25: multiple -C options
28881 at_setup_line='same-order02.at:25'
28882 at_desc="multiple -C options"
28883 $at_quiet $as_echo_n " 72: $at_desc "
28885 test -f $XFAILFILE && at_xfail=yes
28886 echo "# -*- compilation -*-" >> "$at_group_log"
28888 $as_echo "72. same-order02.at:25: testing ..."
28896 $as_echo "$at_srcdir/same-order02.at:28:
28900 export TEST_TAR_FORMAT
28901 TAR_OPTIONS=\"-H v7\"
28905 genfile -l 1024 -f file1
28906 genfile -l 1024 -f file2
28907 tar cf archive file1 file2
28913 tar -xf archive --same-order -C \$HERE/en file1 -C \$HERE/to file2 || exit 1
28919 echo same-order02.at:28 >"$at_check_line_file"
28921 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
28927 export TEST_TAR_FORMAT
28928 TAR_OPTIONS="-H v7"
28932 genfile -l 1024 -f file1
28933 genfile -l 1024 -f file2
28934 tar cf archive file1 file2
28940 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
28945 ) ) >"$at_stdout" 2>"$at_stder1"
28946 at_func_filter_trace $?
28952 export TEST_TAR_FORMAT
28953 TAR_OPTIONS="-H v7"
28957 genfile -l 1024 -f file1
28958 genfile -l 1024 -f file2
28959 tar cf archive file1 file2
28965 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
28970 ) ) >"$at_stdout" 2>"$at_stderr"
28974 at_func_diff_devnull "$at_stderr" || at_failed=:
28975 echo >>"$at_stdout"; $as_echo "file1
28979 $at_diff - "$at_stdout" || at_failed=:
28980 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
28982 $at_failed && at_func_log_failure
28986 $as_echo "$at_srcdir/same-order02.at:28:
28989 TEST_TAR_FORMAT=oldgnu
28990 export TEST_TAR_FORMAT
28991 TAR_OPTIONS=\"-H oldgnu\"
28995 genfile -l 1024 -f file1
28996 genfile -l 1024 -f file2
28997 tar cf archive file1 file2
29003 tar -xf archive --same-order -C \$HERE/en file1 -C \$HERE/to file2 || exit 1
29009 echo same-order02.at:28 >"$at_check_line_file"
29011 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29016 TEST_TAR_FORMAT=oldgnu
29017 export TEST_TAR_FORMAT
29018 TAR_OPTIONS="-H oldgnu"
29022 genfile -l 1024 -f file1
29023 genfile -l 1024 -f file2
29024 tar cf archive file1 file2
29030 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29035 ) ) >"$at_stdout" 2>"$at_stder1"
29036 at_func_filter_trace $?
29041 TEST_TAR_FORMAT=oldgnu
29042 export TEST_TAR_FORMAT
29043 TAR_OPTIONS="-H oldgnu"
29047 genfile -l 1024 -f file1
29048 genfile -l 1024 -f file2
29049 tar cf archive file1 file2
29055 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29060 ) ) >"$at_stdout" 2>"$at_stderr"
29064 at_func_diff_devnull "$at_stderr" || at_failed=:
29065 echo >>"$at_stdout"; $as_echo "file1
29069 $at_diff - "$at_stdout" || at_failed=:
29070 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
29072 $at_failed && at_func_log_failure
29076 $as_echo "$at_srcdir/same-order02.at:28:
29079 TEST_TAR_FORMAT=ustar
29080 export TEST_TAR_FORMAT
29081 TAR_OPTIONS=\"-H ustar\"
29085 genfile -l 1024 -f file1
29086 genfile -l 1024 -f file2
29087 tar cf archive file1 file2
29093 tar -xf archive --same-order -C \$HERE/en file1 -C \$HERE/to file2 || exit 1
29099 echo same-order02.at:28 >"$at_check_line_file"
29101 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29106 TEST_TAR_FORMAT=ustar
29107 export TEST_TAR_FORMAT
29108 TAR_OPTIONS="-H ustar"
29112 genfile -l 1024 -f file1
29113 genfile -l 1024 -f file2
29114 tar cf archive file1 file2
29120 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29125 ) ) >"$at_stdout" 2>"$at_stder1"
29126 at_func_filter_trace $?
29131 TEST_TAR_FORMAT=ustar
29132 export TEST_TAR_FORMAT
29133 TAR_OPTIONS="-H ustar"
29137 genfile -l 1024 -f file1
29138 genfile -l 1024 -f file2
29139 tar cf archive file1 file2
29145 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29150 ) ) >"$at_stdout" 2>"$at_stderr"
29154 at_func_diff_devnull "$at_stderr" || at_failed=:
29155 echo >>"$at_stdout"; $as_echo "file1
29159 $at_diff - "$at_stdout" || at_failed=:
29160 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
29162 $at_failed && at_func_log_failure
29166 $as_echo "$at_srcdir/same-order02.at:28:
29169 TEST_TAR_FORMAT=posix
29170 export TEST_TAR_FORMAT
29171 TAR_OPTIONS=\"-H posix\"
29175 genfile -l 1024 -f file1
29176 genfile -l 1024 -f file2
29177 tar cf archive file1 file2
29183 tar -xf archive --same-order -C \$HERE/en file1 -C \$HERE/to file2 || exit 1
29189 echo same-order02.at:28 >"$at_check_line_file"
29191 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29196 TEST_TAR_FORMAT=posix
29197 export TEST_TAR_FORMAT
29198 TAR_OPTIONS="-H posix"
29202 genfile -l 1024 -f file1
29203 genfile -l 1024 -f file2
29204 tar cf archive file1 file2
29210 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29215 ) ) >"$at_stdout" 2>"$at_stder1"
29216 at_func_filter_trace $?
29221 TEST_TAR_FORMAT=posix
29222 export TEST_TAR_FORMAT
29223 TAR_OPTIONS="-H posix"
29227 genfile -l 1024 -f file1
29228 genfile -l 1024 -f file2
29229 tar cf archive file1 file2
29235 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29240 ) ) >"$at_stdout" 2>"$at_stderr"
29244 at_func_diff_devnull "$at_stderr" || at_failed=:
29245 echo >>"$at_stdout"; $as_echo "file1
29249 $at_diff - "$at_stdout" || at_failed=:
29250 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
29252 $at_failed && at_func_log_failure
29256 $as_echo "$at_srcdir/same-order02.at:28:
29259 TEST_TAR_FORMAT=gnu
29260 export TEST_TAR_FORMAT
29261 TAR_OPTIONS=\"-H gnu\"
29265 genfile -l 1024 -f file1
29266 genfile -l 1024 -f file2
29267 tar cf archive file1 file2
29273 tar -xf archive --same-order -C \$HERE/en file1 -C \$HERE/to file2 || exit 1
29279 echo same-order02.at:28 >"$at_check_line_file"
29281 if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
29286 TEST_TAR_FORMAT=gnu
29287 export TEST_TAR_FORMAT
29288 TAR_OPTIONS="-H gnu"
29292 genfile -l 1024 -f file1
29293 genfile -l 1024 -f file2
29294 tar cf archive file1 file2
29300 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29305 ) ) >"$at_stdout" 2>"$at_stder1"
29306 at_func_filter_trace $?
29311 TEST_TAR_FORMAT=gnu
29312 export TEST_TAR_FORMAT
29313 TAR_OPTIONS="-H gnu"
29317 genfile -l 1024 -f file1
29318 genfile -l 1024 -f file2
29319 tar cf archive file1 file2
29325 tar -xf archive --same-order -C $HERE/en file1 -C $HERE/to file2 || exit 1
29330 ) ) >"$at_stdout" 2>"$at_stderr"
29334 at_func_diff_devnull "$at_stderr" || at_failed=:
29335 echo >>"$at_stdout"; $as_echo "file1
29339 $at_diff - "$at_stdout" || at_failed=:
29340 at_func_check_status 0 $at_status "$at_srcdir/same-order02.at:28"
29342 $at_failed && at_func_log_failure
29349 $at_times_p && times >"$at_times_file"
29350 ) 5>&1 2>&1 | eval $at_tee_pipe
29351 at_status=`cat "$at_status_file"`
29354 # 73. shortrec.at:25: short records
29355 at_setup_line='shortrec.at:25'
29356 at_desc="short records"
29357 $at_quiet $as_echo_n " 73: $at_desc "
29359 test -f $XFAILFILE && at_xfail=yes
29360 echo "# -*- compilation -*-" >> "$at_group_log"
29362 $as_echo "73. shortrec.at:25: testing ..."
29370 $as_echo "$at_srcdir/shortrec.at:28:
29374 export TEST_TAR_FORMAT
29375 TAR_OPTIONS=\"-H v7\"
29380 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29381 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29382 tar -c -b 1 -f archive directory
29383 tar -t -f archive > /dev/null
29384 tar -t -f - < archive > /dev/null
29388 echo shortrec.at:28 >"$at_check_line_file"
29390 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29396 export TEST_TAR_FORMAT
29397 TAR_OPTIONS="-H v7"
29402 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29403 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29404 tar -c -b 1 -f archive directory
29405 tar -t -f archive > /dev/null
29406 tar -t -f - < archive > /dev/null
29409 ) ) >"$at_stdout" 2>"$at_stder1"
29410 at_func_filter_trace $?
29416 export TEST_TAR_FORMAT
29417 TAR_OPTIONS="-H v7"
29422 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29423 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29424 tar -c -b 1 -f archive directory
29425 tar -t -f archive > /dev/null
29426 tar -t -f - < archive > /dev/null
29429 ) ) >"$at_stdout" 2>"$at_stderr"
29433 at_func_diff_devnull "$at_stderr" || at_failed=:
29434 at_func_diff_devnull "$at_stdout" || at_failed=:
29435 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
29437 $at_failed && at_func_log_failure
29441 $as_echo "$at_srcdir/shortrec.at:28:
29444 TEST_TAR_FORMAT=oldgnu
29445 export TEST_TAR_FORMAT
29446 TAR_OPTIONS=\"-H oldgnu\"
29451 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29452 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29453 tar -c -b 1 -f archive directory
29454 tar -t -f archive > /dev/null
29455 tar -t -f - < archive > /dev/null
29459 echo shortrec.at:28 >"$at_check_line_file"
29461 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29466 TEST_TAR_FORMAT=oldgnu
29467 export TEST_TAR_FORMAT
29468 TAR_OPTIONS="-H oldgnu"
29473 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29474 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29475 tar -c -b 1 -f archive directory
29476 tar -t -f archive > /dev/null
29477 tar -t -f - < archive > /dev/null
29480 ) ) >"$at_stdout" 2>"$at_stder1"
29481 at_func_filter_trace $?
29486 TEST_TAR_FORMAT=oldgnu
29487 export TEST_TAR_FORMAT
29488 TAR_OPTIONS="-H oldgnu"
29493 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29494 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29495 tar -c -b 1 -f archive directory
29496 tar -t -f archive > /dev/null
29497 tar -t -f - < archive > /dev/null
29500 ) ) >"$at_stdout" 2>"$at_stderr"
29504 at_func_diff_devnull "$at_stderr" || at_failed=:
29505 at_func_diff_devnull "$at_stdout" || at_failed=:
29506 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
29508 $at_failed && at_func_log_failure
29512 $as_echo "$at_srcdir/shortrec.at:28:
29515 TEST_TAR_FORMAT=ustar
29516 export TEST_TAR_FORMAT
29517 TAR_OPTIONS=\"-H ustar\"
29522 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29523 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29524 tar -c -b 1 -f archive directory
29525 tar -t -f archive > /dev/null
29526 tar -t -f - < archive > /dev/null
29530 echo shortrec.at:28 >"$at_check_line_file"
29532 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29537 TEST_TAR_FORMAT=ustar
29538 export TEST_TAR_FORMAT
29539 TAR_OPTIONS="-H ustar"
29544 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29545 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29546 tar -c -b 1 -f archive directory
29547 tar -t -f archive > /dev/null
29548 tar -t -f - < archive > /dev/null
29551 ) ) >"$at_stdout" 2>"$at_stder1"
29552 at_func_filter_trace $?
29557 TEST_TAR_FORMAT=ustar
29558 export TEST_TAR_FORMAT
29559 TAR_OPTIONS="-H ustar"
29564 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29565 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29566 tar -c -b 1 -f archive directory
29567 tar -t -f archive > /dev/null
29568 tar -t -f - < archive > /dev/null
29571 ) ) >"$at_stdout" 2>"$at_stderr"
29575 at_func_diff_devnull "$at_stderr" || at_failed=:
29576 at_func_diff_devnull "$at_stdout" || at_failed=:
29577 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
29579 $at_failed && at_func_log_failure
29583 $as_echo "$at_srcdir/shortrec.at:28:
29586 TEST_TAR_FORMAT=posix
29587 export TEST_TAR_FORMAT
29588 TAR_OPTIONS=\"-H posix\"
29593 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29594 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29595 tar -c -b 1 -f archive directory
29596 tar -t -f archive > /dev/null
29597 tar -t -f - < archive > /dev/null
29601 echo shortrec.at:28 >"$at_check_line_file"
29603 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29608 TEST_TAR_FORMAT=posix
29609 export TEST_TAR_FORMAT
29610 TAR_OPTIONS="-H posix"
29615 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29616 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29617 tar -c -b 1 -f archive directory
29618 tar -t -f archive > /dev/null
29619 tar -t -f - < archive > /dev/null
29622 ) ) >"$at_stdout" 2>"$at_stder1"
29623 at_func_filter_trace $?
29628 TEST_TAR_FORMAT=posix
29629 export TEST_TAR_FORMAT
29630 TAR_OPTIONS="-H posix"
29635 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29636 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29637 tar -c -b 1 -f archive directory
29638 tar -t -f archive > /dev/null
29639 tar -t -f - < archive > /dev/null
29642 ) ) >"$at_stdout" 2>"$at_stderr"
29646 at_func_diff_devnull "$at_stderr" || at_failed=:
29647 at_func_diff_devnull "$at_stdout" || at_failed=:
29648 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
29650 $at_failed && at_func_log_failure
29654 $as_echo "$at_srcdir/shortrec.at:28:
29657 TEST_TAR_FORMAT=gnu
29658 export TEST_TAR_FORMAT
29659 TAR_OPTIONS=\"-H gnu\"
29664 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29665 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29666 tar -c -b 1 -f archive directory
29667 tar -t -f archive > /dev/null
29668 tar -t -f - < archive > /dev/null
29672 echo shortrec.at:28 >"$at_check_line_file"
29674 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29679 TEST_TAR_FORMAT=gnu
29680 export TEST_TAR_FORMAT
29681 TAR_OPTIONS="-H gnu"
29686 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29687 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29688 tar -c -b 1 -f archive directory
29689 tar -t -f archive > /dev/null
29690 tar -t -f - < archive > /dev/null
29693 ) ) >"$at_stdout" 2>"$at_stder1"
29694 at_func_filter_trace $?
29699 TEST_TAR_FORMAT=gnu
29700 export TEST_TAR_FORMAT
29701 TAR_OPTIONS="-H gnu"
29706 (cd directory && touch a b c d e f g h i j k l m n o p q r)
29707 tar -c -b 1 -f - directory | tar -t -f - > /dev/null
29708 tar -c -b 1 -f archive directory
29709 tar -t -f archive > /dev/null
29710 tar -t -f - < archive > /dev/null
29713 ) ) >"$at_stdout" 2>"$at_stderr"
29717 at_func_diff_devnull "$at_stderr" || at_failed=:
29718 at_func_diff_devnull "$at_stdout" || at_failed=:
29719 at_func_check_status 0 $at_status "$at_srcdir/shortrec.at:28"
29721 $at_failed && at_func_log_failure
29728 $at_times_p && times >"$at_times_file"
29729 ) 5>&1 2>&1 | eval $at_tee_pipe
29730 at_status=`cat "$at_status_file"`
29733 # 74. sparse01.at:21: sparse files
29734 at_setup_line='sparse01.at:21'
29735 at_desc="sparse files"
29736 $at_quiet $as_echo_n " 74: $at_desc "
29738 test -f $XFAILFILE && at_xfail=yes
29739 echo "# -*- compilation -*-" >> "$at_group_log"
29741 $as_echo "74. sparse01.at:21: testing ..."
29749 $as_echo "$at_srcdir/sparse01.at:24:
29752 TEST_TAR_FORMAT=posix
29753 export TEST_TAR_FORMAT
29754 TAR_OPTIONS=\"-H posix\"
29758 genfile --length 1000 -f begin
29759 genfile --length 1000 -f end
29760 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29761 tar -c -f archive --sparse begin sparsefile end || exit 1
29767 tar Cxf directory archive
29768 genfile --stat=name,size sparsefile
29769 cmp sparsefile directory/sparsefile
29771 echo sparse01.at:24 >"$at_check_line_file"
29773 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29778 TEST_TAR_FORMAT=posix
29779 export TEST_TAR_FORMAT
29780 TAR_OPTIONS="-H posix"
29784 genfile --length 1000 -f begin
29785 genfile --length 1000 -f end
29786 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29787 tar -c -f archive --sparse begin sparsefile end || exit 1
29793 tar Cxf directory archive
29794 genfile --stat=name,size sparsefile
29795 cmp sparsefile directory/sparsefile
29796 ) ) >"$at_stdout" 2>"$at_stder1"
29797 at_func_filter_trace $?
29802 TEST_TAR_FORMAT=posix
29803 export TEST_TAR_FORMAT
29804 TAR_OPTIONS="-H posix"
29808 genfile --length 1000 -f begin
29809 genfile --length 1000 -f end
29810 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29811 tar -c -f archive --sparse begin sparsefile end || exit 1
29817 tar Cxf directory archive
29818 genfile --stat=name,size sparsefile
29819 cmp sparsefile directory/sparsefile
29820 ) ) >"$at_stdout" 2>"$at_stderr"
29824 at_func_diff_devnull "$at_stderr" || at_failed=:
29825 echo stdout:; tee stdout <"$at_stdout"
29826 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
29828 $at_failed && at_func_log_failure
29832 $as_echo "$at_srcdir/sparse01.at:24:
29835 TEST_TAR_FORMAT=gnu
29836 export TEST_TAR_FORMAT
29837 TAR_OPTIONS=\"-H gnu\"
29841 genfile --length 1000 -f begin
29842 genfile --length 1000 -f end
29843 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29844 tar -c -f archive --sparse begin sparsefile end || exit 1
29850 tar Cxf directory archive
29851 genfile --stat=name,size sparsefile
29852 cmp sparsefile directory/sparsefile
29854 echo sparse01.at:24 >"$at_check_line_file"
29856 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29861 TEST_TAR_FORMAT=gnu
29862 export TEST_TAR_FORMAT
29863 TAR_OPTIONS="-H gnu"
29867 genfile --length 1000 -f begin
29868 genfile --length 1000 -f end
29869 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29870 tar -c -f archive --sparse begin sparsefile end || exit 1
29876 tar Cxf directory archive
29877 genfile --stat=name,size sparsefile
29878 cmp sparsefile directory/sparsefile
29879 ) ) >"$at_stdout" 2>"$at_stder1"
29880 at_func_filter_trace $?
29885 TEST_TAR_FORMAT=gnu
29886 export TEST_TAR_FORMAT
29887 TAR_OPTIONS="-H gnu"
29891 genfile --length 1000 -f begin
29892 genfile --length 1000 -f end
29893 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29894 tar -c -f archive --sparse begin sparsefile end || exit 1
29900 tar Cxf directory archive
29901 genfile --stat=name,size sparsefile
29902 cmp sparsefile directory/sparsefile
29903 ) ) >"$at_stdout" 2>"$at_stderr"
29907 at_func_diff_devnull "$at_stderr" || at_failed=:
29908 echo stdout:; tee stdout <"$at_stdout"
29909 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
29911 $at_failed && at_func_log_failure
29915 $as_echo "$at_srcdir/sparse01.at:24:
29918 TEST_TAR_FORMAT=oldgnu
29919 export TEST_TAR_FORMAT
29920 TAR_OPTIONS=\"-H oldgnu\"
29924 genfile --length 1000 -f begin
29925 genfile --length 1000 -f end
29926 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29927 tar -c -f archive --sparse begin sparsefile end || exit 1
29933 tar Cxf directory archive
29934 genfile --stat=name,size sparsefile
29935 cmp sparsefile directory/sparsefile
29937 echo sparse01.at:24 >"$at_check_line_file"
29939 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
29944 TEST_TAR_FORMAT=oldgnu
29945 export TEST_TAR_FORMAT
29946 TAR_OPTIONS="-H oldgnu"
29950 genfile --length 1000 -f begin
29951 genfile --length 1000 -f end
29952 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29953 tar -c -f archive --sparse begin sparsefile end || exit 1
29959 tar Cxf directory archive
29960 genfile --stat=name,size sparsefile
29961 cmp sparsefile directory/sparsefile
29962 ) ) >"$at_stdout" 2>"$at_stder1"
29963 at_func_filter_trace $?
29968 TEST_TAR_FORMAT=oldgnu
29969 export TEST_TAR_FORMAT
29970 TAR_OPTIONS="-H oldgnu"
29974 genfile --length 1000 -f begin
29975 genfile --length 1000 -f end
29976 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
29977 tar -c -f archive --sparse begin sparsefile end || exit 1
29983 tar Cxf directory archive
29984 genfile --stat=name,size sparsefile
29985 cmp sparsefile directory/sparsefile
29986 ) ) >"$at_stdout" 2>"$at_stderr"
29990 at_func_diff_devnull "$at_stderr" || at_failed=:
29991 echo stdout:; tee stdout <"$at_stdout"
29992 at_func_check_status 0 $at_status "$at_srcdir/sparse01.at:24"
29994 $at_failed && at_func_log_failure
30001 cat >stdout.re <<'_ATEOF'
30003 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
30004 -rw-r--r-- ^ ^ * *10344448 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
30005 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
30007 sparsefile 10344448
30010 awk '{print NR " " $0}' stdout > $$.1
30011 awk '{print NR " " $0}' stdout.re | join - $$.1 |
30012 while read NUM RE LINE
30014 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
30019 $at_times_p && times >"$at_times_file"
30020 ) 5>&1 2>&1 | eval $at_tee_pipe
30021 at_status=`cat "$at_status_file"`
30024 # 75. sparse02.at:21: extracting sparse file over a pipe
30025 at_setup_line='sparse02.at:21'
30026 at_desc="extracting sparse file over a pipe"
30027 $at_quiet $as_echo_n " 75: $at_desc "
30029 test -f $XFAILFILE && at_xfail=yes
30030 echo "# -*- compilation -*-" >> "$at_group_log"
30032 $as_echo "75. sparse02.at:21: testing ..."
30037 # Tar 1.14 - 1.15.1 was unable to extract sparse files to a pipe.
30038 # References: <16896.21739.460782.124775@jik.kamens.brookline.ma.us>
30039 # http://lists.gnu.org/archive/html/bug-tar/2005-02/msg00003.html
30044 $as_echo "$at_srcdir/sparse02.at:28:
30047 TEST_TAR_FORMAT=posix
30048 export TEST_TAR_FORMAT
30049 TAR_OPTIONS=\"-H posix\"
30053 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30054 tar -c -f archive --sparse sparsefile || exit 1
30057 tar xfO archive | cat - > sparsecopy || exit 1
30058 cmp sparsefile sparsecopy
30060 echo sparse02.at:28 >"$at_check_line_file"
30062 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30067 TEST_TAR_FORMAT=posix
30068 export TEST_TAR_FORMAT
30069 TAR_OPTIONS="-H posix"
30073 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30074 tar -c -f archive --sparse sparsefile || exit 1
30077 tar xfO archive | cat - > sparsecopy || exit 1
30078 cmp sparsefile sparsecopy
30079 ) ) >"$at_stdout" 2>"$at_stder1"
30080 at_func_filter_trace $?
30085 TEST_TAR_FORMAT=posix
30086 export TEST_TAR_FORMAT
30087 TAR_OPTIONS="-H posix"
30091 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30092 tar -c -f archive --sparse sparsefile || exit 1
30095 tar xfO archive | cat - > sparsecopy || exit 1
30096 cmp sparsefile sparsecopy
30097 ) ) >"$at_stdout" 2>"$at_stderr"
30101 at_func_diff_devnull "$at_stderr" || at_failed=:
30102 echo >>"$at_stdout"; $as_echo "separator
30104 $at_diff - "$at_stdout" || at_failed=:
30105 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
30107 $at_failed && at_func_log_failure
30111 $as_echo "$at_srcdir/sparse02.at:28:
30114 TEST_TAR_FORMAT=gnu
30115 export TEST_TAR_FORMAT
30116 TAR_OPTIONS=\"-H gnu\"
30120 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30121 tar -c -f archive --sparse sparsefile || exit 1
30124 tar xfO archive | cat - > sparsecopy || exit 1
30125 cmp sparsefile sparsecopy
30127 echo sparse02.at:28 >"$at_check_line_file"
30129 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30134 TEST_TAR_FORMAT=gnu
30135 export TEST_TAR_FORMAT
30136 TAR_OPTIONS="-H gnu"
30140 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30141 tar -c -f archive --sparse sparsefile || exit 1
30144 tar xfO archive | cat - > sparsecopy || exit 1
30145 cmp sparsefile sparsecopy
30146 ) ) >"$at_stdout" 2>"$at_stder1"
30147 at_func_filter_trace $?
30152 TEST_TAR_FORMAT=gnu
30153 export TEST_TAR_FORMAT
30154 TAR_OPTIONS="-H gnu"
30158 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30159 tar -c -f archive --sparse sparsefile || exit 1
30162 tar xfO archive | cat - > sparsecopy || exit 1
30163 cmp sparsefile sparsecopy
30164 ) ) >"$at_stdout" 2>"$at_stderr"
30168 at_func_diff_devnull "$at_stderr" || at_failed=:
30169 echo >>"$at_stdout"; $as_echo "separator
30171 $at_diff - "$at_stdout" || at_failed=:
30172 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
30174 $at_failed && at_func_log_failure
30178 $as_echo "$at_srcdir/sparse02.at:28:
30181 TEST_TAR_FORMAT=oldgnu
30182 export TEST_TAR_FORMAT
30183 TAR_OPTIONS=\"-H oldgnu\"
30187 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30188 tar -c -f archive --sparse sparsefile || exit 1
30191 tar xfO archive | cat - > sparsecopy || exit 1
30192 cmp sparsefile sparsecopy
30194 echo sparse02.at:28 >"$at_check_line_file"
30196 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30201 TEST_TAR_FORMAT=oldgnu
30202 export TEST_TAR_FORMAT
30203 TAR_OPTIONS="-H oldgnu"
30207 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30208 tar -c -f archive --sparse sparsefile || exit 1
30211 tar xfO archive | cat - > sparsecopy || exit 1
30212 cmp sparsefile sparsecopy
30213 ) ) >"$at_stdout" 2>"$at_stder1"
30214 at_func_filter_trace $?
30219 TEST_TAR_FORMAT=oldgnu
30220 export TEST_TAR_FORMAT
30221 TAR_OPTIONS="-H oldgnu"
30225 genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL || exit 77
30226 tar -c -f archive --sparse sparsefile || exit 1
30229 tar xfO archive | cat - > sparsecopy || exit 1
30230 cmp sparsefile sparsecopy
30231 ) ) >"$at_stdout" 2>"$at_stderr"
30235 at_func_diff_devnull "$at_stderr" || at_failed=:
30236 echo >>"$at_stdout"; $as_echo "separator
30238 $at_diff - "$at_stdout" || at_failed=:
30239 at_func_check_status 0 $at_status "$at_srcdir/sparse02.at:28"
30241 $at_failed && at_func_log_failure
30248 $at_times_p && times >"$at_times_file"
30249 ) 5>&1 2>&1 | eval $at_tee_pipe
30250 at_status=`cat "$at_status_file"`
30253 # 76. sparse03.at:21: storing sparse files > 8G
30254 at_setup_line='sparse03.at:21'
30255 at_desc="storing sparse files > 8G"
30256 $at_quiet $as_echo_n " 76: $at_desc "
30258 test -f $XFAILFILE && at_xfail=yes
30259 echo "# -*- compilation -*-" >> "$at_group_log"
30261 $as_echo "76. sparse03.at:21: testing ..."
30266 # Tar 1.15.1 incorrectly computed sparse member size if the extended
30267 # PAX header contained size keyword.
30268 # References: <87vf46nb36.fsf@penguin.cs.ucla.edu>
30269 # http://lists.gnu.org/archive/html/bug-tar/2005-06/msg00040.html
30274 $as_echo "$at_srcdir/sparse03.at:29:
30277 TEST_TAR_FORMAT=posix
30278 export TEST_TAR_FORMAT
30279 TAR_OPTIONS=\"-H posix\"
30283 genfile --length 1000 --file begin
30284 genfile --length 1000 --file end
30285 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
30286 tar -c -f archive --sparse begin sparsefile end || exit 1
30292 tar Cxf directory archive
30293 genfile --stat=name,size sparsefile
30294 cmp sparsefile directory/sparsefile
30296 echo sparse03.at:29 >"$at_check_line_file"
30298 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30303 TEST_TAR_FORMAT=posix
30304 export TEST_TAR_FORMAT
30305 TAR_OPTIONS="-H posix"
30309 genfile --length 1000 --file begin
30310 genfile --length 1000 --file end
30311 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
30312 tar -c -f archive --sparse begin sparsefile end || exit 1
30318 tar Cxf directory archive
30319 genfile --stat=name,size sparsefile
30320 cmp sparsefile directory/sparsefile
30321 ) ) >"$at_stdout" 2>"$at_stder1"
30322 at_func_filter_trace $?
30327 TEST_TAR_FORMAT=posix
30328 export TEST_TAR_FORMAT
30329 TAR_OPTIONS="-H posix"
30333 genfile --length 1000 --file begin
30334 genfile --length 1000 --file end
30335 genfile --sparse --file sparsefile --block-size 512 8G A || exit 77
30336 tar -c -f archive --sparse begin sparsefile end || exit 1
30342 tar Cxf directory archive
30343 genfile --stat=name,size sparsefile
30344 cmp sparsefile directory/sparsefile
30345 ) ) >"$at_stdout" 2>"$at_stderr"
30349 at_func_diff_devnull "$at_stderr" || at_failed=:
30350 echo stdout:; tee stdout <"$at_stdout"
30351 at_func_check_status 0 $at_status "$at_srcdir/sparse03.at:29"
30353 $at_failed && at_func_log_failure
30360 cat >stdout.re <<'_ATEOF'
30362 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 begin
30363 -rw-r--r-- ^ ^ * *8589935104 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 sparsefile
30364 -rw-r--r-- ^ ^ * *1000 0-90-90-90-9-0-90-9-0-90-9 0-90-9:0-90-9 end
30366 sparsefile 8589935104
30369 awk '{print NR " " $0}' stdout > $$.1
30370 awk '{print NR " " $0}' stdout.re | join - $$.1 |
30371 while read NUM RE LINE
30373 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
30378 $at_times_p && times >"$at_times_file"
30379 ) 5>&1 2>&1 | eval $at_tee_pipe
30380 at_status=`cat "$at_status_file"`
30383 # 77. sparsemv.at:21: sparse files in MV archives
30384 at_setup_line='sparsemv.at:21'
30385 at_desc="sparse files in MV archives"
30386 $at_quiet $as_echo_n " 77: $at_desc "
30388 test -f $XFAILFILE && at_xfail=yes
30389 echo "# -*- compilation -*-" >> "$at_group_log"
30391 $as_echo "77. sparsemv.at:21: testing ..."
30396 # Check if sparse files are correctly split between GNU multi-volume
30398 # There are two cases: the file can be split within an empty (null) block,
30399 # or within a data block. Since null blocks are not archived, the first
30400 # case means the file is split between two consecutive data blocks.
30406 $as_echo "$at_srcdir/sparsemv.at:31:
30409 TEST_TAR_FORMAT=gnu
30410 export TEST_TAR_FORMAT
30411 TAR_OPTIONS=\"-H gnu\"
30416 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30417 echo \"Pass 1: Split between data blocks\"
30418 echo \"Create archive\"
30419 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30420 echo \"Test archive\"
30421 tar --record-size=512 -t -M -f arc.1 -f arc.2
30422 echo \"Compare archive\"
30423 tar --record-size=512 -d -M -f arc.1 -f arc.2
30425 echo \"Pass 2: Split within a data block\"
30426 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30427 echo \"Create archive\"
30428 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30429 echo \"Test archive\"
30430 tar --record-size=512 -t -M -f arc.1 -f arc.2
30431 echo \"Compare archive\"
30432 tar --record-size=512 -d -M -f arc.1 -f arc.2
30434 echo sparsemv.at:31 >"$at_check_line_file"
30436 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30441 TEST_TAR_FORMAT=gnu
30442 export TEST_TAR_FORMAT
30443 TAR_OPTIONS="-H gnu"
30448 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30449 echo "Pass 1: Split between data blocks"
30450 echo "Create archive"
30451 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30452 echo "Test archive"
30453 tar --record-size=512 -t -M -f arc.1 -f arc.2
30454 echo "Compare archive"
30455 tar --record-size=512 -d -M -f arc.1 -f arc.2
30457 echo "Pass 2: Split within a data block"
30458 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30459 echo "Create archive"
30460 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30461 echo "Test archive"
30462 tar --record-size=512 -t -M -f arc.1 -f arc.2
30463 echo "Compare archive"
30464 tar --record-size=512 -d -M -f arc.1 -f arc.2
30465 ) ) >"$at_stdout" 2>"$at_stder1"
30466 at_func_filter_trace $?
30471 TEST_TAR_FORMAT=gnu
30472 export TEST_TAR_FORMAT
30473 TAR_OPTIONS="-H gnu"
30478 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30479 echo "Pass 1: Split between data blocks"
30480 echo "Create archive"
30481 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30482 echo "Test archive"
30483 tar --record-size=512 -t -M -f arc.1 -f arc.2
30484 echo "Compare archive"
30485 tar --record-size=512 -d -M -f arc.1 -f arc.2
30487 echo "Pass 2: Split within a data block"
30488 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30489 echo "Create archive"
30490 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30491 echo "Test archive"
30492 tar --record-size=512 -t -M -f arc.1 -f arc.2
30493 echo "Compare archive"
30494 tar --record-size=512 -d -M -f arc.1 -f arc.2
30495 ) ) >"$at_stdout" 2>"$at_stderr"
30499 at_func_diff_devnull "$at_stderr" || at_failed=:
30500 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
30505 Pass 2: Split within a data block
30511 $at_diff - "$at_stdout" || at_failed=:
30512 at_func_check_status 0 $at_status "$at_srcdir/sparsemv.at:31"
30514 $at_failed && at_func_log_failure
30518 $as_echo "$at_srcdir/sparsemv.at:31:
30521 TEST_TAR_FORMAT=oldgnu
30522 export TEST_TAR_FORMAT
30523 TAR_OPTIONS=\"-H oldgnu\"
30528 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30529 echo \"Pass 1: Split between data blocks\"
30530 echo \"Create archive\"
30531 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30532 echo \"Test archive\"
30533 tar --record-size=512 -t -M -f arc.1 -f arc.2
30534 echo \"Compare archive\"
30535 tar --record-size=512 -d -M -f arc.1 -f arc.2
30537 echo \"Pass 2: Split within a data block\"
30538 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30539 echo \"Create archive\"
30540 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30541 echo \"Test archive\"
30542 tar --record-size=512 -t -M -f arc.1 -f arc.2
30543 echo \"Compare archive\"
30544 tar --record-size=512 -d -M -f arc.1 -f arc.2
30546 echo sparsemv.at:31 >"$at_check_line_file"
30548 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30553 TEST_TAR_FORMAT=oldgnu
30554 export TEST_TAR_FORMAT
30555 TAR_OPTIONS="-H oldgnu"
30560 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30561 echo "Pass 1: Split between data blocks"
30562 echo "Create archive"
30563 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30564 echo "Test archive"
30565 tar --record-size=512 -t -M -f arc.1 -f arc.2
30566 echo "Compare archive"
30567 tar --record-size=512 -d -M -f arc.1 -f arc.2
30569 echo "Pass 2: Split within a data block"
30570 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30571 echo "Create archive"
30572 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30573 echo "Test archive"
30574 tar --record-size=512 -t -M -f arc.1 -f arc.2
30575 echo "Compare archive"
30576 tar --record-size=512 -d -M -f arc.1 -f arc.2
30577 ) ) >"$at_stdout" 2>"$at_stder1"
30578 at_func_filter_trace $?
30583 TEST_TAR_FORMAT=oldgnu
30584 export TEST_TAR_FORMAT
30585 TAR_OPTIONS="-H oldgnu"
30590 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30591 echo "Pass 1: Split between data blocks"
30592 echo "Create archive"
30593 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30594 echo "Test archive"
30595 tar --record-size=512 -t -M -f arc.1 -f arc.2
30596 echo "Compare archive"
30597 tar --record-size=512 -d -M -f arc.1 -f arc.2
30599 echo "Pass 2: Split within a data block"
30600 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30601 echo "Create archive"
30602 tar --sparse -c --record-size=512 -M -L6 -f arc.1 -f arc.2 sparsefile || exit 1
30603 echo "Test archive"
30604 tar --record-size=512 -t -M -f arc.1 -f arc.2
30605 echo "Compare archive"
30606 tar --record-size=512 -d -M -f arc.1 -f arc.2
30607 ) ) >"$at_stdout" 2>"$at_stderr"
30611 at_func_diff_devnull "$at_stderr" || at_failed=:
30612 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
30617 Pass 2: Split within a data block
30623 $at_diff - "$at_stdout" || at_failed=:
30624 at_func_check_status 0 $at_status "$at_srcdir/sparsemv.at:31"
30626 $at_failed && at_func_log_failure
30633 $at_times_p && times >"$at_times_file"
30634 ) 5>&1 2>&1 | eval $at_tee_pipe
30635 at_status=`cat "$at_status_file"`
30638 # 78. spmvp00.at:21: sparse files in PAX MV archives, v.0.0
30639 at_setup_line='spmvp00.at:21'
30640 at_desc="sparse files in PAX MV archives, v.0.0"
30641 $at_quiet $as_echo_n " 78: $at_desc "
30643 test -f $XFAILFILE && at_xfail=yes
30644 echo "# -*- compilation -*-" >> "$at_group_log"
30646 $as_echo "78. spmvp00.at:21: testing ..."
30655 $as_echo "$at_srcdir/spmvp00.at:24:
30658 TEST_TAR_FORMAT=pax
30659 export TEST_TAR_FORMAT
30660 TAR_OPTIONS=\"-H pax\"
30665 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
30666 echo \"Pass 1: Split between data blocks\"
30667 echo \"Create archive\"
30668 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30669 echo \"Test archive\"
30670 tar -t -M -f arc.1 -f arc.2 -f arc.3
30671 echo \"Compare archive\"
30672 tar -d -M -f arc.1 -f arc.2 -f arc.3
30674 echo \"Pass 2: Split within a data block\"
30675 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
30676 echo \"Create archive\"
30677 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30678 echo \"Test archive\"
30679 tar -t -M -f arc.1 -f arc.2 -f arc.3
30680 echo \"Compare archive\"
30681 tar -d -M -f arc.1 -f arc.2 -f arc.3
30683 echo spmvp00.at:24 >"$at_check_line_file"
30685 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30690 TEST_TAR_FORMAT=pax
30691 export TEST_TAR_FORMAT
30692 TAR_OPTIONS="-H pax"
30697 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
30698 echo "Pass 1: Split between data blocks"
30699 echo "Create archive"
30700 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30701 echo "Test archive"
30702 tar -t -M -f arc.1 -f arc.2 -f arc.3
30703 echo "Compare archive"
30704 tar -d -M -f arc.1 -f arc.2 -f arc.3
30706 echo "Pass 2: Split within a data block"
30707 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
30708 echo "Create archive"
30709 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30710 echo "Test archive"
30711 tar -t -M -f arc.1 -f arc.2 -f arc.3
30712 echo "Compare archive"
30713 tar -d -M -f arc.1 -f arc.2 -f arc.3
30714 ) ) >"$at_stdout" 2>"$at_stder1"
30715 at_func_filter_trace $?
30720 TEST_TAR_FORMAT=pax
30721 export TEST_TAR_FORMAT
30722 TAR_OPTIONS="-H pax"
30727 genfile --sparse --file sparsefile 0 ABCDEFGHI 1M ABCDEFGHI || exit 77
30728 echo "Pass 1: Split between data blocks"
30729 echo "Create archive"
30730 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30731 echo "Test archive"
30732 tar -t -M -f arc.1 -f arc.2 -f arc.3
30733 echo "Compare archive"
30734 tar -d -M -f arc.1 -f arc.2 -f arc.3
30736 echo "Pass 2: Split within a data block"
30737 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
30738 echo "Create archive"
30739 tar --sparse --sparse-version=0.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30740 echo "Test archive"
30741 tar -t -M -f arc.1 -f arc.2 -f arc.3
30742 echo "Compare archive"
30743 tar -d -M -f arc.1 -f arc.2 -f arc.3
30744 ) ) >"$at_stdout" 2>"$at_stderr"
30748 at_func_diff_devnull "$at_stderr" || at_failed=:
30749 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
30754 Pass 2: Split within a data block
30760 $at_diff - "$at_stdout" || at_failed=:
30761 at_func_check_status 0 $at_status "$at_srcdir/spmvp00.at:24"
30763 $at_failed && at_func_log_failure
30770 $at_times_p && times >"$at_times_file"
30771 ) 5>&1 2>&1 | eval $at_tee_pipe
30772 at_status=`cat "$at_status_file"`
30775 # 79. spmvp01.at:21: sparse files in PAX MV archives, v.0.1
30776 at_setup_line='spmvp01.at:21'
30777 at_desc="sparse files in PAX MV archives, v.0.1"
30778 $at_quiet $as_echo_n " 79: $at_desc "
30780 test -f $XFAILFILE && at_xfail=yes
30781 echo "# -*- compilation -*-" >> "$at_group_log"
30783 $as_echo "79. spmvp01.at:21: testing ..."
30792 $as_echo "$at_srcdir/spmvp01.at:24:
30795 TEST_TAR_FORMAT=pax
30796 export TEST_TAR_FORMAT
30797 TAR_OPTIONS=\"-H pax\"
30802 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30803 echo \"Pass 1: Split between data blocks\"
30804 echo \"Create archive\"
30805 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30806 echo \"Test archive\"
30807 tar -t -M -f arc.1 -f arc.2 -f arc.3
30808 echo \"Compare archive\"
30809 tar -d -M -f arc.1 -f arc.2 -f arc.3
30811 echo \"Pass 2: Split within a data block\"
30812 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30813 echo \"Create archive\"
30814 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30815 echo \"Test archive\"
30816 tar -t -M -f arc.1 -f arc.2 -f arc.3
30817 echo \"Compare archive\"
30818 tar -d -M -f arc.1 -f arc.2 -f arc.3
30820 echo spmvp01.at:24 >"$at_check_line_file"
30822 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30827 TEST_TAR_FORMAT=pax
30828 export TEST_TAR_FORMAT
30829 TAR_OPTIONS="-H pax"
30834 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30835 echo "Pass 1: Split between data blocks"
30836 echo "Create archive"
30837 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30838 echo "Test archive"
30839 tar -t -M -f arc.1 -f arc.2 -f arc.3
30840 echo "Compare archive"
30841 tar -d -M -f arc.1 -f arc.2 -f arc.3
30843 echo "Pass 2: Split within a data block"
30844 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30845 echo "Create archive"
30846 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30847 echo "Test archive"
30848 tar -t -M -f arc.1 -f arc.2 -f arc.3
30849 echo "Compare archive"
30850 tar -d -M -f arc.1 -f arc.2 -f arc.3
30851 ) ) >"$at_stdout" 2>"$at_stder1"
30852 at_func_filter_trace $?
30857 TEST_TAR_FORMAT=pax
30858 export TEST_TAR_FORMAT
30859 TAR_OPTIONS="-H pax"
30864 genfile --sparse --file sparsefile 0 ABCDEFGHIJK 1M ABCDEFGHI || exit 77
30865 echo "Pass 1: Split between data blocks"
30866 echo "Create archive"
30867 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30868 echo "Test archive"
30869 tar -t -M -f arc.1 -f arc.2 -f arc.3
30870 echo "Compare archive"
30871 tar -d -M -f arc.1 -f arc.2 -f arc.3
30873 echo "Pass 2: Split within a data block"
30874 genfile --sparse --file sparsefile 0 ABCDEFGHIJ 1M ABCDEFGHI || exit 77
30875 echo "Create archive"
30876 tar --sparse --sparse-version=0.1 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30877 echo "Test archive"
30878 tar -t -M -f arc.1 -f arc.2 -f arc.3
30879 echo "Compare archive"
30880 tar -d -M -f arc.1 -f arc.2 -f arc.3
30881 ) ) >"$at_stdout" 2>"$at_stderr"
30885 at_func_diff_devnull "$at_stderr" || at_failed=:
30886 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
30891 Pass 2: Split within a data block
30897 $at_diff - "$at_stdout" || at_failed=:
30898 at_func_check_status 0 $at_status "$at_srcdir/spmvp01.at:24"
30900 $at_failed && at_func_log_failure
30907 $at_times_p && times >"$at_times_file"
30908 ) 5>&1 2>&1 | eval $at_tee_pipe
30909 at_status=`cat "$at_status_file"`
30912 # 80. spmvp10.at:21: sparse files in PAX MV archives, v.1.0
30913 at_setup_line='spmvp10.at:21'
30914 at_desc="sparse files in PAX MV archives, v.1.0"
30915 $at_quiet $as_echo_n " 80: $at_desc "
30917 test -f $XFAILFILE && at_xfail=yes
30918 echo "# -*- compilation -*-" >> "$at_group_log"
30920 $as_echo "80. spmvp10.at:21: testing ..."
30929 $as_echo "$at_srcdir/spmvp10.at:24:
30932 TEST_TAR_FORMAT=pax
30933 export TEST_TAR_FORMAT
30934 TAR_OPTIONS=\"-H pax\"
30939 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
30940 echo \"Pass 1: Split between data blocks\"
30941 echo \"Create archive\"
30942 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30943 echo \"Test archive\"
30944 tar -t -M -f arc.1 -f arc.2 -f arc.3
30945 echo \"Compare archive\"
30946 tar -d -M -f arc.1 -f arc.2 -f arc.3
30948 echo \"Pass 2: Split within a data block\"
30949 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
30950 echo \"Create archive\"
30951 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30952 echo \"Test archive\"
30953 tar -t -M -f arc.1 -f arc.2 -f arc.3
30954 echo \"Compare archive\"
30955 tar -d -M -f arc.1 -f arc.2 -f arc.3
30957 echo spmvp10.at:24 >"$at_check_line_file"
30959 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
30964 TEST_TAR_FORMAT=pax
30965 export TEST_TAR_FORMAT
30966 TAR_OPTIONS="-H pax"
30971 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
30972 echo "Pass 1: Split between data blocks"
30973 echo "Create archive"
30974 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30975 echo "Test archive"
30976 tar -t -M -f arc.1 -f arc.2 -f arc.3
30977 echo "Compare archive"
30978 tar -d -M -f arc.1 -f arc.2 -f arc.3
30980 echo "Pass 2: Split within a data block"
30981 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
30982 echo "Create archive"
30983 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
30984 echo "Test archive"
30985 tar -t -M -f arc.1 -f arc.2 -f arc.3
30986 echo "Compare archive"
30987 tar -d -M -f arc.1 -f arc.2 -f arc.3
30988 ) ) >"$at_stdout" 2>"$at_stder1"
30989 at_func_filter_trace $?
30994 TEST_TAR_FORMAT=pax
30995 export TEST_TAR_FORMAT
30996 TAR_OPTIONS="-H pax"
31001 genfile --sparse --file sparsefile 0 ABCDEFGH 1M ABCDEFGHI || exit 77
31002 echo "Pass 1: Split between data blocks"
31003 echo "Create archive"
31004 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
31005 echo "Test archive"
31006 tar -t -M -f arc.1 -f arc.2 -f arc.3
31007 echo "Compare archive"
31008 tar -d -M -f arc.1 -f arc.2 -f arc.3
31010 echo "Pass 2: Split within a data block"
31011 genfile --sparse --file sparsefile 0 ABCDEFG 1M ABCDEFGHI || exit 77
31012 echo "Create archive"
31013 tar --sparse --sparse-version=1.0 -c --record-size=512 -M -L6 -f arc.1 -f arc.2 -f arc.3 sparsefile
31014 echo "Test archive"
31015 tar -t -M -f arc.1 -f arc.2 -f arc.3
31016 echo "Compare archive"
31017 tar -d -M -f arc.1 -f arc.2 -f arc.3
31018 ) ) >"$at_stdout" 2>"$at_stderr"
31022 at_func_diff_devnull "$at_stderr" || at_failed=:
31023 echo >>"$at_stdout"; $as_echo "Pass 1: Split between data blocks
31028 Pass 2: Split within a data block
31034 $at_diff - "$at_stdout" || at_failed=:
31035 at_func_check_status 0 $at_status "$at_srcdir/spmvp10.at:24"
31037 $at_failed && at_func_log_failure
31044 $at_times_p && times >"$at_times_file"
31045 ) 5>&1 2>&1 | eval $at_tee_pipe
31046 at_status=`cat "$at_status_file"`
31049 # 81. update.at:28: update unchanged directories
31050 at_setup_line='update.at:28'
31051 at_desc="update unchanged directories"
31052 $at_quiet $as_echo_n " 81: $at_desc "
31054 test -f $XFAILFILE && at_xfail=yes
31055 echo "# -*- compilation -*-" >> "$at_group_log"
31057 $as_echo "81. update.at:28: testing ..."
31065 $as_echo "$at_srcdir/update.at:31:
31069 export TEST_TAR_FORMAT
31070 TAR_OPTIONS=\"-H v7\"
31075 test -z "`sort < /dev/null 2>&1`" || exit 77
31078 genfile --length 10240 --pattern zeros --file directory/file1
31079 genfile --length 10240 --pattern default --file directory/file2
31081 tar cf archive directory || exit 1
31083 tar uf archive directory || exit 1
31085 tar tf archive | sort || exit 1
31087 echo update.at:31 >"$at_check_line_file"
31089 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31095 export TEST_TAR_FORMAT
31096 TAR_OPTIONS="-H v7"
31101 test -z "`sort < /dev/null 2>&1`" || exit 77
31104 genfile --length 10240 --pattern zeros --file directory/file1
31105 genfile --length 10240 --pattern default --file directory/file2
31107 tar cf archive directory || exit 1
31109 tar uf archive directory || exit 1
31111 tar tf archive | sort || exit 1
31112 ) ) >"$at_stdout" 2>"$at_stder1"
31113 at_func_filter_trace $?
31119 export TEST_TAR_FORMAT
31120 TAR_OPTIONS="-H v7"
31125 test -z "`sort < /dev/null 2>&1`" || exit 77
31128 genfile --length 10240 --pattern zeros --file directory/file1
31129 genfile --length 10240 --pattern default --file directory/file2
31131 tar cf archive directory || exit 1
31133 tar uf archive directory || exit 1
31135 tar tf archive | sort || exit 1
31136 ) ) >"$at_stdout" 2>"$at_stderr"
31140 at_func_diff_devnull "$at_stderr" || at_failed=:
31141 echo >>"$at_stdout"; $as_echo "separator
31147 $at_diff - "$at_stdout" || at_failed=:
31148 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
31150 $at_failed && at_func_log_failure
31154 $as_echo "$at_srcdir/update.at:31:
31157 TEST_TAR_FORMAT=oldgnu
31158 export TEST_TAR_FORMAT
31159 TAR_OPTIONS=\"-H oldgnu\"
31164 test -z "`sort < /dev/null 2>&1`" || exit 77
31167 genfile --length 10240 --pattern zeros --file directory/file1
31168 genfile --length 10240 --pattern default --file directory/file2
31170 tar cf archive directory || exit 1
31172 tar uf archive directory || exit 1
31174 tar tf archive | sort || exit 1
31176 echo update.at:31 >"$at_check_line_file"
31178 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31183 TEST_TAR_FORMAT=oldgnu
31184 export TEST_TAR_FORMAT
31185 TAR_OPTIONS="-H oldgnu"
31190 test -z "`sort < /dev/null 2>&1`" || exit 77
31193 genfile --length 10240 --pattern zeros --file directory/file1
31194 genfile --length 10240 --pattern default --file directory/file2
31196 tar cf archive directory || exit 1
31198 tar uf archive directory || exit 1
31200 tar tf archive | sort || exit 1
31201 ) ) >"$at_stdout" 2>"$at_stder1"
31202 at_func_filter_trace $?
31207 TEST_TAR_FORMAT=oldgnu
31208 export TEST_TAR_FORMAT
31209 TAR_OPTIONS="-H oldgnu"
31214 test -z "`sort < /dev/null 2>&1`" || exit 77
31217 genfile --length 10240 --pattern zeros --file directory/file1
31218 genfile --length 10240 --pattern default --file directory/file2
31220 tar cf archive directory || exit 1
31222 tar uf archive directory || exit 1
31224 tar tf archive | sort || exit 1
31225 ) ) >"$at_stdout" 2>"$at_stderr"
31229 at_func_diff_devnull "$at_stderr" || at_failed=:
31230 echo >>"$at_stdout"; $as_echo "separator
31236 $at_diff - "$at_stdout" || at_failed=:
31237 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
31239 $at_failed && at_func_log_failure
31243 $as_echo "$at_srcdir/update.at:31:
31246 TEST_TAR_FORMAT=ustar
31247 export TEST_TAR_FORMAT
31248 TAR_OPTIONS=\"-H ustar\"
31253 test -z "`sort < /dev/null 2>&1`" || exit 77
31256 genfile --length 10240 --pattern zeros --file directory/file1
31257 genfile --length 10240 --pattern default --file directory/file2
31259 tar cf archive directory || exit 1
31261 tar uf archive directory || exit 1
31263 tar tf archive | sort || exit 1
31265 echo update.at:31 >"$at_check_line_file"
31267 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31272 TEST_TAR_FORMAT=ustar
31273 export TEST_TAR_FORMAT
31274 TAR_OPTIONS="-H ustar"
31279 test -z "`sort < /dev/null 2>&1`" || exit 77
31282 genfile --length 10240 --pattern zeros --file directory/file1
31283 genfile --length 10240 --pattern default --file directory/file2
31285 tar cf archive directory || exit 1
31287 tar uf archive directory || exit 1
31289 tar tf archive | sort || exit 1
31290 ) ) >"$at_stdout" 2>"$at_stder1"
31291 at_func_filter_trace $?
31296 TEST_TAR_FORMAT=ustar
31297 export TEST_TAR_FORMAT
31298 TAR_OPTIONS="-H ustar"
31303 test -z "`sort < /dev/null 2>&1`" || exit 77
31306 genfile --length 10240 --pattern zeros --file directory/file1
31307 genfile --length 10240 --pattern default --file directory/file2
31309 tar cf archive directory || exit 1
31311 tar uf archive directory || exit 1
31313 tar tf archive | sort || exit 1
31314 ) ) >"$at_stdout" 2>"$at_stderr"
31318 at_func_diff_devnull "$at_stderr" || at_failed=:
31319 echo >>"$at_stdout"; $as_echo "separator
31325 $at_diff - "$at_stdout" || at_failed=:
31326 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
31328 $at_failed && at_func_log_failure
31332 $as_echo "$at_srcdir/update.at:31:
31335 TEST_TAR_FORMAT=posix
31336 export TEST_TAR_FORMAT
31337 TAR_OPTIONS=\"-H posix\"
31342 test -z "`sort < /dev/null 2>&1`" || exit 77
31345 genfile --length 10240 --pattern zeros --file directory/file1
31346 genfile --length 10240 --pattern default --file directory/file2
31348 tar cf archive directory || exit 1
31350 tar uf archive directory || exit 1
31352 tar tf archive | sort || exit 1
31354 echo update.at:31 >"$at_check_line_file"
31356 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31361 TEST_TAR_FORMAT=posix
31362 export TEST_TAR_FORMAT
31363 TAR_OPTIONS="-H posix"
31368 test -z "`sort < /dev/null 2>&1`" || exit 77
31371 genfile --length 10240 --pattern zeros --file directory/file1
31372 genfile --length 10240 --pattern default --file directory/file2
31374 tar cf archive directory || exit 1
31376 tar uf archive directory || exit 1
31378 tar tf archive | sort || exit 1
31379 ) ) >"$at_stdout" 2>"$at_stder1"
31380 at_func_filter_trace $?
31385 TEST_TAR_FORMAT=posix
31386 export TEST_TAR_FORMAT
31387 TAR_OPTIONS="-H posix"
31392 test -z "`sort < /dev/null 2>&1`" || exit 77
31395 genfile --length 10240 --pattern zeros --file directory/file1
31396 genfile --length 10240 --pattern default --file directory/file2
31398 tar cf archive directory || exit 1
31400 tar uf archive directory || exit 1
31402 tar tf archive | sort || exit 1
31403 ) ) >"$at_stdout" 2>"$at_stderr"
31407 at_func_diff_devnull "$at_stderr" || at_failed=:
31408 echo >>"$at_stdout"; $as_echo "separator
31414 $at_diff - "$at_stdout" || at_failed=:
31415 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
31417 $at_failed && at_func_log_failure
31421 $as_echo "$at_srcdir/update.at:31:
31424 TEST_TAR_FORMAT=gnu
31425 export TEST_TAR_FORMAT
31426 TAR_OPTIONS=\"-H gnu\"
31431 test -z "`sort < /dev/null 2>&1`" || exit 77
31434 genfile --length 10240 --pattern zeros --file directory/file1
31435 genfile --length 10240 --pattern default --file directory/file2
31437 tar cf archive directory || exit 1
31439 tar uf archive directory || exit 1
31441 tar tf archive | sort || exit 1
31443 echo update.at:31 >"$at_check_line_file"
31445 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31450 TEST_TAR_FORMAT=gnu
31451 export TEST_TAR_FORMAT
31452 TAR_OPTIONS="-H gnu"
31457 test -z "`sort < /dev/null 2>&1`" || exit 77
31460 genfile --length 10240 --pattern zeros --file directory/file1
31461 genfile --length 10240 --pattern default --file directory/file2
31463 tar cf archive directory || exit 1
31465 tar uf archive directory || exit 1
31467 tar tf archive | sort || exit 1
31468 ) ) >"$at_stdout" 2>"$at_stder1"
31469 at_func_filter_trace $?
31474 TEST_TAR_FORMAT=gnu
31475 export TEST_TAR_FORMAT
31476 TAR_OPTIONS="-H gnu"
31481 test -z "`sort < /dev/null 2>&1`" || exit 77
31484 genfile --length 10240 --pattern zeros --file directory/file1
31485 genfile --length 10240 --pattern default --file directory/file2
31487 tar cf archive directory || exit 1
31489 tar uf archive directory || exit 1
31491 tar tf archive | sort || exit 1
31492 ) ) >"$at_stdout" 2>"$at_stderr"
31496 at_func_diff_devnull "$at_stderr" || at_failed=:
31497 echo >>"$at_stdout"; $as_echo "separator
31503 $at_diff - "$at_stdout" || at_failed=:
31504 at_func_check_status 0 $at_status "$at_srcdir/update.at:31"
31506 $at_failed && at_func_log_failure
31513 $at_times_p && times >"$at_times_file"
31514 ) 5>&1 2>&1 | eval $at_tee_pipe
31515 at_status=`cat "$at_status_file"`
31518 # 82. update01.at:29: update directories
31519 at_setup_line='update01.at:29'
31520 at_desc="update directories"
31521 $at_quiet $as_echo_n " 82: $at_desc "
31523 test -f $XFAILFILE && at_xfail=yes
31524 echo "# -*- compilation -*-" >> "$at_group_log"
31526 $as_echo "82. update01.at:29: testing ..."
31534 $as_echo "$at_srcdir/update01.at:32:
31538 export TEST_TAR_FORMAT
31539 TAR_OPTIONS=\"-H v7\"
31544 test -z "`sort < /dev/null 2>&1`" || exit 77
31558 tar tf arc | sort || exit 1
31560 echo update01.at:32 >"$at_check_line_file"
31562 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31568 export TEST_TAR_FORMAT
31569 TAR_OPTIONS="-H v7"
31574 test -z "`sort < /dev/null 2>&1`" || exit 77
31588 tar tf arc | sort || exit 1
31589 ) ) >"$at_stdout" 2>"$at_stder1"
31590 at_func_filter_trace $?
31596 export TEST_TAR_FORMAT
31597 TAR_OPTIONS="-H v7"
31602 test -z "`sort < /dev/null 2>&1`" || exit 77
31616 tar tf arc | sort || exit 1
31617 ) ) >"$at_stdout" 2>"$at_stderr"
31621 at_func_diff_devnull "$at_stderr" || at_failed=:
31622 echo >>"$at_stdout"; $as_echo "separator
31629 $at_diff - "$at_stdout" || at_failed=:
31630 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
31632 $at_failed && at_func_log_failure
31636 $as_echo "$at_srcdir/update01.at:32:
31639 TEST_TAR_FORMAT=oldgnu
31640 export TEST_TAR_FORMAT
31641 TAR_OPTIONS=\"-H oldgnu\"
31646 test -z "`sort < /dev/null 2>&1`" || exit 77
31660 tar tf arc | sort || exit 1
31662 echo update01.at:32 >"$at_check_line_file"
31664 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31669 TEST_TAR_FORMAT=oldgnu
31670 export TEST_TAR_FORMAT
31671 TAR_OPTIONS="-H oldgnu"
31676 test -z "`sort < /dev/null 2>&1`" || exit 77
31690 tar tf arc | sort || exit 1
31691 ) ) >"$at_stdout" 2>"$at_stder1"
31692 at_func_filter_trace $?
31697 TEST_TAR_FORMAT=oldgnu
31698 export TEST_TAR_FORMAT
31699 TAR_OPTIONS="-H oldgnu"
31704 test -z "`sort < /dev/null 2>&1`" || exit 77
31718 tar tf arc | sort || exit 1
31719 ) ) >"$at_stdout" 2>"$at_stderr"
31723 at_func_diff_devnull "$at_stderr" || at_failed=:
31724 echo >>"$at_stdout"; $as_echo "separator
31731 $at_diff - "$at_stdout" || at_failed=:
31732 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
31734 $at_failed && at_func_log_failure
31738 $as_echo "$at_srcdir/update01.at:32:
31741 TEST_TAR_FORMAT=ustar
31742 export TEST_TAR_FORMAT
31743 TAR_OPTIONS=\"-H ustar\"
31748 test -z "`sort < /dev/null 2>&1`" || exit 77
31762 tar tf arc | sort || exit 1
31764 echo update01.at:32 >"$at_check_line_file"
31766 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31771 TEST_TAR_FORMAT=ustar
31772 export TEST_TAR_FORMAT
31773 TAR_OPTIONS="-H ustar"
31778 test -z "`sort < /dev/null 2>&1`" || exit 77
31792 tar tf arc | sort || exit 1
31793 ) ) >"$at_stdout" 2>"$at_stder1"
31794 at_func_filter_trace $?
31799 TEST_TAR_FORMAT=ustar
31800 export TEST_TAR_FORMAT
31801 TAR_OPTIONS="-H ustar"
31806 test -z "`sort < /dev/null 2>&1`" || exit 77
31820 tar tf arc | sort || exit 1
31821 ) ) >"$at_stdout" 2>"$at_stderr"
31825 at_func_diff_devnull "$at_stderr" || at_failed=:
31826 echo >>"$at_stdout"; $as_echo "separator
31833 $at_diff - "$at_stdout" || at_failed=:
31834 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
31836 $at_failed && at_func_log_failure
31840 $as_echo "$at_srcdir/update01.at:32:
31843 TEST_TAR_FORMAT=posix
31844 export TEST_TAR_FORMAT
31845 TAR_OPTIONS=\"-H posix\"
31850 test -z "`sort < /dev/null 2>&1`" || exit 77
31864 tar tf arc | sort || exit 1
31866 echo update01.at:32 >"$at_check_line_file"
31868 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31873 TEST_TAR_FORMAT=posix
31874 export TEST_TAR_FORMAT
31875 TAR_OPTIONS="-H posix"
31880 test -z "`sort < /dev/null 2>&1`" || exit 77
31894 tar tf arc | sort || exit 1
31895 ) ) >"$at_stdout" 2>"$at_stder1"
31896 at_func_filter_trace $?
31901 TEST_TAR_FORMAT=posix
31902 export TEST_TAR_FORMAT
31903 TAR_OPTIONS="-H posix"
31908 test -z "`sort < /dev/null 2>&1`" || exit 77
31922 tar tf arc | sort || exit 1
31923 ) ) >"$at_stdout" 2>"$at_stderr"
31927 at_func_diff_devnull "$at_stderr" || at_failed=:
31928 echo >>"$at_stdout"; $as_echo "separator
31935 $at_diff - "$at_stdout" || at_failed=:
31936 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
31938 $at_failed && at_func_log_failure
31942 $as_echo "$at_srcdir/update01.at:32:
31945 TEST_TAR_FORMAT=gnu
31946 export TEST_TAR_FORMAT
31947 TAR_OPTIONS=\"-H gnu\"
31952 test -z "`sort < /dev/null 2>&1`" || exit 77
31966 tar tf arc | sort || exit 1
31968 echo update01.at:32 >"$at_check_line_file"
31970 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
31975 TEST_TAR_FORMAT=gnu
31976 export TEST_TAR_FORMAT
31977 TAR_OPTIONS="-H gnu"
31982 test -z "`sort < /dev/null 2>&1`" || exit 77
31996 tar tf arc | sort || exit 1
31997 ) ) >"$at_stdout" 2>"$at_stder1"
31998 at_func_filter_trace $?
32003 TEST_TAR_FORMAT=gnu
32004 export TEST_TAR_FORMAT
32005 TAR_OPTIONS="-H gnu"
32010 test -z "`sort < /dev/null 2>&1`" || exit 77
32024 tar tf arc | sort || exit 1
32025 ) ) >"$at_stdout" 2>"$at_stderr"
32029 at_func_diff_devnull "$at_stderr" || at_failed=:
32030 echo >>"$at_stdout"; $as_echo "separator
32037 $at_diff - "$at_stdout" || at_failed=:
32038 at_func_check_status 0 $at_status "$at_srcdir/update01.at:32"
32040 $at_failed && at_func_log_failure
32047 $at_times_p && times >"$at_times_file"
32048 ) 5>&1 2>&1 | eval $at_tee_pipe
32049 at_status=`cat "$at_status_file"`
32052 # 83. update02.at:26: update changed files
32053 at_setup_line='update02.at:26'
32054 at_desc="update changed files"
32055 $at_quiet $as_echo_n " 83: $at_desc "
32057 test -f $XFAILFILE && at_xfail=yes
32058 echo "# -*- compilation -*-" >> "$at_group_log"
32060 $as_echo "83. update02.at:26: testing ..."
32068 $as_echo "$at_srcdir/update02.at:29:
32072 export TEST_TAR_FORMAT
32073 TAR_OPTIONS=\"-H v7\"
32078 test -z "`sort < /dev/null 2>&1`" || exit 77
32092 tar tf arc | sort || exit 1
32094 echo update02.at:29 >"$at_check_line_file"
32096 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32102 export TEST_TAR_FORMAT
32103 TAR_OPTIONS="-H v7"
32108 test -z "`sort < /dev/null 2>&1`" || exit 77
32122 tar tf arc | sort || exit 1
32123 ) ) >"$at_stdout" 2>"$at_stder1"
32124 at_func_filter_trace $?
32130 export TEST_TAR_FORMAT
32131 TAR_OPTIONS="-H v7"
32136 test -z "`sort < /dev/null 2>&1`" || exit 77
32150 tar tf arc | sort || exit 1
32151 ) ) >"$at_stdout" 2>"$at_stderr"
32155 at_func_diff_devnull "$at_stderr" || at_failed=:
32156 echo >>"$at_stdout"; $as_echo "separator
32163 $at_diff - "$at_stdout" || at_failed=:
32164 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
32166 $at_failed && at_func_log_failure
32170 $as_echo "$at_srcdir/update02.at:29:
32173 TEST_TAR_FORMAT=oldgnu
32174 export TEST_TAR_FORMAT
32175 TAR_OPTIONS=\"-H oldgnu\"
32180 test -z "`sort < /dev/null 2>&1`" || exit 77
32194 tar tf arc | sort || exit 1
32196 echo update02.at:29 >"$at_check_line_file"
32198 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32203 TEST_TAR_FORMAT=oldgnu
32204 export TEST_TAR_FORMAT
32205 TAR_OPTIONS="-H oldgnu"
32210 test -z "`sort < /dev/null 2>&1`" || exit 77
32224 tar tf arc | sort || exit 1
32225 ) ) >"$at_stdout" 2>"$at_stder1"
32226 at_func_filter_trace $?
32231 TEST_TAR_FORMAT=oldgnu
32232 export TEST_TAR_FORMAT
32233 TAR_OPTIONS="-H oldgnu"
32238 test -z "`sort < /dev/null 2>&1`" || exit 77
32252 tar tf arc | sort || exit 1
32253 ) ) >"$at_stdout" 2>"$at_stderr"
32257 at_func_diff_devnull "$at_stderr" || at_failed=:
32258 echo >>"$at_stdout"; $as_echo "separator
32265 $at_diff - "$at_stdout" || at_failed=:
32266 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
32268 $at_failed && at_func_log_failure
32272 $as_echo "$at_srcdir/update02.at:29:
32275 TEST_TAR_FORMAT=ustar
32276 export TEST_TAR_FORMAT
32277 TAR_OPTIONS=\"-H ustar\"
32282 test -z "`sort < /dev/null 2>&1`" || exit 77
32296 tar tf arc | sort || exit 1
32298 echo update02.at:29 >"$at_check_line_file"
32300 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32305 TEST_TAR_FORMAT=ustar
32306 export TEST_TAR_FORMAT
32307 TAR_OPTIONS="-H ustar"
32312 test -z "`sort < /dev/null 2>&1`" || exit 77
32326 tar tf arc | sort || exit 1
32327 ) ) >"$at_stdout" 2>"$at_stder1"
32328 at_func_filter_trace $?
32333 TEST_TAR_FORMAT=ustar
32334 export TEST_TAR_FORMAT
32335 TAR_OPTIONS="-H ustar"
32340 test -z "`sort < /dev/null 2>&1`" || exit 77
32354 tar tf arc | sort || exit 1
32355 ) ) >"$at_stdout" 2>"$at_stderr"
32359 at_func_diff_devnull "$at_stderr" || at_failed=:
32360 echo >>"$at_stdout"; $as_echo "separator
32367 $at_diff - "$at_stdout" || at_failed=:
32368 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
32370 $at_failed && at_func_log_failure
32374 $as_echo "$at_srcdir/update02.at:29:
32377 TEST_TAR_FORMAT=posix
32378 export TEST_TAR_FORMAT
32379 TAR_OPTIONS=\"-H posix\"
32384 test -z "`sort < /dev/null 2>&1`" || exit 77
32398 tar tf arc | sort || exit 1
32400 echo update02.at:29 >"$at_check_line_file"
32402 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32407 TEST_TAR_FORMAT=posix
32408 export TEST_TAR_FORMAT
32409 TAR_OPTIONS="-H posix"
32414 test -z "`sort < /dev/null 2>&1`" || exit 77
32428 tar tf arc | sort || exit 1
32429 ) ) >"$at_stdout" 2>"$at_stder1"
32430 at_func_filter_trace $?
32435 TEST_TAR_FORMAT=posix
32436 export TEST_TAR_FORMAT
32437 TAR_OPTIONS="-H posix"
32442 test -z "`sort < /dev/null 2>&1`" || exit 77
32456 tar tf arc | sort || exit 1
32457 ) ) >"$at_stdout" 2>"$at_stderr"
32461 at_func_diff_devnull "$at_stderr" || at_failed=:
32462 echo >>"$at_stdout"; $as_echo "separator
32469 $at_diff - "$at_stdout" || at_failed=:
32470 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
32472 $at_failed && at_func_log_failure
32476 $as_echo "$at_srcdir/update02.at:29:
32479 TEST_TAR_FORMAT=gnu
32480 export TEST_TAR_FORMAT
32481 TAR_OPTIONS=\"-H gnu\"
32486 test -z "`sort < /dev/null 2>&1`" || exit 77
32500 tar tf arc | sort || exit 1
32502 echo update02.at:29 >"$at_check_line_file"
32504 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32509 TEST_TAR_FORMAT=gnu
32510 export TEST_TAR_FORMAT
32511 TAR_OPTIONS="-H gnu"
32516 test -z "`sort < /dev/null 2>&1`" || exit 77
32530 tar tf arc | sort || exit 1
32531 ) ) >"$at_stdout" 2>"$at_stder1"
32532 at_func_filter_trace $?
32537 TEST_TAR_FORMAT=gnu
32538 export TEST_TAR_FORMAT
32539 TAR_OPTIONS="-H gnu"
32544 test -z "`sort < /dev/null 2>&1`" || exit 77
32558 tar tf arc | sort || exit 1
32559 ) ) >"$at_stdout" 2>"$at_stderr"
32563 at_func_diff_devnull "$at_stderr" || at_failed=:
32564 echo >>"$at_stdout"; $as_echo "separator
32571 $at_diff - "$at_stdout" || at_failed=:
32572 at_func_check_status 0 $at_status "$at_srcdir/update02.at:29"
32574 $at_failed && at_func_log_failure
32581 $at_times_p && times >"$at_times_file"
32582 ) 5>&1 2>&1 | eval $at_tee_pipe
32583 at_status=`cat "$at_status_file"`
32586 # 84. volume.at:23: volume
32587 at_setup_line='volume.at:23'
32589 $at_quiet $as_echo_n " 84: $at_desc "
32591 test -f $XFAILFILE && at_xfail=yes
32592 echo "# -*- compilation -*-" >> "$at_group_log"
32594 $as_echo "84. volume.at:23: testing ..."
32602 $as_echo "$at_srcdir/volume.at:26:
32605 TEST_TAR_FORMAT=gnu
32606 export TEST_TAR_FORMAT
32607 TAR_OPTIONS=\"-H gnu\"
32611 tar -cf archive -V label -T /dev/null || exit 1
32613 tar xfV archive label || exit 1
32614 tar xfV archive 'la?el' || exit 1
32615 tar xfV archive 'l*l' || exit 1
32618 tar xfV archive lab
32619 test \$? = 2 || exit 1
32621 tar xfV archive bel
32622 test \$? = 2 || exit 1
32624 tar xfV archive babel
32627 echo volume.at:26 >"$at_check_line_file"
32629 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32634 TEST_TAR_FORMAT=gnu
32635 export TEST_TAR_FORMAT
32636 TAR_OPTIONS="-H gnu"
32640 tar -cf archive -V label -T /dev/null || exit 1
32642 tar xfV archive label || exit 1
32643 tar xfV archive 'la?el' || exit 1
32644 tar xfV archive 'l*l' || exit 1
32647 tar xfV archive lab
32648 test $? = 2 || exit 1
32650 tar xfV archive bel
32651 test $? = 2 || exit 1
32653 tar xfV archive babel
32655 ) ) >"$at_stdout" 2>"$at_stder1"
32656 at_func_filter_trace $?
32661 TEST_TAR_FORMAT=gnu
32662 export TEST_TAR_FORMAT
32663 TAR_OPTIONS="-H gnu"
32667 tar -cf archive -V label -T /dev/null || exit 1
32669 tar xfV archive label || exit 1
32670 tar xfV archive 'la?el' || exit 1
32671 tar xfV archive 'l*l' || exit 1
32674 tar xfV archive lab
32675 test $? = 2 || exit 1
32677 tar xfV archive bel
32678 test $? = 2 || exit 1
32680 tar xfV archive babel
32682 ) ) >"$at_stdout" 2>"$at_stderr"
32686 echo >>"$at_stderr"; $as_echo "-----
32687 tar: Volume \`label' does not match \`lab'
32688 tar: Error is not recoverable: exiting now
32690 tar: Volume \`label' does not match \`bel'
32691 tar: Error is not recoverable: exiting now
32693 tar: Volume \`label' does not match \`babel'
32694 tar: Error is not recoverable: exiting now
32696 $at_diff - "$at_stderr" || at_failed=:
32697 at_func_diff_devnull "$at_stdout" || at_failed=:
32698 at_func_check_status 0 $at_status "$at_srcdir/volume.at:26"
32700 $at_failed && at_func_log_failure
32704 $as_echo "$at_srcdir/volume.at:26:
32707 TEST_TAR_FORMAT=oldgnu
32708 export TEST_TAR_FORMAT
32709 TAR_OPTIONS=\"-H oldgnu\"
32713 tar -cf archive -V label -T /dev/null || exit 1
32715 tar xfV archive label || exit 1
32716 tar xfV archive 'la?el' || exit 1
32717 tar xfV archive 'l*l' || exit 1
32720 tar xfV archive lab
32721 test \$? = 2 || exit 1
32723 tar xfV archive bel
32724 test \$? = 2 || exit 1
32726 tar xfV archive babel
32729 echo volume.at:26 >"$at_check_line_file"
32731 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32736 TEST_TAR_FORMAT=oldgnu
32737 export TEST_TAR_FORMAT
32738 TAR_OPTIONS="-H oldgnu"
32742 tar -cf archive -V label -T /dev/null || exit 1
32744 tar xfV archive label || exit 1
32745 tar xfV archive 'la?el' || exit 1
32746 tar xfV archive 'l*l' || exit 1
32749 tar xfV archive lab
32750 test $? = 2 || exit 1
32752 tar xfV archive bel
32753 test $? = 2 || exit 1
32755 tar xfV archive babel
32757 ) ) >"$at_stdout" 2>"$at_stder1"
32758 at_func_filter_trace $?
32763 TEST_TAR_FORMAT=oldgnu
32764 export TEST_TAR_FORMAT
32765 TAR_OPTIONS="-H oldgnu"
32769 tar -cf archive -V label -T /dev/null || exit 1
32771 tar xfV archive label || exit 1
32772 tar xfV archive 'la?el' || exit 1
32773 tar xfV archive 'l*l' || exit 1
32776 tar xfV archive lab
32777 test $? = 2 || exit 1
32779 tar xfV archive bel
32780 test $? = 2 || exit 1
32782 tar xfV archive babel
32784 ) ) >"$at_stdout" 2>"$at_stderr"
32788 echo >>"$at_stderr"; $as_echo "-----
32789 tar: Volume \`label' does not match \`lab'
32790 tar: Error is not recoverable: exiting now
32792 tar: Volume \`label' does not match \`bel'
32793 tar: Error is not recoverable: exiting now
32795 tar: Volume \`label' does not match \`babel'
32796 tar: Error is not recoverable: exiting now
32798 $at_diff - "$at_stderr" || at_failed=:
32799 at_func_diff_devnull "$at_stdout" || at_failed=:
32800 at_func_check_status 0 $at_status "$at_srcdir/volume.at:26"
32802 $at_failed && at_func_log_failure
32809 $at_times_p && times >"$at_times_file"
32810 ) 5>&1 2>&1 | eval $at_tee_pipe
32811 at_status=`cat "$at_status_file"`
32814 # 85. volsize.at:29: volume header size
32815 at_setup_line='volsize.at:29'
32816 at_desc="volume header size"
32817 $at_quiet $as_echo_n " 85: $at_desc "
32819 test -f $XFAILFILE && at_xfail=yes
32820 echo "# -*- compilation -*-" >> "$at_group_log"
32822 $as_echo "85. volsize.at:29: testing ..."
32830 $as_echo "$at_srcdir/volsize.at:32:
32834 export TEST_TAR_FORMAT
32835 TAR_OPTIONS=\"-H v7\"
32840 test -z "`sort < /dev/null 2>&1`" || exit 77
32843 test -z "$TEST_DATA_DIR" && exit 77
32844 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
32847 tar tf \$TEST_DATA_DIR/abc.tar
32848 echo Verbose Listing
32849 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
32850 echo Extracted directory
32851 tar xf \$TEST_DATA_DIR/abc.tar
32854 echo volsize.at:32 >"$at_check_line_file"
32856 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32862 export TEST_TAR_FORMAT
32863 TAR_OPTIONS="-H v7"
32868 test -z "`sort < /dev/null 2>&1`" || exit 77
32871 test -z "$TEST_DATA_DIR" && exit 77
32872 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
32875 tar tf $TEST_DATA_DIR/abc.tar
32876 echo Verbose Listing
32877 tar --utc -tvf $TEST_DATA_DIR/abc.tar
32878 echo Extracted directory
32879 tar xf $TEST_DATA_DIR/abc.tar
32881 ) ) >"$at_stdout" 2>"$at_stder1"
32882 at_func_filter_trace $?
32888 export TEST_TAR_FORMAT
32889 TAR_OPTIONS="-H v7"
32894 test -z "`sort < /dev/null 2>&1`" || exit 77
32897 test -z "$TEST_DATA_DIR" && exit 77
32898 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
32901 tar tf $TEST_DATA_DIR/abc.tar
32902 echo Verbose Listing
32903 tar --utc -tvf $TEST_DATA_DIR/abc.tar
32904 echo Extracted directory
32905 tar xf $TEST_DATA_DIR/abc.tar
32907 ) ) >"$at_stdout" 2>"$at_stderr"
32911 at_func_diff_devnull "$at_stderr" || at_failed=:
32912 echo >>"$at_stdout"; $as_echo "Short Listing
32916 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
32917 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
32918 Extracted directory
32922 $at_diff - "$at_stdout" || at_failed=:
32923 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
32925 $at_failed && at_func_log_failure
32929 $as_echo "$at_srcdir/volsize.at:32:
32932 TEST_TAR_FORMAT=oldgnu
32933 export TEST_TAR_FORMAT
32934 TAR_OPTIONS=\"-H oldgnu\"
32939 test -z "`sort < /dev/null 2>&1`" || exit 77
32942 test -z "$TEST_DATA_DIR" && exit 77
32943 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
32946 tar tf \$TEST_DATA_DIR/abc.tar
32947 echo Verbose Listing
32948 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
32949 echo Extracted directory
32950 tar xf \$TEST_DATA_DIR/abc.tar
32953 echo volsize.at:32 >"$at_check_line_file"
32955 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
32960 TEST_TAR_FORMAT=oldgnu
32961 export TEST_TAR_FORMAT
32962 TAR_OPTIONS="-H oldgnu"
32967 test -z "`sort < /dev/null 2>&1`" || exit 77
32970 test -z "$TEST_DATA_DIR" && exit 77
32971 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
32974 tar tf $TEST_DATA_DIR/abc.tar
32975 echo Verbose Listing
32976 tar --utc -tvf $TEST_DATA_DIR/abc.tar
32977 echo Extracted directory
32978 tar xf $TEST_DATA_DIR/abc.tar
32980 ) ) >"$at_stdout" 2>"$at_stder1"
32981 at_func_filter_trace $?
32986 TEST_TAR_FORMAT=oldgnu
32987 export TEST_TAR_FORMAT
32988 TAR_OPTIONS="-H oldgnu"
32993 test -z "`sort < /dev/null 2>&1`" || exit 77
32996 test -z "$TEST_DATA_DIR" && exit 77
32997 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33000 tar tf $TEST_DATA_DIR/abc.tar
33001 echo Verbose Listing
33002 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33003 echo Extracted directory
33004 tar xf $TEST_DATA_DIR/abc.tar
33006 ) ) >"$at_stdout" 2>"$at_stderr"
33010 at_func_diff_devnull "$at_stderr" || at_failed=:
33011 echo >>"$at_stdout"; $as_echo "Short Listing
33015 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
33016 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
33017 Extracted directory
33021 $at_diff - "$at_stdout" || at_failed=:
33022 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
33024 $at_failed && at_func_log_failure
33028 $as_echo "$at_srcdir/volsize.at:32:
33031 TEST_TAR_FORMAT=ustar
33032 export TEST_TAR_FORMAT
33033 TAR_OPTIONS=\"-H ustar\"
33038 test -z "`sort < /dev/null 2>&1`" || exit 77
33041 test -z "$TEST_DATA_DIR" && exit 77
33042 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33045 tar tf \$TEST_DATA_DIR/abc.tar
33046 echo Verbose Listing
33047 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
33048 echo Extracted directory
33049 tar xf \$TEST_DATA_DIR/abc.tar
33052 echo volsize.at:32 >"$at_check_line_file"
33054 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33059 TEST_TAR_FORMAT=ustar
33060 export TEST_TAR_FORMAT
33061 TAR_OPTIONS="-H ustar"
33066 test -z "`sort < /dev/null 2>&1`" || exit 77
33069 test -z "$TEST_DATA_DIR" && exit 77
33070 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33073 tar tf $TEST_DATA_DIR/abc.tar
33074 echo Verbose Listing
33075 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33076 echo Extracted directory
33077 tar xf $TEST_DATA_DIR/abc.tar
33079 ) ) >"$at_stdout" 2>"$at_stder1"
33080 at_func_filter_trace $?
33085 TEST_TAR_FORMAT=ustar
33086 export TEST_TAR_FORMAT
33087 TAR_OPTIONS="-H ustar"
33092 test -z "`sort < /dev/null 2>&1`" || exit 77
33095 test -z "$TEST_DATA_DIR" && exit 77
33096 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33099 tar tf $TEST_DATA_DIR/abc.tar
33100 echo Verbose Listing
33101 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33102 echo Extracted directory
33103 tar xf $TEST_DATA_DIR/abc.tar
33105 ) ) >"$at_stdout" 2>"$at_stderr"
33109 at_func_diff_devnull "$at_stderr" || at_failed=:
33110 echo >>"$at_stdout"; $as_echo "Short Listing
33114 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
33115 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
33116 Extracted directory
33120 $at_diff - "$at_stdout" || at_failed=:
33121 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
33123 $at_failed && at_func_log_failure
33127 $as_echo "$at_srcdir/volsize.at:32:
33130 TEST_TAR_FORMAT=posix
33131 export TEST_TAR_FORMAT
33132 TAR_OPTIONS=\"-H posix\"
33137 test -z "`sort < /dev/null 2>&1`" || exit 77
33140 test -z "$TEST_DATA_DIR" && exit 77
33141 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33144 tar tf \$TEST_DATA_DIR/abc.tar
33145 echo Verbose Listing
33146 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
33147 echo Extracted directory
33148 tar xf \$TEST_DATA_DIR/abc.tar
33151 echo volsize.at:32 >"$at_check_line_file"
33153 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33158 TEST_TAR_FORMAT=posix
33159 export TEST_TAR_FORMAT
33160 TAR_OPTIONS="-H posix"
33165 test -z "`sort < /dev/null 2>&1`" || exit 77
33168 test -z "$TEST_DATA_DIR" && exit 77
33169 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33172 tar tf $TEST_DATA_DIR/abc.tar
33173 echo Verbose Listing
33174 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33175 echo Extracted directory
33176 tar xf $TEST_DATA_DIR/abc.tar
33178 ) ) >"$at_stdout" 2>"$at_stder1"
33179 at_func_filter_trace $?
33184 TEST_TAR_FORMAT=posix
33185 export TEST_TAR_FORMAT
33186 TAR_OPTIONS="-H posix"
33191 test -z "`sort < /dev/null 2>&1`" || exit 77
33194 test -z "$TEST_DATA_DIR" && exit 77
33195 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33198 tar tf $TEST_DATA_DIR/abc.tar
33199 echo Verbose Listing
33200 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33201 echo Extracted directory
33202 tar xf $TEST_DATA_DIR/abc.tar
33204 ) ) >"$at_stdout" 2>"$at_stderr"
33208 at_func_diff_devnull "$at_stderr" || at_failed=:
33209 echo >>"$at_stdout"; $as_echo "Short Listing
33213 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
33214 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
33215 Extracted directory
33219 $at_diff - "$at_stdout" || at_failed=:
33220 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
33222 $at_failed && at_func_log_failure
33226 $as_echo "$at_srcdir/volsize.at:32:
33229 TEST_TAR_FORMAT=gnu
33230 export TEST_TAR_FORMAT
33231 TAR_OPTIONS=\"-H gnu\"
33236 test -z "`sort < /dev/null 2>&1`" || exit 77
33239 test -z "$TEST_DATA_DIR" && exit 77
33240 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33243 tar tf \$TEST_DATA_DIR/abc.tar
33244 echo Verbose Listing
33245 tar --utc -tvf \$TEST_DATA_DIR/abc.tar
33246 echo Extracted directory
33247 tar xf \$TEST_DATA_DIR/abc.tar
33250 echo volsize.at:32 >"$at_check_line_file"
33252 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33257 TEST_TAR_FORMAT=gnu
33258 export TEST_TAR_FORMAT
33259 TAR_OPTIONS="-H gnu"
33264 test -z "`sort < /dev/null 2>&1`" || exit 77
33267 test -z "$TEST_DATA_DIR" && exit 77
33268 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33271 tar tf $TEST_DATA_DIR/abc.tar
33272 echo Verbose Listing
33273 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33274 echo Extracted directory
33275 tar xf $TEST_DATA_DIR/abc.tar
33277 ) ) >"$at_stdout" 2>"$at_stder1"
33278 at_func_filter_trace $?
33283 TEST_TAR_FORMAT=gnu
33284 export TEST_TAR_FORMAT
33285 TAR_OPTIONS="-H gnu"
33290 test -z "`sort < /dev/null 2>&1`" || exit 77
33293 test -z "$TEST_DATA_DIR" && exit 77
33294 tarball_prereq abc.tar 540f196ceddcad9e7bd2f2d7533d0474 $TEST_DATA_DIR $TEST_DATA_URL || exit 77
33297 tar tf $TEST_DATA_DIR/abc.tar
33298 echo Verbose Listing
33299 tar --utc -tvf $TEST_DATA_DIR/abc.tar
33300 echo Extracted directory
33301 tar xf $TEST_DATA_DIR/abc.tar
33303 ) ) >"$at_stdout" 2>"$at_stderr"
33307 at_func_diff_devnull "$at_stderr" || at_failed=:
33308 echo >>"$at_stdout"; $as_echo "Short Listing
33312 V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header--
33313 -rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC
33314 Extracted directory
33318 $at_diff - "$at_stdout" || at_failed=:
33319 at_func_check_status 0 $at_status "$at_srcdir/volsize.at:32"
33321 $at_failed && at_func_log_failure
33328 $at_times_p && times >"$at_times_file"
33329 ) 5>&1 2>&1 | eval $at_tee_pipe
33330 at_status=`cat "$at_status_file"`
33333 # 86. comprec.at:21: compressed format recognition
33334 at_setup_line='comprec.at:21'
33335 at_desc="compressed format recognition"
33336 $at_quiet $as_echo_n " 86: $at_desc "
33338 test -f $XFAILFILE && at_xfail=yes
33339 echo "# -*- compilation -*-" >> "$at_group_log"
33341 $as_echo "86. comprec.at:21: testing ..."
33350 $as_echo "$at_srcdir/comprec.at:25:
33354 export TEST_TAR_FORMAT
33355 TAR_OPTIONS=\"-H v7\"
33360 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33362 genfile --length 10240 --file file1
33364 tar cfz archive file1
33370 echo comprec.at:25 >"$at_check_line_file"
33372 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33378 export TEST_TAR_FORMAT
33379 TAR_OPTIONS="-H v7"
33384 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33386 genfile --length 10240 --file file1
33388 tar cfz archive file1
33393 ) ) >"$at_stdout" 2>"$at_stder1"
33394 at_func_filter_trace $?
33400 export TEST_TAR_FORMAT
33401 TAR_OPTIONS="-H v7"
33406 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33408 genfile --length 10240 --file file1
33410 tar cfz archive file1
33415 ) ) >"$at_stdout" 2>"$at_stderr"
33419 at_func_diff_devnull "$at_stderr" || at_failed=:
33420 echo >>"$at_stdout"; $as_echo "separator
33424 $at_diff - "$at_stdout" || at_failed=:
33425 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
33427 $at_failed && at_func_log_failure
33431 $as_echo "$at_srcdir/comprec.at:25:
33434 TEST_TAR_FORMAT=oldgnu
33435 export TEST_TAR_FORMAT
33436 TAR_OPTIONS=\"-H oldgnu\"
33441 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33443 genfile --length 10240 --file file1
33445 tar cfz archive file1
33451 echo comprec.at:25 >"$at_check_line_file"
33453 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33458 TEST_TAR_FORMAT=oldgnu
33459 export TEST_TAR_FORMAT
33460 TAR_OPTIONS="-H oldgnu"
33465 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33467 genfile --length 10240 --file file1
33469 tar cfz archive file1
33474 ) ) >"$at_stdout" 2>"$at_stder1"
33475 at_func_filter_trace $?
33480 TEST_TAR_FORMAT=oldgnu
33481 export TEST_TAR_FORMAT
33482 TAR_OPTIONS="-H oldgnu"
33487 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33489 genfile --length 10240 --file file1
33491 tar cfz archive file1
33496 ) ) >"$at_stdout" 2>"$at_stderr"
33500 at_func_diff_devnull "$at_stderr" || at_failed=:
33501 echo >>"$at_stdout"; $as_echo "separator
33505 $at_diff - "$at_stdout" || at_failed=:
33506 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
33508 $at_failed && at_func_log_failure
33512 $as_echo "$at_srcdir/comprec.at:25:
33515 TEST_TAR_FORMAT=ustar
33516 export TEST_TAR_FORMAT
33517 TAR_OPTIONS=\"-H ustar\"
33522 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33524 genfile --length 10240 --file file1
33526 tar cfz archive file1
33532 echo comprec.at:25 >"$at_check_line_file"
33534 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33539 TEST_TAR_FORMAT=ustar
33540 export TEST_TAR_FORMAT
33541 TAR_OPTIONS="-H ustar"
33546 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33548 genfile --length 10240 --file file1
33550 tar cfz archive file1
33555 ) ) >"$at_stdout" 2>"$at_stder1"
33556 at_func_filter_trace $?
33561 TEST_TAR_FORMAT=ustar
33562 export TEST_TAR_FORMAT
33563 TAR_OPTIONS="-H ustar"
33568 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33570 genfile --length 10240 --file file1
33572 tar cfz archive file1
33577 ) ) >"$at_stdout" 2>"$at_stderr"
33581 at_func_diff_devnull "$at_stderr" || at_failed=:
33582 echo >>"$at_stdout"; $as_echo "separator
33586 $at_diff - "$at_stdout" || at_failed=:
33587 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
33589 $at_failed && at_func_log_failure
33593 $as_echo "$at_srcdir/comprec.at:25:
33596 TEST_TAR_FORMAT=posix
33597 export TEST_TAR_FORMAT
33598 TAR_OPTIONS=\"-H posix\"
33603 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33605 genfile --length 10240 --file file1
33607 tar cfz archive file1
33613 echo comprec.at:25 >"$at_check_line_file"
33615 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33620 TEST_TAR_FORMAT=posix
33621 export TEST_TAR_FORMAT
33622 TAR_OPTIONS="-H posix"
33627 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33629 genfile --length 10240 --file file1
33631 tar cfz archive file1
33636 ) ) >"$at_stdout" 2>"$at_stder1"
33637 at_func_filter_trace $?
33642 TEST_TAR_FORMAT=posix
33643 export TEST_TAR_FORMAT
33644 TAR_OPTIONS="-H posix"
33649 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33651 genfile --length 10240 --file file1
33653 tar cfz archive file1
33658 ) ) >"$at_stdout" 2>"$at_stderr"
33662 at_func_diff_devnull "$at_stderr" || at_failed=:
33663 echo >>"$at_stdout"; $as_echo "separator
33667 $at_diff - "$at_stdout" || at_failed=:
33668 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
33670 $at_failed && at_func_log_failure
33674 $as_echo "$at_srcdir/comprec.at:25:
33677 TEST_TAR_FORMAT=gnu
33678 export TEST_TAR_FORMAT
33679 TAR_OPTIONS=\"-H gnu\"
33684 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33686 genfile --length 10240 --file file1
33688 tar cfz archive file1
33694 echo comprec.at:25 >"$at_check_line_file"
33696 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33701 TEST_TAR_FORMAT=gnu
33702 export TEST_TAR_FORMAT
33703 TAR_OPTIONS="-H gnu"
33708 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33710 genfile --length 10240 --file file1
33712 tar cfz archive file1
33717 ) ) >"$at_stdout" 2>"$at_stder1"
33718 at_func_filter_trace $?
33723 TEST_TAR_FORMAT=gnu
33724 export TEST_TAR_FORMAT
33725 TAR_OPTIONS="-H gnu"
33730 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
33732 genfile --length 10240 --file file1
33734 tar cfz archive file1
33739 ) ) >"$at_stdout" 2>"$at_stderr"
33743 at_func_diff_devnull "$at_stderr" || at_failed=:
33744 echo >>"$at_stdout"; $as_echo "separator
33748 $at_diff - "$at_stdout" || at_failed=:
33749 at_func_check_status 0 $at_status "$at_srcdir/comprec.at:25"
33751 $at_failed && at_func_log_failure
33758 $at_times_p && times >"$at_times_file"
33759 ) 5>&1 2>&1 | eval $at_tee_pipe
33760 at_status=`cat "$at_status_file"`
33763 # 87. shortfile.at:26: short input files
33764 at_setup_line='shortfile.at:26'
33765 at_desc="short input files"
33766 $at_quiet $as_echo_n " 87: $at_desc "
33768 test -f $XFAILFILE && at_xfail=yes
33769 echo "# -*- compilation -*-" >> "$at_group_log"
33771 $as_echo "87. shortfile.at:26: testing ..."
33779 $as_echo "$at_srcdir/shortfile.at:29:
33782 TEST_TAR_FORMAT=gnu
33783 export TEST_TAR_FORMAT
33784 TAR_OPTIONS=\"-H gnu\"
33788 genfile --length 511 --file foo || exit 5
33791 echo shortfile.at:29 >"$at_check_line_file"
33793 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33798 TEST_TAR_FORMAT=gnu
33799 export TEST_TAR_FORMAT
33800 TAR_OPTIONS="-H gnu"
33804 genfile --length 511 --file foo || exit 5
33806 ) ) >"$at_stdout" 2>"$at_stder1"
33807 at_func_filter_trace $?
33812 TEST_TAR_FORMAT=gnu
33813 export TEST_TAR_FORMAT
33814 TAR_OPTIONS="-H gnu"
33818 genfile --length 511 --file foo || exit 5
33820 ) ) >"$at_stdout" 2>"$at_stderr"
33824 echo >>"$at_stderr"; $as_echo "tar: This does not look like a tar archive
33825 tar: Exiting with failure status due to previous errors
33827 $at_diff - "$at_stderr" || at_failed=:
33828 at_func_diff_devnull "$at_stdout" || at_failed=:
33829 at_func_check_status 2 $at_status "$at_srcdir/shortfile.at:29"
33831 $at_failed && at_func_log_failure
33838 $at_times_p && times >"$at_times_file"
33839 ) 5>&1 2>&1 | eval $at_tee_pipe
33840 at_status=`cat "$at_status_file"`
33843 # 88. shortupd.at:29: updating short archives
33844 at_setup_line='shortupd.at:29'
33845 at_desc="updating short archives"
33846 $at_quiet $as_echo_n " 88: $at_desc "
33848 test -f $XFAILFILE && at_xfail=yes
33849 echo "# -*- compilation -*-" >> "$at_group_log"
33851 $as_echo "88. shortupd.at:29: testing ..."
33859 $as_echo "$at_srcdir/shortupd.at:32:
33863 export TEST_TAR_FORMAT
33864 TAR_OPTIONS=\"-H v7\"
33871 echo shortupd.at:32 >"$at_check_line_file"
33873 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33879 export TEST_TAR_FORMAT
33880 TAR_OPTIONS="-H v7"
33886 ) ) >"$at_stdout" 2>"$at_stder1"
33887 at_func_filter_trace $?
33893 export TEST_TAR_FORMAT
33894 TAR_OPTIONS="-H v7"
33900 ) ) >"$at_stdout" 2>"$at_stderr"
33904 at_func_diff_devnull "$at_stderr" || at_failed=:
33905 at_func_diff_devnull "$at_stdout" || at_failed=:
33906 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
33908 $at_failed && at_func_log_failure
33912 $as_echo "$at_srcdir/shortupd.at:32:
33915 TEST_TAR_FORMAT=oldgnu
33916 export TEST_TAR_FORMAT
33917 TAR_OPTIONS=\"-H oldgnu\"
33924 echo shortupd.at:32 >"$at_check_line_file"
33926 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33931 TEST_TAR_FORMAT=oldgnu
33932 export TEST_TAR_FORMAT
33933 TAR_OPTIONS="-H oldgnu"
33939 ) ) >"$at_stdout" 2>"$at_stder1"
33940 at_func_filter_trace $?
33945 TEST_TAR_FORMAT=oldgnu
33946 export TEST_TAR_FORMAT
33947 TAR_OPTIONS="-H oldgnu"
33953 ) ) >"$at_stdout" 2>"$at_stderr"
33957 at_func_diff_devnull "$at_stderr" || at_failed=:
33958 at_func_diff_devnull "$at_stdout" || at_failed=:
33959 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
33961 $at_failed && at_func_log_failure
33965 $as_echo "$at_srcdir/shortupd.at:32:
33968 TEST_TAR_FORMAT=ustar
33969 export TEST_TAR_FORMAT
33970 TAR_OPTIONS=\"-H ustar\"
33977 echo shortupd.at:32 >"$at_check_line_file"
33979 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
33984 TEST_TAR_FORMAT=ustar
33985 export TEST_TAR_FORMAT
33986 TAR_OPTIONS="-H ustar"
33992 ) ) >"$at_stdout" 2>"$at_stder1"
33993 at_func_filter_trace $?
33998 TEST_TAR_FORMAT=ustar
33999 export TEST_TAR_FORMAT
34000 TAR_OPTIONS="-H ustar"
34006 ) ) >"$at_stdout" 2>"$at_stderr"
34010 at_func_diff_devnull "$at_stderr" || at_failed=:
34011 at_func_diff_devnull "$at_stdout" || at_failed=:
34012 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
34014 $at_failed && at_func_log_failure
34018 $as_echo "$at_srcdir/shortupd.at:32:
34021 TEST_TAR_FORMAT=posix
34022 export TEST_TAR_FORMAT
34023 TAR_OPTIONS=\"-H posix\"
34030 echo shortupd.at:32 >"$at_check_line_file"
34032 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34037 TEST_TAR_FORMAT=posix
34038 export TEST_TAR_FORMAT
34039 TAR_OPTIONS="-H posix"
34045 ) ) >"$at_stdout" 2>"$at_stder1"
34046 at_func_filter_trace $?
34051 TEST_TAR_FORMAT=posix
34052 export TEST_TAR_FORMAT
34053 TAR_OPTIONS="-H posix"
34059 ) ) >"$at_stdout" 2>"$at_stderr"
34063 at_func_diff_devnull "$at_stderr" || at_failed=:
34064 at_func_diff_devnull "$at_stdout" || at_failed=:
34065 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
34067 $at_failed && at_func_log_failure
34071 $as_echo "$at_srcdir/shortupd.at:32:
34074 TEST_TAR_FORMAT=gnu
34075 export TEST_TAR_FORMAT
34076 TAR_OPTIONS=\"-H gnu\"
34083 echo shortupd.at:32 >"$at_check_line_file"
34085 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34090 TEST_TAR_FORMAT=gnu
34091 export TEST_TAR_FORMAT
34092 TAR_OPTIONS="-H gnu"
34098 ) ) >"$at_stdout" 2>"$at_stder1"
34099 at_func_filter_trace $?
34104 TEST_TAR_FORMAT=gnu
34105 export TEST_TAR_FORMAT
34106 TAR_OPTIONS="-H gnu"
34112 ) ) >"$at_stdout" 2>"$at_stderr"
34116 at_func_diff_devnull "$at_stderr" || at_failed=:
34117 at_func_diff_devnull "$at_stdout" || at_failed=:
34118 at_func_check_status 0 $at_status "$at_srcdir/shortupd.at:32"
34120 $at_failed && at_func_log_failure
34127 $at_times_p && times >"$at_times_file"
34128 ) 5>&1 2>&1 | eval $at_tee_pipe
34129 at_status=`cat "$at_status_file"`
34132 # 89. truncate.at:29: truncate
34133 at_setup_line='truncate.at:29'
34135 $at_quiet $as_echo_n " 89: $at_desc "
34137 test -f $XFAILFILE && at_xfail=yes
34138 echo "# -*- compilation -*-" >> "$at_group_log"
34140 $as_echo "89. truncate.at:29: testing ..."
34148 $as_echo "$at_srcdir/truncate.at:32:
34152 export TEST_TAR_FORMAT
34153 TAR_OPTIONS=\"-H v7\"
34157 genfile --file foo --length 50000k
34159 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34160 echo Exit status: \$?
34163 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34165 echo truncate.at:32 >"$at_check_line_file"
34167 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34173 export TEST_TAR_FORMAT
34174 TAR_OPTIONS="-H v7"
34178 genfile --file foo --length 50000k
34180 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34181 echo Exit status: $?
34184 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34185 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
34186 at_func_filter_trace $?
34192 export TEST_TAR_FORMAT
34193 TAR_OPTIONS="-H v7"
34197 genfile --file foo --length 50000k
34199 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34200 echo Exit status: $?
34203 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34204 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
34208 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
34210 $at_diff - "$at_stderr" || at_failed=:
34211 echo >>"$at_stdout"; $as_echo "foo
34216 foo: Mod time differs
34219 $at_diff - "$at_stdout" || at_failed=:
34220 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
34222 $at_failed && at_func_log_failure
34226 $as_echo "$at_srcdir/truncate.at:32:
34229 TEST_TAR_FORMAT=oldgnu
34230 export TEST_TAR_FORMAT
34231 TAR_OPTIONS=\"-H oldgnu\"
34235 genfile --file foo --length 50000k
34237 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34238 echo Exit status: \$?
34241 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34243 echo truncate.at:32 >"$at_check_line_file"
34245 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34250 TEST_TAR_FORMAT=oldgnu
34251 export TEST_TAR_FORMAT
34252 TAR_OPTIONS="-H oldgnu"
34256 genfile --file foo --length 50000k
34258 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34259 echo Exit status: $?
34262 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34263 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
34264 at_func_filter_trace $?
34269 TEST_TAR_FORMAT=oldgnu
34270 export TEST_TAR_FORMAT
34271 TAR_OPTIONS="-H oldgnu"
34275 genfile --file foo --length 50000k
34277 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34278 echo Exit status: $?
34281 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34282 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
34286 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
34288 $at_diff - "$at_stderr" || at_failed=:
34289 echo >>"$at_stdout"; $as_echo "foo
34294 foo: Mod time differs
34297 $at_diff - "$at_stdout" || at_failed=:
34298 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
34300 $at_failed && at_func_log_failure
34304 $as_echo "$at_srcdir/truncate.at:32:
34307 TEST_TAR_FORMAT=ustar
34308 export TEST_TAR_FORMAT
34309 TAR_OPTIONS=\"-H ustar\"
34313 genfile --file foo --length 50000k
34315 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34316 echo Exit status: \$?
34319 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34321 echo truncate.at:32 >"$at_check_line_file"
34323 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34328 TEST_TAR_FORMAT=ustar
34329 export TEST_TAR_FORMAT
34330 TAR_OPTIONS="-H ustar"
34334 genfile --file foo --length 50000k
34336 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34337 echo Exit status: $?
34340 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34341 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
34342 at_func_filter_trace $?
34347 TEST_TAR_FORMAT=ustar
34348 export TEST_TAR_FORMAT
34349 TAR_OPTIONS="-H ustar"
34353 genfile --file foo --length 50000k
34355 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34356 echo Exit status: $?
34359 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34360 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
34364 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
34366 $at_diff - "$at_stderr" || at_failed=:
34367 echo >>"$at_stdout"; $as_echo "foo
34372 foo: Mod time differs
34375 $at_diff - "$at_stdout" || at_failed=:
34376 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
34378 $at_failed && at_func_log_failure
34382 $as_echo "$at_srcdir/truncate.at:32:
34385 TEST_TAR_FORMAT=posix
34386 export TEST_TAR_FORMAT
34387 TAR_OPTIONS=\"-H posix\"
34391 genfile --file foo --length 50000k
34393 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34394 echo Exit status: \$?
34397 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34399 echo truncate.at:32 >"$at_check_line_file"
34401 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34406 TEST_TAR_FORMAT=posix
34407 export TEST_TAR_FORMAT
34408 TAR_OPTIONS="-H posix"
34412 genfile --file foo --length 50000k
34414 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34415 echo Exit status: $?
34418 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34419 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
34420 at_func_filter_trace $?
34425 TEST_TAR_FORMAT=posix
34426 export TEST_TAR_FORMAT
34427 TAR_OPTIONS="-H posix"
34431 genfile --file foo --length 50000k
34433 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34434 echo Exit status: $?
34437 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34438 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
34442 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
34444 $at_diff - "$at_stderr" || at_failed=:
34445 echo >>"$at_stdout"; $as_echo "foo
34450 foo: Mod time differs
34453 $at_diff - "$at_stdout" || at_failed=:
34454 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
34456 $at_failed && at_func_log_failure
34460 $as_echo "$at_srcdir/truncate.at:32:
34463 TEST_TAR_FORMAT=gnu
34464 export TEST_TAR_FORMAT
34465 TAR_OPTIONS=\"-H gnu\"
34469 genfile --file foo --length 50000k
34471 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34472 echo Exit status: \$?
34475 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34477 echo truncate.at:32 >"$at_check_line_file"
34479 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34484 TEST_TAR_FORMAT=gnu
34485 export TEST_TAR_FORMAT
34486 TAR_OPTIONS="-H gnu"
34490 genfile --file foo --length 50000k
34492 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34493 echo Exit status: $?
34496 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34497 tar dvf bar) ) >"$at_stdout" 2>"$at_stder1"
34498 at_func_filter_trace $?
34503 TEST_TAR_FORMAT=gnu
34504 export TEST_TAR_FORMAT
34505 TAR_OPTIONS="-H gnu"
34509 genfile --file foo --length 50000k
34511 genfile --run --checkpoint 10 --length 49995k --truncate foo -- tar --checkpoint -vcf bar foo baz
34512 echo Exit status: $?
34515 genfile --file foo --seek 49995k --length 5k --pattern=zeros
34516 tar dvf bar) ) >"$at_stdout" 2>"$at_stderr"
34520 echo >>"$at_stderr"; $as_echo "tar: foo: File shrank by 5120 bytes; padding with zeros
34522 $at_diff - "$at_stderr" || at_failed=:
34523 echo >>"$at_stdout"; $as_echo "foo
34528 foo: Mod time differs
34531 $at_diff - "$at_stdout" || at_failed=:
34532 at_func_check_status 1 $at_status "$at_srcdir/truncate.at:32"
34534 $at_failed && at_func_log_failure
34541 $at_times_p && times >"$at_times_file"
34542 ) 5>&1 2>&1 | eval $at_tee_pipe
34543 at_status=`cat "$at_status_file"`
34546 # 90. grow.at:24: grow
34547 at_setup_line='grow.at:24'
34549 $at_quiet $as_echo_n " 90: $at_desc "
34551 test -f $XFAILFILE && at_xfail=yes
34552 echo "# -*- compilation -*-" >> "$at_group_log"
34554 $as_echo "90. grow.at:24: testing ..."
34562 $as_echo "$at_srcdir/grow.at:27:
34566 export TEST_TAR_FORMAT
34567 TAR_OPTIONS=\"-H v7\"
34571 genfile --file foo --length 50000k
34573 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34575 echo grow.at:27 >"$at_check_line_file"
34577 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34583 export TEST_TAR_FORMAT
34584 TAR_OPTIONS="-H v7"
34588 genfile --file foo --length 50000k
34590 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34591 ) ) >"$at_stdout" 2>"$at_stder1"
34592 at_func_filter_trace $?
34598 export TEST_TAR_FORMAT
34599 TAR_OPTIONS="-H v7"
34603 genfile --file foo --length 50000k
34605 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34606 ) ) >"$at_stdout" 2>"$at_stderr"
34610 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
34612 $at_diff - "$at_stderr" || at_failed=:
34613 echo >>"$at_stdout"; $as_echo "foo
34616 $at_diff - "$at_stdout" || at_failed=:
34617 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
34619 $at_failed && at_func_log_failure
34623 $as_echo "$at_srcdir/grow.at:27:
34626 TEST_TAR_FORMAT=oldgnu
34627 export TEST_TAR_FORMAT
34628 TAR_OPTIONS=\"-H oldgnu\"
34632 genfile --file foo --length 50000k
34634 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34636 echo grow.at:27 >"$at_check_line_file"
34638 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34643 TEST_TAR_FORMAT=oldgnu
34644 export TEST_TAR_FORMAT
34645 TAR_OPTIONS="-H oldgnu"
34649 genfile --file foo --length 50000k
34651 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34652 ) ) >"$at_stdout" 2>"$at_stder1"
34653 at_func_filter_trace $?
34658 TEST_TAR_FORMAT=oldgnu
34659 export TEST_TAR_FORMAT
34660 TAR_OPTIONS="-H oldgnu"
34664 genfile --file foo --length 50000k
34666 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34667 ) ) >"$at_stdout" 2>"$at_stderr"
34671 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
34673 $at_diff - "$at_stderr" || at_failed=:
34674 echo >>"$at_stdout"; $as_echo "foo
34677 $at_diff - "$at_stdout" || at_failed=:
34678 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
34680 $at_failed && at_func_log_failure
34684 $as_echo "$at_srcdir/grow.at:27:
34687 TEST_TAR_FORMAT=ustar
34688 export TEST_TAR_FORMAT
34689 TAR_OPTIONS=\"-H ustar\"
34693 genfile --file foo --length 50000k
34695 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34697 echo grow.at:27 >"$at_check_line_file"
34699 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34704 TEST_TAR_FORMAT=ustar
34705 export TEST_TAR_FORMAT
34706 TAR_OPTIONS="-H ustar"
34710 genfile --file foo --length 50000k
34712 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34713 ) ) >"$at_stdout" 2>"$at_stder1"
34714 at_func_filter_trace $?
34719 TEST_TAR_FORMAT=ustar
34720 export TEST_TAR_FORMAT
34721 TAR_OPTIONS="-H ustar"
34725 genfile --file foo --length 50000k
34727 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34728 ) ) >"$at_stdout" 2>"$at_stderr"
34732 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
34734 $at_diff - "$at_stderr" || at_failed=:
34735 echo >>"$at_stdout"; $as_echo "foo
34738 $at_diff - "$at_stdout" || at_failed=:
34739 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
34741 $at_failed && at_func_log_failure
34745 $as_echo "$at_srcdir/grow.at:27:
34748 TEST_TAR_FORMAT=posix
34749 export TEST_TAR_FORMAT
34750 TAR_OPTIONS=\"-H posix\"
34754 genfile --file foo --length 50000k
34756 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34758 echo grow.at:27 >"$at_check_line_file"
34760 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34765 TEST_TAR_FORMAT=posix
34766 export TEST_TAR_FORMAT
34767 TAR_OPTIONS="-H posix"
34771 genfile --file foo --length 50000k
34773 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34774 ) ) >"$at_stdout" 2>"$at_stder1"
34775 at_func_filter_trace $?
34780 TEST_TAR_FORMAT=posix
34781 export TEST_TAR_FORMAT
34782 TAR_OPTIONS="-H posix"
34786 genfile --file foo --length 50000k
34788 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34789 ) ) >"$at_stdout" 2>"$at_stderr"
34793 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
34795 $at_diff - "$at_stderr" || at_failed=:
34796 echo >>"$at_stdout"; $as_echo "foo
34799 $at_diff - "$at_stdout" || at_failed=:
34800 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
34802 $at_failed && at_func_log_failure
34806 $as_echo "$at_srcdir/grow.at:27:
34809 TEST_TAR_FORMAT=gnu
34810 export TEST_TAR_FORMAT
34811 TAR_OPTIONS=\"-H gnu\"
34815 genfile --file foo --length 50000k
34817 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34819 echo grow.at:27 >"$at_check_line_file"
34821 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34826 TEST_TAR_FORMAT=gnu
34827 export TEST_TAR_FORMAT
34828 TAR_OPTIONS="-H gnu"
34832 genfile --file foo --length 50000k
34834 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34835 ) ) >"$at_stdout" 2>"$at_stder1"
34836 at_func_filter_trace $?
34841 TEST_TAR_FORMAT=gnu
34842 export TEST_TAR_FORMAT
34843 TAR_OPTIONS="-H gnu"
34847 genfile --file foo --length 50000k
34849 genfile --run --checkpoint 10 --length 1024 --append foo -- tar --checkpoint -vcf bar foo baz
34850 ) ) >"$at_stdout" 2>"$at_stderr"
34854 echo >>"$at_stderr"; $as_echo "tar: foo: file changed as we read it
34856 $at_diff - "$at_stderr" || at_failed=:
34857 echo >>"$at_stdout"; $as_echo "foo
34860 $at_diff - "$at_stdout" || at_failed=:
34861 at_func_check_status 1 $at_status "$at_srcdir/grow.at:27"
34863 $at_failed && at_func_log_failure
34870 $at_times_p && times >"$at_times_file"
34871 ) 5>&1 2>&1 | eval $at_tee_pipe
34872 at_status=`cat "$at_status_file"`
34875 # 91. remfiles01.at:28: remove-files with compression
34876 at_setup_line='remfiles01.at:28'
34877 at_desc="remove-files with compression"
34878 $at_quiet $as_echo_n " 91: $at_desc "
34880 echo "# -*- compilation -*-" >> "$at_group_log"
34882 $as_echo "91. remfiles01.at:28: testing ..."
34889 $as_echo "$at_srcdir/remfiles01.at:32:
34891 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
34894 test -z "`sort < /dev/null 2>&1`" || exit 77
34899 genfile --file a --length 0
34904 # Depending on when the SIGPIPE gets delivered, the invocation below
34905 # may finish with either
34906 # tar: a: Cannot write: Broken pipe
34908 # tar: Child returned status 2
34910 tar -c -f a -z --remove-files b c 2>err
34912 sed -n '/(child)/p' err >&2
34917 echo remfiles01.at:32 >"$at_check_line_file"
34919 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
34923 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
34926 test -z "`sort < /dev/null 2>&1`" || exit 77
34931 genfile --file a --length 0
34936 # Depending on when the SIGPIPE gets delivered, the invocation below
34937 # may finish with either
34938 # tar: a: Cannot write: Broken pipe
34940 # tar: Child returned status 2
34942 tar -c -f a -z --remove-files b c 2>err
34944 sed -n '/(child)/p' err >&2
34948 ) >"$at_stdout" 2>"$at_stder1"
34949 at_func_filter_trace $?
34953 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
34956 test -z "`sort < /dev/null 2>&1`" || exit 77
34961 genfile --file a --length 0
34966 # Depending on when the SIGPIPE gets delivered, the invocation below
34967 # may finish with either
34968 # tar: a: Cannot write: Broken pipe
34970 # tar: Child returned status 2
34972 tar -c -f a -z --remove-files b c 2>err
34974 sed -n '/(child)/p' err >&2
34978 ) >"$at_stdout" 2>"$at_stderr"
34982 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Permission denied
34983 tar (child): Error is not recoverable: exiting now
34985 $at_diff - "$at_stderr" || at_failed=:
34986 echo >>"$at_stdout"; $as_echo ".
34991 $at_diff - "$at_stdout" || at_failed=:
34992 at_func_check_status 2 $at_status "$at_srcdir/remfiles01.at:32"
34994 $at_failed && at_func_log_failure
34999 $at_times_p && times >"$at_times_file"
35000 ) 5>&1 2>&1 | eval $at_tee_pipe
35001 at_status=`cat "$at_status_file"`
35004 # 92. remfiles02.at:28: remove-files with compression: grand-child
35005 at_setup_line='remfiles02.at:28'
35006 at_desc="remove-files with compression: grand-child"
35007 $at_quiet $as_echo_n " 92: $at_desc "
35009 echo "# -*- compilation -*-" >> "$at_group_log"
35011 $as_echo "92. remfiles02.at:28: testing ..."
35018 $as_echo "$at_srcdir/remfiles02.at:32:
35020 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35023 test -z "`sort < /dev/null 2>&1`" || exit 77
35032 tar -c -f a -z --remove-files b c 2>err
35034 sed -n '/(child)/p' err >&2
35039 echo remfiles02.at:32 >"$at_check_line_file"
35041 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35045 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35048 test -z "`sort < /dev/null 2>&1`" || exit 77
35057 tar -c -f a -z --remove-files b c 2>err
35059 sed -n '/(child)/p' err >&2
35063 ) >"$at_stdout" 2>"$at_stder1"
35064 at_func_filter_trace $?
35068 cat /dev/null | gzip - > /dev/null 2>&1 || exit 77
35071 test -z "`sort < /dev/null 2>&1`" || exit 77
35080 tar -c -f a -z --remove-files b c 2>err
35082 sed -n '/(child)/p' err >&2
35086 ) >"$at_stdout" 2>"$at_stderr"
35090 echo >>"$at_stderr"; $as_echo "tar (child): a: Cannot open: Is a directory
35091 tar (child): Error is not recoverable: exiting now
35093 $at_diff - "$at_stderr" || at_failed=:
35094 echo >>"$at_stdout"; $as_echo ".
35099 $at_diff - "$at_stdout" || at_failed=:
35100 at_func_check_status 2 $at_status "$at_srcdir/remfiles02.at:32"
35102 $at_failed && at_func_log_failure
35107 $at_times_p && times >"$at_times_file"
35108 ) 5>&1 2>&1 | eval $at_tee_pipe
35109 at_status=`cat "$at_status_file"`
35112 # 93. gtarfail.at:21: gtarfail
35113 at_setup_line='gtarfail.at:21'
35115 $at_quiet $as_echo_n " 93: $at_desc "
35117 echo "# -*- compilation -*-" >> "$at_group_log"
35119 $as_echo "93. gtarfail.at:21: testing ..."
35127 $as_echo "$at_srcdir/gtarfail.at:26:
35129 test -z "$STAR_TESTSCRIPTS" && exit 77
35130 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35133 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail.tar
35135 echo gtarfail.at:26 >"$at_check_line_file"
35137 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35141 test -z "$STAR_TESTSCRIPTS" && exit 77
35142 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35145 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.tar
35146 ) >"$at_stdout" 2>"$at_stder1"
35147 at_func_filter_trace $?
35151 test -z "$STAR_TESTSCRIPTS" && exit 77
35152 tarball_prereq gtarfail.tar bf7612e401aaa679edbb07ae1183811b $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35155 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail.tar
35156 ) >"$at_stdout" 2>"$at_stderr"
35160 at_func_diff_devnull "$at_stderr" || at_failed=:
35161 echo >>"$at_stdout"; $as_echo "-rw-r--r-- jes/glone 518 2001-05-25 14:41 vedpowered.gif
35162 -rw-r--r-- jes/glone 6825 1997-04-29 00:19 cd.gif
35163 -rw-r--r-- jes/glone 33354 1999-06-22 12:17 DSCN0049c.JPG
35164 -rw-r--r-- jes/glone 86159 2001-06-05 18:16 Window1.jpg
35165 -rw-r--r-- jes/glone 1310 2001-05-25 13:05 vipower.gif
35166 -rw-rw-rw- jes/glone 148753 1998-09-15 13:08 billyboy.jpg
35168 $at_diff - "$at_stdout" || at_failed=:
35169 at_func_check_status 0 $at_status "$at_srcdir/gtarfail.at:26"
35171 $at_failed && at_func_log_failure
35176 $at_times_p && times >"$at_times_file"
35177 ) 5>&1 2>&1 | eval $at_tee_pipe
35178 at_status=`cat "$at_status_file"`
35181 # 94. gtarfail2.at:21: gtarfail2
35182 at_setup_line='gtarfail2.at:21'
35183 at_desc="gtarfail2"
35184 $at_quiet $as_echo_n " 94: $at_desc "
35186 echo "# -*- compilation -*-" >> "$at_group_log"
35188 $as_echo "94. gtarfail2.at:21: testing ..."
35196 $as_echo "$at_srcdir/gtarfail2.at:26:
35198 test -z "$STAR_TESTSCRIPTS" && exit 77
35199 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35201 tar --utc -tvf \$STAR_TESTSCRIPTS/gtarfail2.tar
35203 echo gtarfail2.at:26 >"$at_check_line_file"
35205 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35209 test -z "$STAR_TESTSCRIPTS" && exit 77
35210 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35212 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.tar
35213 ) >"$at_stdout" 2>"$at_stder1"
35214 at_func_filter_trace $?
35218 test -z "$STAR_TESTSCRIPTS" && exit 77
35219 tarball_prereq gtarfail2.tar 6b607d1faec14b82f69525d9c5b66e53 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35221 tar --utc -tvf $STAR_TESTSCRIPTS/gtarfail2.tar
35222 ) >"$at_stdout" 2>"$at_stderr"
35226 at_func_diff_devnull "$at_stderr" || at_failed=:
35227 echo >>"$at_stdout"; $as_echo "-rwxr-xr-x jes/glone 214 2001-09-21 14:08 .clean
35228 lrwxrwxrwx jes/cats 0 1998-05-07 12:39 RULES -> makefiles/RULES
35229 drwxr-sr-x jes/glone 0 2001-12-10 00:00 build/
35230 -rw-r--r-- jes/glone 312019 2001-12-10 00:00 build/smake-1.2.tar.gz
35231 drwxr-sr-x jes/glone 0 2001-11-09 18:20 build/psmake/
35232 -rwxr-xr-x jes/glone 259 2000-01-09 16:36 build/psmake/MAKE
35233 -rwxr-xr-x jes/glone 4820 2001-02-25 22:45 build/psmake/MAKE.sh
35234 -rw-r--r-- jes/glone 647 2001-02-25 23:50 build/psmake/Makefile
35235 lrwxrwxrwx jes/glone 0 2001-08-29 10:53 build/psmake/archconf.c -> ../archconf.c
35236 lrwxrwxrwx jes/glone 0 2001-08-29 10:54 build/psmake/astoi.c -> ../../lib/astoi.c
35238 $at_diff - "$at_stdout" || at_failed=:
35239 at_func_check_status 0 $at_status "$at_srcdir/gtarfail2.at:26"
35241 $at_failed && at_func_log_failure
35246 $at_times_p && times >"$at_times_file"
35247 ) 5>&1 2>&1 | eval $at_tee_pipe
35248 at_status=`cat "$at_status_file"`
35251 # 95. multi-fail.at:21: multi-fail
35252 at_setup_line='multi-fail.at:21'
35253 at_desc="multi-fail"
35254 $at_quiet $as_echo_n " 95: $at_desc "
35256 echo "# -*- compilation -*-" >> "$at_group_log"
35258 $as_echo "95. multi-fail.at:21: testing ..."
35266 $as_echo "$at_srcdir/multi-fail.at:26:
35268 test -z "$STAR_TESTSCRIPTS" && exit 77
35269 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35272 test -z "$STAR_TESTSCRIPTS" && exit 77
35273 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35276 tar --utc -tvM -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \\
35277 -f \$STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
35279 echo multi-fail.at:26 >"$at_check_line_file"
35281 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35285 test -z "$STAR_TESTSCRIPTS" && exit 77
35286 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35289 test -z "$STAR_TESTSCRIPTS" && exit 77
35290 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35293 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
35294 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
35295 ) >"$at_stdout" 2>"$at_stder1"
35296 at_func_filter_trace $?
35300 test -z "$STAR_TESTSCRIPTS" && exit 77
35301 tarball_prereq gnu-multi-fail-volume1.gtar 7c28663dd98b0bd91ceb4be7af55254e $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35304 test -z "$STAR_TESTSCRIPTS" && exit 77
35305 tarball_prereq gnu-multi-fail-volume2.gtar b5d41c4c3ec440687d4a44957b5079a8 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35308 tar --utc -tvM -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume1.gtar \
35309 -f $STAR_TESTSCRIPTS/gnu-multi-fail-volume2.gtar <&-
35310 ) >"$at_stdout" 2>"$at_stderr"
35314 at_func_diff_devnull "$at_stderr" || at_failed=:
35315 echo >>"$at_stdout"; $as_echo "drwxrwsr-x joerg/bs 0 2003-10-11 14:32 OBJ/i386-sunos5-gcc/
35316 -rw-r--r-- joerg/bs 1 2003-10-11 14:32 OBJ/i386-sunos5-gcc/Dnull
35317 -rw-r--r-- joerg/bs 1743 2003-10-10 18:06 OBJ/i386-sunos5-gcc/star.d
35318 -rw-r--r-- joerg/bs 1460 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.d
35319 -rw-r--r-- joerg/bs 1540 2003-10-10 18:06 OBJ/i386-sunos5-gcc/cpiohdr.d
35320 -rw-r--r-- joerg/bs 2245 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xheader.d
35321 -rw-r--r-- joerg/bs 1254 2003-10-10 18:06 OBJ/i386-sunos5-gcc/xattr.d
35322 -rw-r--r-- joerg/bs 1330 2003-10-10 18:06 OBJ/i386-sunos5-gcc/list.d
35323 -rw-r--r-- joerg/bs 1745 2003-10-10 18:06 OBJ/i386-sunos5-gcc/extract.d
35324 -rw-r--r-- joerg/bs 1518 2003-10-10 18:06 OBJ/i386-sunos5-gcc/create.d
35325 -rw-r--r-- joerg/bs 1235 2003-10-10 18:06 OBJ/i386-sunos5-gcc/append.d
35326 -rw-r--r-- joerg/bs 1368 2003-10-10 18:06 OBJ/i386-sunos5-gcc/diff.d
35327 -rw-r--r-- joerg/bs 1423 2003-10-10 18:06 OBJ/i386-sunos5-gcc/remove.d
35328 -rw-r--r-- joerg/bs 1493 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.d
35329 -rw-r--r-- joerg/bs 1572 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.d
35330 -rw-r--r-- joerg/bs 1453 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.d
35331 -rw-r--r-- joerg/bs 2257 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.d
35332 -rw-r--r-- joerg/bs 969 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.d
35333 -rw-r--r-- joerg/bs 1308 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.d
35334 -rw-r--r-- joerg/bs 1287 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.d
35335 -rw-r--r-- joerg/bs 1105 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.d
35336 -rw-r--r-- joerg/bs 1230 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.d
35337 -rw-r--r-- joerg/bs 1091 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.d
35338 -rw-r--r-- joerg/bs 961 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.d
35339 -rw-r--r-- joerg/bs 1113 2003-10-10 18:07 OBJ/i386-sunos5-gcc/props.d
35340 -rw-r--r-- joerg/bs 2146 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fetchdir.d
35341 -rw-r--r-- joerg/bs 1093 2003-10-10 18:07 OBJ/i386-sunos5-gcc/unicode.d
35342 -rw-r--r-- joerg/bs 1211 2003-10-10 18:07 OBJ/i386-sunos5-gcc/subst.d
35343 -rw-r--r-- joerg/bs 2076 2003-10-11 11:53 OBJ/i386-sunos5-gcc/volhdr.d
35344 -rw-r--r-- joerg/bs 1480 2003-10-10 18:07 OBJ/i386-sunos5-gcc/chdir.d
35345 -rw-r--r-- joerg/bs 42460 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star.o
35346 -rw-r--r-- joerg/bs 22564 2003-10-11 11:53 OBJ/i386-sunos5-gcc/header.o
35347 -rw-r--r-- joerg/bs 7880 2003-10-10 18:07 OBJ/i386-sunos5-gcc/cpiohdr.o
35348 -rw-r--r-- joerg/bs 14624 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xheader.o
35349 -rw-r--r-- joerg/bs 924 2003-10-10 18:07 OBJ/i386-sunos5-gcc/xattr.o
35350 -rw-r--r-- joerg/bs 6120 2003-10-10 18:07 OBJ/i386-sunos5-gcc/list.o
35351 -rw-r--r-- joerg/bs 12764 2003-10-10 18:07 OBJ/i386-sunos5-gcc/extract.o
35352 -rw-r--r-- joerg/bs 14668 2003-10-10 18:07 OBJ/i386-sunos5-gcc/create.o
35353 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/append.o
35354 -rw-r--r-- joerg/bs 7636 2003-10-10 18:07 OBJ/i386-sunos5-gcc/diff.o
35355 -rw-r--r-- joerg/bs 3072 2003-10-10 18:07 OBJ/i386-sunos5-gcc/remove.o
35356 -rw-r--r-- joerg/bs 5612 2003-10-10 18:07 OBJ/i386-sunos5-gcc/star_unix.o
35357 -rw-r--r-- joerg/bs 6220 2003-10-10 18:07 OBJ/i386-sunos5-gcc/acl_unix.o
35358 -rw-r--r-- joerg/bs 1092 2003-10-10 18:07 OBJ/i386-sunos5-gcc/fflags.o
35359 -rw-r--r-- joerg/bs 20996 2003-10-11 14:32 OBJ/i386-sunos5-gcc/buffer.o
35360 -rw-r--r-- joerg/bs 2060 2003-10-07 17:53 OBJ/i386-sunos5-gcc/dirtime.o
35361 -rw-r--r-- joerg/bs 1664 2003-10-10 18:07 OBJ/i386-sunos5-gcc/lhash.o
35362 -rw-r--r-- joerg/bs 10564 2003-10-10 18:07 OBJ/i386-sunos5-gcc/hole.o
35363 -rw-r--r-- joerg/bs 3864 2003-10-10 18:07 OBJ/i386-sunos5-gcc/longnames.o
35364 -rw-r--r-- joerg/bs 2576 2003-10-10 18:07 OBJ/i386-sunos5-gcc/names.o
35365 -rw-r--r-- joerg/bs 952 2003-10-10 18:07 OBJ/i386-sunos5-gcc/movearch.o
35366 -rw-r--r-- joerg/bs 2756 2003-10-07 17:53 OBJ/i386-sunos5-gcc/table.o
35368 $at_diff - "$at_stdout" || at_failed=:
35369 at_func_check_status 0 $at_status "$at_srcdir/multi-fail.at:26"
35371 $at_failed && at_func_log_failure
35376 $at_times_p && times >"$at_times_file"
35377 ) 5>&1 2>&1 | eval $at_tee_pipe
35378 at_status=`cat "$at_status_file"`
35381 # 96. ustar-big-2g.at:21: ustar-big-2g
35382 at_setup_line='ustar-big-2g.at:21'
35383 at_desc="ustar-big-2g"
35384 $at_quiet $as_echo_n " 96: $at_desc "
35386 echo "# -*- compilation -*-" >> "$at_group_log"
35388 $as_echo "96. ustar-big-2g.at:21: testing ..."
35396 $as_echo "$at_srcdir/ustar-big-2g.at:26:
35398 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35401 test -z "$STAR_TESTSCRIPTS" && exit 77
35402 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35405 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
35407 echo ustar-big-2g.at:26 >"$at_check_line_file"
35409 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35413 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35416 test -z "$STAR_TESTSCRIPTS" && exit 77
35417 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35420 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
35421 ) >"$at_stdout" 2>"$at_stder1"
35422 at_func_filter_trace $?
35426 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35429 test -z "$STAR_TESTSCRIPTS" && exit 77
35430 tarball_prereq ustar-big-2g.tar.bz2 b63979733629c8fcdf40b60065422767 $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35433 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-2g.tar.bz2
35434 ) >"$at_stdout" 2>"$at_stderr"
35438 echo stderr:; tee stderr <"$at_stderr"
35439 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 2147483647 2002-06-15 14:53 big
35440 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
35442 $at_diff - "$at_stdout" || at_failed=:
35443 at_func_check_status 0 $at_status "$at_srcdir/ustar-big-2g.at:26"
35445 $at_failed && at_func_log_failure
35450 cat >stderr.re <<'_ATEOF'
35451 tar: Record size = .*
35454 awk '{print NR " " $0}' stderr > $$.1
35455 awk '{print NR " " $0}' stderr.re | join - $$.1 |
35456 while read NUM RE LINE
35458 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
35463 $at_times_p && times >"$at_times_file"
35464 ) 5>&1 2>&1 | eval $at_tee_pipe
35465 at_status=`cat "$at_status_file"`
35468 # 97. ustar-big-8g.at:21: ustar-big-8g
35469 at_setup_line='ustar-big-8g.at:21'
35470 at_desc="ustar-big-8g"
35471 $at_quiet $as_echo_n " 97: $at_desc "
35473 echo "# -*- compilation -*-" >> "$at_group_log"
35475 $as_echo "97. ustar-big-8g.at:21: testing ..."
35483 $as_echo "$at_srcdir/ustar-big-8g.at:26:
35485 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35488 test -z "$STAR_TESTSCRIPTS" && exit 77
35489 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35492 tar --utc -tvjf \$STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
35494 echo ustar-big-8g.at:26 >"$at_check_line_file"
35496 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35500 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35503 test -z "$STAR_TESTSCRIPTS" && exit 77
35504 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35507 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
35508 ) >"$at_stdout" 2>"$at_stder1"
35509 at_func_filter_trace $?
35513 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35516 test -z "$STAR_TESTSCRIPTS" && exit 77
35517 tarball_prereq ustar-big-8g.tar.bz2 60ff503fa4b8288bef7ada89e9c91b0f $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35520 tar --utc -tvjf $STAR_TESTSCRIPTS/ustar-big-8g.tar.bz2
35521 ) >"$at_stdout" 2>"$at_stderr"
35525 echo stderr:; tee stderr <"$at_stderr"
35526 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 8589934591 2002-06-15 15:08 8gb-1
35527 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
35529 $at_diff - "$at_stdout" || at_failed=:
35530 at_func_check_status 0 $at_status "$at_srcdir/ustar-big-8g.at:26"
35532 $at_failed && at_func_log_failure
35537 cat >stderr.re <<'_ATEOF'
35538 tar: Record size = .*
35541 awk '{print NR " " $0}' stderr > $$.1
35542 awk '{print NR " " $0}' stderr.re | join - $$.1 |
35543 while read NUM RE LINE
35545 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
35550 $at_times_p && times >"$at_times_file"
35551 ) 5>&1 2>&1 | eval $at_tee_pipe
35552 at_status=`cat "$at_status_file"`
35555 # 98. pax-big-10g.at:21: pax-big-10g
35556 at_setup_line='pax-big-10g.at:21'
35557 at_desc="pax-big-10g"
35558 $at_quiet $as_echo_n " 98: $at_desc "
35560 echo "# -*- compilation -*-" >> "$at_group_log"
35562 $as_echo "98. pax-big-10g.at:21: testing ..."
35570 $as_echo "$at_srcdir/pax-big-10g.at:26:
35572 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35575 test -z "$STAR_TESTSCRIPTS" && exit 77
35576 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35579 tar --utc -tvjf \$STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
35581 echo pax-big-10g.at:26 >"$at_check_line_file"
35583 if { echo 'Not enabling shell tracing (command contains an embedded newline)'
35587 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35590 test -z "$STAR_TESTSCRIPTS" && exit 77
35591 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35594 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
35595 ) >"$at_stdout" 2>"$at_stder1"
35596 at_func_filter_trace $?
35600 cat /dev/null | bzip2 - > /dev/null 2>&1 || exit 77
35603 test -z "$STAR_TESTSCRIPTS" && exit 77
35604 tarball_prereq pax-big-10g.tar.bz2 ca15c23acc8d8bb1f27e60113a5f8bff $STAR_TESTSCRIPTS $STAR_DATA_URL || exit 77
35607 tar --utc -tvjf $STAR_TESTSCRIPTS/pax-big-10g.tar.bz2
35608 ) >"$at_stdout" 2>"$at_stderr"
35612 echo stderr:; tee stderr <"$at_stderr"
35613 echo >>"$at_stdout"; $as_echo "-rw------- jes/glone 10737418240 2002-06-15 21:18 10g
35614 -rw-r--r-- jes/glone 0 2002-06-15 14:53 file
35616 $at_diff - "$at_stdout" || at_failed=:
35617 at_func_check_status 0 $at_status "$at_srcdir/pax-big-10g.at:26"
35619 $at_failed && at_func_log_failure
35624 cat >stderr.re <<'_ATEOF'
35625 tar: Record size = .*
35628 awk '{print NR " " $0}' stderr > $$.1
35629 awk '{print NR " " $0}' stderr.re | join - $$.1 |
35630 while read NUM RE LINE
35632 echo "$LINE" | grep -- "$RE" >/dev/null || exit 1
35637 $at_times_p && times >"$at_times_file"
35638 ) 5>&1 2>&1 | eval $at_tee_pipe
35639 at_status=`cat "$at_status_file"`