File: env-option.script

package info (click to toggle)
cmdtest 0.27-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 448 kB
  • sloc: python: 1,145; sh: 218; makefile: 2
file content (15 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (5)
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"