From 73e33a664aed4fc4c38c968cbacb8217e13473f0 Mon Sep 17 00:00:00 2001 From: Karel Srot Date: Thu, 18 Jul 2024 10:47:39 +0200 Subject: [PATCH] Do not check for subdirs under /var/lock/opencryptoki --- .../lock-files-are-persistent-across-system-reboot/runtest.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sanity/lock-files-are-persistent-across-system-reboot/runtest.sh b/Sanity/lock-files-are-persistent-across-system-reboot/runtest.sh index d419ad2..b5b691c 100755 --- a/Sanity/lock-files-are-persistent-across-system-reboot/runtest.sh +++ b/Sanity/lock-files-are-persistent-across-system-reboot/runtest.sh @@ -49,9 +49,7 @@ rlJournalStart for DIR in $SUBDIRS; do rlAssertExists /var/lib/opencryptoki/$DIR done - for DIR in $SUBDIRS; do - rlAssertExists /var/lock/opencryptoki/$DIR - done + rlAssertExists /var/lock/opencryptoki rlAssertExists /var/lock/opencryptoki/LCK..APIlock if [ ! -f /bz1054442-rebooted ]; then touch /bz1054442-rebooted