From 9b6cd438c6dfc77820077bcfd2c440e9ece6fb83 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Mon, 29 Jul 2024 19:38:59 +0000 Subject: [PATCH] fix: try thi Signed-off-by: Ramkumar Chinchani --- test/whiteout.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/whiteout.bats b/test/whiteout.bats index 6f816df2..261d5790 100644 --- a/test/whiteout.bats +++ b/test/whiteout.bats @@ -26,10 +26,12 @@ EOF echo "skipping $f" continue } - bsdtar -tvf oci/blobs/sha256/$f | grep '.wh.sensors.d' && { + bsdtar -tvf oci/blobs/sha256/$f + run bsdtar -tvf oci/blobs/sha256/$f | grep '.wh.sensors.d' + if [ "$status" -eq 0 ]; echo "should not have a sensors.d whiteout!" exit 1 - } + fi done }