2016-05-01 14:03:41 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Build new
|
2016-05-01 17:20:42 +01:00
|
|
|
./bin/hex < hex0.hex |
|
|
|
|
sponge bin/trial && ./bin/exec_enable bin/trial
|
2016-05-01 14:03:41 +01:00
|
|
|
|
|
|
|
# Test compile
|
2016-05-01 17:20:42 +01:00
|
|
|
./bin/trial < hex0.hex |
|
|
|
|
sponge tmp/foo
|
2016-05-01 14:03:41 +01:00
|
|
|
|
|
|
|
# Check results
|
2016-05-01 17:20:42 +01:00
|
|
|
sha256sum bin/trial tmp/foo
|