]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/195: Use XFSDUMP_PROG instead of xfsdump directly
authorJan Kara <jack@suse.cz>
Mon, 10 Nov 2014 02:05:22 +0000 (13:05 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 10 Nov 2014 02:05:22 +0000 (13:05 +1100)
commitfa7f9fb987a26afda63511434fc1df468c861bc4
tree209dbfd443c80587cf63b93d4e44df4f82703a7c
parent027bcfa64e40748a8999bad4b61b6f72215db522
xfs/195: Use XFSDUMP_PROG instead of xfsdump directly

Use appropriate environment variable (XFSDUMP_PROG) instead of
hardcoding 'xfsdump' name. Also make the test fail graciously when
xfsdump isn't installed.

We also make XFSDUMP_PROG be equal to empty string instead of -e when
xfsdump isn't installed. The changes require some tweaking to output
filtering since full command path now appears in the output.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/config
tests/xfs/195