From: Tim Shimmin Date: Tue, 21 Feb 2006 02:50:34 +0000 (+0000) Subject: need to filter out scratch device for setfattr tests since they X-Git-Tag: v1.1.0~662 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5291ccbe236b97404be130dc1a29899dfc1e03b7;p=xfstests-dev.git need to filter out scratch device for setfattr tests since they report errors and mention the mount point. Merge of master-melb:xfs-cmds:25252a by kenmcd. need to filter out scratch device for setfattr tests since they report errors and mention the mount point. --- diff --git a/062 b/062 index c7fb2b01..c9c29c8f 100755 --- a/062 +++ b/062 @@ -84,7 +84,7 @@ getfattr() setfattr() { - /usr/bin/setfattr $@ + /usr/bin/setfattr $@ 2>&1 | _filter_scratch } _create_test_bed() diff --git a/062.out b/062.out index 0b51f5ad..8db03e69 100644 --- a/062.out +++ b/062.out @@ -112,100 +112,100 @@ user.name3=0xdeface === TYPE lnk; NAMESPACE user *** set/get one initially empty attribute -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted *** overwrite empty, set several new attributes -setfattr: /mnt/xfs0/lnk: Operation not permitted -setfattr: /mnt/xfs0/lnk: Operation not permitted -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted *** fetch several attribute names and values (hex) *** fetch several attribute names and values (base64) *** shrink value of an existing attribute -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted *** grow value of existing attribute -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted *** set an empty value for second attribute -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted SCRATCH_MNT/lnk: user.name2: Operation not permitted *** overwrite empty value -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted SCRATCH_MNT/lnk: user.name2: Operation not permitted *** remove attribute -setfattr: /mnt/xfs0/lnk: Operation not permitted +setfattr: SCRATCH_MNT/lnk: Operation not permitted SCRATCH_MNT/lnk: user.name2: Operation not permitted *** final list (strings, type=lnk, nsp=user) === TYPE dev/b; NAMESPACE user *** set/get one initially empty attribute -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted *** overwrite empty, set several new attributes -setfattr: /mnt/xfs0/dev/b: Operation not permitted -setfattr: /mnt/xfs0/dev/b: Operation not permitted -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted *** fetch several attribute names and values (hex) *** fetch several attribute names and values (base64) *** shrink value of an existing attribute -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted *** grow value of existing attribute -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted *** set an empty value for second attribute -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted SCRATCH_MNT/dev/b: user.name2: Operation not permitted *** overwrite empty value -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted SCRATCH_MNT/dev/b: user.name2: Operation not permitted *** remove attribute -setfattr: /mnt/xfs0/dev/b: Operation not permitted +setfattr: SCRATCH_MNT/dev/b: Operation not permitted SCRATCH_MNT/dev/b: user.name2: Operation not permitted *** final list (strings, type=dev/b, nsp=user) === TYPE dev/c; NAMESPACE user *** set/get one initially empty attribute -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted *** overwrite empty, set several new attributes -setfattr: /mnt/xfs0/dev/c: Operation not permitted -setfattr: /mnt/xfs0/dev/c: Operation not permitted -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted *** fetch several attribute names and values (hex) *** fetch several attribute names and values (base64) *** shrink value of an existing attribute -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted *** grow value of existing attribute -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted *** set an empty value for second attribute -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted SCRATCH_MNT/dev/c: user.name2: Operation not permitted *** overwrite empty value -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted SCRATCH_MNT/dev/c: user.name2: Operation not permitted *** remove attribute -setfattr: /mnt/xfs0/dev/c: Operation not permitted +setfattr: SCRATCH_MNT/dev/c: Operation not permitted SCRATCH_MNT/dev/c: user.name2: Operation not permitted *** final list (strings, type=dev/c, nsp=user) === TYPE dev/p; NAMESPACE user *** set/get one initially empty attribute -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted *** overwrite empty, set several new attributes -setfattr: /mnt/xfs0/dev/p: Operation not permitted -setfattr: /mnt/xfs0/dev/p: Operation not permitted -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted *** fetch several attribute names and values (hex) *** fetch several attribute names and values (base64) *** shrink value of an existing attribute -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted *** grow value of existing attribute -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted *** set an empty value for second attribute -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted SCRATCH_MNT/dev/p: user.name2: Operation not permitted *** overwrite empty value -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted SCRATCH_MNT/dev/p: user.name2: Operation not permitted *** remove attribute -setfattr: /mnt/xfs0/dev/p: Operation not permitted +setfattr: SCRATCH_MNT/dev/p: Operation not permitted SCRATCH_MNT/dev/p: user.name2: Operation not permitted *** final list (strings, type=dev/p, nsp=user)