Sign in
apache
/
incubator-marvin
/
562c94ed9723fa8b5f2c33ad9615469214ec0690
/
.
/
PoCs
/
nodejs_poc
/
node_modules
/
tap-spec
/
bin
/
cmd.js
blob: e7a5e857056158ce677d48ac0f2b8cda5bcdb4c4 [
file
] [
log
] [
blame
]
#!
/usr/
bin
/
env node
var
tapSpec
=
require
(
'../'
);
var
tapSpec
=
tapSpec
();
process
.
stdin
.
pipe
(
tapSpec
)
.
pipe
(
process
.
stdout
);
process
.
on
(
'exit'
,
function
(
status
)
{
if
(
status
===
1
)
{
process
.
exit
(
1
);
}
if
(
tapSpec
.
failed
)
{
process
.
exit
(
1
);
}
});