[PATCH 3/5] xfstests: test 195, add a testcase for the nodump flag
Eric Sandeen
sandeen at sandeen.net
Tue Dec 30 20:55:41 CST 2008
Christoph Hellwig wrote:
> Based on http://oss.sgi.com/bugzilla/show_bug.cgi?id=340.
>
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
>
> Index: xfstests/195
...
> +_do_dump()
> +{
> + xfsdump -l 0 -s d -F \
> + -L prova -M prova \
> + -f $TEST_DIR/dumpfile -e -v excluded_files=debug $TEST_DIR \
> + | grep "ino $inum" \
> + | sed -e 's/xfsdump: pruned ino [0-9]*, owner 0, estimated size 0: skip flag set/xfsdump: pruned ino NNN, owner 0, estimated size 0: skip flag set/'
> +}
That's a bigger pattern than I'd have matched but as far as bike sheds
go, looks good to me :)
Reviewed-by: Eric Sandeen <sandeen at sandeen.net>
More information about the xfs
mailing list