From bf7f4410a9455526033178ae7a0ebdea9960cc13 Mon Sep 17 00:00:00 2001 From: Andrew Price Date: Tue, 7 Mar 2023 17:02:19 +0000 Subject: [PATCH] * Mon Feb 27 2023 Andrew Price - 3.5.0-1 - New upstream version Resolves: rhbz#2170017 - Update tests - Disable LTO to fix unit test breakage in el9 - gfs2_edit: Fix savemeta test failures in 32-bit environments --- .gitignore | 1 + ...test_failures_in_32_bit_environments.patch | 25 + gfs2-utils.spec | 14 +- sources | 2 +- tests/atlocal | 13 +- tests/testsuite | 3352 +++++++++++------ 6 files changed, 2177 insertions(+), 1230 deletions(-) create mode 100644 0-gfs2_edit_Fix_savemeta_test_failures_in_32_bit_environments.patch diff --git a/.gitignore b/.gitignore index 2daf545..e258909 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /gfs2-utils-3.3.0.tar.gz /gfs2-utils-3.4.0.tar.gz /gfs2-utils-3.4.1.tar.gz +/gfs2-utils-3.5.0.tar.gz diff --git a/0-gfs2_edit_Fix_savemeta_test_failures_in_32_bit_environments.patch b/0-gfs2_edit_Fix_savemeta_test_failures_in_32_bit_environments.patch new file mode 100644 index 0000000..a8c0195 --- /dev/null +++ b/0-gfs2_edit_Fix_savemeta_test_failures_in_32_bit_environments.patch @@ -0,0 +1,25 @@ +commit a3f3aadc789f214cd24606808f5d8a6608e10219 +Author: Andrew Price +Date: Fri Feb 10 12:31:08 2023 +0000 + + gfs2_edit: Fix savemeta test failures in 32-bit environments + + size_t is the wrong type for sm_fs_bytes and it is too small in 32-bit + environments leading to savemeta test failures, as it considers the + target to be too small. Change it to uint64_t. + + Signed-off-by: Andrew Price + +diff --git a/gfs2/edit/savemeta.c b/gfs2/edit/savemeta.c +index e6ca18b1..5c864d2e 100644 +--- a/gfs2/edit/savemeta.c ++++ b/gfs2/edit/savemeta.c +@@ -43,7 +43,7 @@ struct savemeta_header { + struct savemeta { + time_t sm_time; + unsigned sm_format; +- size_t sm_fs_bytes; ++ uint64_t sm_fs_bytes; + }; + + struct saved_metablock { diff --git a/gfs2-utils.spec b/gfs2-utils.spec index c65119a..f1b6356 100644 --- a/gfs2-utils.spec +++ b/gfs2-utils.spec @@ -1,6 +1,8 @@ +%global _lto_cflags %nil + Name: gfs2-utils -Version: 3.4.1 -Release: 4%{?dist} +Version: 3.5.0 +Release: 1%{?dist} License: GPLv2+ and LGPLv2+ Summary: Utilities for managing the global file system (GFS2) %ifnarch %{arm} @@ -21,6 +23,7 @@ BuildRequires: bzip2-devel BuildRequires: make Source: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz URL: https://pagure.io/gfs2-utils +Patch: 0-gfs2_edit_Fix_savemeta_test_failures_in_32_bit_environments.patch %prep %autosetup -p1 @@ -63,6 +66,13 @@ modifying, and correcting inconsistencies in GFS2 file systems. %{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules %changelog +* Mon Feb 27 2023 Andrew Price - 3.5.0-1 +- New upstream version + Resolves: rhbz#2170017 +- Update tests +- Disable LTO to fix unit test breakage in el9 +- gfs2_edit: Fix savemeta test failures in 32-bit environments + * Mon Aug 09 2021 Mohan Boddu - 3.4.1-4 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 diff --git a/sources b/sources index b779448..310735a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gfs2-utils-3.4.1.tar.gz) = 998c6d15e2f4b00ffffe18b8ab84f3ae11daf7ba4d10bc4e5d602ecc370b8f4de2fe44af4d7b9926785d4a39680139a9ae8a66d6863ff19b1a60fd999a60495e +SHA512 (gfs2-utils-3.5.0.tar.gz) = 9fb47bab0b082b4379ea0ccb5066a95a9dfb5912cde9ca950b7771a4699ecf3df1f99ebd709893866eaffa77f7d8894f6fadef423df79e3f7563d8f94d137765 diff --git a/tests/atlocal b/tests/atlocal index 47da8d4..1224abf 100644 --- a/tests/atlocal +++ b/tests/atlocal @@ -1,8 +1,17 @@ -GFS_TGT="../../testvol" -GFS_TGT_SZ=10 +GFS_TGT="${abs_top_builddir}/tests/testvol" +GFS_TGT_SZ=20 GFS_MKFS="mkfs.gfs2 -O -D" gfs_max_blocks() { printf $((GFS_TGT_SZ*1073741824/$1)) } + +gfs_tgt_cleanup() +{ + if $1; then + rm -f $GFS_TGT + fi +} + +trap 'gfs_tgt_cleanup $at_arg_always_clean_testvol' EXIT diff --git a/tests/testsuite b/tests/testsuite index 7619c86..d466fa9 100755 --- a/tests/testsuite +++ b/tests/testsuite @@ -1,7 +1,7 @@ #! /bin/sh -# Generated from testsuite.at by GNU Autoconf 2.69. +# Generated from testsuite.at by GNU Autoconf 2.71. # -# Copyright (C) 2009-2012 Free Software Foundation, Inc. +# Copyright (C) 2009-2017, 2020-2021 Free Software Foundation, Inc. # # This test suite is free software; the Free Software Foundation gives # unlimited permission to copy, distribute and modify it. @@ -11,14 +11,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -28,46 +30,46 @@ esac fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -76,13 +78,6 @@ if test "${PATH_SEPARATOR+set}" != set; then fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -91,8 +86,12 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -104,40 +103,22 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -157,42 +138,53 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x = \"\$1\" ) +then : -else +else \$as_nop exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 +blah=\$(echo \$(echo blah)) +test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=yes -else +else $as_nop as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null +then : -else +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base + as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null +then : break 2 fi fi @@ -200,14 +192,21 @@ fi esac as_found=false done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi +fi - if test "x$CONFIG_SHELL" != x; then : + if test "x$CONFIG_SHELL" != x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -225,18 +224,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required = xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." @@ -263,6 +263,7 @@ as_fn_unset () } as_unset=as_fn_unset + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -280,6 +281,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -294,7 +303,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -303,7 +312,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -342,12 +351,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -359,12 +369,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -382,9 +393,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -405,7 +416,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -455,7 +466,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -469,6 +480,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -482,6 +497,13 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -583,11 +605,6 @@ at_change_dir=false # Whether to enable colored test results. at_color=auto -# List of the tested programs. -at_tested='mkfs.gfs2 -fsck.gfs2 -gfs2_edit -tunegfs2' # As many question marks as there are digits in the last test group number. # Used to normalize the test group numbers so that `ls' lists them in # numerical order. @@ -598,42 +615,49 @@ at_help_all="1;mkfs.at:4;Locking protocol validation;mkfs.gfs2 mkfs; 3;mkfs.at:15;Journal size validation;mkfs.gfs2 mkfs; 4;mkfs.at:21;Block count validation;mkfs.gfs2 mkfs; 5;mkfs.at:28;Quota change file size validation;mkfs.gfs2 mkfs; -6;mkfs.at:34;Format version validation;mkfs.gfs2 mkfs; -7;mkfs.at:44;Locking protocols;mkfs.gfs2 mkfs; -8;mkfs.at:50;Valid block sizes 512-4096;mkfs.gfs2 mkfs; -9;mkfs.at:58;Max. blocks, min. block size;mkfs.gfs2 mkfs; -10;mkfs.at:63;Max. blocks, max. block size;mkfs.gfs2 mkfs; -11;mkfs.at:68;Max. resource group size;mkfs.gfs2 mkfs; -12;mkfs.at:73;Min. resource group size;mkfs.gfs2 mkfs; -13;mkfs.at:78;Max. resource group size, min. block size;mkfs.gfs2 mkfs; -14;mkfs.at:83;Max. journal size;mkfs.gfs2 mkfs; -15;mkfs.at:88;Min. journal size;mkfs.gfs2 mkfs; -16;mkfs.at:95;Max. quota change file size;mkfs.gfs2 mkfs; -17;mkfs.at:100;Min. quota change file size;mkfs.gfs2 mkfs; -18;mkfs.at:105;Lock table validation;mkfs.gfs2 mkfs; -19;mkfs.at:124;Device i/o limits handling;mkfs.gfs2 mkfs; -20;mkfs.at:135;Resource group alignment;mkfs.gfs2 mkfs; -21;mkfs.at:144;Values of rg_skip;mkfs.gfs2 mkfs; -22;mkfs.at:160;Values of rg_data0, rg_data, rg_bitbytes;mkfs.gfs2 mkfs; -23;mkfs.at:176;Small filesystems;mkfs.gfs2 mkfs; -24;fsck.at:4;Conflicting options;fsck.gfs2 fsck; -25;fsck.at:15;Fix invalid block sizes;fsck.gfs2 fsck; -26;fsck.at:24;Fix invalid goal blocks;fsck.gfs2 fsck; -27;fsck.at:29;Fix bad resource group #0;fsck.gfs2 fsck; -28;fsck.at:34;Fix bad resource group #1;fsck.gfs2 fsck; -29;fsck.at:44;Fix bad rindex entry #1;fsck.gfs2 fsck; -30;fsck.at:49;Rebuild bad journal;fsck.gfs2 fsck; -31;fsck.at:58;gfs2 format versions;fsck.gfs2 fsck; -32;edit.at:4;Save/restoremeta, defaults;gfs2_edit edit; -33;edit.at:17;Save/restoremeta, no compression;gfs2_edit edit; -34;edit.at:27;Save/restoremeta, min. block size;gfs2_edit edit; -35;edit.at:37;Save/restoremeta, 4 journals;gfs2_edit edit; -36;edit.at:47;Save/restoremeta, min. block size, 4 journals;gfs2_edit edit; -37;edit.at:57;Save metadata to /dev/null;gfs2_edit edit; -38;tune.at:4;Format version;tunegfs2 tune; +6;mkfs.at:35;Format version validation;mkfs.gfs2 mkfs; +7;mkfs.at:46;Locking protocols;mkfs.gfs2 mkfs; +8;mkfs.at:52;Valid block sizes 512-4096;mkfs.gfs2 mkfs; +9;mkfs.at:60;Max. blocks, min. block size;mkfs.gfs2 mkfs; +10;mkfs.at:65;Max. blocks, max. block size;mkfs.gfs2 mkfs; +11;mkfs.at:70;Max. resource group size;mkfs.gfs2 mkfs; +12;mkfs.at:75;Min. resource group size;mkfs.gfs2 mkfs; +13;mkfs.at:80;Max. resource group size, min. block size;mkfs.gfs2 mkfs; +14;mkfs.at:85;Max. journal size;mkfs.gfs2 mkfs; +15;mkfs.at:90;Min. journal size;mkfs.gfs2 mkfs; +16;mkfs.at:97;Max. quota change file size;mkfs.gfs2 mkfs; +17;mkfs.at:102;Min. quota change file size;mkfs.gfs2 mkfs; +18;mkfs.at:107;Lock table validation;mkfs.gfs2 mkfs; +19;mkfs.at:126;Device i/o limits handling;mkfs.gfs2 mkfs; +20;mkfs.at:138;Resource group alignment;mkfs.gfs2 mkfs; +21;mkfs.at:148;Values of rg_skip;mkfs.gfs2 mkfs; +22;mkfs.at:165;Values of rg_data0, rg_data, rg_bitbytes;mkfs.gfs2 mkfs; +23;mkfs.at:182;Small filesystems;mkfs.gfs2 mkfs; +24;mkfs.at:192;UUID option;mkfs.gfs2 mkfs; +25;mkfs.at:202;Root jdata inheritance;mkfs.gfs2 mkfs; +26;fsck.at:4;Conflicting options;fsck.gfs2 fsck; +27;fsck.at:15;Fix invalid block sizes;fsck.gfs2 fsck; +28;fsck.at:24;Fix invalid goal blocks;fsck.gfs2 fsck; +29;fsck.at:29;Fix bad resource group #0;fsck.gfs2 fsck; +30;fsck.at:34;Fix bad resource group #1;fsck.gfs2 fsck; +31;fsck.at:39;Fix bad rindex entry #0;fsck.gfs2 fsck; +32;fsck.at:44;Fix bad rindex entry #1;fsck.gfs2 fsck; +33;fsck.at:49;2G RGs: Fix bad resource group #0;fsck.gfs2 fsck; +34;fsck.at:54;2G RGs: Fix bad resource group #1;fsck.gfs2 fsck; +35;fsck.at:69;Rebuild bad journal;fsck.gfs2 fsck; +36;fsck.at:78;gfs2 format versions;fsck.gfs2 fsck; +37;edit.at:4;Save/restoremeta, defaults;gfs2_edit edit; +38;edit.at:17;Save/restoremeta, no compression;gfs2_edit edit; +39;edit.at:27;Save/restoremeta, min. block size;gfs2_edit edit; +40;edit.at:37;Save/restoremeta, 4 journals;gfs2_edit edit; +41;edit.at:47;Save/restoremeta, min. block size, 4 journals;gfs2_edit edit; +42;edit.at:57;Save metadata to /dev/null;gfs2_edit edit; +43;tune.at:4;Format version;tunegfs2 tune; +44;tune.at:20;Handle bad fs;tunegfs2 tune; +45;tune.at:28;Expected output;tunegfs2 tune; " # List of the all the test groups. -at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'` +at_groups_all=`printf "%s\n" "$at_help_all" | sed 's/;.*//'` # at_fn_validate_ranges NAME... # ----------------------------- @@ -644,8 +668,8 @@ at_fn_validate_ranges () for at_grp do eval at_value=\$$at_grp - if test $at_value -lt 1 || test $at_value -gt 38; then - $as_echo "invalid test group: $at_value" >&2 + if test $at_value -lt 1 || test $at_value -gt 45; then + printf "%s\n" "invalid test group: $at_value" >&2 exit 1 fi case $at_value in @@ -658,6 +682,20 @@ at_fn_validate_ranges () esac done } +# List of the tested programs. +at_tested='"mkfs.gfs2" +"fsck.gfs2" +"gfs2_edit" +"tunegfs2"' + + +## +## Set up package specific options. +## + +at_arg_always_clean_testvol=false +at_arg_given_always_clean_testvol=false + at_prev= for at_option @@ -673,8 +711,6 @@ do *) at_optarg= ;; esac - # Accept the important Cygnus configure options, so we can diagnose typos. - case $at_option in --help | -h ) at_help_p=: @@ -733,7 +769,7 @@ do [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-) at_range_start=`echo $at_option |tr -d X-` at_fn_validate_ranges at_range_start - at_range=`$as_echo "$at_groups_all" | \ + at_range=`printf "%s\n" "$at_groups_all" | \ sed -ne '/^'$at_range_start'$/,$p'` as_fn_append at_groups "$at_range$as_nl" ;; @@ -741,7 +777,7 @@ do -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9]) at_range_end=`echo $at_option |tr -d X-` at_fn_validate_ranges at_range_end - at_range=`$as_echo "$at_groups_all" | \ + at_range=`printf "%s\n" "$at_groups_all" | \ sed -ne '1,/^'$at_range_end'$/p'` as_fn_append at_groups "$at_range$as_nl" ;; @@ -760,7 +796,7 @@ do at_range_start=$at_tmp fi at_fn_validate_ranges at_range_start at_range_end - at_range=`$as_echo "$at_groups_all" | \ + at_range=`printf "%s\n" "$at_groups_all" | \ sed -ne '/^'$at_range_start'$/,/^'$at_range_end'$/p'` as_fn_append at_groups "$at_range$as_nl" ;; @@ -814,16 +850,27 @@ do ;; esac # It is on purpose that we match the test group titles too. - at_groups_selected=`$as_echo "$at_groups_selected" | + at_groups_selected=`printf "%s\n" "$at_groups_selected" | grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"` done # Smash the keywords. - at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//'` + at_groups_selected=`printf "%s\n" "$at_groups_selected" | sed 's/;.*//'` as_fn_append at_groups "$at_groups_selected$as_nl" ;; --recheck) at_recheck=: ;; + --always-clean-testvol ) + at_optarg=: + at_arg_always_clean_testvol=: + at_arg_given_always_clean_testvol=: + ;; + --no-always-clean-testvol ) + at_optarg=false + at_arg_always_clean_testvol=false + at_arg_given_always_clean_testvol=: + ;; + *=*) at_envvar=`expr "x$at_option" : 'x\([^=]*\)='` @@ -832,21 +879,22 @@ do '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$at_envvar'" ;; esac - at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"` + at_value=`printf "%s\n" "$at_optarg" | sed "s/'/'\\\\\\\\''/g"` # Export now, but save eval for later and for debug scripts. export $at_envvar as_fn_append at_debug_args " $at_envvar='$at_value'" ;; - *) $as_echo "$as_me: invalid option: $at_option" >&2 - $as_echo "Try \`$0 --help' for more information." >&2 + *) printf "%s\n" "$as_me: invalid option: $at_option" >&2 + printf "%s\n" "Try \`$0 --help' for more information." >&2 exit 1 ;; esac done # Verify our last option didn't require an argument -if test -n "$at_prev"; then : +if test -n "$at_prev" +then : as_fn_error $? "\`$at_prev' requires an argument" fi @@ -870,7 +918,7 @@ else as_fn_append at_groups "$at_oldfails$as_nl" fi # Sort the tests, removing duplicates. - at_groups=`$as_echo "$at_groups" | sort -nu | sed '/^$/d'` + at_groups=`printf "%s\n" "$at_groups" | sort -nu | sed '/^$/d'` fi if test x"$at_color" = xalways \ @@ -934,6 +982,14 @@ Execution tuning: _ATEOF cat <<_ATEOF || at_write_fail=1 +Other options: +_ATEOF + +cat <<_ATEOF || at_write_fail=1 + --always-clean-testvol Remove the test file whether tests succeed or not +_ATEOF +cat <<_ATEOF || at_write_fail=1 + Report bugs to . _ATEOF exit $at_write_fail @@ -942,14 +998,14 @@ fi # List of tests. if $at_list_p; then cat <<_ATEOF || at_write_fail=1 -gfs2-utils 3.4.0.1.dev test suite test groups: +gfs2-utils 3.5.0 test suite test groups: NUM: FILE-NAME:LINE TEST-GROUP-NAME KEYWORDS _ATEOF # Pass an empty line as separator between selected groups and help. - $as_echo "$at_groups$as_nl$as_nl$at_help_all" | + printf "%s\n" "$at_groups$as_nl$as_nl$at_help_all" | awk 'NF == 1 && FS != ";" { selected[$ 1] = 1 next @@ -983,10 +1039,10 @@ _ATEOF exit $at_write_fail fi if $at_version_p; then - $as_echo "$as_me (gfs2-utils 3.4.0.1.dev)" && + printf "%s\n" "$as_me (gfs2-utils 3.5.0)" && cat <<\_ATEOF || at_write_fail=1 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This test suite is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ATEOF @@ -1004,13 +1060,13 @@ esac # Category starts at test group 1. at_banner_text_1="mkfs.gfs2 tests" # Banner 2. fsck.at:2 -# Category starts at test group 24. +# Category starts at test group 26. at_banner_text_2="fsck.gfs2 tests" # Banner 3. edit.at:2 -# Category starts at test group 32. +# Category starts at test group 37. at_banner_text_3="gfs2_edit tests" # Banner 4. tune.at:2 -# Category starts at test group 38. +# Category starts at test group 43. at_banner_text_4="tunegfs2 tests" # Take any -C into account. @@ -1105,13 +1161,17 @@ fi # For embedded test suites, AUTOTEST_PATH is relative to the top level # of the package. Then expand it into build/src parts, since users # may create executables in both places. -AUTOTEST_PATH=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"` +AUTOTEST_PATH=`printf "%s\n" "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"` at_path= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $AUTOTEST_PATH $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac test -n "$at_path" && as_fn_append at_path $PATH_SEPARATOR case $as_dir in [\\/]* | ?:[\\/]* ) @@ -1141,7 +1201,11 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $at_path do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac test -d "$as_dir" || continue case $as_dir in [\\/]* | ?:[\\/]* ) ;; @@ -1171,23 +1235,23 @@ fi exec 5>>"$at_suite_log" # Banners and logs. -$as_echo "## ---------------------------------- ## -## gfs2-utils 3.4.0.1.dev test suite. ## -## ---------------------------------- ##" +printf "%s\n" "## ---------------------------- ## +## gfs2-utils 3.5.0 test suite. ## +## ---------------------------- ##" { - $as_echo "## ---------------------------------- ## -## gfs2-utils 3.4.0.1.dev test suite. ## -## ---------------------------------- ##" + printf "%s\n" "## ---------------------------- ## +## gfs2-utils 3.5.0 test suite. ## +## ---------------------------- ##" echo - $as_echo "$as_me: command line was:" - $as_echo " \$ $0 $at_cli_args" + printf "%s\n" "$as_me: command line was:" + printf "%s\n" " \$ $0 $at_cli_args" echo # If ChangeLog exists, list a few lines in case it might help determining # the exact version. if test -n "$at_top_srcdir" && test -f "$at_top_srcdir/ChangeLog"; then - $as_echo "## ---------- ## + printf "%s\n" "## ---------- ## ## ChangeLog. ## ## ---------- ##" echo @@ -1224,8 +1288,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS @@ -1236,7 +1304,7 @@ IFS=$as_save_IFS for at_file in atconfig atlocal do test -r $at_file || continue - $as_echo "$as_me: $at_file:" + printf "%s\n" "$as_me: $at_file:" sed 's/^/| /' $at_file echo done @@ -1260,7 +1328,7 @@ at_fn_banner () if test -z "$at_banner_text"; then $at_first || echo else - $as_echo "$as_nl$at_banner_text$as_nl" + printf "%s\n" "$as_nl$at_banner_text$as_nl" fi } # at_fn_banner @@ -1271,7 +1339,7 @@ at_fn_banner () at_fn_check_prepare_notrace () { $at_trace_echo "Not enabling shell tracing (command contains $1)" - $as_echo "$2" >"$at_check_line_file" + printf "%s\n" "$2" >"$at_check_line_file" at_check_trace=: at_check_filter=: : >"$at_stdout"; : >"$at_stderr" } @@ -1282,7 +1350,7 @@ at_fn_check_prepare_notrace () # command. at_fn_check_prepare_trace () { - $as_echo "$1" >"$at_check_line_file" + printf "%s\n" "$1" >"$at_check_line_file" at_check_trace=$at_traceon at_check_filter=$at_check_filter_trace : >"$at_stdout"; : >"$at_stderr" } @@ -1319,7 +1387,7 @@ at_fn_filter_trace () at_fn_log_failure () { for file - do $as_echo "$file:"; sed 's/^/> /' "$file"; done + do printf "%s\n" "$file:"; sed 's/^/> /' "$file"; done echo 1 > "$at_status_file" exit 1 } @@ -1333,7 +1401,7 @@ at_fn_check_skip () { case $1 in 99) echo 99 > "$at_status_file"; at_failed=: - $as_echo "$2: hard failure"; exit 99;; + printf "%s\n" "$2: hard failure"; exit 99;; 77) echo 77 > "$at_status_file"; exit 77;; esac } @@ -1350,8 +1418,8 @@ at_fn_check_status () $1 ) ;; 77) echo 77 > "$at_status_file"; exit 77;; 99) echo 99 > "$at_status_file"; at_failed=: - $as_echo "$3: hard failure"; exit 99;; - *) $as_echo "$3: exit code was $2, expected $1" + printf "%s\n" "$3: hard failure"; exit 99;; + *) printf "%s\n" "$3: exit code was $2, expected $1" at_failed=:;; esac } @@ -1383,9 +1451,9 @@ at_fn_create_debugging_script () { { echo "#! /bin/sh" && - echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' && - $as_echo "cd '$at_dir'" && - $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" && + echo 'test ${ZSH_VERSION+y} && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' && + printf "%s\n" "cd '$at_dir'" && + printf "%s\n" "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" && echo 'exit 1' } >"$at_group_dir/run" && chmod +x "$at_group_dir/run" @@ -1395,33 +1463,40 @@ at_fn_create_debugging_script () ## End of autotest shell functions. ## ## -------------------------------- ## { - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Tested programs. ## ## ---------------- ##" echo } >&5 # Report what programs are being tested. -for at_program in : $at_tested +for at_program in : `eval echo $at_tested` do - test "$at_program" = : && continue - case $at_program in - [\\/]* | ?:[\\/]* ) $at_program_=$at_program ;; - * ) + case $at_program in #( + :) : + continue ;; #( + [\\/]* | ?:[\\/]*) : + at_program_=$at_program ;; #( + *) : as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -f "$as_dir/$at_program" && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -f "$as_dir$at_program" && break done IFS=$as_save_IFS - at_program_=$as_dir/$at_program ;; - esac + at_program_=$as_dir$at_program ;; +esac + if test -f "$at_program_"; then { - $as_echo "$at_srcdir/testsuite.at:48: $at_program_ --version" + printf "%s\n" "$at_srcdir/testsuite.at:48: $at_program_ --version" "$at_program_" --version &5 2>&1 @@ -1431,14 +1506,14 @@ IFS=$as_save_IFS done { - $as_echo "## ------------------ ## + printf "%s\n" "## ------------------ ## ## Running the tests. ## ## ------------------ ##" } >&5 at_start_date=`date` at_start_time=`date +%s 2>/dev/null` -$as_echo "$as_me: starting at: $at_start_date" >&5 +printf "%s\n" "$as_me: starting at: $at_start_date" >&5 # Create the master directory if it doesn't already exist. as_dir="$at_suite_dir"; as_fn_mkdir_p || @@ -1549,12 +1624,13 @@ at_fn_group_prepare () # under the shell's notion of the current directory. at_group_dir=$at_suite_dir/$at_group_normalized at_group_log=$at_group_dir/$as_me.log - if test -d "$at_group_dir"; then + if test -d "$at_group_dir" +then find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx {} \; rm -fr "$at_group_dir"/* "$at_group_dir"/.[!.] "$at_group_dir"/.??* fi || - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned" >&5 -$as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned" >&5 +printf "%s\n" "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned" >&2;} # Be tolerant if the above `rm' was not able to remove the directory. as_dir="$at_group_dir"; as_fn_mkdir_p @@ -1584,7 +1660,7 @@ at_fn_group_banner () *) at_desc_line="$1: " ;; esac as_fn_append at_desc_line "$3$4" - $at_quiet $as_echo_n "$at_desc_line" + $at_quiet printf %s "$at_desc_line" echo "# -*- compilation -*-" >> "$at_group_log" } @@ -1603,11 +1679,11 @@ at_fn_group_postprocess () run. This means that test suite is improperly designed. Please report this failure to . _ATEOF - $as_echo "$at_setup_line" >"$at_check_line_file" + printf "%s\n" "$at_setup_line" >"$at_check_line_file" at_status=99 fi - $at_verbose $as_echo_n "$at_group. $at_setup_line: " - $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log" + $at_verbose printf %s "$at_group. $at_setup_line: " + printf %s "$at_group. $at_setup_line: " >> "$at_group_log" case $at_xfail:$at_status in yes:0) at_msg="UNEXPECTED PASS" @@ -1643,10 +1719,10 @@ _ATEOF echo "$at_res" > "$at_job_dir/$at_res" # In parallel mode, output the summary line only afterwards. if test $at_jobs -ne 1 && test -n "$at_verbose"; then - $as_echo "$at_desc_line $at_color$at_msg$at_std" + printf "%s\n" "$at_desc_line $at_color$at_msg$at_std" else # Make sure there is a separator even with long titles. - $as_echo " $at_color$at_msg$at_std" + printf "%s\n" " $at_color$at_msg$at_std" fi at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg" case $at_status in @@ -1659,8 +1735,8 @@ _ATEOF at_log_msg="$at_log_msg ("`sed 1d "$at_times_file"`')' rm -f "$at_times_file" fi - $as_echo "$at_log_msg" >> "$at_group_log" - $as_echo "$at_log_msg" >&5 + printf "%s\n" "$at_log_msg" >> "$at_group_log" + printf "%s\n" "$at_log_msg" >&5 # Cleanup the group directory, unless the user wants the files # or the success was unexpected. @@ -1681,7 +1757,7 @@ _ATEOF # Upon failure, include the log into the testsuite's global # log. The failure message is written in the group log. It # is later included in the global log. - $as_echo "$at_log_msg" >> "$at_group_log" + printf "%s\n" "$at_log_msg" >> "$at_group_log" # Upon failure, keep the group directory for autopsy, and create # the debugging script. With -e, do not start any further tests. @@ -1724,8 +1800,8 @@ for at_signal in 1 2 15; do at_signame=`kill -l $at_signal 2>&1 || echo $at_signal` set x $at_signame test 1 -gt 2 && at_signame=$at_signal - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5 -$as_echo "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5 +printf "%s\n" "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;} as_fn_arith 128 + $at_signal && exit_status=$as_val as_fn_exit $exit_status' $at_signal done @@ -1746,7 +1822,7 @@ then done if test -n "$at_pids"; then at_sig=TSTP - test "${TMOUT+set}" = set && at_sig=STOP + test ${TMOUT+y} && at_sig=STOP kill -$at_sig $at_pids 2>/dev/null fi kill -STOP $$ @@ -1754,7 +1830,7 @@ then echo # Turn jobs into a list of numbers, starting from 1. - at_joblist=`$as_echo "$at_groups" | sed -n 1,${at_jobs}p` + at_joblist=`printf "%s\n" "$at_groups" | sed -n 1,${at_jobs}p` set X $at_joblist shift @@ -1778,8 +1854,8 @@ then at_fn_test $at_group && . "$at_test_source" then :; else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5 -$as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5 +printf "%s\n" "$as_me: WARNING: unable to parse test group: $at_group" >&2;} at_failed=: fi at_fn_group_postprocess @@ -1817,8 +1893,8 @@ else if cd "$at_group_dir" && at_fn_test $at_group && . "$at_test_source"; then :; else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5 -$as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5 +printf "%s\n" "$as_me: WARNING: unable to parse test group: $at_group" >&2;} at_failed=: fi at_fn_group_postprocess @@ -1857,7 +1933,7 @@ rm -rf "$at_helper_dir" # Compute the duration of the suite. at_stop_date=`date` at_stop_time=`date +%s 2>/dev/null` -$as_echo "$as_me: ending at: $at_stop_date" >&5 +printf "%s\n" "$as_me: ending at: $at_stop_date" >&5 case $at_start_time,$at_stop_time in [0-9]*,[0-9]*) as_fn_arith $at_stop_time - $at_start_time && at_duration_s=$as_val @@ -1866,18 +1942,18 @@ case $at_start_time,$at_stop_time in as_fn_arith $at_duration_s % 60 && at_duration_s=$as_val as_fn_arith $at_duration_m % 60 && at_duration_m=$as_val at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s" - $as_echo "$as_me: test suite duration: $at_duration" >&5 + printf "%s\n" "$as_me: test suite duration: $at_duration" >&5 ;; esac echo -$as_echo "## ------------- ## +printf "%s\n" "## ------------- ## ## Test results. ## ## ------------- ##" echo { echo - $as_echo "## ------------- ## + printf "%s\n" "## ------------- ## ## Test results. ## ## ------------- ##" echo @@ -1957,7 +2033,7 @@ else echo "ERROR: $at_result" >&5 { echo - $as_echo "## ------------------------ ## + printf "%s\n" "## ------------------------ ## ## Summary of the failures. ## ## ------------------------ ##" @@ -1978,7 +2054,7 @@ else echo fi if test $at_fail_count != 0; then - $as_echo "## ---------------------- ## + printf "%s\n" "## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ##" echo @@ -2017,10 +2093,14 @@ _ASBOX else at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'" fi - $as_echo "Please send $at_msg and all information you think might help: + at_msg1a=${at_xpass_list:+', '} + at_msg1=$at_fail_list${at_fail_list:+" failed$at_msg1a"} + at_msg2=$at_xpass_list${at_xpass_list:+" passed unexpectedly"} + + printf "%s\n" "Please send $at_msg and all information you think might help: To: - Subject: [gfs2-utils 3.4.0.1.dev] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly} + Subject: [gfs2-utils 3.5.0] $as_me: $at_msg1$at_msg2 You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may @@ -2039,12 +2119,12 @@ at_fn_group_banner 1 'mkfs.at:4' \ "Locking protocol validation" " " 1 at_xfail=no ( - $as_echo "1. $at_setup_line: testing $at_desc ..." + printf "%s\n" "1. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:6: \$GFS_MKFS -p badprotocol \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:6: \$GFS_MKFS -p badprotocol \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p badprotocol $GFS_TGT" "mkfs.at:6" ( $at_check_trace; $GFS_MKFS -p badprotocol $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2066,12 +2146,12 @@ at_fn_group_banner 2 'mkfs.at:9' \ "Resource group size validation" " " 1 at_xfail=no ( - $as_echo "2. $at_setup_line: testing $at_desc ..." + printf "%s\n" "2. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:11: \$GFS_MKFS -p lock_nolock -r 31 \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:11: \$GFS_MKFS -p lock_nolock -r 31 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 31 $GFS_TGT" "mkfs.at:11" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 31 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2084,7 +2164,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:12: \$GFS_MKFS -p lock_nolock -r 2049 \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:12: \$GFS_MKFS -p lock_nolock -r 2049 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2049 $GFS_TGT" "mkfs.at:12" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2049 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2106,12 +2186,12 @@ at_fn_group_banner 3 'mkfs.at:15' \ "Journal size validation" " " 1 at_xfail=no ( - $as_echo "3. $at_setup_line: testing $at_desc ..." + printf "%s\n" "3. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:17: \$GFS_MKFS -p lock_nolock -J 7 \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:17: \$GFS_MKFS -p lock_nolock -J 7 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 7 $GFS_TGT" "mkfs.at:17" ( $at_check_trace; $GFS_MKFS -p lock_nolock -J 7 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2124,7 +2204,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:18: \$GFS_MKFS -p lock_nolock -J 1025 \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:18: \$GFS_MKFS -p lock_nolock -J 1025 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 1025 $GFS_TGT" "mkfs.at:18" ( $at_check_trace; $GFS_MKFS -p lock_nolock -J 1025 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2146,12 +2226,12 @@ at_fn_group_banner 4 'mkfs.at:21' \ "Block count validation" " " 1 at_xfail=no ( - $as_echo "4. $at_setup_line: testing $at_desc ..." + printf "%s\n" "4. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:23: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/mkfs.at:23: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:23" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2163,11 +2243,11 @@ at_fn_check_skip $at_status "$at_srcdir/mkfs.at:23" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:23" >"$at_check_line_file" +printf "%s\n" "mkfs.at:23" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/mkfs.at:23" { set +x -$as_echo "$at_srcdir/mkfs.at:24: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT \$((\$(gfs_max_blocks 512)+1))" +printf "%s\n" "$at_srcdir/mkfs.at:24: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT \$((\$(gfs_max_blocks 512)+1))" at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:24" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT $(($(gfs_max_blocks 512)+1)) ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2180,7 +2260,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:25: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT \$((\$(gfs_max_blocks 4096)+1))" +printf "%s\n" "$at_srcdir/mkfs.at:25: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT \$((\$(gfs_max_blocks 4096)+1))" at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:25" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT $(($(gfs_max_blocks 4096)+1)) ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2202,27 +2282,30 @@ at_fn_group_banner 5 'mkfs.at:28' \ "Quota change file size validation" " " 1 at_xfail=no ( - $as_echo "5. $at_setup_line: testing $at_desc ..." + printf "%s\n" "5. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:30: \$GFS_MKFS -p lock_nolock -c 0 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 0 $GFS_TGT" "mkfs.at:30" -( $at_check_trace; $GFS_MKFS -p lock_nolock -c 0 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:30: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:30" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:30" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:30" $at_failed && at_fn_log_failure $at_traceon; } +printf "%s\n" "mkfs.at:30" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:30" { set +x -$as_echo "$at_srcdir/mkfs.at:31: \$GFS_MKFS -p lock_nolock -c 65 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 65 $GFS_TGT" "mkfs.at:31" -( $at_check_trace; $GFS_MKFS -p lock_nolock -c 65 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:31: \$GFS_MKFS -p lock_nolock -c 0 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 0 $GFS_TGT" "mkfs.at:31" +( $at_check_trace; $GFS_MKFS -p lock_nolock -c 0 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -2230,6 +2313,19 @@ echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:31" $at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:32: \$GFS_MKFS -p lock_nolock -c 65 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 65 $GFS_TGT" "mkfs.at:32" +( $at_check_trace; $GFS_MKFS -p lock_nolock -c 65 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:32" +$at_failed && at_fn_log_failure $at_traceon; } set +x @@ -2238,89 +2334,105 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_5 #AT_START_6 -at_fn_group_banner 6 'mkfs.at:34' \ +at_fn_group_banner 6 'mkfs.at:35' \ "Format version validation" " " 1 at_xfail=no ( - $as_echo "6. $at_setup_line: testing $at_desc ..." + printf "%s\n" "6. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:36: \$GFS_MKFS -p lock_nolock -o format=-1 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=-1 $GFS_TGT" "mkfs.at:36" +printf "%s\n" "$at_srcdir/mkfs.at:37: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:37" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:37" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:37" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:37" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:38: \$GFS_MKFS -p lock_nolock -o format=-1 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=-1 $GFS_TGT" "mkfs.at:38" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=-1 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:36" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:37: \$GFS_MKFS -p lock_nolock -o format=0 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=0 $GFS_TGT" "mkfs.at:37" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=0 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:37" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:38: \$GFS_MKFS -p lock_nolock -o format=1800 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1800 $GFS_TGT" "mkfs.at:38" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1800 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:38" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:39: \$GFS_MKFS -p lock_nolock -o format=1801 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT" "mkfs.at:39" +printf "%s\n" "$at_srcdir/mkfs.at:39: \$GFS_MKFS -p lock_nolock -o format=0 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=0 $GFS_TGT" "mkfs.at:39" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=0 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:39" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:40: \$GFS_MKFS -p lock_nolock -o format=1800 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1800 $GFS_TGT" "mkfs.at:40" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1800 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:40" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:41: \$GFS_MKFS -p lock_nolock -o format=1801 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT" "mkfs.at:41" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:39" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:41" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:40: \$GFS_MKFS -p lock_nolock -o format=1802 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT" "mkfs.at:40" +printf "%s\n" "$at_srcdir/mkfs.at:42: \$GFS_MKFS -p lock_nolock -o format=1802 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT" "mkfs.at:42" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:40" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:42" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:41: \$GFS_MKFS -p lock_nolock -o format=1803 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1803 $GFS_TGT" "mkfs.at:41" +printf "%s\n" "$at_srcdir/mkfs.at:43: \$GFS_MKFS -p lock_nolock -o format=1803 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1803 $GFS_TGT" "mkfs.at:43" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1803 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:41" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:43" $at_failed && at_fn_log_failure $at_traceon; } @@ -2330,95 +2442,95 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_6 #AT_START_7 -at_fn_group_banner 7 'mkfs.at:44' \ +at_fn_group_banner 7 'mkfs.at:46' \ "Locking protocols" " " 1 at_xfail=no ( - $as_echo "7. $at_setup_line: testing $at_desc ..." + printf "%s\n" "7. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:46: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:46" +printf "%s\n" "$at_srcdir/mkfs.at:48: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:48" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:46" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:48" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:46" >"$at_check_line_file" +printf "%s\n" "mkfs.at:48" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:46" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:48" { set +x -$as_echo "$at_srcdir/mkfs.at:46: \$GFS_MKFS -p lock_nolock \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "mkfs.at:46" +printf "%s\n" "$at_srcdir/mkfs.at:48: \$GFS_MKFS -p lock_nolock \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "mkfs.at:48" ( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:46" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:48" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:46: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:46" +printf "%s\n" "$at_srcdir/mkfs.at:48: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:48" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:46" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:48" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:47: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:47" +printf "%s\n" "$at_srcdir/mkfs.at:49: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:49" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:47" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:49" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:47" >"$at_check_line_file" +printf "%s\n" "mkfs.at:49" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:47" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:49" { set +x -$as_echo "$at_srcdir/mkfs.at:47: \$GFS_MKFS -p lock_dlm -t foo:bar \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t foo:bar $GFS_TGT" "mkfs.at:47" +printf "%s\n" "$at_srcdir/mkfs.at:49: \$GFS_MKFS -p lock_dlm -t foo:bar \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t foo:bar $GFS_TGT" "mkfs.at:49" ( $at_check_trace; $GFS_MKFS -p lock_dlm -t foo:bar $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:47" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:49" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:47: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:47" +printf "%s\n" "$at_srcdir/mkfs.at:49: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:49" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:47" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:49" $at_failed && at_fn_log_failure $at_traceon; } @@ -2428,100 +2540,16 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_7 #AT_START_8 -at_fn_group_banner 8 'mkfs.at:50' \ +at_fn_group_banner 8 'mkfs.at:52' \ "Valid block sizes 512-4096" " " 1 at_xfail=no ( - $as_echo "8. $at_setup_line: testing $at_desc ..." + printf "%s\n" "8. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:52: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:52" -( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:52" -$at_failed && at_fn_log_failure -$at_traceon; } - -$as_echo "mkfs.at:52" >"$at_check_line_file" -(test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:52" -{ set +x -$as_echo "$at_srcdir/mkfs.at:52: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 512 $GFS_TGT" "mkfs.at:52" -( $at_check_trace; $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:52" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:52: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:52" -( $at_check_trace; fsck.gfs2 -n $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:52" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:53: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:53" -( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:53" -$at_failed && at_fn_log_failure -$at_traceon; } - -$as_echo "mkfs.at:53" >"$at_check_line_file" -(test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:53" -{ set +x -$as_echo "$at_srcdir/mkfs.at:53: \$GFS_MKFS -p lock_nolock -b 1024 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT" "mkfs.at:53" -( $at_check_trace; $GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:53" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:53: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:53" -( $at_check_trace; fsck.gfs2 -n $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:53" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:54: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/mkfs.at:54: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:54" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2533,13 +2561,13 @@ at_fn_check_skip $at_status "$at_srcdir/mkfs.at:54" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:54" >"$at_check_line_file" +printf "%s\n" "mkfs.at:54" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/mkfs.at:54" { set +x -$as_echo "$at_srcdir/mkfs.at:54: \$GFS_MKFS -p lock_nolock -b 2048 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 2048 $GFS_TGT" "mkfs.at:54" -( $at_check_trace; $GFS_MKFS -p lock_nolock -b 2048 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:54: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 512 $GFS_TGT" "mkfs.at:54" +( $at_check_trace; $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -2550,7 +2578,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:54: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:54: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:54" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2563,7 +2591,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:55: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/mkfs.at:55: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:55" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2575,13 +2603,13 @@ at_fn_check_skip $at_status "$at_srcdir/mkfs.at:55" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:55" >"$at_check_line_file" +printf "%s\n" "mkfs.at:55" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/mkfs.at:55" { set +x -$as_echo "$at_srcdir/mkfs.at:55: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT" "mkfs.at:55" -( $at_check_trace; $GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:55: \$GFS_MKFS -p lock_nolock -b 1024 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT" "mkfs.at:55" +( $at_check_trace; $GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -2592,7 +2620,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:55: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/mkfs.at:55: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:55" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -2604,59 +2632,143 @@ at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:55" $at_failed && at_fn_log_failure $at_traceon; } - set +x - $at_times_p && times >"$at_times_file" -) 5>&1 2>&1 7>&- | eval $at_tee_pipe -read at_status <"$at_status_file" -#AT_STOP_8 -#AT_START_9 -at_fn_group_banner 9 'mkfs.at:58' \ - "Max. blocks, min. block size" " " 1 -at_xfail=no -( - $as_echo "9. $at_setup_line: testing $at_desc ..." - $at_traceon - - { set +x -$as_echo "$at_srcdir/mkfs.at:60: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:60" +printf "%s\n" "$at_srcdir/mkfs.at:56: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:56" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:60" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:56" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:60" >"$at_check_line_file" +printf "%s\n" "mkfs.at:56" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:60" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:56" { set +x -$as_echo "$at_srcdir/mkfs.at:60: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT \$(gfs_max_blocks 512)" -at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:60" -( $at_check_trace; $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT $(gfs_max_blocks 512) +printf "%s\n" "$at_srcdir/mkfs.at:56: \$GFS_MKFS -p lock_nolock -b 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 2048 $GFS_TGT" "mkfs.at:56" +( $at_check_trace; $GFS_MKFS -p lock_nolock -b 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:60" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:56" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:60: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:60" +printf "%s\n" "$at_srcdir/mkfs.at:56: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:56" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:60" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:56" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:57: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:57" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:57" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:57" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:57" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:57: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT" "mkfs.at:57" +( $at_check_trace; $GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:57" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:57: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:57" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:57" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_8 +#AT_START_9 +at_fn_group_banner 9 'mkfs.at:60' \ + "Max. blocks, min. block size" " " 1 +at_xfail=no +( + printf "%s\n" "9. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:62: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:62" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:62" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:62" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:62" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:62: \$GFS_MKFS -p lock_nolock -b 512 \$GFS_TGT \$(gfs_max_blocks 512)" +at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:62" +( $at_check_trace; $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT $(gfs_max_blocks 512) +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:62" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:62: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:62" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:62" $at_failed && at_fn_log_failure $at_traceon; } @@ -2666,53 +2778,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_9 #AT_START_10 -at_fn_group_banner 10 'mkfs.at:63' \ +at_fn_group_banner 10 'mkfs.at:65' \ "Max. blocks, max. block size" " " 1 at_xfail=no ( - $as_echo "10. $at_setup_line: testing $at_desc ..." + printf "%s\n" "10. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:65: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:65" +printf "%s\n" "$at_srcdir/mkfs.at:67: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:67" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:65" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:67" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:65" >"$at_check_line_file" +printf "%s\n" "mkfs.at:67" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:65" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:67" { set +x -$as_echo "$at_srcdir/mkfs.at:65: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT \$(gfs_max_blocks 4096)" -at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:65" +printf "%s\n" "$at_srcdir/mkfs.at:67: \$GFS_MKFS -p lock_nolock -b 4096 \$GFS_TGT \$(gfs_max_blocks 4096)" +at_fn_check_prepare_notrace 'a $(...) command substitution' "mkfs.at:67" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT $(gfs_max_blocks 4096) ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:65" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:67" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:65: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:65" +printf "%s\n" "$at_srcdir/mkfs.at:67: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:67" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:65" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:67" $at_failed && at_fn_log_failure $at_traceon; } @@ -2722,53 +2834,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_10 #AT_START_11 -at_fn_group_banner 11 'mkfs.at:68' \ +at_fn_group_banner 11 'mkfs.at:70' \ "Max. resource group size" " " 1 at_xfail=no ( - $as_echo "11. $at_setup_line: testing $at_desc ..." + printf "%s\n" "11. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:70: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:70" +printf "%s\n" "$at_srcdir/mkfs.at:72: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:72" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:70" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:72" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:70" >"$at_check_line_file" +printf "%s\n" "mkfs.at:72" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:70" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:72" { set +x -$as_echo "$at_srcdir/mkfs.at:70: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:70" +printf "%s\n" "$at_srcdir/mkfs.at:72: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:72" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:70" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:72" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:70: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:70" +printf "%s\n" "$at_srcdir/mkfs.at:72: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:72" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:70" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:72" $at_failed && at_fn_log_failure $at_traceon; } @@ -2778,53 +2890,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_11 #AT_START_12 -at_fn_group_banner 12 'mkfs.at:73' \ +at_fn_group_banner 12 'mkfs.at:75' \ "Min. resource group size" " " 1 at_xfail=no ( - $as_echo "12. $at_setup_line: testing $at_desc ..." + printf "%s\n" "12. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:75: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:75" +printf "%s\n" "$at_srcdir/mkfs.at:77: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:77" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:75" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:77" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:75" >"$at_check_line_file" +printf "%s\n" "mkfs.at:77" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:75" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:77" { set +x -$as_echo "$at_srcdir/mkfs.at:75: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:75" +printf "%s\n" "$at_srcdir/mkfs.at:77: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:77" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:75" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:77" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:75: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:75" +printf "%s\n" "$at_srcdir/mkfs.at:77: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:77" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:75" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:77" $at_failed && at_fn_log_failure $at_traceon; } @@ -2834,53 +2946,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_12 #AT_START_13 -at_fn_group_banner 13 'mkfs.at:78' \ +at_fn_group_banner 13 'mkfs.at:80' \ "Max. resource group size, min. block size" " " 1 at_xfail=no ( - $as_echo "13. $at_setup_line: testing $at_desc ..." + printf "%s\n" "13. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:80: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:80" +printf "%s\n" "$at_srcdir/mkfs.at:82: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:82" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:80" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:82" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:80" >"$at_check_line_file" +printf "%s\n" "mkfs.at:82" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:80" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:82" { set +x -$as_echo "$at_srcdir/mkfs.at:80: \$GFS_MKFS -p lock_nolock -r 2048 -b 512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 -b 512 $GFS_TGT" "mkfs.at:80" +printf "%s\n" "$at_srcdir/mkfs.at:82: \$GFS_MKFS -p lock_nolock -r 2048 -b 512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 -b 512 $GFS_TGT" "mkfs.at:82" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2048 -b 512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:80" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:82" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:80: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:80" +printf "%s\n" "$at_srcdir/mkfs.at:82: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:82" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:80" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:82" $at_failed && at_fn_log_failure $at_traceon; } @@ -2890,53 +3002,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_13 #AT_START_14 -at_fn_group_banner 14 'mkfs.at:83' \ +at_fn_group_banner 14 'mkfs.at:85' \ "Max. journal size" " " 1 at_xfail=no ( - $as_echo "14. $at_setup_line: testing $at_desc ..." + printf "%s\n" "14. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:85: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:85" +printf "%s\n" "$at_srcdir/mkfs.at:87: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:87" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:85" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:87" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:85" >"$at_check_line_file" +printf "%s\n" "mkfs.at:87" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:85" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:87" { set +x -$as_echo "$at_srcdir/mkfs.at:85: \$GFS_MKFS -p lock_nolock -J 1024 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 1024 $GFS_TGT" "mkfs.at:85" +printf "%s\n" "$at_srcdir/mkfs.at:87: \$GFS_MKFS -p lock_nolock -J 1024 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 1024 $GFS_TGT" "mkfs.at:87" ( $at_check_trace; $GFS_MKFS -p lock_nolock -J 1024 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:85" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:87" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:85: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:85" +printf "%s\n" "$at_srcdir/mkfs.at:87: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:87" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:85" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:87" $at_failed && at_fn_log_failure $at_traceon; } @@ -2946,109 +3058,109 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_14 #AT_START_15 -at_fn_group_banner 15 'mkfs.at:88' \ +at_fn_group_banner 15 'mkfs.at:90' \ "Min. journal size" " " 1 at_xfail=no ( - $as_echo "15. $at_setup_line: testing $at_desc ..." + printf "%s\n" "15. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:90: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:90" +printf "%s\n" "$at_srcdir/mkfs.at:92: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:92" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:90" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:92" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:90" >"$at_check_line_file" +printf "%s\n" "mkfs.at:92" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:90" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:92" { set +x -$as_echo "$at_srcdir/mkfs.at:90: \$GFS_MKFS -p lock_nolock -J 8 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 8 $GFS_TGT" "mkfs.at:90" +printf "%s\n" "$at_srcdir/mkfs.at:92: \$GFS_MKFS -p lock_nolock -J 8 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -J 8 $GFS_TGT" "mkfs.at:92" ( $at_check_trace; $GFS_MKFS -p lock_nolock -J 8 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:90" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:92" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:90: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:90" +printf "%s\n" "$at_srcdir/mkfs.at:92: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:92" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:90" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:92" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:91: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:91" +printf "%s\n" "$at_srcdir/mkfs.at:93: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:93" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:91" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:93" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:91" >"$at_check_line_file" +printf "%s\n" "mkfs.at:93" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:91" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:93" { set +x -$as_echo "$at_srcdir/mkfs.at:91: \$GFS_MKFS -p lock_nolock -b 1024 \$GFS_TGT 511996" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT 511996" "mkfs.at:91" +printf "%s\n" "$at_srcdir/mkfs.at:93: \$GFS_MKFS -p lock_nolock -b 1024 \$GFS_TGT 511996" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT 511996" "mkfs.at:93" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b 1024 $GFS_TGT 511996 ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:91" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:93" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:91: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:91" +printf "%s\n" "$at_srcdir/mkfs.at:93: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:93" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:91" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:93" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:92: gfs2_edit -p journal0 field di_size \$GFS_TGT | tr -d '\\n'" -at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:92" +printf "%s\n" "$at_srcdir/mkfs.at:94: gfs2_edit -p journal0 field di_size \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:94" ( $at_check_trace; gfs2_edit -p journal0 field di_size $GFS_TGT | tr -d '\n' ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" -echo >>"$at_stdout"; $as_echo "8388608" | \ +echo >>"$at_stdout"; printf "%s\n" "8388608" | \ $at_diff - "$at_stdout" || at_failed=: -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:92" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:94" $at_failed && at_fn_log_failure $at_traceon; } @@ -3058,53 +3170,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_15 #AT_START_16 -at_fn_group_banner 16 'mkfs.at:95' \ +at_fn_group_banner 16 'mkfs.at:97' \ "Max. quota change file size" " " 1 at_xfail=no ( - $as_echo "16. $at_setup_line: testing $at_desc ..." + printf "%s\n" "16. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:97: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:97" +printf "%s\n" "$at_srcdir/mkfs.at:99: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:99" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:97" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:99" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:97" >"$at_check_line_file" +printf "%s\n" "mkfs.at:99" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:97" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:99" { set +x -$as_echo "$at_srcdir/mkfs.at:97: \$GFS_MKFS -p lock_nolock -c 64 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 64 $GFS_TGT" "mkfs.at:97" +printf "%s\n" "$at_srcdir/mkfs.at:99: \$GFS_MKFS -p lock_nolock -c 64 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 64 $GFS_TGT" "mkfs.at:99" ( $at_check_trace; $GFS_MKFS -p lock_nolock -c 64 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:97" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:99" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:97: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:97" +printf "%s\n" "$at_srcdir/mkfs.at:99: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:99" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:97" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:99" $at_failed && at_fn_log_failure $at_traceon; } @@ -3114,53 +3226,53 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_16 #AT_START_17 -at_fn_group_banner 17 'mkfs.at:100' \ +at_fn_group_banner 17 'mkfs.at:102' \ "Min. quota change file size" " " 1 at_xfail=no ( - $as_echo "17. $at_setup_line: testing $at_desc ..." + printf "%s\n" "17. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:102: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:102" +printf "%s\n" "$at_srcdir/mkfs.at:104: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:104" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:102" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:104" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:102" >"$at_check_line_file" +printf "%s\n" "mkfs.at:104" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:102" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:104" { set +x -$as_echo "$at_srcdir/mkfs.at:102: \$GFS_MKFS -p lock_nolock -c 1 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 1 $GFS_TGT" "mkfs.at:102" +printf "%s\n" "$at_srcdir/mkfs.at:104: \$GFS_MKFS -p lock_nolock -c 1 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -c 1 $GFS_TGT" "mkfs.at:104" ( $at_check_trace; $GFS_MKFS -p lock_nolock -c 1 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:102" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:104" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:102: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:102" +printf "%s\n" "$at_srcdir/mkfs.at:104: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:104" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:102" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:104" $at_failed && at_fn_log_failure $at_traceon; } @@ -3170,99 +3282,44 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_17 #AT_START_18 -at_fn_group_banner 18 'mkfs.at:105' \ +at_fn_group_banner 18 'mkfs.at:107' \ "Lock table validation" " " 1 at_xfail=no ( - $as_echo "18. $at_setup_line: testing $at_desc ..." + printf "%s\n" "18. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:107: \$GFS_MKFS -p lock_nolock -t \"\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"\" $GFS_TGT" "mkfs.at:107" +printf "%s\n" "$at_srcdir/mkfs.at:109: \$GFS_MKFS -p lock_nolock -t \"\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"\" $GFS_TGT" "mkfs.at:109" ( $at_check_trace; $GFS_MKFS -p lock_nolock -t "" $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:107" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:108: \$GFS_MKFS -p lock_nolock -t \"123456789012345678901234567890123:12345678\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"123456789012345678901234567890123:12345678\" $GFS_TGT" "mkfs.at:108" -( $at_check_trace; $GFS_MKFS -p lock_nolock -t "123456789012345678901234567890123:12345678" $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:108" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:109: \$GFS_MKFS -p lock_nolock -t \"12345678901234567:1234567890123456789012345678901\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"12345678901234567:1234567890123456789012345678901\" $GFS_TGT" "mkfs.at:109" -( $at_check_trace; $GFS_MKFS -p lock_nolock -t "12345678901234567:1234567890123456789012345678901" $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:109" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:110: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:110" -( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +printf "%s\n" "$at_srcdir/mkfs.at:110: \$GFS_MKFS -p lock_nolock -t \"123456789012345678901234567890123:12345678\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"123456789012345678901234567890123:12345678\" $GFS_TGT" "mkfs.at:110" +( $at_check_trace; $GFS_MKFS -p lock_nolock -t "123456789012345678901234567890123:12345678" $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:110" -$at_failed && at_fn_log_failure -$at_traceon; } - -$as_echo "mkfs.at:110" >"$at_check_line_file" -(test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:110" -{ set +x -$as_echo "$at_srcdir/mkfs.at:110: \$GFS_MKFS -p lock_nolock -t \"12345678901234567890123456789012:123456789012345678901234567890\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"12345678901234567890123456789012:123456789012345678901234567890\" $GFS_TGT" "mkfs.at:110" -( $at_check_trace; $GFS_MKFS -p lock_nolock -t "12345678901234567890123456789012:123456789012345678901234567890" $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:110" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:110" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:110: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:110" -( $at_check_trace; fsck.gfs2 -n $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:110" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:111: \$GFS_MKFS -p lock_dlm -t \"\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"\" $GFS_TGT" "mkfs.at:111" -( $at_check_trace; $GFS_MKFS -p lock_dlm -t "" $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:111: \$GFS_MKFS -p lock_nolock -t \"12345678901234567:1234567890123456789012345678901\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"12345678901234567:1234567890123456789012345678901\" $GFS_TGT" "mkfs.at:111" +( $at_check_trace; $GFS_MKFS -p lock_nolock -t "12345678901234567:1234567890123456789012345678901" $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3273,22 +3330,51 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:112: \$GFS_MKFS -p lock_dlm -t \"quite_long_cluster_name_test_here:intec34p\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"quite_long_cluster_name_test_here:intec34p\" $GFS_TGT" "mkfs.at:112" -( $at_check_trace; $GFS_MKFS -p lock_dlm -t "quite_long_cluster_name_test_here:intec34p" $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:112: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:112" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:112" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:112" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:112" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:112" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:112: \$GFS_MKFS -p lock_nolock -t \"12345678901234567890123456789012:123456789012345678901234567890\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t \"12345678901234567890123456789012:123456789012345678901234567890\" $GFS_TGT" "mkfs.at:112" +( $at_check_trace; $GFS_MKFS -p lock_nolock -t "12345678901234567890123456789012:123456789012345678901234567890" $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:112" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:113: \$GFS_MKFS -p lock_dlm -t \"financial_cluster:this_time_we_test_fs_naming_len\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"financial_cluster:this_time_we_test_fs_naming_len\" $GFS_TGT" "mkfs.at:113" -( $at_check_trace; $GFS_MKFS -p lock_dlm -t "financial_cluster:this_time_we_test_fs_naming_len" $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:112: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:112" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:112" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:113: \$GFS_MKFS -p lock_dlm -t \"\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"\" $GFS_TGT" "mkfs.at:113" +( $at_check_trace; $GFS_MKFS -p lock_dlm -t "" $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3299,44 +3385,70 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:114: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:114" +printf "%s\n" "$at_srcdir/mkfs.at:114: \$GFS_MKFS -p lock_dlm -t \"quite_long_cluster_name_test_here:intec34p\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"quite_long_cluster_name_test_here:intec34p\" $GFS_TGT" "mkfs.at:114" +( $at_check_trace; $GFS_MKFS -p lock_dlm -t "quite_long_cluster_name_test_here:intec34p" $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:114" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:115: \$GFS_MKFS -p lock_dlm -t \"financial_cluster:this_time_we_test_fs_naming_len\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"financial_cluster:this_time_we_test_fs_naming_len\" $GFS_TGT" "mkfs.at:115" +( $at_check_trace; $GFS_MKFS -p lock_dlm -t "financial_cluster:this_time_we_test_fs_naming_len" $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:115" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:116: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:116" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:114" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:116" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:114" >"$at_check_line_file" +printf "%s\n" "mkfs.at:116" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:114" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:116" { set +x -$as_echo "$at_srcdir/mkfs.at:114: \$GFS_MKFS -p lock_dlm -t \"a_really_long_named_cluster_here:concurrently_lets_check_fs_len\" \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"a_really_long_named_cluster_here:concurrently_lets_check_fs_len\" $GFS_TGT" "mkfs.at:114" +printf "%s\n" "$at_srcdir/mkfs.at:116: \$GFS_MKFS -p lock_dlm -t \"a_really_long_named_cluster_here:concurrently_lets_check_fs_len\" \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_dlm -t \"a_really_long_named_cluster_here:concurrently_lets_check_fs_len\" $GFS_TGT" "mkfs.at:116" ( $at_check_trace; $GFS_MKFS -p lock_dlm -t "a_really_long_named_cluster_here:concurrently_lets_check_fs_len" $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:114" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:116" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:114: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:114" +printf "%s\n" "$at_srcdir/mkfs.at:116: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:116" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:114" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:116" $at_failed && at_fn_log_failure $at_traceon; } @@ -3346,86 +3458,74 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_18 #AT_START_19 -at_fn_group_banner 19 'mkfs.at:124' \ +at_fn_group_banner 19 'mkfs.at:126' \ "Device i/o limits handling" " " 1 at_xfail=no ( - $as_echo "19. $at_setup_line: testing $at_desc ..." + printf "%s\n" "19. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:126: \$GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 $GFS_TGT" "mkfs.at:126" +printf "%s\n" "$at_srcdir/mkfs.at:128: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:128" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:128" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:128" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:128" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:129: \$GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 $GFS_TGT" "mkfs.at:129" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:126" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:127: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 $GFS_TGT" "mkfs.at:127" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:127" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:128: gfs2_edit -p sb field sb_bsize \$GFS_TGT | tr -d '\\n' " -at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:128" -( $at_check_trace; gfs2_edit -p sb field sb_bsize $GFS_TGT | tr -d '\n' -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo >>"$at_stdout"; $as_echo "4096" | \ - $at_diff - "$at_stdout" || at_failed=: -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:128" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:129: \$GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 $GFS_TGT" "mkfs.at:129" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:129" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:130: \$GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 $GFS_TGT" "mkfs.at:130" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:130: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 $GFS_TGT" "mkfs.at:130" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:512:512:512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter -echo >>"$at_stderr"; $as_echo "Warning: device is not properly aligned. This may harm performance. -" | \ - $at_diff - "$at_stderr" || at_failed=: +echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:130" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:132: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 $GFS_TGT" "mkfs.at:132" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:131: gfs2_edit -p sb field sb_bsize \$GFS_TGT | tr -d '\\n' " +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:131" +( $at_check_trace; gfs2_edit -p sb field sb_bsize $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "4096" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:131" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:132: \$GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 $GFS_TGT" "mkfs.at:132" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=7168:512:0:33553920:512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3433,6 +3533,34 @@ echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:132" $at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:133: \$GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 $GFS_TGT" "mkfs.at:133" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=7168:512:8192:33553920:512 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo >>"$at_stderr"; printf "%s\n" "Warning: device is not properly aligned. This may harm performance. +" | \ + $at_diff - "$at_stderr" || at_failed=: +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:133" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:135: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 $GFS_TGT" "mkfs.at:135" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:4194304:8388608:512 -b 1024 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:135" +$at_failed && at_fn_log_failure $at_traceon; } set +x @@ -3441,53 +3569,69 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_19 #AT_START_20 -at_fn_group_banner 20 'mkfs.at:135' \ +at_fn_group_banner 20 'mkfs.at:138' \ "Resource group alignment" " " 1 at_xfail=no ( - $as_echo "20. $at_setup_line: testing $at_desc ..." + printf "%s\n" "20. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:137: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:137" +printf "%s\n" "$at_srcdir/mkfs.at:140: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:140" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:140" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:140" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:140" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:141: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:141" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:137" -$at_failed && at_fn_log_failure -$at_traceon; } - -# Check rgrp alignment to minimum_io_size: 65536 / 4096 == 16 -{ set +x -$as_echo "$at_srcdir/mkfs.at:139: gfs2_edit -p rindex \$GFS_TGT | grep ri_addr | awk '{print \$2, \$2 % 16; if (\$2 % 16 != 0) { exit 1 }}'" -at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:139" -( $at_check_trace; gfs2_edit -p rindex $GFS_TGT | grep ri_addr | awk '{print $2, $2 % 16; if ($2 % 16 != 0) { exit 1 }}' -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:139" -$at_failed && at_fn_log_failure -$at_traceon; } - -# rhbz#1698858 -{ set +x -$as_echo "$at_srcdir/mkfs.at:141: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 $GFS_TGT" "mkfs.at:141" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:141" $at_failed && at_fn_log_failure +$at_traceon; } + +# Check rgrp alignment to minimum_io_size: 65536 / 4096 == 16 +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:143: gfs2_edit -p rindex \$GFS_TGT | grep ri_addr | awk '{print \$2, \$2 % 16; if (\$2 % 16 != 0) { exit 1 }}'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:143" +( $at_check_trace; gfs2_edit -p rindex $GFS_TGT | grep ri_addr | awk '{print $2, $2 % 16; if ($2 % 16 != 0) { exit 1 }}' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:143" +$at_failed && at_fn_log_failure +$at_traceon; } + +# rhbz#1698858 +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:145: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 $GFS_TGT" "mkfs.at:145" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:131072:6291456:512 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:145" +$at_failed && at_fn_log_failure $at_traceon; } set +x @@ -3496,96 +3640,47 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_20 #AT_START_21 -at_fn_group_banner 21 'mkfs.at:144' \ +at_fn_group_banner 21 'mkfs.at:148' \ "Values of rg_skip" " " 1 at_xfail=no ( - $as_echo "21. $at_setup_line: testing $at_desc ..." + printf "%s\n" "21. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/mkfs.at:146: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:146" +printf "%s\n" "$at_srcdir/mkfs.at:150: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:150" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:150" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:150" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:150" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:151: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:151" ( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:146" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:147: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:147" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:147" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:148: \$GFS_MKFS -p lock_nolock -r 1024 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT" "mkfs.at:148" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:148" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:149: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:149" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:149" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:150: \$GFS_MKFS -p lock_nolock -r 512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 512 $GFS_TGT" "mkfs.at:150" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:150" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:151: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:151" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:151" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:152: \$GFS_MKFS -p lock_nolock -r 219 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 219 $GFS_TGT" "mkfs.at:152" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 219 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:152: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:152" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3596,9 +3691,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:153: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:153" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +printf "%s\n" "$at_srcdir/mkfs.at:153: \$GFS_MKFS -p lock_nolock -r 1024 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT" "mkfs.at:153" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3609,9 +3704,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:154: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:154" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:154: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:154" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3622,9 +3717,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:155: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:155" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +printf "%s\n" "$at_srcdir/mkfs.at:155: \$GFS_MKFS -p lock_nolock -r 512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 512 $GFS_TGT" "mkfs.at:155" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3635,9 +3730,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:156: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:156" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:156: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:156" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3648,9 +3743,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:157: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:157" -( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +printf "%s\n" "$at_srcdir/mkfs.at:157: \$GFS_MKFS -p lock_nolock -r 219 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 219 $GFS_TGT" "mkfs.at:157" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 219 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3660,24 +3755,62 @@ at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:157" $at_failed && at_fn_log_failure $at_traceon; } - set +x - $at_times_p && times >"$at_times_file" -) 5>&1 2>&1 7>&- | eval $at_tee_pipe -read at_status <"$at_status_file" -#AT_STOP_21 -#AT_START_22 -at_fn_group_banner 22 'mkfs.at:160' \ - "Values of rg_data0, rg_data, rg_bitbytes" " " 1 -at_xfail=no -( - $as_echo "22. $at_setup_line: testing $at_desc ..." - $at_traceon - +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:158: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:158" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:158" +$at_failed && at_fn_log_failure +$at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:162: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:162" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:159: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:159" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:159" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:160: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:160" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:160" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:161: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:161" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:161" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:162: rgskipcheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:162" +( $at_check_trace; rgskipcheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3687,75 +3820,40 @@ at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:162" $at_failed && at_fn_log_failure $at_traceon; } + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_21 +#AT_START_22 +at_fn_group_banner 22 'mkfs.at:165' \ + "Values of rg_data0, rg_data, rg_bitbytes" " " 1 +at_xfail=no +( + printf "%s\n" "22. $at_setup_line: testing $at_desc ..." + $at_traceon + + { set +x -$as_echo "$at_srcdir/mkfs.at:163: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:163" -( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +printf "%s\n" "$at_srcdir/mkfs.at:167: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:167" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:163" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:167" $at_failed && at_fn_log_failure $at_traceon; } +printf "%s\n" "mkfs.at:167" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:167" { set +x -$as_echo "$at_srcdir/mkfs.at:164: \$GFS_MKFS -p lock_nolock -r 1024 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT" "mkfs.at:164" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:164" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:165: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:165" -( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:165" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:166: \$GFS_MKFS -p lock_nolock -r 512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 512 $GFS_TGT" "mkfs.at:166" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 512 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:166" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:167: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:167" -( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:167" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/mkfs.at:168: \$GFS_MKFS -p lock_nolock -r 219 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 219 $GFS_TGT" "mkfs.at:168" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 219 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:168: \$GFS_MKFS -p lock_nolock -r 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT" "mkfs.at:168" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3766,7 +3864,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:169: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/mkfs.at:169: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:169" ( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3779,9 +3877,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:170: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:170" -( $at_check_trace; $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:170: \$GFS_MKFS -p lock_nolock -r 1024 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT" "mkfs.at:170" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 1024 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3792,7 +3890,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:171: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/mkfs.at:171: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:171" ( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3805,9 +3903,9 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:172: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:172" -( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:172: \$GFS_MKFS -p lock_nolock -r 512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 512 $GFS_TGT" "mkfs.at:172" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3818,7 +3916,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:173: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/mkfs.at:173: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:173" ( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3830,40 +3928,75 @@ at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:173" $at_failed && at_fn_log_failure $at_traceon; } - set +x - $at_times_p && times >"$at_times_file" -) 5>&1 2>&1 7>&- | eval $at_tee_pipe -read at_status <"$at_status_file" -#AT_STOP_22 -#AT_START_23 -at_fn_group_banner 23 'mkfs.at:176' \ - "Small filesystems" " " 1 -at_xfail=no -( - $as_echo "23. $at_setup_line: testing $at_desc ..." - $at_traceon - - { set +x -$as_echo "$at_srcdir/mkfs.at:178: rm -f \$GFS_TGT && truncate -s 32M \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:178" -( $at_check_trace; rm -f $GFS_TGT && truncate -s 32M ${GFS_TGT} +printf "%s\n" "$at_srcdir/mkfs.at:174: \$GFS_MKFS -p lock_nolock -r 219 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 219 $GFS_TGT" "mkfs.at:174" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 219 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:178" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:174" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:178" >"$at_check_line_file" -(test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:178" { set +x -$as_echo "$at_srcdir/mkfs.at:179: \$GFS_MKFS -p lock_nolock \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "mkfs.at:179" -( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT +printf "%s\n" "$at_srcdir/mkfs.at:175: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:175" +( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:175" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:176: \$GFS_MKFS -p lock_nolock -r 32 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -r 32 $GFS_TGT" "mkfs.at:176" +( $at_check_trace; $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:176" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:177: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:177" +( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:177" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:178: \$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT" "mkfs.at:178" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:178" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:179: rgrifieldscheck.sh \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "mkfs.at:179" +( $at_check_trace; rgrifieldscheck.sh $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -3873,58 +4006,101 @@ at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:179" $at_failed && at_fn_log_failure $at_traceon; } + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_22 +#AT_START_23 +at_fn_group_banner 23 'mkfs.at:182' \ + "Small filesystems" " " 1 +at_xfail=no +( + printf "%s\n" "23. $at_setup_line: testing $at_desc ..." + $at_traceon + + { set +x -$as_echo "$at_srcdir/mkfs.at:180: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:180" +printf "%s\n" "$at_srcdir/mkfs.at:184: rm -f \$GFS_TGT && truncate -s 32M \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:184" +( $at_check_trace; rm -f $GFS_TGT && truncate -s 32M ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:184" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:184" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:184" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:185: \$GFS_MKFS -p lock_nolock \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "mkfs.at:185" +( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:185" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:186: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:186" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:180" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:186" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:181: rm -f \$GFS_TGT && truncate -s 64M \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:181" +printf "%s\n" "$at_srcdir/mkfs.at:187: rm -f \$GFS_TGT && truncate -s 64M \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:187" ( $at_check_trace; rm -f $GFS_TGT && truncate -s 64M ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/mkfs.at:181" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:187" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "mkfs.at:181" >"$at_check_line_file" +printf "%s\n" "mkfs.at:187" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/mkfs.at:181" + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:187" { set +x -$as_echo "$at_srcdir/mkfs.at:182: \$GFS_MKFS -p lock_nolock -j2 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -j2 $GFS_TGT" "mkfs.at:182" +printf "%s\n" "$at_srcdir/mkfs.at:188: \$GFS_MKFS -p lock_nolock -j2 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -j2 $GFS_TGT" "mkfs.at:188" ( $at_check_trace; $GFS_MKFS -p lock_nolock -j2 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:182" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:188" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/mkfs.at:183: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:183" +printf "%s\n" "$at_srcdir/mkfs.at:189: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:189" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:183" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:189" $at_failed && at_fn_log_failure $at_traceon; } @@ -3934,17 +4110,318 @@ $at_traceon; } read at_status <"$at_status_file" #AT_STOP_23 #AT_START_24 -at_fn_group_banner 24 'fsck.at:4' \ +at_fn_group_banner 24 'mkfs.at:192' \ + "UUID option" " " 1 +at_xfail=no +( + printf "%s\n" "24. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:194: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:194" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:194" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:194" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:194" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:195: \$GFS_MKFS -p lock_nolock \$GFS_TGT -U" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT -U" "mkfs.at:195" +( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT -U +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:195" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:196: \$GFS_MKFS -p lock_nolock -U 42 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -U 42 $GFS_TGT" "mkfs.at:196" +( $at_check_trace; $GFS_MKFS -p lock_nolock -U 42 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:196" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:197: \$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb4 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb4 $GFS_TGT" "mkfs.at:197" +( $at_check_trace; $GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb4 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:197" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:198: \$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3f \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3f $GFS_TGT" "mkfs.at:198" +( $at_check_trace; $GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3f $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:198" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:199: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:199" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:199" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:199" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:199" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:199: \$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb $GFS_TGT" "mkfs.at:199" +( $at_check_trace; $GFS_MKFS -p lock_nolock -U 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:199" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:199: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "mkfs.at:199" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:199" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_24 +#AT_START_25 +at_fn_group_banner 25 'mkfs.at:202' \ + "Root jdata inheritance" " " 1 +at_xfail=no +( + printf "%s\n" "25. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:204: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mkfs.at:204" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/mkfs.at:204" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "mkfs.at:204" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/mkfs.at:204" +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:205: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata= \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata= $GFS_TGT" "mkfs.at:205" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata= $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:205" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:206: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata=42 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata=42 $GFS_TGT" "mkfs.at:206" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata=42 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:206" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:207: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata=X \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata=X $GFS_TGT" "mkfs.at:207" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata=X $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 255 $at_status "$at_srcdir/mkfs.at:207" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:208: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata $GFS_TGT" "mkfs.at:208" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:208" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:209: gfs2_edit -x -p root field di_flags \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:209" +( $at_check_trace; gfs2_edit -x -p root field di_flags $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "80000001" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:209" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:210: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata=1 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata=1 $GFS_TGT" "mkfs.at:210" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata=1 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:210" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:211: gfs2_edit -x -p root field di_flags \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:211" +( $at_check_trace; gfs2_edit -x -p root field di_flags $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "80000001" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:211" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:212: \$GFS_MKFS -p lock_nolock -o root_inherit_jdata=0 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o root_inherit_jdata=0 $GFS_TGT" "mkfs.at:212" +( $at_check_trace; $GFS_MKFS -p lock_nolock -o root_inherit_jdata=0 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:212" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:213: gfs2_edit -x -p root field di_flags \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:213" +( $at_check_trace; gfs2_edit -x -p root field di_flags $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "1" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:213" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:214: \$GFS_MKFS -p lock_nolock \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "mkfs.at:214" +( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:214" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/mkfs.at:215: gfs2_edit -x -p root field di_flags \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "mkfs.at:215" +( $at_check_trace; gfs2_edit -x -p root field di_flags $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "1" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/mkfs.at:215" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_25 +#AT_START_26 +at_fn_group_banner 26 'fsck.at:4' \ "Conflicting options" " " 2 at_xfail=no ( - $as_echo "24. $at_setup_line: testing $at_desc ..." + printf "%s\n" "26. $at_setup_line: testing $at_desc ..." $at_traceon # Error code 16 is FSCK_USAGE { set +x -$as_echo "$at_srcdir/fsck.at:7: fsck.gfs2 -y -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:7: fsck.gfs2 -y -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y -n $GFS_TGT" "fsck.at:7" ( $at_check_trace; fsck.gfs2 -y -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3957,7 +4434,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:8: fsck.gfs2 -n -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:8: fsck.gfs2 -n -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n -y $GFS_TGT" "fsck.at:8" ( $at_check_trace; fsck.gfs2 -n -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3970,7 +4447,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:9: fsck.gfs2 -n -p \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:9: fsck.gfs2 -n -p \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n -p $GFS_TGT" "fsck.at:9" ( $at_check_trace; fsck.gfs2 -n -p $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3983,7 +4460,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:10: fsck.gfs2 -p -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:10: fsck.gfs2 -p -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -p -n $GFS_TGT" "fsck.at:10" ( $at_check_trace; fsck.gfs2 -p -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -3996,7 +4473,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:11: fsck.gfs2 -y -p \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:11: fsck.gfs2 -y -p \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y -p $GFS_TGT" "fsck.at:11" ( $at_check_trace; fsck.gfs2 -y -p $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4009,7 +4486,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:12: fsck.gfs2 -p -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:12: fsck.gfs2 -p -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -p -y $GFS_TGT" "fsck.at:12" ( $at_check_trace; fsck.gfs2 -p -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4025,18 +4502,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_24 -#AT_START_25 -at_fn_group_banner 25 'fsck.at:15' \ +#AT_STOP_26 +#AT_START_27 +at_fn_group_banner 27 'fsck.at:15' \ "Fix invalid block sizes" " " 2 at_xfail=no ( - $as_echo "25. $at_setup_line: testing $at_desc ..." + printf "%s\n" "27. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:17: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:17: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:17" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4048,11 +4525,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:17" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:17" >"$at_check_line_file" +printf "%s\n" "fsck.at:17" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:17" { set +x -$as_echo "$at_srcdir/fsck.at:17: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:17: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:17" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4065,7 +4542,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:17: echo \"set sb { sb_bsize: 0 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:17: echo \"set sb { sb_bsize: 0 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:17" ( $at_check_trace; echo "set sb { sb_bsize: 0 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4078,7 +4555,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:17: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:17: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:17" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4091,7 +4568,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:17: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:17: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:17" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4104,7 +4581,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:18: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:18: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:18" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4116,11 +4593,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:18" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:18" >"$at_check_line_file" +printf "%s\n" "fsck.at:18" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:18" { set +x -$as_echo "$at_srcdir/fsck.at:18: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:18: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:18" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4133,7 +4610,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:18: echo \"set sb { sb_bsize: 1 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:18: echo \"set sb { sb_bsize: 1 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:18" ( $at_check_trace; echo "set sb { sb_bsize: 1 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4146,7 +4623,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:18: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:18: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:18" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4159,7 +4636,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:18: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:18: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:18" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4172,7 +4649,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:19: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:19: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:19" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4184,11 +4661,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:19" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:19" >"$at_check_line_file" +printf "%s\n" "fsck.at:19" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:19" { set +x -$as_echo "$at_srcdir/fsck.at:19: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:19: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:19" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4201,7 +4678,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:19: echo \"set sb { sb_bsize: 513 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:19: echo \"set sb { sb_bsize: 513 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:19" ( $at_check_trace; echo "set sb { sb_bsize: 513 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4214,7 +4691,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:19: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:19: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:19" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4227,7 +4704,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:19: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:19: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:19" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4240,7 +4717,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:20: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:20: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:20" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4252,11 +4729,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:20" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:20" >"$at_check_line_file" +printf "%s\n" "fsck.at:20" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:20" { set +x -$as_echo "$at_srcdir/fsck.at:20: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:20: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:20" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4269,7 +4746,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:20: echo \"set sb { sb_bsize: 4095 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:20: echo \"set sb { sb_bsize: 4095 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:20" ( $at_check_trace; echo "set sb { sb_bsize: 4095 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4282,7 +4759,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:20: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:20: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:20" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4295,7 +4772,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:20: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:20: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:20" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4308,7 +4785,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:21: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:21: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:21" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4320,11 +4797,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:21" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:21" >"$at_check_line_file" +printf "%s\n" "fsck.at:21" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:21" { set +x -$as_echo "$at_srcdir/fsck.at:21: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:21: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:21" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4337,7 +4814,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:21: echo \"set sb { sb_bsize: 4097 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:21: echo \"set sb { sb_bsize: 4097 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:21" ( $at_check_trace; echo "set sb { sb_bsize: 4097 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4350,7 +4827,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:21: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:21: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:21" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4363,7 +4840,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:21: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:21: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:21" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4379,18 +4856,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_25 -#AT_START_26 -at_fn_group_banner 26 'fsck.at:24' \ +#AT_STOP_27 +#AT_START_28 +at_fn_group_banner 28 'fsck.at:24' \ "Fix invalid goal blocks" " " 2 at_xfail=no ( - $as_echo "26. $at_setup_line: testing $at_desc ..." + printf "%s\n" "28. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:26: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:26: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:26" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4402,11 +4879,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:26" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:26" >"$at_check_line_file" +printf "%s\n" "fsck.at:26" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:26" { set +x -$as_echo "$at_srcdir/fsck.at:26: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:26: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:26" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4419,7 +4896,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:26: echo \"set '/' { di_goal_meta: 0 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:26: echo \"set '/' { di_goal_meta: 0 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:26" ( $at_check_trace; echo "set '/' { di_goal_meta: 0 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4432,7 +4909,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:26: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:26: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:26" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4445,7 +4922,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:26: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:26: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:26" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4461,18 +4938,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_26 -#AT_START_27 -at_fn_group_banner 27 'fsck.at:29' \ +#AT_STOP_28 +#AT_START_29 +at_fn_group_banner 29 'fsck.at:29' \ "Fix bad resource group #0" " " 2 at_xfail=no ( - $as_echo "27. $at_setup_line: testing $at_desc ..." + printf "%s\n" "29. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:31: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:31: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:31" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4484,11 +4961,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:31" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:31" >"$at_check_line_file" +printf "%s\n" "fsck.at:31" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:31" { set +x -$as_echo "$at_srcdir/fsck.at:31: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:31: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:31" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4501,7 +4978,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:31: nukerg -r 0 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:31: nukerg -r 0 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "nukerg -r 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:31" ( $at_check_trace; nukerg -r 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4514,7 +4991,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:31: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:31: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:31" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4527,7 +5004,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:31: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:31: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:31" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4543,18 +5020,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_27 -#AT_START_28 -at_fn_group_banner 28 'fsck.at:34' \ +#AT_STOP_29 +#AT_START_30 +at_fn_group_banner 30 'fsck.at:34' \ "Fix bad resource group #1" " " 2 at_xfail=no ( - $as_echo "28. $at_setup_line: testing $at_desc ..." + printf "%s\n" "30. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:36: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:36: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:36" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4566,11 +5043,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:36" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:36" >"$at_check_line_file" +printf "%s\n" "fsck.at:36" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:36" { set +x -$as_echo "$at_srcdir/fsck.at:36: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:36: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:36" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4583,7 +5060,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:36: nukerg -r 1 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:36: nukerg -r 1 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "nukerg -r 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:36" ( $at_check_trace; nukerg -r 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4596,7 +5073,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:36: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:36: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:36" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4609,7 +5086,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:36: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:36: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:36" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4625,18 +5102,100 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_28 -#AT_START_29 -at_fn_group_banner 29 'fsck.at:44' \ - "Fix bad rindex entry #1" " " 2 +#AT_STOP_30 +#AT_START_31 +at_fn_group_banner 31 'fsck.at:39' \ + "Fix bad rindex entry #0" " " 2 at_xfail=no ( - $as_echo "29. $at_setup_line: testing $at_desc ..." + printf "%s\n" "31. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:46: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:41: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:41" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/fsck.at:41" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "fsck.at:41" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/fsck.at:41" +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:41: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:41" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:41" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:41: nukerg -i 0 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "nukerg -i 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:41" +( $at_check_trace; nukerg -i 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:41" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:41: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:41" +( $at_check_trace; fsck.gfs2 -y $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:41" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:41: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:41" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:41" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_31 +#AT_START_32 +at_fn_group_banner 32 'fsck.at:44' \ + "Fix bad rindex entry #1" " " 2 +at_xfail=no +( + printf "%s\n" "32. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:46: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:46" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4648,11 +5207,11 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:46" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:46" >"$at_check_line_file" +printf "%s\n" "fsck.at:46" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:46" { set +x -$as_echo "$at_srcdir/fsck.at:46: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:46: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:46" ( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4665,7 +5224,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:46: nukerg -i 1 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +printf "%s\n" "$at_srcdir/fsck.at:46: nukerg -i 1 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" at_fn_check_prepare_dynamic "nukerg -i 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:46" ( $at_check_trace; nukerg -i 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4678,7 +5237,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:46: fsck.gfs2 -y \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:46: fsck.gfs2 -y \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:46" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4691,7 +5250,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:46: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/fsck.at:46: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:46" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4707,18 +5266,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_29 -#AT_START_30 -at_fn_group_banner 30 'fsck.at:49' \ - "Rebuild bad journal" " " 2 +#AT_STOP_32 +#AT_START_33 +at_fn_group_banner 33 'fsck.at:49' \ + "2G RGs: Fix bad resource group #0" " " 2 at_xfail=no ( - $as_echo "30. $at_setup_line: testing $at_desc ..." + printf "%s\n" "33. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:51: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:51: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:51" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4730,58 +5289,58 @@ at_fn_check_skip $at_status "$at_srcdir/fsck.at:51" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:51" >"$at_check_line_file" +printf "%s\n" "fsck.at:51" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/fsck.at:51" { set +x -$as_echo "$at_srcdir/fsck.at:52: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" -at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:52" -( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT +printf "%s\n" "$at_srcdir/fsck.at:51: mkfs.gfs2 -O -p lock_nolock -r 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock -r 2048 $GFS_TGT" "fsck.at:51" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock -r 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:52" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:51" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:53: gfs2_edit -p journal0 field di_header.mh_magic 0 \$GFS_TGT" -at_fn_check_prepare_dynamic "gfs2_edit -p journal0 field di_header.mh_magic 0 $GFS_TGT" "fsck.at:53" -( $at_check_trace; gfs2_edit -p journal0 field di_header.mh_magic 0 $GFS_TGT +printf "%s\n" "$at_srcdir/fsck.at:51: nukerg -r 0 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "nukerg -r 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:51" +( $at_check_trace; nukerg -r 0 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:53" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:51" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:54: fsck.gfs2 -y \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:54" +printf "%s\n" "$at_srcdir/fsck.at:51: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:51" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:54" +at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:51" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:55: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:55" +printf "%s\n" "$at_srcdir/fsck.at:51: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:51" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:55" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:51" $at_failed && at_fn_log_failure $at_traceon; } @@ -4789,135 +5348,81 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_30 -#AT_START_31 -at_fn_group_banner 31 'fsck.at:58' \ - "gfs2 format versions" " " 2 +#AT_STOP_33 +#AT_START_34 +at_fn_group_banner 34 'fsck.at:54' \ + "2G RGs: Fix bad resource group #1" " " 2 at_xfail=no ( - $as_echo "31. $at_setup_line: testing $at_desc ..." + printf "%s\n" "34. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/fsck.at:60: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:60" +printf "%s\n" "$at_srcdir/fsck.at:56: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:56" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_skip $at_status "$at_srcdir/fsck.at:60" +at_fn_check_skip $at_status "$at_srcdir/fsck.at:56" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "fsck.at:60" >"$at_check_line_file" +printf "%s\n" "fsck.at:56" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ - && at_fn_check_skip 77 "$at_srcdir/fsck.at:60" + && at_fn_check_skip 77 "$at_srcdir/fsck.at:56" { set +x -$as_echo "$at_srcdir/fsck.at:61: mkfs.gfs2 -O -p lock_nolock \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:61" -( $at_check_trace; mkfs.gfs2 -O -p lock_nolock ${GFS_TGT} +printf "%s\n" "$at_srcdir/fsck.at:56: mkfs.gfs2 -O -p lock_nolock -r 2048 \$GFS_TGT" +at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock -r 2048 $GFS_TGT" "fsck.at:56" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock -r 2048 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:61" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:56" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:62: echo \"set sb { sb_fs_format: 1803 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:62" -( $at_check_trace; echo "set sb { sb_fs_format: 1803 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +printf "%s\n" "$at_srcdir/fsck.at:56: nukerg -r 1 \$GFS_TGT; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_dynamic "nukerg -r 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi" "fsck.at:56" +( $at_check_trace; nukerg -r 1 $GFS_TGT; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:62" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:56" $at_failed && at_fn_log_failure $at_traceon; } -# Unsupported format, FSCK_USAGE == 16 { set +x -$as_echo "$at_srcdir/fsck.at:64: fsck.gfs2 -y \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:64" +printf "%s\n" "$at_srcdir/fsck.at:56: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:56" ( $at_check_trace; fsck.gfs2 -y $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 16 $at_status "$at_srcdir/fsck.at:64" -$at_failed && at_fn_log_failure -$at_traceon; } - -# Format out of range -{ set +x -$as_echo "$at_srcdir/fsck.at:66: echo \"set sb { sb_fs_format: 4242 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:66" -( $at_check_trace; echo "set sb { sb_fs_format: 4242 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:66" +at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:56" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/fsck.at:67: fsck.gfs2 -y \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:67" -( $at_check_trace; fsck.gfs2 -y $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:67" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/fsck.at:68: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:68" +printf "%s\n" "$at_srcdir/fsck.at:56: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:56" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:68" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/fsck.at:69: mkfs.gfs2 -O -p lock_nolock -o format=1802 \${GFS_TGT}" -at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:69" -( $at_check_trace; mkfs.gfs2 -O -p lock_nolock -o format=1802 ${GFS_TGT} -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:69" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/fsck.at:70: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:70" -( $at_check_trace; fsck.gfs2 -n $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:70" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:56" $at_failed && at_fn_log_failure $at_traceon; } @@ -4925,18 +5430,236 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_31 -#AT_START_32 -at_fn_group_banner 32 'edit.at:4' \ - "Save/restoremeta, defaults" " " 3 +#AT_STOP_34 +#AT_START_35 +at_fn_group_banner 35 'fsck.at:69' \ + "Rebuild bad journal" " " 2 at_xfail=no ( - $as_echo "32. $at_setup_line: testing $at_desc ..." + printf "%s\n" "35. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:6: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/fsck.at:71: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:71" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/fsck.at:71" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "fsck.at:71" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/fsck.at:71" +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:72: mkfs.gfs2 -O -p lock_nolock \$GFS_TGT" +at_fn_check_prepare_dynamic "mkfs.gfs2 -O -p lock_nolock $GFS_TGT" "fsck.at:72" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:72" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:73: gfs2_edit -p journal0 field di_header.mh_magic 0 \$GFS_TGT" +at_fn_check_prepare_dynamic "gfs2_edit -p journal0 field di_header.mh_magic 0 $GFS_TGT" "fsck.at:73" +( $at_check_trace; gfs2_edit -p journal0 field di_header.mh_magic 0 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:73" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:74: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:74" +( $at_check_trace; fsck.gfs2 -y $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:74" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:75: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:75" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:75" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_35 +#AT_START_36 +at_fn_group_banner 36 'fsck.at:78' \ + "gfs2 format versions" " " 2 +at_xfail=no +( + printf "%s\n" "36. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:80: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:80" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/fsck.at:80" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "fsck.at:80" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/fsck.at:80" +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:81: mkfs.gfs2 -O -p lock_nolock \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:81" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:81" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:82: echo \"set sb { sb_fs_format: 1803 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:82" +( $at_check_trace; echo "set sb { sb_fs_format: 1803 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:82" +$at_failed && at_fn_log_failure +$at_traceon; } + +# Unsupported format, FSCK_USAGE == 16 +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:84: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:84" +( $at_check_trace; fsck.gfs2 -y $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 16 $at_status "$at_srcdir/fsck.at:84" +$at_failed && at_fn_log_failure +$at_traceon; } + +# Format out of range +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:86: echo \"set sb { sb_fs_format: 4242 }\" | gfs2l \${GFS_TGT}; x=\$?; if test \$x -eq 127; then exit 77; else exit \$x; fi" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:86" +( $at_check_trace; echo "set sb { sb_fs_format: 4242 }" | gfs2l ${GFS_TGT}; x=$?; if test $x -eq 127; then exit 77; else exit $x; fi +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:86" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:87: fsck.gfs2 -y \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -y $GFS_TGT" "fsck.at:87" +( $at_check_trace; fsck.gfs2 -y $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 1 $at_status "$at_srcdir/fsck.at:87" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:88: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:88" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:88" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:89: mkfs.gfs2 -O -p lock_nolock -o format=1802 \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fsck.at:89" +( $at_check_trace; mkfs.gfs2 -O -p lock_nolock -o format=1802 ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:89" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/fsck.at:90: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "fsck.at:90" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/fsck.at:90" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_36 +#AT_START_37 +at_fn_group_banner 37 'edit.at:4' \ + "Save/restoremeta, defaults" " " 3 +at_xfail=no +( + printf "%s\n" "37. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/edit.at:6: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:6" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4948,11 +5671,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:6" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:6" >"$at_check_line_file" +printf "%s\n" "edit.at:6" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:6" { set +x -$as_echo "$at_srcdir/edit.at:7: \$GFS_MKFS -p lock_nolock \$GFS_TGT \$((\$(gfs_max_blocks 4096)/2))" +printf "%s\n" "$at_srcdir/edit.at:7: \$GFS_MKFS -p lock_nolock \$GFS_TGT \$((\$(gfs_max_blocks 4096)/2))" at_fn_check_prepare_notrace 'a $(...) command substitution' "edit.at:7" ( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT $(($(gfs_max_blocks 4096)/2)) ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4965,7 +5688,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:8: gfs2_edit savemeta \$GFS_TGT test.meta > savemeta.log" +printf "%s\n" "$at_srcdir/edit.at:8: gfs2_edit savemeta \$GFS_TGT test.meta > savemeta.log" at_fn_check_prepare_dynamic "gfs2_edit savemeta $GFS_TGT test.meta > savemeta.log" "edit.at:8" ( $at_check_trace; gfs2_edit savemeta $GFS_TGT test.meta > savemeta.log ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -4978,15 +5701,15 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:9: head -2 savemeta.log" +printf "%s\n" "$at_srcdir/edit.at:9: head -2 savemeta.log" at_fn_check_prepare_trace "edit.at:9" ( $at_check_trace; head -2 savemeta.log ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" -echo >>"$at_stdout"; $as_echo "There are 1310716 blocks of 4096 bytes in the filesystem. -Filesystem size: 5.00GB +echo >>"$at_stdout"; printf "%s\n" "There are 2621439 blocks of 4096 bytes in the filesystem. +Filesystem size: 10.00GB " | \ $at_diff - "$at_stdout" || at_failed=: at_fn_check_status 0 $at_status "$at_srcdir/edit.at:9" @@ -4994,7 +5717,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:12: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:12: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:12" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5006,11 +5729,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:12" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:12" >"$at_check_line_file" +printf "%s\n" "edit.at:12" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:12" { set +x -$as_echo "$at_srcdir/edit.at:13: gfs2_edit restoremeta test.meta \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:13: gfs2_edit restoremeta test.meta \$GFS_TGT" at_fn_check_prepare_dynamic "gfs2_edit restoremeta test.meta $GFS_TGT" "edit.at:13" ( $at_check_trace; gfs2_edit restoremeta test.meta $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5023,7 +5746,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:14: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:14: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "edit.at:14" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5039,18 +5762,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_32 -#AT_START_33 -at_fn_group_banner 33 'edit.at:17' \ +#AT_STOP_37 +#AT_START_38 +at_fn_group_banner 38 'edit.at:17' \ "Save/restoremeta, no compression" " " 3 at_xfail=no ( - $as_echo "33. $at_setup_line: testing $at_desc ..." + printf "%s\n" "38. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:19: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:19: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:19" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5062,11 +5785,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:19" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:19" >"$at_check_line_file" +printf "%s\n" "edit.at:19" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:19" { set +x -$as_echo "$at_srcdir/edit.at:20: \$GFS_MKFS -p lock_nolock \$GFS_TGT \$((\$(gfs_max_blocks 4096)/2))" +printf "%s\n" "$at_srcdir/edit.at:20: \$GFS_MKFS -p lock_nolock \$GFS_TGT \$((\$(gfs_max_blocks 4096)/2))" at_fn_check_prepare_notrace 'a $(...) command substitution' "edit.at:20" ( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT $(($(gfs_max_blocks 4096)/2)) ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5079,7 +5802,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:21: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" +printf "%s\n" "$at_srcdir/edit.at:21: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" at_fn_check_prepare_dynamic "gfs2_edit savemeta -z0 $GFS_TGT test.meta" "edit.at:21" ( $at_check_trace; gfs2_edit savemeta -z0 $GFS_TGT test.meta ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5092,7 +5815,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:22: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:22: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:22" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5104,11 +5827,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:22" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:22" >"$at_check_line_file" +printf "%s\n" "edit.at:22" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:22" { set +x -$as_echo "$at_srcdir/edit.at:23: gfs2_edit restoremeta test.meta \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:23: gfs2_edit restoremeta test.meta \$GFS_TGT" at_fn_check_prepare_dynamic "gfs2_edit restoremeta test.meta $GFS_TGT" "edit.at:23" ( $at_check_trace; gfs2_edit restoremeta test.meta $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5121,7 +5844,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:24: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:24: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "edit.at:24" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5137,18 +5860,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_33 -#AT_START_34 -at_fn_group_banner 34 'edit.at:27' \ +#AT_STOP_38 +#AT_START_39 +at_fn_group_banner 39 'edit.at:27' \ "Save/restoremeta, min. block size" " " 3 at_xfail=no ( - $as_echo "34. $at_setup_line: testing $at_desc ..." + printf "%s\n" "39. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:29: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:29: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:29" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5160,11 +5883,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:29" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:29" >"$at_check_line_file" +printf "%s\n" "edit.at:29" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:29" { set +x -$as_echo "$at_srcdir/edit.at:30: \$GFS_MKFS -p lock_nolock -b512 \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:30: \$GFS_MKFS -p lock_nolock -b512 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b512 $GFS_TGT" "edit.at:30" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b512 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5177,7 +5900,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:31: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" +printf "%s\n" "$at_srcdir/edit.at:31: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" at_fn_check_prepare_dynamic "gfs2_edit savemeta -z0 $GFS_TGT test.meta" "edit.at:31" ( $at_check_trace; gfs2_edit savemeta -z0 $GFS_TGT test.meta ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5190,7 +5913,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:32: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:32: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:32" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5202,11 +5925,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:32" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:32" >"$at_check_line_file" +printf "%s\n" "edit.at:32" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:32" { set +x -$as_echo "$at_srcdir/edit.at:33: gfs2_edit restoremeta test.meta \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:33: gfs2_edit restoremeta test.meta \$GFS_TGT" at_fn_check_prepare_dynamic "gfs2_edit restoremeta test.meta $GFS_TGT" "edit.at:33" ( $at_check_trace; gfs2_edit restoremeta test.meta $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5219,7 +5942,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:34: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:34: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "edit.at:34" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5235,18 +5958,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_34 -#AT_START_35 -at_fn_group_banner 35 'edit.at:37' \ +#AT_STOP_39 +#AT_START_40 +at_fn_group_banner 40 'edit.at:37' \ "Save/restoremeta, 4 journals" " " 3 at_xfail=no ( - $as_echo "35. $at_setup_line: testing $at_desc ..." + printf "%s\n" "40. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:39: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:39: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:39" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5258,11 +5981,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:39" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:39" >"$at_check_line_file" +printf "%s\n" "edit.at:39" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:39" { set +x -$as_echo "$at_srcdir/edit.at:40: \$GFS_MKFS -p lock_nolock -j4 -J8 \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:40: \$GFS_MKFS -p lock_nolock -j4 -J8 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -j4 -J8 $GFS_TGT" "edit.at:40" ( $at_check_trace; $GFS_MKFS -p lock_nolock -j4 -J8 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5275,7 +5998,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:41: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" +printf "%s\n" "$at_srcdir/edit.at:41: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" at_fn_check_prepare_dynamic "gfs2_edit savemeta -z0 $GFS_TGT test.meta" "edit.at:41" ( $at_check_trace; gfs2_edit savemeta -z0 $GFS_TGT test.meta ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5288,7 +6011,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:42: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:42: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:42" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5300,11 +6023,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:42" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:42" >"$at_check_line_file" +printf "%s\n" "edit.at:42" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:42" { set +x -$as_echo "$at_srcdir/edit.at:43: gfs2_edit restoremeta test.meta \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:43: gfs2_edit restoremeta test.meta \$GFS_TGT" at_fn_check_prepare_dynamic "gfs2_edit restoremeta test.meta $GFS_TGT" "edit.at:43" ( $at_check_trace; gfs2_edit restoremeta test.meta $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5317,7 +6040,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:44: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:44: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "edit.at:44" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5333,18 +6056,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_35 -#AT_START_36 -at_fn_group_banner 36 'edit.at:47' \ +#AT_STOP_40 +#AT_START_41 +at_fn_group_banner 41 'edit.at:47' \ "Save/restoremeta, min. block size, 4 journals" " " 3 at_xfail=no ( - $as_echo "36. $at_setup_line: testing $at_desc ..." + printf "%s\n" "41. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:49: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:49: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:49" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5356,11 +6079,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:49" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:49" >"$at_check_line_file" +printf "%s\n" "edit.at:49" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:49" { set +x -$as_echo "$at_srcdir/edit.at:50: \$GFS_MKFS -p lock_nolock -b512 -j4 -J8 \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:50: \$GFS_MKFS -p lock_nolock -b512 -j4 -J8 \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -b512 -j4 -J8 $GFS_TGT" "edit.at:50" ( $at_check_trace; $GFS_MKFS -p lock_nolock -b512 -j4 -J8 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5373,7 +6096,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:51: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" +printf "%s\n" "$at_srcdir/edit.at:51: gfs2_edit savemeta -z0 \$GFS_TGT test.meta" at_fn_check_prepare_dynamic "gfs2_edit savemeta -z0 $GFS_TGT test.meta" "edit.at:51" ( $at_check_trace; gfs2_edit savemeta -z0 $GFS_TGT test.meta ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5386,7 +6109,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:52: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:52: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:52" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5398,11 +6121,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:52" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:52" >"$at_check_line_file" +printf "%s\n" "edit.at:52" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:52" { set +x -$as_echo "$at_srcdir/edit.at:53: gfs2_edit restoremeta test.meta \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:53: gfs2_edit restoremeta test.meta \$GFS_TGT" at_fn_check_prepare_dynamic "gfs2_edit restoremeta test.meta $GFS_TGT" "edit.at:53" ( $at_check_trace; gfs2_edit restoremeta test.meta $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5415,7 +6138,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:54: fsck.gfs2 -n \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:54: fsck.gfs2 -n \$GFS_TGT" at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "edit.at:54" ( $at_check_trace; fsck.gfs2 -n $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5431,18 +6154,18 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_36 -#AT_START_37 -at_fn_group_banner 37 'edit.at:57' \ +#AT_STOP_41 +#AT_START_42 +at_fn_group_banner 42 'edit.at:57' \ "Save metadata to /dev/null" " " 3 at_xfail=no ( - $as_echo "37. $at_setup_line: testing $at_desc ..." + printf "%s\n" "42. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/edit.at:59: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +printf "%s\n" "$at_srcdir/edit.at:59: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" at_fn_check_prepare_notrace 'a ${...} parameter expansion' "edit.at:59" ( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5454,11 +6177,11 @@ at_fn_check_skip $at_status "$at_srcdir/edit.at:59" $at_failed && at_fn_log_failure $at_traceon; } -$as_echo "edit.at:59" >"$at_check_line_file" +printf "%s\n" "edit.at:59" >"$at_check_line_file" (test ! -f ${GFS_TGT}) \ && at_fn_check_skip 77 "$at_srcdir/edit.at:59" { set +x -$as_echo "$at_srcdir/edit.at:60: \$GFS_MKFS -p lock_nolock \$GFS_TGT" +printf "%s\n" "$at_srcdir/edit.at:60: \$GFS_MKFS -p lock_nolock \$GFS_TGT" at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock $GFS_TGT" "edit.at:60" ( $at_check_trace; $GFS_MKFS -p lock_nolock $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5471,7 +6194,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:61: gfs2_edit savemeta -z0 \$GFS_TGT /dev/null" +printf "%s\n" "$at_srcdir/edit.at:61: gfs2_edit savemeta -z0 \$GFS_TGT /dev/null" at_fn_check_prepare_dynamic "gfs2_edit savemeta -z0 $GFS_TGT /dev/null" "edit.at:61" ( $at_check_trace; gfs2_edit savemeta -z0 $GFS_TGT /dev/null ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5484,7 +6207,7 @@ $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/edit.at:62: gfs2_edit savemeta \$GFS_TGT /dev/null" +printf "%s\n" "$at_srcdir/edit.at:62: gfs2_edit savemeta \$GFS_TGT /dev/null" at_fn_check_prepare_dynamic "gfs2_edit savemeta $GFS_TGT /dev/null" "edit.at:62" ( $at_check_trace; gfs2_edit savemeta $GFS_TGT /dev/null ) >>"$at_stdout" 2>>"$at_stderr" 5>&- @@ -5500,102 +6223,105 @@ $at_traceon; } $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_37 -#AT_START_38 -at_fn_group_banner 38 'tune.at:4' \ +#AT_STOP_42 +#AT_START_43 +at_fn_group_banner 43 'tune.at:4' \ "Format version" " " 4 at_xfail=no ( - $as_echo "38. $at_setup_line: testing $at_desc ..." + printf "%s\n" "43. $at_setup_line: testing $at_desc ..." $at_traceon { set +x -$as_echo "$at_srcdir/tune.at:6: \$GFS_MKFS -p lock_nolock -o format=1802 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT" "tune.at:6" +printf "%s\n" "$at_srcdir/tune.at:6: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tune.at:6" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/tune.at:6" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "tune.at:6" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/tune.at:6" +{ set +x +printf "%s\n" "$at_srcdir/tune.at:7: \$GFS_MKFS -p lock_nolock -o format=1802 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT" "tune.at:7" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1802 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/tune.at:6" +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:7" $at_failed && at_fn_log_failure $at_traceon; } # Exit code 65 == EX_DATAERR (sysexits.h) { set +x -$as_echo "$at_srcdir/tune.at:8: tunegfs2 -r 0 \$GFS_TGT" -at_fn_check_prepare_dynamic "tunegfs2 -r 0 $GFS_TGT" "tune.at:8" +printf "%s\n" "$at_srcdir/tune.at:9: tunegfs2 -r 0 \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -r 0 $GFS_TGT" "tune.at:9" ( $at_check_trace; tunegfs2 -r 0 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 65 $at_status "$at_srcdir/tune.at:8" +at_fn_check_status 65 $at_status "$at_srcdir/tune.at:9" $at_failed && at_fn_log_failure $at_traceon; } # Regress not supported { set +x -$as_echo "$at_srcdir/tune.at:10: tunegfs2 -r 1801 \$GFS_TGT" -at_fn_check_prepare_dynamic "tunegfs2 -r 1801 $GFS_TGT" "tune.at:10" +printf "%s\n" "$at_srcdir/tune.at:11: tunegfs2 -r 1801 \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -r 1801 $GFS_TGT" "tune.at:11" ( $at_check_trace; tunegfs2 -r 1801 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 65 $at_status "$at_srcdir/tune.at:10" +at_fn_check_status 65 $at_status "$at_srcdir/tune.at:11" $at_failed && at_fn_log_failure $at_traceon; } # Format 1803 does not exist { set +x -$as_echo "$at_srcdir/tune.at:12: tunegfs2 -r 1803 \$GFS_TGT" -at_fn_check_prepare_dynamic "tunegfs2 -r 1803 $GFS_TGT" "tune.at:12" +printf "%s\n" "$at_srcdir/tune.at:13: tunegfs2 -r 1803 \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -r 1803 $GFS_TGT" "tune.at:13" ( $at_check_trace; tunegfs2 -r 1803 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 65 $at_status "$at_srcdir/tune.at:12" +at_fn_check_status 65 $at_status "$at_srcdir/tune.at:13" $at_failed && at_fn_log_failure $at_traceon; } # Normal version bump { set +x -$as_echo "$at_srcdir/tune.at:14: \$GFS_MKFS -p lock_nolock -o format=1801 \$GFS_TGT" -at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT" "tune.at:14" +printf "%s\n" "$at_srcdir/tune.at:15: \$GFS_MKFS -p lock_nolock -o format=1801 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT" "tune.at:15" ( $at_check_trace; $GFS_MKFS -p lock_nolock -o format=1801 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" -at_fn_check_status 0 $at_status "$at_srcdir/tune.at:14" -$at_failed && at_fn_log_failure -$at_traceon; } - -{ set +x -$as_echo "$at_srcdir/tune.at:15: tunegfs2 -r 1802 \$GFS_TGT" -at_fn_check_prepare_dynamic "tunegfs2 -r 1802 $GFS_TGT" "tune.at:15" -( $at_check_trace; tunegfs2 -r 1802 $GFS_TGT -) >>"$at_stdout" 2>>"$at_stderr" 5>&- -at_status=$? at_failed=false -$at_check_filter -echo stderr:; cat "$at_stderr" -echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/tune.at:15" $at_failed && at_fn_log_failure $at_traceon; } { set +x -$as_echo "$at_srcdir/tune.at:16: fsck.gfs2 -n \$GFS_TGT" -at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "tune.at:16" -( $at_check_trace; fsck.gfs2 -n $GFS_TGT +printf "%s\n" "$at_srcdir/tune.at:16: tunegfs2 -r 1802 \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -r 1802 $GFS_TGT" "tune.at:16" +( $at_check_trace; tunegfs2 -r 1802 $GFS_TGT ) >>"$at_stdout" 2>>"$at_stderr" 5>&- at_status=$? at_failed=false $at_check_filter @@ -5603,10 +6329,186 @@ echo stderr:; cat "$at_stderr" echo stdout:; cat "$at_stdout" at_fn_check_status 0 $at_status "$at_srcdir/tune.at:16" $at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/tune.at:17: fsck.gfs2 -n \$GFS_TGT" +at_fn_check_prepare_dynamic "fsck.gfs2 -n $GFS_TGT" "tune.at:17" +( $at_check_trace; fsck.gfs2 -n $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:17" +$at_failed && at_fn_log_failure $at_traceon; } set +x $at_times_p && times >"$at_times_file" ) 5>&1 2>&1 7>&- | eval $at_tee_pipe read at_status <"$at_status_file" -#AT_STOP_38 +#AT_STOP_43 +#AT_START_44 +at_fn_group_banner 44 'tune.at:20' \ + "Handle bad fs" " " 4 +at_xfail=no +( + printf "%s\n" "44. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/tune.at:22: tunegfs2 -l /dev/null" +at_fn_check_prepare_trace "tune.at:22" +( $at_check_trace; tunegfs2 -l /dev/null +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo >>"$at_stderr"; printf "%s\n" "Device does not contain a GFS or GFS2 file system +" | \ + $at_diff - "$at_stderr" || at_failed=: +echo stdout:; cat "$at_stdout" +at_fn_check_status 74 $at_status "$at_srcdir/tune.at:22" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/tune.at:24: tunegfs2 -l /dev/zero" +at_fn_check_prepare_trace "tune.at:24" +( $at_check_trace; tunegfs2 -l /dev/zero +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo >>"$at_stderr"; printf "%s\n" "Device does not contain a GFS or GFS2 file system +" | \ + $at_diff - "$at_stderr" || at_failed=: +echo stdout:; cat "$at_stdout" +at_fn_check_status 74 $at_status "$at_srcdir/tune.at:24" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_44 +#AT_START_45 +at_fn_group_banner 45 'tune.at:28' \ + "Expected output" " " 4 +at_xfail=no +( + printf "%s\n" "45. $at_setup_line: testing $at_desc ..." + $at_traceon + + +{ set +x +printf "%s\n" "$at_srcdir/tune.at:30: rm -f \$GFS_TGT && truncate -s \${GFS_TGT_SZ}G \${GFS_TGT}" +at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tune.at:30" +( $at_check_trace; rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT} +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_skip $at_status "$at_srcdir/tune.at:30" +$at_failed && at_fn_log_failure +$at_traceon; } + +printf "%s\n" "tune.at:30" >"$at_check_line_file" +(test ! -f ${GFS_TGT}) \ + && at_fn_check_skip 77 "$at_srcdir/tune.at:30" +{ set +x +printf "%s\n" "$at_srcdir/tune.at:31: echo -n \"File system volume name: cluster:fsname +File system UUID: e90815fc-087b-460c-b8a5-8edc8a2ed691 +File system magic number: 0x1161970 +File system format version: 1802 +Block size: 4096 +Block shift: 12 +Root inode: 33127 +Master inode: 32854 +Lock protocol: lock_nolock +Lock table: cluster:fsname +\" > expout" +at_fn_check_prepare_notrace 'an embedded newline' "tune.at:31" +( $at_check_trace; echo -n "File system volume name: cluster:fsname +File system UUID: e90815fc-087b-460c-b8a5-8edc8a2ed691 +File system magic number: 0x1161970 +File system format version: 1802 +Block size: 4096 +Block shift: 12 +Root inode: 33127 +Master inode: 32854 +Lock protocol: lock_nolock +Lock table: cluster:fsname +" > expout +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:31" +$at_failed && at_fn_log_failure +$at_traceon; } + +# Create the fs without alignment so that we can predict the root inode address +{ set +x +printf "%s\n" "$at_srcdir/tune.at:43: \$GFS_MKFS -p lock_nolock -t cluster:fsname -o align=0 \$GFS_TGT" +at_fn_check_prepare_dynamic "$GFS_MKFS -p lock_nolock -t cluster:fsname -o align=0 $GFS_TGT" "tune.at:43" +( $at_check_trace; $GFS_MKFS -p lock_nolock -t cluster:fsname -o align=0 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:43" +$at_failed && at_fn_log_failure +$at_traceon; } + +# Set a known UUID to ease comparison +{ set +x +printf "%s\n" "$at_srcdir/tune.at:45: tunegfs2 -U e90815fc-087b-460c-b8a5-8edc8a2ed691 \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -U e90815fc-087b-460c-b8a5-8edc8a2ed691 $GFS_TGT" "tune.at:45" +( $at_check_trace; tunegfs2 -U e90815fc-087b-460c-b8a5-8edc8a2ed691 $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo stdout:; cat "$at_stdout" +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:45" +$at_failed && at_fn_log_failure +$at_traceon; } + +# Check tunegfs2 set the UUID correctly with gfs2_edit +{ set +x +printf "%s\n" "$at_srcdir/tune.at:47: gfs2_edit -p sb field sb_uuid \$GFS_TGT | tr -d '\\n'" +at_fn_check_prepare_notrace 'a shell pipeline' "tune.at:47" +( $at_check_trace; gfs2_edit -p sb field sb_uuid $GFS_TGT | tr -d '\n' +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; cat "$at_stderr" +echo >>"$at_stdout"; printf "%s\n" "e90815fc-087b-460c-b8a5-8edc8a2ed691" | \ + $at_diff - "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:47" +$at_failed && at_fn_log_failure +$at_traceon; } + +{ set +x +printf "%s\n" "$at_srcdir/tune.at:48: tunegfs2 -l \$GFS_TGT" +at_fn_check_prepare_dynamic "tunegfs2 -l $GFS_TGT" "tune.at:48" +( $at_check_trace; tunegfs2 -l $GFS_TGT +) >>"$at_stdout" 2>>"$at_stderr" 5>&- +at_status=$? at_failed=false +$at_check_filter +echo stderr:; tee stderr <"$at_stderr" +$at_diff expout "$at_stdout" || at_failed=: +at_fn_check_status 0 $at_status "$at_srcdir/tune.at:48" +$at_failed && at_fn_log_failure +$at_traceon; } + + set +x + $at_times_p && times >"$at_times_file" +) 5>&1 2>&1 7>&- | eval $at_tee_pipe +read at_status <"$at_status_file" +#AT_STOP_45