Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ turn exec-testing.rb
- Loaded suite
- TestCases
- test: #{CLIENT} "*?{}[]" PASS
- test: #{CLIENT} "something ; echo anything" PASS
- test: #{CLIENT} "something with quotes" PASS
- test: #{CLIENT} "something | cat" PASS
- test: #{CLIENT} $PWD $USER "$HOME $SHELL" PASS
- test: #{CLIENT} singlearg PASS
- test: #{CLIENT} something * PASS
- test: #{CLIENT} two args PASS
- test: should spawn shell: #{CLIENT} && echo something PASS
- test: should spawn shell: cd /tmp && #{CLIENT} something PASS
- test: should spawn shell: cd /tmp ; #{CLIENT} something PASS
- ==============================================================================
- pass: 11, fail: 0, error: 0
- total: 11 tests with 11 assertions in 4.851785 seconds
- ==============================================================================
Add Comment
Please, Sign In to add comment