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
This commit is contained in:
Ryan Moeller 2021-04-30 10:37:02 -04:00 committed by GitHub
parent 801c76149b
commit ccb46cab50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"