diff options
Diffstat (limited to 'tests/server/keytab-t')
-rwxr-xr-x | tests/server/keytab-t | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/server/keytab-t b/tests/server/keytab-t index 94c1bd8..7e7c3f0 100755 --- a/tests/server/keytab-t +++ b/tests/server/keytab-t @@ -3,10 +3,11 @@ # Tests for the keytab-backend dispatch code. # # Written by Russ Allbery <eagle@eyrie.org> -# Copyright 2006, 2007, 2010 +# Copyright 2018 Russ Allbery <eagle@eyrie.org> +# Copyright 2006-2007, 2010 # The Board of Trustees of the Leland Stanford Junior University # -# See LICENSE for licensing terms. +# SPDX-License-Identifier: MIT use strict; use vars qw($CONFIG $KADMIN $SYSLOG $TMP); @@ -16,9 +17,9 @@ use Test::More tests => 63; # Load the keytab-backend code and override various settings. my $OUTPUT; $SYSLOG = \$OUTPUT; -eval { do "$ENV{SOURCE}/../server/keytab-backend" }; -$CONFIG = "$ENV{SOURCE}/data/allow-extract"; -$KADMIN = "$ENV{SOURCE}/data/fake-kadmin"; +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 = '.'; # Run the keytab backend. |