From 68c4b05c268cd6e358cc41c8feb44bc2c7fcb898 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 3 Jun 2018 16:47:33 -0700 Subject: Fix loading of server programs in tests The eval was hiding all error messages when the test didn't work properly, and C_TAP_SOURCE doesn't have the generated version with the proper path to Perl. --- tests/server/keytab-t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/server/keytab-t') diff --git a/tests/server/keytab-t b/tests/server/keytab-t index 5cf6788..7e7c3f0 100755 --- a/tests/server/keytab-t +++ b/tests/server/keytab-t @@ -17,7 +17,7 @@ use Test::More tests => 63; # Load the keytab-backend code and override various settings. my $OUTPUT; $SYSLOG = \$OUTPUT; -eval { do "$ENV{C_TAP_SOURCE}/../server/keytab-backend" }; +do "$ENV{C_TAP_BUILD}/../server/keytab-backend"; $CONFIG = "$ENV{C_TAP_SOURCE}/data/allow-extract"; $KADMIN = "$ENV{C_TAP_SOURCE}/data/fake-kadmin"; $TMP = '.'; -- cgit v1.2.3