From fefdae9ff8daabffb22c148f4785151b891e6463 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 6 Nov 2021 11:54:13 +0200 Subject: fix: make checks for memory and disk less sensitive to variance Sponsored-by: author --- vmadm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vmadm.md') diff --git a/vmadm.md b/vmadm.md index 018950d..6d0491a 100644 --- a/vmadm.md +++ b/vmadm.md @@ -237,9 +237,9 @@ when I invoke vmadm new --config config.yaml smoke.yaml when I invoke ssh -F .ssh/config debian@smoke hostname then stdout contains "smoke" when I invoke ssh -F .ssh/config debian@smoke df -h / -then stdout contains "4.9G" +then stdout matches regex 4\.\dG when I invoke ssh -F .ssh/config debian@smoke free -m -then stdout contains "1997" +then stdout matches regex Mem:\s+19\d\d\s ~~~ Then we shut it down, twice. The second time is to verify shutting -- cgit v1.2.1