symbian-qemu-0.9.1-12/dtc-trunk/tests/dtc-fatal.sh
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     1 #! /bin/sh
       
     2 
       
     3 . ./tests.sh
       
     4 
       
     5 verbose_run $VALGRIND "$DTC" -o/dev/null "$@"
       
     6 ret="$?"
       
     7 
       
     8 if [ "$ret" -gt 127 ]; then
       
     9     FAIL "dtc killed by signal (ret=$ret)"
       
    10 elif [ "$ret" != "1" ]; then
       
    11     FAIL "dtc returned incorrect status $ret instead of 1"
       
    12 fi
       
    13 
       
    14 PASS