generic: handle fs.verity.require_signatures being enabled
[xfstests-dev.git] / tests / generic / 573
index d7796abcbed0aba7dbc46920964af7a84b8206c7..248a3bfe5531490f1462c5e243f5721a40961b35 100755 (executable)
@@ -19,6 +19,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _cleanup()
 {
        cd /
+       _restore_fsverity_signatures
        rm -f $tmp.*
 }
 
@@ -36,6 +37,7 @@ _supported_os Linux
 _require_scratch_verity
 _require_user
 _require_chattr ia
+_disable_fsverity_signatures
 
 _scratch_mkfs_verity &>> $seqres.full
 _scratch_mount