summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \