Searched refs:test_content (Results 1 – 1 of 1) sorted by relevance
/systemd-251/test/ |
D | test-systemd-tmpfiles.py | 77 def test_content(line, expected, *, user, extra={}, subpath='/arg', path_cb=None): function 89 test_content('f {} - - - - two words', 'two words', user=user) 92 test_content('f {} - - - - %m', '{}'.format(id128.get_machine().hex), user=user) 98 test_content('f {} - - - - %b', '{}'.format(id128.get_boot().hex), user=user) 99 test_content('f {} - - - - %H', '{}'.format(socket.gethostname()), user=user) 100 test_content('f {} - - - - %v', '{}'.format(os.uname().release), user=user) 101 test_content('f {} - - - - %U', '{}'.format(os.getuid() if user else 0), user=user) 102 test_content('f {} - - - - %G', '{}'.format(os.getgid() if user else 0), user=user) 105 test_content('f {} - - - - %u', '{}'.format(puser.pw_name), user=user) 108 test_content('f {} - - - - %g', '{}'.format(pgroup.gr_name), user=user) [all …]
|