rename project to runaway
This commit is contained in:
@@ -4,7 +4,7 @@ setup() {
|
||||
PROJECT="$BATS_TEST_TMPDIR/project"
|
||||
mkdir -p "$PROJECT/scripts" "$PROJECT/lib"
|
||||
cp "$BATS_TEST_DIRNAME/../scripts/check-shell.py" "$PROJECT/scripts/"
|
||||
cat > "$PROJECT/unleash" <<'SH'
|
||||
cat > "$PROJECT/runaway" <<'SH'
|
||||
#!/bin/bash
|
||||
for _lib in sample; do
|
||||
source "lib/$_lib.sh"
|
||||
@@ -12,7 +12,7 @@ done
|
||||
sample
|
||||
SH
|
||||
printf 'sample() { :; }\n' > "$PROJECT/lib/sample.sh"
|
||||
printf '#!/bin/bash\n' > "$PROJECT/unleash-standalone.sh"
|
||||
printf '#!/bin/bash\n' > "$PROJECT/runaway-standalone.sh"
|
||||
}
|
||||
|
||||
@test "lint reports sourced module findings without executing the application" {
|
||||
|
||||
Reference in New Issue
Block a user