2
# @(#) Test handling of long arguments passed to various nss functions
8
# Run tests from C source files
10
set longarg_tests [list \
11
{ "long arg to getpwnam()" "longarg_getpwnam" } \
12
{ "long arg to getgrnam()" "longarg_getgrnam" } \
15
foreach { test } $longarg_tests {
16
set test_desc [lindex $test 0]
17
set test_file [lindex $test 1]
19
simple_make "longarg" $test_file
20
set output [util_start "$srcdir/$subdir/$test_file" ]
22
if { [regexp "PASS" $output] } {
24
file delete "$srcdir/$subdir/$test_file" "$srcdir/$subdir/$test_file.o"