Skip to content
Snippets Groups Projects
Commit fd63109c authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed the last test (cond's are not nestable).

Rev: src/modules/system/testsuite.in:1.6
parent f9c4491e
Branches
Tags
No related merge requests found
// $Id: testsuite.in,v 1.5 1998/07/18 17:41:49 grubba Exp $ // $Id: testsuite.in,v 1.6 1998/07/18 17:47:36 grubba Exp $
// system.c: // system.c:
...@@ -112,11 +112,9 @@ ifefun(getpwuid, [[ ...@@ -112,11 +112,9 @@ ifefun(getpwuid, [[
} }
return 0; return 0;
]], 0) ]], 0)
ifefun(getpwnam, [[
const([[ getpwuid(0) ]], [[
test_equal([[ getpwnam(getpwuid(0)[0]) ]], [[ getpwuid(0) ]])
]])
]]) ]])
cond([[ all_constants()->getpwuid && all_constants()->getpwnam && getpwuid(0) ]], [[
test_equal([[ getpwnam(getpwuid(0)[0]) ]], [[ getpwuid(0) ]])
]]) ]])
// setgrent HAVE_SETGRENT // setgrent HAVE_SETGRENT
// setpwent HAVE_SETPWENT // setpwent HAVE_SETPWENT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment