summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@openbsd.org>2011-05-27 17:39:38 +0200
committerMatthias Clasen <mclasen@redhat.com>2011-05-27 12:00:41 -0400
commit2ee470a71fdc3707cf4e093b22ab0f46ffab82e2 (patch)
tree7dbb05a30e4c3eadf468a201a20419f489974842 /tests
parent5d7b67a6c361f747c8ac32d18248cc0923fe73aa (diff)
Don't hardcode path to true(1).
true(1) is not always installed under /bin so leave system() find it in the PATH. https://bugzilla.gnome.org/show_bug.cgi?id=651219
Diffstat (limited to 'tests')
-rw-r--r--tests/child-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/child-test.c b/tests/child-test.c
index b6785728a..a6e307dfa 100644
--- a/tests/child-test.c
+++ b/tests/child-test.c
@@ -175,7 +175,7 @@ main (int argc, char *argv[])
#ifdef G_OS_WIN32
system ("ipconfig /all");
#else
- system ("/bin/true");
+ system ("true");
#endif
alive = 2;