summaryrefslogtreecommitdiff
path: root/vmadm.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-06 11:54:13 +0200
committerLars Wirzenius <liw@liw.fi>2021-11-06 11:54:13 +0200
commitfefdae9ff8daabffb22c148f4785151b891e6463 (patch)
tree86ce773a26f3015062610eb934ce6e0ae502588d /vmadm.md
parent52d71426814898ac93fac80d2a49927619790824 (diff)
downloadvmadm-fefdae9ff8daabffb22c148f4785151b891e6463.tar.gz
fix: make checks for memory and disk less sensitive to variance
Sponsored-by: author
Diffstat (limited to 'vmadm.md')
-rw-r--r--vmadm.md4
1 files changed, 2 insertions, 2 deletions
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