summaryrefslogtreecommitdiff
path: root/jstests/run_program1.js
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2014-03-25 15:29:54 -0400
committerScott Hernandez <scotthernandez@gmail.com>2014-03-25 18:34:49 -0400
commit57f97f213346b7a0305c81fd70894a77ca35a886 (patch)
tree2298ebe1b7cb4a6faaa7e2e06ccd9a098b661acf /jstests/run_program1.js
parente73399e0e696aaaf1e859533e10cc2b74d46994f (diff)
downloadmongo-57f97f213346b7a0305c81fd70894a77ca35a886.tar.gz
SERVER-13297: remove dead jstests
Diffstat (limited to 'jstests/run_program1.js')
-rw-r--r--jstests/run_program1.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/jstests/run_program1.js b/jstests/run_program1.js
deleted file mode 100644
index 7a994b2171a..00000000000
--- a/jstests/run_program1.js
+++ /dev/null
@@ -1,19 +0,0 @@
-if ( ! _isWindows() ) {
-
- // note that normal program exit returns 0
- assert.eq (0, runProgram('true'))
- assert.neq(0, runProgram('false'))
- assert.neq(0, runProgram('this_program_doesnt_exit'));
-
- //verify output visually
- runProgram('echo', 'Hello', 'World.', 'How are you?');
- runProgram('bash', '-c', 'echo Hello World. "How are you?"'); // only one space is printed between Hello and World
-
- // numbers can be passed as numbers or strings
- runProgram('sleep', 0.5);
- runProgram('sleep', '0.5');
-
-} else {
-
- runProgram('cmd', '/c', 'echo hello windows');
-}