Fix testsh2 for OD on arm.
Change-Id: I4bbed3b6dcb62e85e75887b9522734abae7307e4
This commit is contained in:
parent
c3fc9df84a
commit
fa06ff0ee3
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ if test -r x; then : ; else bomb "Error in du Test 1"; fi
|
||||||
|
|
||||||
#Test od
|
#Test od
|
||||||
head -1 $f |od >x # see if od converts ascii to octal ok
|
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
|
then
|
||||||
cat >answer <<END
|
cat >answer <<END
|
||||||
0000000 064124 020145 064564 062555 064040 071541 061440 066557
|
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
|
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
|
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
|
then
|
||||||
cat >answer <<END
|
cat >answer <<END
|
||||||
0000000 26708 08293 26996 25965 26656 29537 25376 28015
|
0000000 26708 08293 26996 25965 26656 29537 25376 28015
|
||||||
|
|
Loading…
Reference in a new issue