Fix testsh2 for OD on arm.

Change-Id: I4bbed3b6dcb62e85e75887b9522734abae7307e4
This commit is contained in:
Lionel Sambuc 2013-11-06 16:25:23 +01:00
parent c3fc9df84a
commit fa06ff0ee3

View file

@ -113,7 +113,7 @@ if test -r x; then : ; else bomb "Error in du Test 1"; fi
#Test od
head -1 $f |od >x # see if od converts ascii to octal ok
if [ $ARCH = i86 -o $ARCH = i386 ]
if [ $ARCH = i86 -o $ARCH = i386 -o $ARCH = arm ]
then
cat >answer <<END
0000000 064124 020145 064564 062555 064040 071541 061440 066557
@ -135,7 +135,7 @@ fi
if cmp -s x answer; then : ; else bomb "Error in od test 1"; fi
head -1 $f |od -d >x # see if od converts ascii to decimal ok
if [ $ARCH = i86 -o $ARCH = i386 ]
if [ $ARCH = i86 -o $ARCH = i386 -o $ARCH = arm ]
then
cat >answer <<END
0000000 26708 08293 26996 25965 26656 29537 25376 28015