File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
setup () {
5
5
export SLS_DEBUG=t
6
- export LC_ALL=C.UTF-8
7
- export LANG=C.UTF-8
8
6
9
7
cd test
10
8
@@ -37,7 +35,7 @@ teardown() {
37
35
}
38
36
39
37
@test " py3.6 doesn't package bottle with noDeploy option" {
40
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
38
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
41
39
sls package
42
40
unzip .serverless/sls-py-req-test.zip -d puck
43
41
! ls puck/bottle.py
@@ -79,7 +77,7 @@ teardown() {
79
77
}
80
78
81
79
@test " py2.7 doesn't package bottle with noDeploy option" {
82
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
80
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
83
81
sls --runtime=python2.7 package
84
82
unzip .serverless/sls-py-req-test.zip -d puck
85
83
! ls puck/bottle.py
@@ -128,7 +126,7 @@ teardown() {
128
126
@test " pipenv py3.6 doesn't package bottle with noDeploy option" {
129
127
cd ../pipenv-example
130
128
npm i ..
131
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
129
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
132
130
sls package
133
131
unzip .serverless/sls-py-req-test.zip -d puck
134
132
! ls puck/bottle.py
You can’t perform that action at this time.
0 commit comments