1 |
|
2 |
|
3 | NF="node ../nf.js"
|
4 | SED=`which gsed || which sed`
|
5 |
|
6 | rm -rf sandbox
|
7 | mkdir -p sandbox
|
8 |
|
9 | PATH=$(dirname $(which node)) $NF export \
|
10 | --app supervisord-test --user test-user \
|
11 | --out sandbox --type supervisord \
|
12 | --env fixtures/env.env --procfile fixtures/Procfile
|
13 |
|
14 | $SED -i -e "s%$(pwd)%TEST_DIR%g" \
|
15 | -e "s%$(dirname $(which node))%TEST_PATH%g" sandbox/*
|
16 |
|
17 | diff -r -u fixtures/supervisord sandbox 1>&2 || exit $?
|