patch-tests_symlink-long_at 429 B

1234567891011121314151617
  1. $OpenBSD: patch-tests_symlink-long_at,v 1.1 2015/09/17 20:16:49 naddy Exp $
  2. --- tests/symlink-long.at.orig Sat Sep 12 12:57:30 2015
  3. +++ tests/symlink-long.at Wed Sep 16 22:12:00 2015
  4. @@ -27,9 +27,11 @@ AT_CHECK([
  5. # len(dirname) > READBUFSIZE
  6. dirname=
  7. -for i in {1..52}; do
  8. +i=1
  9. +while test $i -le 52; do
  10. dirname="xxxxxxxxx/$dirname"
  11. mkdir "$dirname"
  12. + i=`expr $i + 1`
  13. done
  14. ln -s "$dirname" x || AT_SKIP_TEST