Skip to content

Commit 4a44aa9

Browse files
committed
run all tests on all shells
1 parent f33eb46 commit 4a44aa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pavement.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_install(options):
192192

193193
@task
194194
def test():
195-
sh('bash ./tests/test.sh')
196-
sh('SHUNIT_PARENT=./tests/test.sh zsh -o shwordsplit ./tests/test.sh')
197-
sh('bash ./tests/test_misconfigured.sh')
195+
for shell_cmd in [ 'bash', 'sh', 'SHUNIT_PARENT=./tests/test.sh zsh -o shwordsplit' ]:
196+
sh('%s ./tests/test.sh' % shell_cmd)
197+
sh('%s ./tests/test_misconfigured.sh' % shell_cmd)
198198
return

0 commit comments

Comments
 (0)