diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-04-15 21:10:57 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-04-15 21:10:57 +0200 |
commit | 984cee3efe542f992e64d57660e842065a5cf018 (patch) | |
tree | 67f6a4bfde6147e5dc6d05dd2d2761f4a84e9359 /tests/test_nsscmds.sh | |
parent | 31bbfebc95577f5df9be8ec70640180ec105fb02 (diff) |
allow running test_{nss,pam}cmds tests from another directory
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1424 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'tests/test_nsscmds.sh')
-rwxr-xr-x | tests/test_nsscmds.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_nsscmds.sh b/tests/test_nsscmds.sh index 33efae6..743752e 100755 --- a/tests/test_nsscmds.sh +++ b/tests/test_nsscmds.sh @@ -27,7 +27,7 @@ set -e # find source directory -srcdir="${srcdir-"."}" +srcdir="${srcdir-`dirname "$0"`}" # ensure that we are running in the test environment . "$srcdir/in_testenv.sh" |