From: Stefan Weil <[email protected]>

/bin/true is missing on macOS, but simply "true" is available as a shell 
builtin.

Signed-off-by: Stefan Weil <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
---
 tests/tcg/Makefile.qemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/tcg/Makefile.qemu b/tests/tcg/Makefile.qemu
index c096c611a2..a56564660c 100644
--- a/tests/tcg/Makefile.qemu
+++ b/tests/tcg/Makefile.qemu
@@ -90,11 +90,11 @@ run-guest-tests: guest-tests
 
 else
 guest-tests:
-       $(call quiet-command, /bin/true, "BUILD", \
+       $(call quiet-command, true, "BUILD", \
                "$(TARGET) guest-tests SKIPPED")
 
 run-guest-tests:
-       $(call quiet-command, /bin/true, "RUN", \
+       $(call quiet-command, true, "RUN", \
                "tests for $(TARGET) SKIPPED")
 endif
 
-- 
2.20.1


Reply via email to