From 48aa5a490938dd0224833b96147abfc0b1ef8da8 Mon Sep 17 00:00:00 2001 From: isaacyang Date: Fri, 26 Apr 2024 11:37:41 +0800 Subject: [PATCH] Fix the wrong output from suspend cycles --- providers/base/bin/suspend.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/base/bin/suspend.sh b/providers/base/bin/suspend.sh index cd0b3e353..6adba4981 100755 --- a/providers/base/bin/suspend.sh +++ b/providers/base/bin/suspend.sh @@ -8,6 +8,7 @@ if [ "$architecture" = "x86_64" ] || [ "$architecture" = "i386" ]; then export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/usr/lib/fwts" set -o pipefail checkbox-support-fwts_test -f none -s s3 --s3-device-check --s3-device-check-delay="${STRESS_S3_WAIT_DELAY:-45}" --s3-sleep-delay="${STRESS_S3_SLEEP_DELAY:-30}" + rm /tmp/fwts_results.log else rtcwake -v -m mem -s "${STRESS_S3_SLEEP_DELAY:-30}" fi