abra-test-recipe/abra.sh

25 lines
304 B
Bash

#!/usr/bin/env bash
export OUTER_FOO=baz
test_cmd(){
echo "baz"
}
test_cmd_arg(){
echo "$1"
}
test_cmd_args(){
echo "$1 $2"
}
test_cmd_export(){
export INNER_FOO=bar
}
# NOTE(d1): ensure "export ()" doesn't match on parsing of abra.sh env vars
test_cmd_export (){
export INNER_BAZ=bing
}