summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Moeller <ryan@iXsystems.com>2021-04-30 10:37:02 -0400
committerBrian Behlendorf <behlendorf1@llnl.gov>2021-05-19 20:00:08 -0700
commit2ad4cb110eaeab2d006e6b5cdd131008090e9272 (patch)
treed07320302fd731ba2f12d3242cda0adb649132e2
parentd7bd243508f98899a2798f4cd34d5726c5e446f7 (diff)
ZTS: Fix xattr_002_neg passing too soon
Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #11970
-rwxr-xr-xtests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh b/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh
index e379d1586..4393774cb 100755
--- a/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh
+++ b/tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh
@@ -57,6 +57,6 @@ for arg in ${args[*]}; do
# create a file
log_must touch $TESTDIR/myfile.$$
log_mustnot eval "cat $TESTDIR/myfile.$$ not-here.txt > /dev/null 2>&1"
-
- log_pass "A read of a non-existent xattr fails"
done
+
+log_pass "A read of a non-existent xattr fails"