2 # Make sure touch can create a file through a dangling symlink.
3 # This was broken in the 4.0[e-i] test releases.
5 if test "$VERBOSE" = yes; then
10 rm -f touch-target t-symlink
11 ln -s touch-target t-symlink
14 # This used to infloop.
15 touch t-symlink || fail
=1
17 test -f touch-target || fail
=1
18 rm -f touch-target t-symlink
20 if test $fail = 1; then
26 ====================================================
28 This version of the Linux kernel causes touch to fail
29 when operating on dangling symlinks.
30 ====================================================