Skip to content

Commit

Permalink
node can be called nodejs
Browse files Browse the repository at this point in the history
Fix #402
  • Loading branch information
isaacs committed Sep 5, 2017
1 parent a335bc4 commit 067dc57
Show file tree
Hide file tree
Showing 60 changed files with 136 additions and 136 deletions.
4 changes: 2 additions & 2 deletions scripts/generate-test-test.js
Expand Up @@ -80,8 +80,8 @@ function generate (file, bail, buffer) {
output = output.split(node).join('\0N2\0')
output = output.split(path.basename(node)).join('\0N2\0')

output = output.split('\0N1\0').join('___/.*(node|iojs)(\.exe)?')
output = output.split('\0N2\0').join('___/.*(node|iojs)(\.exe)?/~~~')
output = output.split('\0N1\0').join('___/.*(node(js)?|iojs)(\.exe)?')
output = output.split('\0N2\0').join('___/.*(node(js)?|iojs)(\.exe)?/~~~')

output = yamlishToJson(output)

Expand Down
2 changes: 1 addition & 1 deletion test/runner-test-args.js
Expand Up @@ -28,7 +28,7 @@ t.test('--test-args', function (t) {
throw err
}
t.equal(stderr, '')
var re = /ok 1 - .*[\/\\]node ".*[\\\/]dump-args.js" "--x=y" "-q" "x"$/im
var re = /ok 1 - .*[\/\\](node(js)?|iojs)(\.exe)? ".*[\\\/]dump-args.js" "--x=y" "-q" "x"$/im
t.match(stdout, re)
t.match(stdout, /^ok 1 - .*[\\\/]dump-args.js/m)
t.end()
Expand Down
4 changes: 2 additions & 2 deletions test/test/bail-fail-spawn--bail--buffer.tap
@@ -1,8 +1,8 @@
TAP version 13
not ok 1 - bail fail ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./test/test/nesting.js ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./test/test/nesting.js ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~nesting.js"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1}
{"args":["___/.*/~~~nesting.js"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1}
...
{
not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
Expand Down
2 changes: 1 addition & 1 deletion test/test/bail-fail-spawn--bail.tap
@@ -1,6 +1,6 @@
TAP version 13
# Subtest: bail fail
# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./test/test/nesting.js
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./test/test/nesting.js
# Subtest: nesting
1..2
# Subtest: first
Expand Down
4 changes: 2 additions & 2 deletions test/test/bail-fail-spawn--buffer.tap
@@ -1,8 +1,8 @@
TAP version 13
not ok 1 - bail fail ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./test/test/nesting.js ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./test/test/nesting.js ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~nesting.js"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1}
{"args":["___/.*/~~~nesting.js"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1}
...
{
not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
Expand Down
2 changes: 1 addition & 1 deletion test/test/bail-fail-spawn.tap
@@ -1,6 +1,6 @@
TAP version 13
# Subtest: bail fail
# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./test/test/nesting.js
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./test/test/nesting.js
# Subtest: nesting
1..2
# Subtest: first
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-buffer--bail--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - parent {
not ok 1 - child {
not ok 1 - grandchild {
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-buffer--bail.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-buffer.js buffer
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-buffer.js buffer
not ok 1 - parent {
not ok 1 - child {
not ok 1 - grandchild {
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-buffer--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - parent {
not ok 1 - child {
not ok 1 - grandchild {
Expand Down
4 changes: 2 additions & 2 deletions test/test/child-text-buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-buffer.js buffer
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-buffer.js buffer
not ok 1 - parent {
not ok 1 - child {
not ok 1 - grandchild {
Expand All @@ -19,7 +19,7 @@ TAP version 13
1..1
# failed 1 of 1 tests
# failed 1 test
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-buffer.js buffer ___/# time=[0-9.]+(ms)?/~~~

1..1
# failed 1 test
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-indentsub--bail--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-indentsub--bail.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-indentsub--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
4 changes: 2 additions & 2 deletions test/test/child-text-indentsub.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand All @@ -19,7 +19,7 @@ TAP version 13
1..1
# failed 1 of 1 tests
# failed 1 test
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-indentsub.js indentsub ___/# time=[0-9.]+(ms)?/~~~

1..1
# failed 1 test
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-sub--bail--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-sub--bail.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-sub.js sub
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-sub.js sub
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
2 changes: 1 addition & 1 deletion test/test/child-text-sub--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~ {
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand Down
4 changes: 2 additions & 2 deletions test/test/child-text-sub.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~child-text-sub.js sub
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-sub.js sub
# Subtest: parent
# Subtest: child
# Subtest: grandchild
Expand All @@ -19,7 +19,7 @@ TAP version 13
1..1
# failed 1 of 1 tests
# failed 1 test
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~child-text-sub.js sub ___/# time=[0-9.]+(ms)?/~~~

1..1
# failed 1 test
Expand Down
2 changes: 1 addition & 1 deletion test/test/exit-on-exit--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~exit-on-exit.js subtest ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~exit-on-exit.js subtest ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - memoizes identical registry requests ___/# time=[0-9.]+(ms)?/~~~ {
1..2
ok 1 - got a manifest
Expand Down
2 changes: 1 addition & 1 deletion test/test/exit-on-exit.tap
@@ -1,5 +1,5 @@
TAP version 13
ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~exit-on-exit.js subtest ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~exit-on-exit.js subtest ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: memoizes identical registry requests
1..2
ok 1 - got a manifest
Expand Down
4 changes: 2 additions & 2 deletions test/test/grep--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*/~~~ok.js ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~ {
1..2
Expand Down Expand Up @@ -27,7 +27,7 @@ ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nes
___/# time=[0-9.]+(ms)?/~~~
}

ok 2 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~ {
ok 2 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*/~~~ok.js ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - nesting # SKIP filter out: /nesting/
ok 2 - this passes
Expand Down
8 changes: 4 additions & 4 deletions test/test/grep.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi
# Subtest: ___/.*/~~~ok.js
# Subtest: nesting
1..2
Expand All @@ -25,9 +25,9 @@ TAP version 13

1..1
___/# time=[0-9.]+(ms)?/~~~
ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~
ok 1 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~

# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi
# Subtest: ___/.*/~~~ok.js
ok 1 - nesting # SKIP filter out: /nesting/
ok 2 - this passes
Expand All @@ -46,7 +46,7 @@ ok 1 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C --grep=nes

1..1
___/# time=[0-9.]+(ms)?/~~~
ok 2 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~
ok 2 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ./test/test/ok.js -C -i --grep=nesting --grep=/[ASDF].*d$/gi ___/# time=[0-9.]+(ms)?/~~~

# invert=false
# Subtest: a
Expand Down
10 changes: 5 additions & 5 deletions test/test/only--buffer.tap
@@ -1,5 +1,5 @@
TAP version 13
ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - normal ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - this is fine
1..1
Expand All @@ -21,7 +21,7 @@ ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
___/# time=[0-9.]+(ms)?/~~~
}

ok 2 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
ok 2 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - normal # SKIP filter: only
# Subtest: only
ok 1 - only do this
Expand All @@ -38,7 +38,7 @@ ok 2 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~ {
___/# time=[0-9.]+(ms)?/~~~
}

ok 3 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child ___/# time=[0-9.]+(ms)?/~~~ {
ok 3 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child ___/# time=[0-9.]+(ms)?/~~~ {
# Subtest: ___/.*/~~~only.js
ok 1 - normal # SKIP filter: only
# Subtest: only
Expand All @@ -60,7 +60,7 @@ ok 3 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=ch
___/# time=[0-9.]+(ms)?/~~~
}

ok 4 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only ___/# time=[0-9.]+(ms)?/~~~ {
ok 4 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*/~~~only.js ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - normal # SKIP filter: only
ok 2 - only ___/# time=[0-9.]+(ms)?/~~~ {
Expand All @@ -82,7 +82,7 @@ ok 4 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=ch
___/# time=[0-9.]+(ms)?/~~~
}

ok 5 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O ___/# time=[0-9.]+(ms)?/~~~ {
ok 5 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - ___/.*/~~~only.js ___/# time=[0-9.]+(ms)?/~~~ {
ok 1 - normal # SKIP filter: only
ok 2 - only ___/# time=[0-9.]+(ms)?/~~~ {
Expand Down
20 changes: 10 additions & 10 deletions test/test/only.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~only.js child
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child
# Subtest: normal
ok 1 - this is fine
1..1
Expand All @@ -19,9 +19,9 @@ TAP version 13

1..3
___/# time=[0-9.]+(ms)?/~~~
ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~
ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~

# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~only.js child
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child
ok 1 - normal # SKIP filter: only
# Subtest: only
ok 1 - only do this
Expand All @@ -36,9 +36,9 @@ ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~
1..3
# skip: 1
___/# time=[0-9.]+(ms)?/~~~
ok 2 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~
ok 2 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~

# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child
# Subtest: ___/.*/~~~only.js
ok 1 - normal # SKIP filter: only
# Subtest: only
Expand All @@ -58,9 +58,9 @@ ok 2 - ___/.*(node|iojs)(.exe)?.*/~~~only.js child ___/# time=[0-9.]+(ms)?/~~~

1..1
___/# time=[0-9.]+(ms)?/~~~
ok 3 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child ___/# time=[0-9.]+(ms)?/~~~
ok 3 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child ___/# time=[0-9.]+(ms)?/~~~

# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only
# Subtest: ___/.*/~~~only.js
ok 1 - normal # SKIP filter: only
# Subtest: only
Expand All @@ -80,9 +80,9 @@ ok 3 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=ch

1..1
___/# time=[0-9.]+(ms)?/~~~
ok 4 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only ___/# time=[0-9.]+(ms)?/~~~
ok 4 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child --only ___/# time=[0-9.]+(ms)?/~~~

# Subtest: ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O
# Subtest: ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O
# Subtest: ___/.*/~~~only.js
ok 1 - normal # SKIP filter: only
# Subtest: only
Expand All @@ -102,7 +102,7 @@ ok 4 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=ch

1..1
___/# time=[0-9.]+(ms)?/~~~
ok 5 - ___/.*(node|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O ___/# time=[0-9.]+(ms)?/~~~
ok 5 - ___/.*(node(js)?|iojs)(.exe)?/~~~ ./bin/run.js ___/.*/~~~only.js --test-arg=child -O ___/# time=[0-9.]+(ms)?/~~~

1..5
___/# time=[0-9.]+(ms)?/~~~
Expand Down
4 changes: 2 additions & 2 deletions test/test/pending-handles--bail--buffer.tap
@@ -1,7 +1,7 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1,"timeout":900}
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":1,"timeout":900}
...
{
ok 1 - this is ok
Expand Down
2 changes: 1 addition & 1 deletion test/test/pending-handles--bail.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~pending-handles.js child
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~pending-handles.js child
ok 1 - this is ok
not ok 2 - timeout!
---
Expand Down
4 changes: 2 additions & 2 deletions test/test/pending-handles--buffer.tap
@@ -1,7 +1,7 @@
TAP version 13
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":null,"signal":"SIGTERM","timeout":900}
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":null,"signal":"SIGTERM","timeout":900}
...
{
ok 1 - this is ok
Expand Down
6 changes: 3 additions & 3 deletions test/test/pending-handles.tap
@@ -1,5 +1,5 @@
TAP version 13
# Subtest: ___/.*(node|iojs)(.exe)?.*/~~~pending-handles.js child
# Subtest: ___/.*(node(js)?|iojs)(.exe)?.*/~~~pending-handles.js child
ok 1 - this is ok
not ok 2 - timeout!
---
Expand All @@ -9,9 +9,9 @@ TAP version 13
1..2
# failed 1 of 2 tests
___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~pending-handles.js child ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":null,"signal":"SIGTERM","timeout":900}
{"args":["___/.*/~~~pending-handles.js","child"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":null,"signal":"SIGTERM","timeout":900}
...

1..1
Expand Down
6 changes: 3 additions & 3 deletions test/test/pragma--bail--buffer.tap
@@ -1,8 +1,8 @@
TAP version 13
pragma +child
not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~pragma.js child ___/# time=[0-9.]+(ms)?/~~~
not ok 1 - ___/.*(node(js)?|iojs)(.exe)?.*/~~~pragma.js child ___/# time=[0-9.]+(ms)?/~~~
---
{"args":["___/.*/~~~pragma.js","child"],"command":"___/.*(node|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":0,"failures":[{"data":"this is not tap and it is not ok\n","tapError":"Non-TAP data encountered in strict mode"}]}
{"args":["___/.*/~~~pragma.js","child"],"command":"___/.*(node(js)?|iojs)(.exe)?/~~~","cwd":"___/.*/~~~","exitCode":0,"failures":[{"data":"this is not tap and it is not ok\n","tapError":"Non-TAP data encountered in strict mode"}]}
...
{
this is not tap but it is ok
Expand All @@ -16,5 +16,5 @@ not ok 1 - ___/.*(node|iojs)(.exe)?.*/~~~pragma.js child ___/# time=[0-9.]+(ms)?
___/# time=[0-9.]+(ms)?/~~~
# failed 1 of 2 tests
}
Bail out! # ___/.*(node|iojs)(.exe)?.*/~~~pragma.js child
Bail out! # ___/.*(node(js)?|iojs)(.exe)?.*/~~~pragma.js child

0 comments on commit 067dc57

Please sign in to comment.