[PATCH] fstests: link .out to correct output when we set USE_ATTR_SECURE=yes
Andreas Grünbacher
andreas.gruenbacher at gmail.com
Wed Aug 19 23:18:28 PDT 2015
Dongsheng,
2015-08-20 3:01 GMT+02:00 Dongsheng Yang <yangds.fnst at cn.fujitsu.com>:
>
> When we set USE_ATTR_SECURE to yes or no, the expected outputs of generic/062
> would be different. So we need to link the .out to different file.
Can the tests for the different namespaces please be separated from
each other here (see below)?
diff --git a/tests/generic/062 b/tests/generic/062
index 194b638..9dd4498 100755
--- a/tests/generic/062
+++ b/tests/generic/062
@@ -142,6 +142,7 @@ for nsp in $ATTR_MODES; do
echo "*** final list (strings, type=$inode, nsp=$nsp)"
getfattr -m '.' -e hex $SCRATCH_MNT/$inode
+ # FIXME: Remove all remaining xattrs
done
done
Next, can the security namespace tests be put in their own test case
so that we don't need to switch between two different .out files? This
could be done by setting ATTR_MODES and then invoking
tests/generic/062 to avoid duplicating the entire test script.
Thanks,
Andreas
More information about the linux-mtd
mailing list