Don't rely on /bin/sh

Another Fedora UsrMove victim !
This commit is contained in:
Matthias Clasen 2012-02-21 00:25:31 +01:00
parent be130752b4
commit 2fec30b203

View File

@ -211,11 +211,11 @@ test_find_program (void)
gchar *res;
res = g_find_program_in_path ("sh");
g_assert_cmpstr (res, ==, "/bin/sh");
g_assert (res != NULL);
g_free (res);
res = g_find_program_in_path ("/bin/sh");
g_assert_cmpstr (res, ==, "/bin/sh");
g_assert (res != NULL);
g_free (res);
res = g_find_program_in_path ("this_program_does_not_exit");