projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3808a18
)
Don't rely on /bin/sh
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Feb 2012 23:25:31 +0000
(
00:25
+0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 20 Feb 2012 23:26:19 +0000
(
00:26
+0100)
Another Fedora UsrMove victim !
glib/tests/utils.c
patch
|
blob
|
history
diff --git
a/glib/tests/utils.c
b/glib/tests/utils.c
index
488d6f2
..
b2c19b3
100644
(file)
--- a/
glib/tests/utils.c
+++ b/
glib/tests/utils.c
@@
-213,11
+213,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");