From 075dcad351d2527a43d012b515af33f7016470a1 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 30 Apr 2021 10:37:02 -0400 Subject: [PATCH] ZTS: Fix xattr_002_neg passing too soon Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #11970 --- tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh | 4 ++-- 1 file 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 e379d1586e..4393774cb1 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"