[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r437 - in trunk: debian testset



Author: he
Date: 2005-07-10 16:14:57 +0200 (Sun, 10 Jul 2005)
New Revision: 437

Modified:
   trunk/debian/changelog
   trunk/testset/runtests
Log:
* testset/runtests:
  + [HE] Fix symlinking of original tarballs to allow run directories
    outside the lintian source tree.



Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-07-10 13:54:32 UTC (rev 436)
+++ trunk/debian/changelog	2005-07-10 14:14:57 UTC (rev 437)
@@ -7,6 +7,10 @@
       version 3.6.2. As the changes between 3.6.{1,2} aren't stuff we
       (can) check, this is actually true! (Closes: #317049)
 
+  * testset/runtests:
+    + [HE] Fix symlinking of original tarballs to allow run directories
+      outside the lintian source tree.
+
   * checks/control-file
     + [HE] Check for duplicated fields. (Closes: #299792)
 

Modified: trunk/testset/runtests
===================================================================
--- trunk/testset/runtests	2005-07-10 13:54:32 UTC (rev 436)
+++ trunk/testset/runtests	2005-07-10 14:14:57 UTC (rev 437)
@@ -217,7 +217,7 @@
     foreach (readdir D) {
       next unless /^\Q${pkg}\E_.*\.orig\.tar\.gz$/;
       print "Symlinking $_ in $rundir...\n" if $debug;
-      symlink "../../$testset/$_", "$rundir/$_";
+      symlink $ENV{'PWD'}."/$testset/$_", "$rundir/$_";
     }
     closedir D;
     runsystem("find $rundir -name CVS -o -name .svn -print0 | xargs -0r rm -R");



Reply to: