[Xapian-tickets] [Xapian] #301: Test failure: apitest, cursordelbug1

Xapian nobody at xapian.org
Fri Oct 10 16:58:27 BST 2008


#301: Test failure: apitest, cursordelbug1
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |        Owner:  richard 
     Type:  defect             |       Status:  assigned
 Priority:  normal             |    Milestone:  1.0.9   
Component:  Test Suite         |      Version:  SVN HEAD
 Severity:  normal             |   Resolution:          
 Keywords:                     |    Blockedby:          
 Platform:  Microsoft Windows  |     Blocking:          
-------------------------------+--------------------------------------------

Comment(by richard):

 I'm guessing you mean the line in api_wrdb.cc where it says:

 string cmd = "../bin/xapian-check .flint/dbw__cursordelbug1";

 This is later passed to system, and maybe the unix style separator causes
 problems here, somehow.

 if you change the code in api_wrdb.cc (around line 1959 in SVN HEAD in the
 1.0 branch) to read:

 #ifdef __WIN32__
     string cmd = "..\\bin\\xapian-check .flint\\dbw__cursordelbug1 >nul";
 #else
     string cmd = "../bin/xapian-check .flint/dbw__cursordelbug1
 >/dev/null";
 #endif

 (instead of the previous line, and the lines in the existing #ifdef), does
 that help?

-- 
Ticket URL: <http://trac.xapian.org/ticket/301#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list