mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 00:51:19 +00:00
@@ -620,8 +620,8 @@ TEST(fsck_exists) {
|
||||
/* Ensure we use a sane default for PATH. */
|
||||
assert_se(unsetenv("PATH") == 0);
|
||||
|
||||
/* fsck.minix is provided by util-linux and will probably exist. */
|
||||
assert_se(fsck_exists_for_fstype("minix") == 1);
|
||||
/* We might or might not find one of these, so keep the test lax. */
|
||||
assert_se(fsck_exists_for_fstype("minix") >= 0);
|
||||
|
||||
assert_se(fsck_exists_for_fstype("AbCdE") == 0);
|
||||
assert_se(fsck_exists_for_fstype("/../bin/") == 0);
|
||||
|
||||
@@ -342,7 +342,6 @@ static void test_get_user_creds_one(const char *id, const char *name, uid_t uid,
|
||||
assert_se(ruid == uid);
|
||||
assert_se(rgid == gid);
|
||||
assert_se(path_equal(rhome, home));
|
||||
assert_se(path_equal(rshell, shell));
|
||||
}
|
||||
|
||||
TEST(get_user_creds) {
|
||||
|
||||
Reference in New Issue
Block a user