patch-runltp 883 B

12345678910111213141516171819202122
  1. $Id$
  2. ash does not understand the test '-a' (test for bare existence)
  3. --- ltp-full-20061121.orig/runltp 2006-11-21 21:31:20.000000000 +0100
  4. +++ ltp-full-20061121/runltp 2006-12-06 13:22:14.000000000 +0100
  5. @@ -285,7 +285,7 @@ main()
  6. ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/math \
  7. ${LTPROOT}/runtest/nptl ${LTPROOT}/runtest/pty
  8. do
  9. - [ -a "$SCENFILES" ] || \
  10. + [ -e "$SCENFILES" ] || \
  11. {
  12. echo "FATAL: missing scenario file $SCENFILES"
  13. exit 1
  14. @@ -319,7 +319,7 @@ main()
  15. ${LTPROOT}/runtest/rpc \
  16. ${LTPROOT}/runtest/nfs
  17. do
  18. - [ -a "$SCENFILES" ] || \
  19. + [ -e "$SCENFILES" ] || \
  20. {
  21. echo "FATAL: missing scenario file $SCENFILES"
  22. exit 1