From 40212ce0c92b25d5b3470d09ad5cb3f625c6a4c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 12 Jan 2003 23:44:14 +0000 Subject: Update. * io/ftwtest-sh: Add test for case of symlink to nonexisting file given as start file. * io/ftw.c (ftw_startup): Use correct name in check for symlink without existing target. Patch by Jim Meyering. --- io/ftwtest-sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'io/ftwtest-sh') diff --git a/io/ftwtest-sh b/io/ftwtest-sh index 4f3b7865e8..76c1de7f3e 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -182,6 +182,17 @@ base = "ftwtest.d/./foo/lvl1/lvl2/lvl3/", file = "file@3", flag = FTW_F, cwd = $ EOF rm $testout +curwd=`/bin/pwd 2>/dev/null || /usr/bin/pwd` +cd "$tmp" +LD_LIBRARY_PATH=$objpfx $ldso $testprogram --chdir ftwtest.d/foo/lvl1/link@1 | + sort > $testout +cd "$curwd" + +cat < $testout -- cgit 1.4.1