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
1 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,6 @@ for arg in ${args[*]}; do
# create a file # create a file
log_must touch $TESTDIR/myfile.$$ log_must touch $TESTDIR/myfile.$$
log_mustnot eval "cat $TESTDIR/myfile.$$ not-here.txt > /dev/null 2>&1" log_mustnot eval "cat $TESTDIR/myfile.$$ not-here.txt > /dev/null 2>&1"
log_pass "A read of a non-existent xattr fails"
done done
log_pass "A read of a non-existent xattr fails"