citrun

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

commit 93df33b321dd9f5af50a605dc1eff6c67a78b459
parent 2316077239b28bf35168d1a33809be5772327a82
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat, 26 Nov 2016 12:40:14 -0700

t/rt_header: fuzzy match tmp_dir for osx

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

diff --git a/t/rt_header.t b/t/rt_header.t @@ -30,5 +30,5 @@ cmp_ok $ppid, '>', 1, "is ppid > min pid"; cmp_ok $pgrp, '<', 100 * 1000, "is pgrp < max pid"; cmp_ok $pgrp, '>', 1, "is pgrp > min pid"; -is $shm->{progname}, "program", 'is test program name correct'; -is $shm->{cwd}, $tmp_dir, 'is working directory believable'; +is $shm->{progname}, "program", "is test program name correct"; +like $shm->{cwd}, qr/.*$tmp_dir/, "is working directory believable";