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.
This commit is contained in:
Tim Shimmin
2006-02-21 02:50:34 +00:00
parent 6cf4fe3965
commit 5291ccbe23
2 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ getfattr()
setfattr()
{
/usr/bin/setfattr $@
/usr/bin/setfattr $@ 2>&1 | _filter_scratch
}
_create_test_bed()
+36 -36
View File
@@ -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)