[svk-commit] r2497 - branches/2.0-releng/t
nobody at bestpractical.com
nobody at bestpractical.com
Tue Jul 17 12:03:57 EDT 2007
Author: clkao
Date: Tue Jul 17 12:03:57 2007
New Revision: 2497
Modified:
branches/2.0-releng/t/02basic-symlink.t
branches/2.0-releng/t/72sign.t
Log:
merge from trunk:
r2442 at trunk: clkao | 2007-07-15 17:50:21 +0100
Don't assume what pwd we are running tests with.
r2443 at trunk: clkao | 2007-07-15 17:59:20 +0100
ditto for 72sign.t
Modified: branches/2.0-releng/t/02basic-symlink.t
==============================================================================
--- branches/2.0-releng/t/02basic-symlink.t (original)
+++ branches/2.0-releng/t/02basic-symlink.t Tue Jul 17 12:03:57 2007
@@ -24,5 +24,7 @@
}
local $^W;
-require 't/02basic.t';
+my $file = $0;
+$file =~ s'-symlink.t'.t';
+require $file;
Modified: branches/2.0-releng/t/72sign.t
==============================================================================
--- branches/2.0-releng/t/72sign.t (original)
+++ branches/2.0-releng/t/72sign.t Tue Jul 17 12:03:57 2007
@@ -11,8 +11,9 @@
our $output;
mkpath ["t/checkout/sign-gnupg"], 0, 0700 unless -d "t/checkout/sign-gnupg";
-
-$ENV{SVKPGP} = my $gpg = __('gpg --homedir t/checkout/sign-gnupg --no-default-keyring --keyring t/svk.gpg --secret-keyring t/svk-sec.gpg --default-key svk');
+my $dir = $0;
+$dir =~ s'/72sign.t$'';
+$ENV{SVKPGP} = my $gpg = __("gpg --homedir t/checkout/sign-gnupg --no-default-keyring --keyring $dir/svk.gpg --secret-keyring $dir/svk-sec.gpg --default-key svk");
ok (`$gpg --list-keys` =~ '1024D/A50DE110');
More information about the svk-commit
mailing list