Bernd Ernesti wrote:
On Wed, May 02, 2007 at 01:32:51PM +0300, Martti Kuparinen wrote:
For some reason one of regression tests (ip2) fails for me. Any ideas?

Because you use obj dirs and the ip2.data file can't be found.

Yes, that's correct.

How should this be handled correctly when the current working directory might be the object directory (/usr/obj/.../ipf) instead of the source directory?

I assume the only way is to get rid of the file://input/ip2.data style and do something like this:

n106:/usr/src/regress/sys/kern/ipf/regress> cvs diff -u
Index: ip2
===================================================================
RCS file: /cvsroot/src/regress/sys/kern/ipf/regress/ip2,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ip2
--- ip2 14 Apr 2007 20:17:38 -0000      1.1.1.1
+++ ip2 2 May 2007 11:33:20 -0000
@@ -1,2 +1,2 @@
 table role = ipf type = tree name = letters
-       { "file://input/ip2.data"; };
+       { 1.1.1.1/32; !2.2.0.0/16; 2.2.2.0/24; };

Reply via email to