mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 12:12:13 +03:00
tests: review every instance of $?
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
@@ -29,10 +29,7 @@
|
||||
# looks for return values that correspond to a core dump and cause a test
|
||||
# failure.
|
||||
|
||||
btree_test -n insert_duplicate
|
||||
[[ $? -eq 0 ]] && log_fail "Failure from insert_duplicate"
|
||||
|
||||
btree_test -n remove_missing
|
||||
[[ $? -eq 0 ]] && log_fail "Failure from remove_missing"
|
||||
btree_test -n insert_duplicate && log_fail "Failure from insert_duplicate"
|
||||
btree_test -n remove_missing && log_fail "Failure from remove_missing"
|
||||
|
||||
log_pass "Btree negative tests passed"
|
||||
|
||||
Reference in New Issue
Block a user