Debian Codegraph @

test-suite/precomputed-time-tests/strip-leading-pwd/run.sh

raw
1 #!/usr/bin/env bash
2
3 . ../template/init.sh
4
5 cd "$(dirname "${BASH_SOURCE[0]}")"
6
7 /usr/bin/env python3 -c 'import os; open("time-of-build.log", "w").write(open("time-of-build.log.in", "r").read().replace("$PWD", os.getcwd()))'
8
9 $make_one_time_file time-of-build.log time-of-build-pretty-user.log
10
11 diff -u time-of-build-pretty-user.log.expected time-of-build-pretty-user.log || exit $?
12
13 $make_one_time_file time-of-build.log time-of-build-pretty-real.log
14
15 diff -u time-of-build-pretty-real.log.expected time-of-build-pretty-real.log || exit $?