]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: remove dead code in test 062
authorChristoph Hellwig <hch@infradead.org>
Thu, 21 Oct 2010 20:07:12 +0000 (20:07 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 25 Oct 2010 15:17:14 +0000 (10:17 -0500)
The _linux_attr_calls function is never called, remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
062

diff --git a/062 b/062
index 9e7a48817e0c579713d6f40400411bc557eb4342..5cb6f92a401e3d7931b698389573b516975402ef 100755 (executable)
--- a/062
+++ b/062
@@ -46,47 +46,6 @@ _cleanup()
 }
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
-_linux_attr_calls()
-{
-    echo "*** set/get one initially empty attribute"
-    setfattr -h -n $nsp.name $SCRATCH_MNT/$inode
-    getfattr -m $nsp $SCRATCH_MNT/$inode
-
-    echo "*** overwrite empty, set several new attributes"
-    setfattr -h -n $nsp.name -v 0xbabe $SCRATCH_MNT/$inode
-    setfattr -h -n $nsp.name2 -v 0xdeadbeef $SCRATCH_MNT/$inode
-    setfattr -h -n $nsp.name3 -v 0xdeface $SCRATCH_MNT/$inode
-
-    echo "*** fetch several attribute names and values (hex)"
-    getfattr -m $nsp -e hex $SCRATCH_MNT/$inode
-
-    echo "*** fetch several attribute names and values (base64)"
-    getfattr -m $nsp -e base64 $SCRATCH_MNT/$inode
-
-    echo "*** shrink value of an existing attribute"
-    setfattr -h -n $nsp.name2 -v 0xdeaf $SCRATCH_MNT/$inode
-    getfattr -m $nsp -e hex $SCRATCH_MNT/$inode
-
-    echo "*** grow value of existing attribute"
-    setfattr -h -n $nsp.name2 -v 0xdecade $SCRATCH_MNT/$inode
-    getfattr -m $nsp -e hex $SCRATCH_MNT/$inode
-
-    echo "*** set an empty value for second attribute"
-    setfattr -h -n $nsp.name2 $SCRATCH_MNT/$inode
-    getfattr -m $nsp -n $nsp.name2 $SCRATCH_MNT/$inode
-
-    echo "*** overwrite empty value"
-    setfattr -h -n $nsp.name2 -v 0xcafe $SCRATCH_MNT/$inode
-    getfattr -m $nsp -e hex -n $nsp.name2 $SCRATCH_MNT/$inode
-
-    echo "*** remove attribute"
-    setfattr -h -x $nsp.name2 $SCRATCH_MNT/$inode
-    getfattr -m $nsp -e hex -n $nsp.name2 $SCRATCH_MNT/$inode
-
-    echo "*** final list (strings, type=$inode, nsp=$nsp)"
-    getfattr -m '.' -e hex $SCRATCH_MNT/$inode
-}
-
 getfattr()
 {
     $GETFATTR_PROG --absolute-names -dh $@ 2>&1 | _filter_scratch