From 1a4916ff03719f06f48adf089dd1afae507040eb Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 28 Aug 2011 17:45:28 -0400 Subject: [PATCH] Unit Tests - Corrected PATH in env command. --- test/export.yaml.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/export.yaml.t b/test/export.yaml.t index 145e24952..f08906834 100755 --- a/test/export.yaml.t +++ b/test/export.yaml.t @@ -42,7 +42,7 @@ if (open my $fh, '>', 'export.rc') # Add two tasks, export, examine result. qx{../src/task rc:export.rc add priority:H project:A one}; qx{../src/task rc:export.rc add +tag1 +tag2 two}; -diag (qx{env PATH=/usr/bin:../src ../scripts/add-ons/export-yaml.pl rc:export.rc > ./export.txt}); +qx{env PATH=../src:$ENV{PATH} ../scripts/add-ons/export-yaml.pl rc:export.rc > ./export.txt}; my @lines; if (open my $fh, '<', './export.txt')