test/test_env.sh

changeset 39
72830a7941b2
parent 0
f90c822e73f8
child 7994
04ff2f6cd0eb
equal deleted inserted replaced
38:f0e26f502a50 39:72830a7941b2
184 grep "ia64" vm_version.out > ${NULL} 184 grep "ia64" vm_version.out > ${NULL}
185 if [ $? = 0 ] 185 if [ $? = 0 ]
186 then 186 then
187 VM_CPU="ia64" 187 VM_CPU="ia64"
188 fi 188 fi
189 grep "mips" vm_version.out > ${NULL}
190 if [ $? = 0 ]
191 then
192 VM_CPU="mips"
193 fi
189 export VM_TYPE VM_BITS VM_OS VM_CPU 194 export VM_TYPE VM_BITS VM_OS VM_CPU
190 echo "VM_TYPE=${VM_TYPE}" 195 echo "VM_TYPE=${VM_TYPE}"
191 echo "VM_BITS=${VM_BITS}" 196 echo "VM_BITS=${VM_BITS}"
192 echo "VM_OS=${VM_OS}" 197 echo "VM_OS=${VM_OS}"
193 echo "VM_CPU=${VM_CPU}" 198 echo "VM_CPU=${VM_CPU}"

mercurial