ia5test.sh
author viric <viriketo@gmail.com>
Fri, 30 Mar 2012 18:54:55 +0200
changeset 31 2bcc08d0f1d8
parent 26 700a68421116
permissions -rwxr-xr-x
Fixing an error message
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     1
#!/bin/sh
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     2
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     3
for a in `seq 1 7000`; do
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     4
    OUT=`./ia5 -n $a`
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     5
    OUT2=`./ia5 -w $OUT`
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     6
    if [ $OUT2 != $a ]; then
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     7
        echo "Error in $a -> $OUT -> $OUT2"
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     8
    fi
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
     9
700a68421116 Adding .hgignore and the ia5test.
viric@llimona
parents:
diff changeset
    10
done