Skip to content

Commit 0f8530c

Browse files
committed
Add test covering #233
1 parent 137f8e1 commit 0f8530c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test.bats

+11
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,14 @@ teardown() {
527527
ls puck/lambda_decorators.py
528528
./puck/foobar
529529
}
530+
531+
@test "Don't nuke execute perms when using individually" {
532+
cd tests/individually
533+
npm i $(npm pack ../..)
534+
touch module1/foobar
535+
chmod +x module1/foobar
536+
perl -p -i'.bak' -e 's/(handler.py$)/\1\n - foobar/' serverless.yml
537+
sls package
538+
unzip .serverless/hello1.zip -d puck
539+
./puck/module1/foobar
540+
}

0 commit comments

Comments
 (0)