mirror of
https://github.com/systemd/systemd.git
synced 2025-08-25 13:49:55 +03:00
test: don't assume yum is a script
on Rawhide at the moment yum is a symlink to dnf5 which is a binary.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
d39cdbb3bf
commit
4b95d5effd
@ -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);
|
||||
|
Reference in New Issue
Block a user