* [PATCH] xfsqa: call _notrun in common.dump if dump utils not found
@ 2008-03-23 3:34 Eric Sandeen
[not found] ` <20080323054136.GA7529@puku.stupidest.org>
2008-03-25 3:23 ` Timothy Shimmin
0 siblings, 2 replies; 9+ messages in thread
From: Eric Sandeen @ 2008-03-23 3:34 UTC (permalink / raw)
To: xfs-oss
it may not always be obvious to outsiders that xfsdump is packaged
separately from xfsprogs... is it worth checking for the binaries
rather than spewing verbose failures if it's not installed?
(and are the locations ok for irix/bsd/whatnot too...?)
... also abort if bc not found (common.filter requires this,
my minimal testing root didn't have it and much error spew
ensued... nicer to check up front IMHO)
-Eric
Index: xfstests/common.dump
===================================================================
--- xfstests.orig/common.dump
+++ xfstests/common.dump
@@ -41,6 +41,10 @@ do_quota_check=true # do quota check if
_need_to_be_root
+[ -x /usr/sbin/xfsdump ] || _notrun "xfsdump executable not found"
+[ -x /usr/sbin/xfsrestore ] || _notrun "xfsrestore executable not found"
+[ -x /usr/sbin/xfsinvutil ] || _notrun "xfsinvutil executable not found"
+
# install our cleaner
trap "_cleanup; exit \$status" 0 1 2 3 15
Index: xfstests/common.config
===================================================================
--- xfstests.orig/common.config
+++ xfstests/common.config
@@ -114,6 +114,9 @@ export AWK_PROG="`set_prog_path awk`"
export SED_PROG="`set_prog_path sed`"
[ "$SED_PROG" = "" ] && _fatal "sed not found"
+export BC_PROG="`set_prog_path bc`"
+[ "$BC_PROG" = "" ] && _fatal "bc not found"
+
export PS_ALL_FLAGS="-ef"
export DF_PROG="`set_prog_path df`"
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <20080323054136.GA7529@puku.stupidest.org>]
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found [not found] ` <20080323054136.GA7529@puku.stupidest.org> @ 2008-03-23 20:29 ` Eric Sandeen 0 siblings, 0 replies; 9+ messages in thread From: Eric Sandeen @ 2008-03-23 20:29 UTC (permalink / raw) To: Chris Wedgwood; +Cc: xfs-oss Chris Wedgwood wrote: > On Sat, Mar 22, 2008 at 10:34:18PM -0500, Eric Sandeen wrote: > >> it may not always be obvious to outsiders that xfsdump is packaged >> separately from xfsprogs... is it worth checking for the binaries >> rather than spewing verbose failures if it's not installed? > > I really think xfsdump & fsr should be moved to xfsprogs. > wouldn't bother me... tests should probably require the executable either way :) -Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-23 3:34 [PATCH] xfsqa: call _notrun in common.dump if dump utils not found Eric Sandeen [not found] ` <20080323054136.GA7529@puku.stupidest.org> @ 2008-03-25 3:23 ` Timothy Shimmin 2008-03-25 3:35 ` Barry Naujok 1 sibling, 1 reply; 9+ messages in thread From: Timothy Shimmin @ 2008-03-25 3:23 UTC (permalink / raw) To: Eric Sandeen; +Cc: xfs-oss Thanks, Eric. On IRIX: > where xfsdump xfsrestore xfsinvutil /sbin/xfsdump /usr/sbin/xfsdump /sbin/xfsrestore /usr/sbin/xfsinvutil > ls -l /sbin/xfsdump lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* I'll add the IRIX xfsrestore path and wait for Russell or whoever to complain about BSD :) --Tim Eric Sandeen wrote: > it may not always be obvious to outsiders that xfsdump is packaged > separately from xfsprogs... is it worth checking for the binaries > rather than spewing verbose failures if it's not installed? > > (and are the locations ok for irix/bsd/whatnot too...?) > > ... also abort if bc not found (common.filter requires this, > my minimal testing root didn't have it and much error spew > ensued... nicer to check up front IMHO) > > -Eric > > Index: xfstests/common.dump > =================================================================== > --- xfstests.orig/common.dump > +++ xfstests/common.dump > @@ -41,6 +41,10 @@ do_quota_check=true # do quota check if > > _need_to_be_root > > +[ -x /usr/sbin/xfsdump ] || _notrun "xfsdump executable not found" > +[ -x /usr/sbin/xfsrestore ] || _notrun "xfsrestore executable not found" > +[ -x /usr/sbin/xfsinvutil ] || _notrun "xfsinvutil executable not found" > + > # install our cleaner > trap "_cleanup; exit \$status" 0 1 2 3 15 > > Index: xfstests/common.config > =================================================================== > --- xfstests.orig/common.config > +++ xfstests/common.config > @@ -114,6 +114,9 @@ export AWK_PROG="`set_prog_path awk`" > export SED_PROG="`set_prog_path sed`" > [ "$SED_PROG" = "" ] && _fatal "sed not found" > > +export BC_PROG="`set_prog_path bc`" > +[ "$BC_PROG" = "" ] && _fatal "bc not found" > + > export PS_ALL_FLAGS="-ef" > > export DF_PROG="`set_prog_path df`" > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 3:23 ` Timothy Shimmin @ 2008-03-25 3:35 ` Barry Naujok 2008-03-25 4:20 ` Eric Sandeen 0 siblings, 1 reply; 9+ messages in thread From: Barry Naujok @ 2008-03-25 3:35 UTC (permalink / raw) To: Timothy Shimmin, Eric Sandeen; +Cc: xfs-oss On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: > Thanks, Eric. > > On IRIX: > > where xfsdump xfsrestore xfsinvutil > /sbin/xfsdump > /usr/sbin/xfsdump > /sbin/xfsrestore > /usr/sbin/xfsinvutil > > ls -l /sbin/xfsdump > lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* > > I'll add the IRIX xfsrestore path and wait for Russell or > whoever to complain about BSD :) common.config sets up environment variables for the various tools used and can handle these paths. It has them for the xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but nothing for the xfsdump tools. > --Tim > > Eric Sandeen wrote: >> it may not always be obvious to outsiders that xfsdump is packaged >> separately from xfsprogs... is it worth checking for the binaries >> rather than spewing verbose failures if it's not installed? >> (and are the locations ok for irix/bsd/whatnot too...?) >> ... also abort if bc not found (common.filter requires this, >> my minimal testing root didn't have it and much error spew >> ensued... nicer to check up front IMHO) >> -Eric >> Index: xfstests/common.dump >> =================================================================== >> --- xfstests.orig/common.dump >> +++ xfstests/common.dump >> @@ -41,6 +41,10 @@ do_quota_check=true # do quota check if >> _need_to_be_root >> +[ -x /usr/sbin/xfsdump ] || _notrun "xfsdump executable not found" >> +[ -x /usr/sbin/xfsrestore ] || _notrun "xfsrestore executable not >> found" >> +[ -x /usr/sbin/xfsinvutil ] || _notrun "xfsinvutil executable not >> found" >> + >> # install our cleaner >> trap "_cleanup; exit \$status" 0 1 2 3 15 >> Index: xfstests/common.config >> =================================================================== >> --- xfstests.orig/common.config >> +++ xfstests/common.config >> @@ -114,6 +114,9 @@ export AWK_PROG="`set_prog_path awk`" >> export SED_PROG="`set_prog_path sed`" >> [ "$SED_PROG" = "" ] && _fatal "sed not found" >> +export BC_PROG="`set_prog_path bc`" >> +[ "$BC_PROG" = "" ] && _fatal "bc not found" >> + >> export PS_ALL_FLAGS="-ef" >> export DF_PROG="`set_prog_path df`" >> > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 3:35 ` Barry Naujok @ 2008-03-25 4:20 ` Eric Sandeen 2008-03-25 4:58 ` Timothy Shimmin 0 siblings, 1 reply; 9+ messages in thread From: Eric Sandeen @ 2008-03-25 4:20 UTC (permalink / raw) To: Barry Naujok; +Cc: Timothy Shimmin, xfs-oss Barry Naujok wrote: > On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: > >> Thanks, Eric. >> >> On IRIX: >> > where xfsdump xfsrestore xfsinvutil >> /sbin/xfsdump >> /usr/sbin/xfsdump >> /sbin/xfsrestore >> /usr/sbin/xfsinvutil >> > ls -l /sbin/xfsdump >> lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* >> >> I'll add the IRIX xfsrestore path and wait for Russell or >> whoever to complain about BSD :) > > common.config sets up environment variables for the various > tools used and can handle these paths. It has them for the > xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but > nothing for the xfsdump tools. yeah, that may be better... -Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 4:20 ` Eric Sandeen @ 2008-03-25 4:58 ` Timothy Shimmin 2008-03-25 6:05 ` Timothy Shimmin 0 siblings, 1 reply; 9+ messages in thread From: Timothy Shimmin @ 2008-03-25 4:58 UTC (permalink / raw) To: Eric Sandeen; +Cc: Barry Naujok, xfs-oss Eric Sandeen wrote: > Barry Naujok wrote: >> On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: >> >>> Thanks, Eric. >>> >>> On IRIX: >>> > where xfsdump xfsrestore xfsinvutil >>> /sbin/xfsdump >>> /usr/sbin/xfsdump >>> /sbin/xfsrestore >>> /usr/sbin/xfsinvutil >>> > ls -l /sbin/xfsdump >>> lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* >>> >>> I'll add the IRIX xfsrestore path and wait for Russell or >>> whoever to complain about BSD :) >> common.config sets up environment variables for the various >> tools used and can handle these paths. It has them for the >> xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but >> nothing for the xfsdump tools. > > yeah, that may be better... > Okay. Fair point. I'll change common.dump to use the XFSDUMP_PROG etc.... and common.config to set the PROG vars. --Tim ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 4:58 ` Timothy Shimmin @ 2008-03-25 6:05 ` Timothy Shimmin 2008-03-25 12:54 ` Eric Sandeen 0 siblings, 1 reply; 9+ messages in thread From: Timothy Shimmin @ 2008-03-25 6:05 UTC (permalink / raw) To: Eric Sandeen; +Cc: Barry Naujok, xfs-oss Timothy Shimmin wrote: > Eric Sandeen wrote: >> Barry Naujok wrote: >>> On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: >>> >>>> Thanks, Eric. >>>> >>>> On IRIX: >>>> > where xfsdump xfsrestore xfsinvutil >>>> /sbin/xfsdump >>>> /usr/sbin/xfsdump >>>> /sbin/xfsrestore >>>> /usr/sbin/xfsinvutil >>>> > ls -l /sbin/xfsdump >>>> lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* >>>> >>>> I'll add the IRIX xfsrestore path and wait for Russell or >>>> whoever to complain about BSD :) >>> common.config sets up environment variables for the various >>> tools used and can handle these paths. It has them for the >>> xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but >>> nothing for the xfsdump tools. >> >> yeah, that may be better... >> > Okay. Fair point. > I'll change common.dump to use the XFSDUMP_PROG etc.... > and common.config to set the PROG vars. > > --Tim > > Okay, something like below then. Note, I only test for failure in common.dump and I need to filter out the fullpaths for the commands now as they output their full path. Oh and I changed a bit for the DEBUGDUMP which can use binaries in xfstests for debugging. Ughhh. --Tim =========================================================================== Index: xfstests/common.config =========================================================================== --- a/xfstests/common.config 2008-03-25 17:02:57.000000000 +1100 +++ b/xfstests/common.config 2008-03-25 18:21:37.964000000 +1100 @@ -114,6 +114,9 @@ export AWK_PROG="`set_prog_path awk`" export SED_PROG="`set_prog_path sed`" [ "$SED_PROG" = "" ] && _fatal "sed not found" +export BC_PROG="`set_prog_path bc`" +[ "$BC_PROG" = "" ] && _fatal "bc not found" + export PS_ALL_FLAGS="-ef" export DF_PROG="`set_prog_path df`" @@ -128,6 +131,9 @@ export XFS_GROWFS_PROG=`set_prog_path xf export XFS_IO_PROG="`set_prog_path xfs_io`" export XFS_PARALLEL_REPAIR_PROG="`set_prog_path xfs_prepair`" export XFS_PARALLEL_REPAIR64_PROG="`set_prog_path xfs_prepair64`" +export XFSDUMP_PROG="`set_prog_path xfsdump`" +export XFSRESTORE_PROG="`set_prog_path xfsrestore`" +export XFSINVUTIL_PROG="`set_prog_path xfsinvutil`" # Generate a comparable xfsprogs version number in the form of # major * 10000 + minor * 100 + release =========================================================================== Index: xfstests/common.dump =========================================================================== --- a/xfstests/common.dump 2008-03-25 17:02:57.000000000 +1100 +++ b/xfstests/common.dump 2008-03-25 18:38:43.792000000 +1100 @@ -9,17 +9,23 @@ rm -f $here/$seq.full if [ -n "$DEBUGDUMP" ]; then - _dump_debug=-v4 - _restore_debug=-v4 - _invutil_debug=-d + _dump_debug=-v4 + _restore_debug=-v4 + _invutil_debug=-d + + # Use dump/restore in qa directory (copy them here) for debugging + export PATH="$here:$PATH" + export XFSDUMP_PROG="`set_prog_path xfsdump`" + export XFSRESTORE_PROG="`set_prog_path xfsrestore`" + export XFSINVUTIL_PROG="`set_prog_path xfsinvutil`" + [ -x $here/xfsdump ] && echo "Using xfstests' xfsdump for debug" + [ -x $here/xfsrestore ] && echo "Using xfstests' xfsrestore for debug" + [ -x $here/xfsinvutil ] && echo "Using xfstests' xfsinvutil for debug" fi -# Use dump/restore in qa directory for debugging -PATH="$here:$PATH" -export PATH -#which xfsdump -#which xfsrestore -#which xfsinvutil +[ "$XFSDUMP_PROG" = "" ] && _fatal "xfsdump not found" +[ "$XFSRESTORE_PROG" = "" ] && _fatal "xfsrestore not found" +[ "$XFSINVUTIL_PROG" = "" ] && _fatal "xfsinvutil not found" # status returned for not run tests NOTRUNSTS=2 @@ -761,6 +767,9 @@ _dump_filter_main() { _filter_devchar |\ sed \ + -e "s#$XFSDUMP_PROG#xfsdump#" \ + -e "s#$XFSRESTORE_PROG#xfsrestore#" \ + -e "s#$XFSINVUTIL_PROG#xfsinvutil#" \ -e "s/`hostname`/HOSTNAME/" \ -e "s#$SCRATCH_DEV#SCRATCH_DEV#" \ -e "s#$SCRATCH_RAWDEV#SCRATCH_DEV#" \ @@ -906,7 +915,7 @@ _do_dump_sub() echo "Dumping to tape..." opts="$_dump_debug$dump_args -s $dump_sdir -f $dumptape -M $media_label -L $session_label $SCRATCH_MNT" echo "xfsdump $opts" | _dir_filter - xfsdump $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -919,7 +928,7 @@ _do_dump() echo "Dumping to tape..." opts="$_dump_debug$dump_args -f $dumptape -M $media_label -L $session_label $SCRATCH_MNT" echo "xfsdump $opts" | _dir_filter - xfsdump $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } @@ -934,7 +943,7 @@ _do_dump_min() onemeg=1048576 opts="$_dump_debug$dump_args -m -b $onemeg -l0 -f $dumptape -M $media_label -L $session_label $SCRATCH_MNT" echo "xfsdump $opts" | _dir_filter - xfsdump $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } @@ -948,7 +957,7 @@ _do_dump_file() echo "Dumping to file..." opts="$_dump_debug$dump_args -f $dump_file -M $media_label -L $session_label $SCRATCH_MNT" echo "xfsdump $opts" | _dir_filter - xfsdump $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -970,7 +979,7 @@ _do_dump_multi_file() echo "Dumping to files..." opts="$_dump_debug$dump_args $multi_args -L $session_label $SCRATCH_MNT" echo "xfsdump $opts" | _dir_filter - xfsdump $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } @@ -1004,7 +1013,7 @@ _do_restore() echo "Restoring from tape..." opts="$_restore_debug -f $dumptape -L $session_label $restore_dir" echo "xfsrestore $opts" | _dir_filter - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -1019,7 +1028,7 @@ _do_restore_min() onemeg=1048576 opts="$_restore_debug -m -b $onemeg -f $dumptape -L $session_label $restore_dir" echo "xfsrestore $opts" | _dir_filter - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -1033,7 +1042,7 @@ _do_restore_file() echo "Restoring from file..." opts="$_restore_debug -f $dump_file -L $session_label $restore_dir" echo "xfsrestore $opts" | _dir_filter - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -1050,7 +1059,7 @@ _do_restore_file_cum() echo "Restoring cumumlative from file..." opts="$_restore_debug -f $dump_file -r $restore_dir" echo "xfsrestore $opts" | _dir_filter - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } _do_restore_toc() @@ -1059,7 +1068,7 @@ _do_restore_toc() opts="$_restore_debug -f $dump_file -t" echo "xfsrestore $opts" | _dir_filter cd $SCRATCH_MNT # for IRIX which needs xfs cwd - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter_main |\ + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter_main |\ _check_quota_file |\ _check_quota_entries |\ $AWK_PROG 'NF != 1 { print; next } @@ -1090,7 +1099,7 @@ _do_restore_multi_file() echo "Restoring from file..." opts="$_restore_debug $multi_args -L $session_label $restore_dir" echo "xfsrestore $opts" | _dir_filter - xfsrestore $opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSRESTORE_PROG $opts 2>&1 | tee -a $here/$seq.full | _dump_filter } # @@ -1106,7 +1115,7 @@ _do_dump_restore() restore_opts="$_restore_debug - $restore_dir" dump_opts="$_dump_debug$dump_args -s $dump_sdir - $SCRATCH_MNT" echo "xfsdump $dump_opts | xfsrestore $restore_opts" | _dir_filter - xfsdump $dump_opts 2>$tmp.dump.mlog | xfsrestore $restore_opts 2>&1 | tee -a $here/$seq.full | _dump_filter + $XFSDUMP_PROG $dump_opts 2>$tmp.dump.mlog | $XFSRESTORE_PROG $restore_opts 2>&1 | tee -a $here/$seq.full | _dump_filter _dump_filter <$tmp.dump.mlog } @@ -1244,7 +1253,7 @@ _diff_compare() # _dump_inventory() { - xfsdump $_dump_debug -I | tee -a $here/$seq.full | _dump_filter_main + $XFSDUMP_PROG $_dump_debug -I | tee -a $here/$seq.full | _dump_filter_main } # @@ -1255,7 +1264,7 @@ _do_invutil() { host=`hostname` echo "xfsinvutil $_invutil_debug -M $host:$SCRATCH_MNT \"$middate\" $*" >$here/$seq.full - xfsinvutil $_invutil_debug $* -M $host:$SCRATCH_MNT "$middate" \ + $XFSINVUTIL_PROG $_invutil_debug $* -M $host:$SCRATCH_MNT "$middate" \ | tee -a $here/$seq.full | _invutil_filter } ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 6:05 ` Timothy Shimmin @ 2008-03-25 12:54 ` Eric Sandeen 2008-03-25 23:57 ` Timothy Shimmin 0 siblings, 1 reply; 9+ messages in thread From: Eric Sandeen @ 2008-03-25 12:54 UTC (permalink / raw) To: Timothy Shimmin; +Cc: Barry Naujok, xfs-oss Timothy Shimmin wrote: > Timothy Shimmin wrote: > > Eric Sandeen wrote: > >> Barry Naujok wrote: > >>> On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: > >>> > >>>> Thanks, Eric. > >>>> > >>>> On IRIX: > >>>> > where xfsdump xfsrestore xfsinvutil > >>>> /sbin/xfsdump > >>>> /usr/sbin/xfsdump > >>>> /sbin/xfsrestore > >>>> /usr/sbin/xfsinvutil > >>>> > ls -l /sbin/xfsdump > >>>> lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* > >>>> > >>>> I'll add the IRIX xfsrestore path and wait for Russell or > >>>> whoever to complain about BSD :) > >>> common.config sets up environment variables for the various > >>> tools used and can handle these paths. It has them for the > >>> xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but > >>> nothing for the xfsdump tools. > >> > >> yeah, that may be better... > >> > > Okay. Fair point. > > I'll change common.dump to use the XFSDUMP_PROG etc.... > > and common.config to set the PROG vars. > > > > --Tim > > > > > > Okay, something like below then. > Note, I only test for failure in common.dump and I need > to filter out the fullpaths for the commands now as > they output their full path. > Oh and I changed a bit for the DEBUGDUMP which can > use binaries in xfstests for debugging. > Ughhh. well, I don't want to make this too much work... it's not critical. -eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] xfsqa: call _notrun in common.dump if dump utils not found 2008-03-25 12:54 ` Eric Sandeen @ 2008-03-25 23:57 ` Timothy Shimmin 0 siblings, 0 replies; 9+ messages in thread From: Timothy Shimmin @ 2008-03-25 23:57 UTC (permalink / raw) To: Eric Sandeen; +Cc: Barry Naujok, xfs-oss Eric Sandeen wrote: > Timothy Shimmin wrote: >> Timothy Shimmin wrote: >> > Eric Sandeen wrote: >> >> Barry Naujok wrote: >> >>> On Tue, 25 Mar 2008 14:23:40 +1100, Timothy Shimmin <tes@sgi.com> wrote: >> >>> >> >>>> Thanks, Eric. >> >>>> >> >>>> On IRIX: >> >>>> > where xfsdump xfsrestore xfsinvutil >> >>>> /sbin/xfsdump >> >>>> /usr/sbin/xfsdump >> >>>> /sbin/xfsrestore >> >>>> /usr/sbin/xfsinvutil >> >>>> > ls -l /sbin/xfsdump >> >>>> lrwxr-xr-x ... /sbin/xfsdump -> ../usr/sbin/xfsdump* >> >>>> >> >>>> I'll add the IRIX xfsrestore path and wait for Russell or >> >>>> whoever to complain about BSD :) >> >>> common.config sets up environment variables for the various >> >>> tools used and can handle these paths. It has them for the >> >>> xfsprogs tools (XFS_REPAIR_PROG, XFS_DB_PROG, etc) but >> >>> nothing for the xfsdump tools. >> >> >> >> yeah, that may be better... >> >> >> > Okay. Fair point. >> > I'll change common.dump to use the XFSDUMP_PROG etc.... >> > and common.config to set the PROG vars. >> > >> > --Tim >> > >> > >> >> Okay, something like below then. >> Note, I only test for failure in common.dump and I need >> to filter out the fullpaths for the commands now as >> they output their full path. >> Oh and I changed a bit for the DEBUGDUMP which can >> use binaries in xfstests for debugging. >> Ughhh. > > well, I don't want to make this too much work... it's not critical. > :) That's cool. It's Barry's fault ;-) --Tim ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-03-25 23:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 3:34 [PATCH] xfsqa: call _notrun in common.dump if dump utils not found Eric Sandeen
[not found] ` <20080323054136.GA7529@puku.stupidest.org>
2008-03-23 20:29 ` Eric Sandeen
2008-03-25 3:23 ` Timothy Shimmin
2008-03-25 3:35 ` Barry Naujok
2008-03-25 4:20 ` Eric Sandeen
2008-03-25 4:58 ` Timothy Shimmin
2008-03-25 6:05 ` Timothy Shimmin
2008-03-25 12:54 ` Eric Sandeen
2008-03-25 23:57 ` Timothy Shimmin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox