projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39cdbb
)
test: don't assume yum is a script
author
François Rigault
<frigo@amadeus.com>
Sat, 24 Jun 2023 08:44:54 +0000
(10:44 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 24 Jun 2023 13:41:38 +0000
(07:41 -0600)
on Rawhide at the moment yum is a symlink to dnf5 which is a binary.
src/test/test-fileio.c
patch
|
blob
|
history
diff --git
a/src/test/test-fileio.c
b/src/test/test-fileio.c
index aa5142fcedf5469f8f03d943cd330779446b4ec0..07f4355142575de9db1bc2d9cb6d03a91b6073b6 100644
(file)
--- a/
src/test/test-fileio.c
+++ b/
src/test/test-fileio.c
@@
-330,7
+330,6
@@
TEST(executable_is_script) {
assert_se(r == 0);
r = executable_is_script("/usr/bin/yum", &command);
- assert_se(r > 0 || r == -ENOENT);
if (r > 0) {
assert_se(startswith(command, "/"));
free(command);