Changeset 1c79996 in mainline for uspace/dist/src/bithenge
- Timestamp:
- 2012-08-18T23:20:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a42d7d8
- Parents:
- 1f9c9a4
- Location:
- uspace/dist/src/bithenge
- Files:
-
- 8 added
- 2 edited
- 9 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/bithenge/fat.bh
r1f9c9a4 r1c79996 76 76 .size_shown <- if (.size > 32) { (32) } else { (.size) }; 77 77 78 if (.start != 0 && .start != self_start && .start != parent ) {78 if (.start != 0 && .start != self_start && .start != parent && .filename[0] != 229) { 79 79 .data 80 80 <- if (.attrs.subdirectory) { -
uspace/dist/src/bithenge/repeat.bh
r1f9c9a4 r1c79996 24 24 .without_count <- without_count <- known_length(9); 25 25 .do_while <- do_while; 26 .do_while_item <- (.do_while[1]); 26 27 }; -
uspace/dist/src/bithenge/repeat.out
r1f9c9a4 r1c79996 41 41 "val": 9 42 42 } 43 }, 44 "do_while_item": { 45 "valid": True, 46 "val": 4 43 47 } 44 48 } -
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.