Ticket #35727: patch-tests-macros-6.diff

File patch-tests-macros-6.diff, 500 bytes (added by ajdudman, 12 years ago)

patches test 6

  • tests/macros-6

    old new  
    4242
    4343output1=`eval ${DMAKEPROG} -r -f $file1`
    4444result1=$?
     45p1=`pwd`
     46p2=`pwd -L`
     47p3=`pwd -P`
    4548
    46 if test "$output1" != "`pwd`"; then
     49case "$output1" in
     50"$p1"|"$p2"|"$p3")
     51  echo "Test 1: OK"
     52  ;;
     53*)
    4754  echo "Test 1: Wrong result: ${output1}"
    4855  result1=1
    49 else
    50   echo "Test 1: OK"
    51 fi
     56  ;;
     57esac
    5258
    5359if test $result1 -eq 0; then
    5460  echo "Success - Cleaning up"