From 6cd69109684e41fb3b40591b36303f86cab743e7 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 24 Apr 2014 13:04:28 -0400 Subject: [PATCH] Unit Test - Modified rc.t to use the lightweight _version command, instead of invoking all the default command machinery, for a simple rc creation. --- test/rc.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rc.t b/test/rc.t index 1472184a3..5c735cdc1 100755 --- a/test/rc.t +++ b/test/rc.t @@ -37,7 +37,7 @@ delete $ENV{'TASKRC'}; # Create the rc file, using rc.name:value. unlink 'foo.rc'; rmtree 'foo', 0, 0; -qx{echo 'y'|../src/task rc:foo.rc rc.data.location:foo 2>&1}; +qx{echo 'y'|../src/task rc:foo.rc rc.data.location:foo _version 2>&1}; ok (-r 'foo.rc', 'Created default rc file'); ok (-d 'foo', 'Created default data directory'); @@ -49,7 +49,7 @@ unlink 'foo.rc'; ok (!-r 'foo.rc', 'Removed foo.rc'); # Do it all again, with rc.name=value. -qx{echo 'y'|../src/task rc:foo.rc rc.data.location:foo 2>&1}; +qx{echo 'y'|../src/task rc:foo.rc rc.data.location:foo _version 2>&1}; ok (-r 'foo.rc', 'Created default rc file'); ok (-d 'foo', 'Created default data directory');