From 20c724802dfd94b5b23097deef23699bde7b96d7 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Tue, 3 Feb 2026 20:52:04 +0100 Subject: [PATCH] zdtm/static/binfmt_misc: run cleanup hook before restore In ns flavor for instance the binfmt_misc is not c/r-ed, but without this cleanup the test will not detect that as it would inherit correct unchanged binfmt_misc step which was there on dump. Signed-off-by: Pavel Tikhomirov --- test/zdtm/static/binfmt_misc.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zdtm/static/binfmt_misc.hook b/test/zdtm/static/binfmt_misc.hook index 5bb8e3591..22191dbe7 100755 --- a/test/zdtm/static/binfmt_misc.hook +++ b/test/zdtm/static/binfmt_misc.hook @@ -1,6 +1,6 @@ #!/bin/bash -[ "$1" == "--clean" ] || exit 0 +[ "$1" == "--clean" ] || [ "$1" == "--pre-restore" ] || exit 0 name=$(basename -s .hook $0).test