mirror of
https://github.com/troglobit/libite.git
synced 2026-10-31 12:50:41 +00:00
Fix #9: Use /usr/bin/which, not /bin/which, for unit test.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
3e921d72e5
commit
3545d63d2e
1 file changed
+7
-7
+7
-7
@@ -11,13 +11,13 @@ int main(void)
|
|||||||
int result = 0;
|
int result = 0;
|
||||||
size_t i;
|
size_t i;
|
||||||
struct tc test[] = {
|
struct tc test[] = {
|
||||||
{ "ls", 1 },
|
{ "ls", 1 },
|
||||||
{ "free", 1 },
|
{ "free", 1 },
|
||||||
{ "modinfo", 1 },
|
{ "modinfo", 1 },
|
||||||
{ "useradd", 1 },
|
{ "useradd", 1 },
|
||||||
{ "/bin/which", 1 },
|
{ "/usr/bin/which", 1 },
|
||||||
{ "/bin/ps aux", 1 },
|
{ "/bin/ps aux", 1 },
|
||||||
{ "/etc/passwd", 0 },
|
{ "/etc/passwd", 0 },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user