Searched refs:unsetenv (Results 1 – 17 of 17) sorted by relevance
22 assert_se(unsetenv("SYSTEMD_UNIT_PATH") == 0); in test_paths_one()47 assert_se(unsetenv("SYSTEMD_UNIT_PATH") == 0); in TEST()48 assert_se(unsetenv("XDG_DATA_DIRS") == 0); in TEST()49 assert_se(unsetenv("XDG_CONFIG_DIRS") == 0); in TEST()84 assert_se(unsetenv("SYSTEMD_GENERATOR_PATH") == 0); in test_generator_binary_paths_one()85 assert_se(unsetenv("SYSTEMD_ENVIRONMENT_GENERATOR_PATH") == 0); in test_generator_binary_paths_one()
353 assert_se(unsetenv("VAR1") == 0); in test_exec_execsearchpath_passenvironment()354 assert_se(unsetenv("VAR2") == 0); in test_exec_execsearchpath_passenvironment()355 assert_se(unsetenv("VAR3") == 0); in test_exec_execsearchpath_passenvironment()356 assert_se(unsetenv("VAR4") == 0); in test_exec_execsearchpath_passenvironment()357 assert_se(unsetenv("VAR5") == 0); in test_exec_execsearchpath_passenvironment()358 assert_se(unsetenv("PATH") == 0); in test_exec_execsearchpath_passenvironment()948 assert_se(unsetenv("VAR1") == 0); in test_exec_passenvironment()949 assert_se(unsetenv("VAR2") == 0); in test_exec_passenvironment()950 assert_se(unsetenv("VAR3") == 0); in test_exec_passenvironment()951 assert_se(unsetenv("VAR4") == 0); in test_exec_passenvironment()[all …]
55 assert_se(unsetenv("SYSTEMD_OS_RELEASE") == 0); in TEST()72 assert_se(unsetenv("SYSTEMD_OS_RELEASE") == 0); in TEST()
109 assert_se(unsetenv("c") == 0); in TEST()385 assert_se(unsetenv("SYSTEMD_EXEC_PID") >= 0); in TEST()400 assert_se(unsetenv("SYSTEMD_EXEC_PID") >= 0); in TEST()
153 assert_se(unsetenv("SYSTEMD_OS_RELEASE") == 0); in TEST()
477 assert_se(unsetenv("TMPDIR") >= 0); in TEST()478 assert_se(unsetenv("TEMP") >= 0); in TEST()479 assert_se(unsetenv("TMP") >= 0); in TEST()
217 assert_se(unsetenv("PATH") == 0); in TEST()445 assert_se(unsetenv("PATH") == 0); in TEST()
37 assert_se(unsetenv("LISTEN_PID") == 0); in unsetenv_all()38 assert_se(unsetenv("LISTEN_FDS") == 0); in unsetenv_all()39 assert_se(unsetenv("LISTEN_FDNAMES") == 0); in unsetenv_all()547 assert_se(unsetenv("NOTIFY_SOCKET") == 0); in sd_pid_notify_with_fds()671 assert_se(unsetenv("WATCHDOG_USEC") == 0); in sd_watchdog_enabled()673 assert_se(unsetenv("WATCHDOG_PID") == 0); in sd_watchdog_enabled()
22 assert_se(unsetenv("SYSTEMD_PIDFD") >= 0); in test_event_spawn_core()
671 assert_se(unsetenv("NOTIFY_SOCKET") == 0); in worker_main()
785 return RET_NERRNO(unsetenv(name)); in set_unset_env()885 if (unsetenv(name) < 0) in getenv_steal_erase()
289 (void) unsetenv("NOTIFY_SOCKET"); in download_manifest()
804 (void) unsetenv("NOTIFY_SOCKET"); in run_helper()
302 assert_se(unsetenv("SYSTEMD_PIDFD") >= 0); in test_basic_one()
1341 assert_se(unsetenv("SYSTEMD_ONLY_USERDB") == 0); in run()
2918 char*** unsetenv = data; in config_parse_unset_environ() local2930 *unsetenv = strv_free(*unsetenv); in config_parse_unset_environ()2972 r = strv_extend_strv(unsetenv, n, true); in config_parse_unset_environ()
1415 assert_se(unsetenv("HOME") == 0); in fixup_environment()