summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-10-16 00:59:32 +0300
committerMaxim Devaev <[email protected]>2021-10-16 00:59:32 +0300
commit125baff0cb949a0aa122cdf73aae400dae615451 (patch)
tree3197bcc72c502caa5099370045d77898feac1eed
parente432804a5a09ec443cecd619daaa093fdff337e4 (diff)
error message about gpio mockup
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 197b28ee..0b703642 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ run: testenv $(TESTENV_GPIO)
--publish 4430:443/tcp \
-it $(TESTENV_IMAGE) /bin/bash -c " \
mount -t debugfs none /sys/kernel/debug \
- && test -d /sys/kernel/debug/gpio-mockup/`basename $(TESTENV_GPIO)`/ \
+ && test -d /sys/kernel/debug/gpio-mockup/`basename $(TESTENV_GPIO)`/ || (echo \"Missing GPIO mockup\" && exit 1) \
&& (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
&& cp -r /usr/share/kvmd/configs.default/nginx/* /etc/kvmd/nginx \
&& sed -i '$$ s/.$$//' /etc/kvmd/nginx/nginx.conf \