| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -ueo pipefail |
| 4 | |
| 5 | ARPING_TEMPDIR="$(mktempscip-shell system . . mktemp. -d /tmp/arping-test-XXXXXXscip-shell filesystem . . `/tmp/arping-test-XXXXXX`.)" |
| 6 | echoscip-shell system . . echo. "Set up tempdir ${ARPING_TEMPDIR}" |
| 7 | gitscip-shell system . . git. archive HEAD | tarscip-shell system . . tar. -x -C "${ARPING_TEMPDIR}" |
| 8 | gitscip-shell system . . git. diff --cached --binary | ( |
| 9 | cd "${ARPING_TEMPDIR}" |
| 10 | gitscip-shell system . . git. apply |
| 11 | ) |
| 12 | cd "${ARPING_TEMPDIR}" |
| 13 | |
| 14 | ./bootstrap.sh |
| 15 | ./configure |
| 16 | makescip-shell system . . make. -j$(nprocscip-shell system . . nproc.) |
| 17 | makescip-shell system . . make. check |
| 18 | makescip-shell system . . make. distcheck |
| 19 | sudoscip-shell system . . sudo. ./tests/run |