diff options
author | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:55:12 -0800 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2010-02-09 19:55:12 -0800 |
commit | ff2d5ac3c63af9833d884d4840c772e60e45da7d (patch) | |
tree | 3d72086a5dae6425699c444263b8abc9f16ade64 /tests/server/keytab-t.in | |
parent | 99448954f4f9504796226bf05e76df22231d51ca (diff) |
Use the $SOURCE and $BUILD test suite variables
Now that runtests has been updated to a version that sets $SOURCE and
$BUILD, use that in the test cases rather than Autoconf substitutions.
Diffstat (limited to 'tests/server/keytab-t.in')
-rw-r--r-- | tests/server/keytab-t.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/server/keytab-t.in b/tests/server/keytab-t.in index f74267d..2a0ceed 100644 --- a/tests/server/keytab-t.in +++ b/tests/server/keytab-t.in @@ -1,10 +1,9 @@ #!/usr/bin/perl -w -# $Id: backend-t.in 3547 2007-09-14 23:18:48Z rra $ # # Tests for the keytab-backend dispatch code. # # Written by Russ Allbery <rra@stanford.edu> -# Copyright 2006, 2007 Board of Trustees, Leland Stanford Jr. University +# Copyright 2006, 2007, 2010 Board of Trustees, Leland Stanford Jr. University # # See LICENSE for licensing terms. @@ -16,9 +15,9 @@ use Test::More tests => 63; # Load the keytab-backend code and override various settings. my $OUTPUT; $SYSLOG = \$OUTPUT; -eval { do '@abs_top_srcdir@/server/keytab-backend' }; -$CONFIG = '@abs_top_srcdir@/tests/data/allow-extract'; -$KADMIN = '@abs_top_srcdir@/tests/data/fake-kadmin'; +eval { do "$ENV{SOURCE}/../server/keytab-backend" }; +$CONFIG = "$ENV{SOURCE}/data/allow-extract"; +$KADMIN = "$ENV{SOURCE}/data/fake-kadmin"; $TMP = '.'; # Run the keytab backend. |