pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/url2pkg/files
Module Name: pkgsrc
Committed By: rillig
Date: Sun Aug 18 13:59:38 UTC 2019
Modified Files:
pkgsrc/pkgtools/url2pkg/files: url2pkg.t
Log Message:
pkgtools/url2pkg: move chdir into the main test function
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/url2pkg/files/url2pkg.t
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/url2pkg/files/url2pkg.t
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg.t:1.2 pkgsrc/pkgtools/url2pkg/files/url2pkg.t:1.3
--- pkgsrc/pkgtools/url2pkg/files/url2pkg.t:1.2 Sun Aug 18 13:50:32 2019
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg.t Sun Aug 18 13:59:38 2019
@@ -1,5 +1,5 @@
# -*- perl -*-
-# $NetBSD: url2pkg.t,v 1.2 2019/08/18 13:50:32 rillig Exp $
+# $NetBSD: url2pkg.t,v 1.3 2019/08/18 13:59:38 rillig Exp $
require "url2pkg.pl";
@@ -85,8 +85,6 @@ sub test_var_append__value_without_comme
sub test_generate_initial_package_Makefile_lines__GitHub() {
my $url = "https://github.com/org/proj/archive/v1.0.0.tar.gz";
- my $pkgsrcdir = $ENV{"PKGSRCDIR"} or die;
- chdir("$pkgsrcdir/pkgtools/url2pkg") or die;
my @lines = generate_initial_package_Makefile_lines($url);
@@ -110,6 +108,9 @@ sub test_generate_initial_package_Makefi
}
sub test_all() {
+ my $pkgsrcdir = $ENV{"PKGSRCDIR"} or die;
+ chdir("$pkgsrcdir/pkgtools/url2pkg") or die;
+
test_add_section__simple();
test_add_section__alignment();
test_add_section__operators();
Home |
Main Index |
Thread Index |
Old Index