]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: Fix xattr_002_neg passing too soon
authorRyan Moeller <ryan@iXsystems.com>
Fri, 30 Apr 2021 14:37:02 +0000 (10:37 -0400)
committerGitHub <noreply@github.com>
Fri, 30 Apr 2021 14:37:02 +0000 (07:37 -0700)
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11970

tests/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh

index e379d1586ea907bdacd2bea1e377cb309360313c..4393774cb1ad95d49c4574358765e73bc1b8d095 100755 (executable)
@@ -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"