Skip to contentSkip to conversation

tests/tcg: Replace /bin/true by true (required on macOS)

PATCH In review Stefan Weil 4 participants 4 messages Jan 28, 2021 – Jan 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/tcg: Replace /bin/true by true (required on macOS)

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

---

A similar change might be needed for tests/qemu-iotests.

Regards,
Stefan

 tests/tcg/Makefile.qemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/tcg/Makefile.qemu +2 -2
index c096c611a2..a56564660c 100644
@@ -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
 
Signature · 1 line
2.24.3 (Apple Git-128)