Changeset 1c79996 in mainline for uspace/dist/src/bithenge/test.sh
- Timestamp:
- 2012-08-18T23:20:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a42d7d8
- Parents:
- 1f9c9a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/bithenge/test.sh
r1f9c9a4 r1c79996 12 12 fi 13 13 14 test_file() { 15 echo "Testing $1 on $2..." 16 ${BITHENGE} $1 $2 2>&1|diff $3 - 17 } 18 14 19 for BH in *.bh 15 20 do … … 19 24 [ -e ${DAT} ] || continue 20 25 [ -e ${OUT} ] || continue 21 echo "Testing ${BH} on ${DAT}..." 22 ${BITHENGE} ${BH} ${DAT} 2>&1|diff ${OUT} - 26 test_file ${BH} ${DAT} ${OUT} 23 27 done 24 28 done 25 29 30 test_file trip.bh file:trip.dat trip.out 31 test_file repeat.bh hex:7f07020305070b0D11020004000800102040010101040009 repeat.out 32 26 33 echo "Done!"
Note:
See TracChangeset
for help on using the changeset viewer.