From 3b69f134671e60eb5de0ca895177064294b6eb78 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Tue, 20 Jan 2009 23:55:34 -0500 Subject: Some platform are missing setenv Instead of adding the gnulib module for solving tests only I split the test in two, setting environment from Perl for the later. --- lib/tests/test_opts2.t | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 lib/tests/test_opts2.t (limited to 'lib/tests/test_opts2.t') diff --git a/lib/tests/test_opts2.t b/lib/tests/test_opts2.t new file mode 100755 index 00000000..f7444f6f --- /dev/null +++ b/lib/tests/test_opts2.t @@ -0,0 +1,7 @@ +#!/usr/bin/perl +use Test::More; +if (! -e "./test_opts2") { + plan skip_all => "./test_opts2 not compiled - please install tap library and/or enable parse-ini to test"; +} +$ENV{"NAGIOS_CONFIG_PATH"} = "."; +exec "./test_opts2"; -- cgit v1.2.3-74-g34f1