1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
systemd-stable/test/TEST-21-SYSUSERS
Franck Bui 80359410c4 sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737)
To indicate that the there're no more entries, these wrappers return false but
did leave the passed pointed unmodified.

However EOF is not an error and is a very common case so initialize the output
argument to NULL even in this case so callers don't need to do that.

Fixes: #8721
2018-04-18 18:32:21 +02:00
..
inline.expected-group test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
inline.expected-passwd test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
Makefile test: add TEST-21-SYSUSERS test 2018-01-25 12:51:00 +01:00
test-1.expected-group test: add TEST-21-SYSUSERS test 2018-01-25 12:51:00 +01:00
test-1.expected-passwd test: add TEST-21-SYSUSERS test 2018-01-25 12:51:00 +01:00
test-1.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-2.expected-group test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
test-2.expected-passwd test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
test-2.input test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
test-3.expected-group sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
test-3.expected-passwd sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
test-3.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-4.expected-group sysusers: make ADD_GROUP always create a group 2018-01-25 12:51:06 +01:00
test-4.expected-passwd sysusers: make ADD_GROUP always create a group 2018-01-25 12:51:06 +01:00
test-4.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-5.expected-group sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-5.expected-passwd sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-5.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-6.expected-group sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-6.expected-passwd sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-6.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-7.expected-group test: add a test for sysusers 2018-03-02 07:12:40 +09:00
test-7.expected-passwd test: add a test for sysusers 2018-03-02 07:12:40 +09:00
test-7.input test: add a test for sysusers 2018-03-02 07:12:40 +09:00
test-8.expected-group sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-8.expected-passwd sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-8.input sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-9.expected-group sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-9.expected-passwd sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-9.input sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-10.expected-group sysusers: do not implicitly create group by 'm' if 'u' with the same name exists 2018-03-02 07:38:28 +09:00
test-10.expected-passwd sysusers: do not implicitly create group by 'm' if 'u' with the same name exists 2018-03-02 07:38:28 +09:00
test-10.input sysusers: do not implicitly create group by 'm' if 'u' with the same name exists 2018-03-02 07:38:28 +09:00
test-11.expected-group test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.expected-passwd test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.initial-group test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.initial-passwd test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.input test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-12.expected-group sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.expected-passwd sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.initial-group sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.initial-passwd sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.input sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test.sh test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
unhappy-1.expected-err sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
unhappy-1.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
unhappy-2.expected-err sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
unhappy-2.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00