summaryrefslogtreecommitdiff
path: root/yarn.tests/env-option.script
blob: 9724ffc4d7e0a35149c2e771cadc11e8817b9544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -eu


cat <<EOF > "$DATADIR/test.yarn"
    SCENARIO    foo
    THEN        yoyo is set

    IMPLEMENTS THEN yoyo is set
    env | grep '^yoyo='
EOF

./run-yarn --env yoyo=something "$DATADIR/test.yarn"