summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/pwdgrp01/pwdgrp01.doc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-14 11:30:50 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-20 10:30:22 +0100
commit6935428a29ece41828cb55c6c22710a7c1535010 (patch)
treea7beb5fab51f19bc50013c27bd96d90518d93b71 /testsuites/libtests/pwdgrp01/pwdgrp01.doc
parentlibcsupport: Use pthread_once() (diff)
downloadrtems-6935428a29ece41828cb55c6c22710a7c1535010.tar.bz2
libcsupport: Avoid TOCTOU and format errors
Diffstat (limited to 'testsuites/libtests/pwdgrp01/pwdgrp01.doc')
-rw-r--r--testsuites/libtests/pwdgrp01/pwdgrp01.doc19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuites/libtests/pwdgrp01/pwdgrp01.doc b/testsuites/libtests/pwdgrp01/pwdgrp01.doc
new file mode 100644
index 0000000000..eaba717769
--- /dev/null
+++ b/testsuites/libtests/pwdgrp01/pwdgrp01.doc
@@ -0,0 +1,19 @@
+This file describes the directives and concepts tested by this test set.
+
+test set name: pwdgrp01
+
+directives:
+
+ - _libcsupport_pwdgrp_init
+ - getpwnam_r
+ - getpwuid_r
+ - getgrnam_r
+ - getgrgid_r
+
+concepts:
+
+ - Ensure that _libcsupport_pwdgrp_init() doesn't overwrite existing files.
+ - Ensure that getpwnam_r() and getpwuid_r() return the values specified by
+ custom /etc/passwd.
+ - Ensure that getgrnam_r() and getgrgid_r() return the values specified by
+ custom /etc/group.