summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKarel Zak2007-11-28 13:17:16 +0100
committerKarel Zak2007-11-28 13:17:16 +0100
commit2f4564eac498ab194c204d4ad363d663c9bd76a4 (patch)
tree6a86d02472a82c17be2101485939a1ff51f8c8e0 /tests
parenttests: add test for include/pathnames.h (diff)
downloadkernel-qcow2-util-linux-2f4564eac498ab194c204d4ad363d663c9bd76a4.tar.gz
kernel-qcow2-util-linux-2f4564eac498ab194c204d4ad363d663c9bd76a4.tar.xz
kernel-qcow2-util-linux-2f4564eac498ab194c204d4ad363d663c9bd76a4.zip
include: cleanup pathnames.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/expected/ts-include-pathnames2
-rw-r--r--tests/helpers/test_pathnames.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/expected/ts-include-pathnames b/tests/expected/ts-include-pathnames
index 55b6f17a3..a60154477 100644
--- a/tests/expected/ts-include-pathnames
+++ b/tests/expected/ts-include-pathnames
@@ -1,7 +1,7 @@
_PATH_DEFPATH /usr/local/bin:/bin:/usr/bin
_PATH_DEFPATH_ROOT /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
_PATH_TTY /dev/tty
- SECURETTY /etc/securetty
+ _PATH_SECURETTY /etc/securetty
_PATH_WTMPLOCK /etc/wtmplock
_PATH_HUSHLOGIN .hushlogin
_PATH_MAILDIR /var/mail
diff --git a/tests/helpers/test_pathnames.c b/tests/helpers/test_pathnames.c
index b44a60278..594f45833 100644
--- a/tests/helpers/test_pathnames.c
+++ b/tests/helpers/test_pathnames.c
@@ -34,7 +34,7 @@ struct hlpPath paths[] =
DEF_HLPPATH(_PATH_DEFPATH),
DEF_HLPPATH(_PATH_DEFPATH_ROOT),
DEF_HLPPATH(_PATH_TTY),
- DEF_HLPPATH(SECURETTY),
+ DEF_HLPPATH(_PATH_SECURETTY),
DEF_HLPPATH(_PATH_WTMPLOCK),
DEF_HLPPATH(_PATH_HUSHLOGIN),
DEF_HLPPATH(_PATH_MAILDIR),