UNPKG
rabbit-posix
Version:
latest (0.0.9)
0.0.9
The missing POSIX system calls
github.com/Rabbit-Inc/node-posix.git
Rabbit-Inc/node-posix
rabbit-posix
/
test
/
unit
/
test-getppid.js
7 lines
(5 loc)
•
155 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
assert =
require
(
'assert'
);
var
posix =
require
(
"../../lib/posix"
);
var
ppid = posix.
getppid
();
console
.
log
(
"getppid: "
+ ppid); assert.
ok
(ppid >
1
);