--- ltp.orig/testcases/kernel/syscalls/readlink/readlink03.c 2011-09-08 11:32:12.000000000 +0200 +++ ltp/testcases/kernel/syscalls/readlink/readlink03.c 2011-09-12 13:29:10.000000000 +0200 @@ -173,6 +173,11 @@ int main(int ac, char **av) buf_size = sizeof(buffer); } + if (strncmp(test_desc, "Symlink Pathname is empty", 25) == 0) { + if ((tst_kvercmp(2, 6, 39)) >= 0) + Test_cases[i].exp_errno = EINVAL; + } + /* * Call readlink(2) to test different test conditions. * verify that it fails with -1 return value and sets @@ -358,4 +363,4 @@ void cleanup() tst_rmdir(); -} \ No newline at end of file +}