1NAME=wox le 8-bit 2FILE=- 3CMDS=<<EOF 4e cfg.bigendian=false 5w helloworld 6wox 0xab@!10 7p8 14 8EOF 9EXPECT=<<EOF 10c3cec7c7c4dcc4d9c7cf00000000 11EOF 12RUN 13 14NAME=wox le 16-bit 15FILE=- 16CMDS=<<EOF 17e cfg.bigendian=false 18w helloworld 19wox 0xabcd@!10 20p8 14 21EOF 22EXPECT=<<EOF 23a5cea1c7a2dca2d9a1cf00000000 24EOF 25RUN 26 27NAME=wox le 24-bit 28FILE=- 29CMDS=<<EOF 30e cfg.bigendian=false 31w helloworld 32wox 0xabcdef@!10 33ps 14 34EOF 35EXPECT=<<EOF 36helloworld\x00\x00\x00\x00 37EOF 38RUN 39 40NAME=wox le 32-bit 41FILE=- 42CMDS=<<EOF 43e cfg.bigendian=false 44w helloworld 45wox 0xabcdef01@!10 46p8 14 47EOF 48EXPECT=<<EOF 49698aa1c76e98a2d96d8b00000000 50EOF 51RUN 52 53NAME=wox le 40-bit 54FILE=- 55CMDS=<<EOF 56e cfg.bigendian=false 57w helloworld 58wox 0xabcdef0102@!10 59ps 14 60EOF 61EXPECT=<<EOF 62helloworld\x00\x00\x00\x00 63EOF 64RUN 65 66NAME=wox le 48-bit 67FILE=- 68CMDS=<<EOF 69e cfg.bigendian=false 70w helloworld 71wox 0xabcdef010203@!10 72ps 14 73EOF 74EXPECT=<<EOF 75helloworld\x00\x00\x00\x00 76EOF 77RUN 78 79NAME=wox le 56-bit 80FILE=- 81CMDS=<<EOF 82e cfg.bigendian=false 83w helloworld 84wox 0xabcdef01020304@!10 85ps 14 86EOF 87EXPECT=<<EOF 88helloworld\x00\x00\x00\x00 89EOF 90RUN 91 92NAME=wox le 64-bit 93FILE=- 94CMDS=<<EOF 95e cfg.bigendian=false 96w helloworld 97wox 0xabcdef0102030405@!10 98p8 14 99EOF 100EXPECT=<<EOF 1016d616f6e6e98a2d9696000000000 102EOF 103RUN 104 105NAME=wox be 8-bit 106FILE=- 107CMDS=<<EOF 108e cfg.bigendian=true 109w helloworld 110wox 0xab@!10 111p8 14 112EOF 113EXPECT=<<EOF 114c3cec7c7c4dcc4d9c7cf00000000 115EOF 116RUN 117 118NAME=wox be 16-bit 119FILE=- 120CMDS=<<EOF 121e cfg.bigendian=true 122w helloworld 123wox 0xabcd@!10 124p8 14 125EOF 126EXPECT=<<EOF 127c3a8c7a1c4bac4bfc7a900000000 128EOF 129RUN 130 131NAME=wox be 24-bit 132FILE=- 133CMDS=<<EOF 134e cfg.bigendian=true 135w helloworld 136wox 0xabcdef@!10 137p8 14 138EOF 139EXPECT=<<EOF 140c3a883c7a298c4bf83cf00000000 141EOF 142RUN 143 144NAME=wox be 32-bit 145FILE=- 146CMDS=<<EOF 147e cfg.bigendian=true 148w helloworld 149wox 0xabcdef01@!10 150p8 14 151EOF 152EXPECT=<<EOF 153c3a8836dc4ba8073c7a900000000 154EOF 155RUN 156 157NAME=wox be 40-bit 158FILE=- 159CMDS=<<EOF 160e cfg.bigendian=true 161w helloworld 162wox 0xabcdef0102@!10 163p8 14 164EOF 165EXPECT=<<EOF 166c3a8836d6ddca29d6d6600000000 167EOF 168RUN 169 170NAME=wox be 48-bit 171FILE=- 172CMDS=<<EOF 173e cfg.bigendian=true 174w helloworld 175wox 0xabcdef010203@!10 176p8 14 177EOF 178EXPECT=<<EOF 179c3a8836d6d74c4bf836500000000 180EOF 181RUN 182 183NAME=wox be 56-bit 184FILE=- 185CMDS=<<EOF 186e cfg.bigendian=true 187w helloworld 188wox 0xabcdef01020304@!10 189p8 14 190EOF 191EXPECT=<<EOF 192c3a8836d6d746bd9a18b00000000 193EOF 194RUN 195 196NAME=wox be 64-bit 197FILE=- 198CMDS=<<EOF 199e cfg.bigendian=true 200w helloworld 201wox 0xabcdef0102030405@!10 202p8 14 203EOF 204EXPECT=<<EOF 205c3a8836d6d746b77c7a900000000 206EOF 207RUN 208 209NAME=wo2 on woe 210FILE=- 211CMDS=<<EOF 212b 32 213woe 1 214wo2 215e hex.header=false 216px 217EOF 218EXPECT=<<EOF 2190x00000000 0100 0302 0504 0706 0908 0b0a 0d0c 0f0e ................ 2200x00000010 1110 1312 1514 1716 1918 1b1a 1d1c 1f1e ................ 221EOF 222RUN 223