summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-11-06 09:55:11 +0000
committerLars Wirzenius <liw@liw.fi>2021-11-06 09:55:11 +0000
commit73d9542edf54dd05bcdc0a6096c8cb224b6f51c9 (patch)
tree86ce773a26f3015062610eb934ce6e0ae502588d
parent52d71426814898ac93fac80d2a49927619790824 (diff)
parentfefdae9ff8daabffb22c148f4785151b891e6463 (diff)
downloadvmadm-73d9542edf54dd05bcdc0a6096c8cb224b6f51c9.tar.gz
Merge branch 'fix' into 'main'
fix: make checks for memory and disk less sensitive to variance See merge request larswirzenius/vmadm!50
-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