ia5test.sh
author viric <viriketo@gmail.com>
Fri, 30 Mar 2012 18:54:29 +0200
changeset 30 d30178b2a9e6
parent 26 700a68421116
permissions -rwxr-xr-x
Making the makefile not depend on /usr.
viric@26
     1
#!/bin/sh
viric@26
     2
viric@26
     3
for a in `seq 1 7000`; do
viric@26
     4
    OUT=`./ia5 -n $a`
viric@26
     5
    OUT2=`./ia5 -w $OUT`
viric@26
     6
    if [ $OUT2 != $a ]; then
viric@26
     7
        echo "Error in $a -> $OUT -> $OUT2"
viric@26
     8
    fi
viric@26
     9
viric@26
    10
done