citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 67d417b853bc62da1ebf53b99e7fc8d08b9c315c
parent 767abfbebf8b3877d3ad8e36ee18ee3bfb826b6e
Author: kyle <kyle@0x30.net>
Date:   Sat, 19 Nov 2016 21:54:45 -0700

t: pid must be > 1

Diffstat:
Mt/rt_header.t | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/rt_header.t b/t/rt_header.t @@ -17,11 +17,11 @@ is $shm->{minor}, 0, "is minor correct"; my ($pid, $ppid, $pgrp) = @{ $shm->{pids} }; cmp_ok $pid, '<', 100 * 1000, "pid is less than max pid"; -cmp_ok $pid, '>', 0, "pid is greater than min pid"; +cmp_ok $pid, '>', 1, "pid is greater than min pid"; cmp_ok $ppid, '<', 100 * 1000, "ppid is less than max pid"; -cmp_ok $ppid, '>', 0, "ppid is greater than min pid"; +cmp_ok $ppid, '>', 1, "ppid is greater than min pid"; cmp_ok $pgrp, '<', 100 * 1000, "pgrp is less than max pid"; -cmp_ok $pgrp, '>', 0, "pgrp is greater than min pid"; +cmp_ok $pgrp, '>', 1, "pgrp is greater than min pid"; is $shm->{progname}, "program", 'is test program name correct'; # is $cwd, "/home/...", 'is working directory believable';