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 Tony Hutter
parent d1277e2a13
commit c2a3bcc91d
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"
done
log_pass "A read of a non-existent xattr fails" log_pass "A read of a non-existent xattr fails"
done