In message <[EMAIL PROTECTED]> on Sat, 24 May 2008 12:51:03 -0400, Stephen Leake <[EMAIL PROTECTED]> said:
stephen_leake> tests/automate_get_workspace_root/__driver__.lua does: stephen_leake> stephen_leake> check(indir("foo",mtn("automate", "get_workspace_root")), 0, true, false) stephen_leake> check(qgrep("^"..cwd.."$", "stdout")) stephen_leake> stephen_leake> That breaks on MinGW; the directory path has backslashes in it, which stephen_leake> should be escaped. stephen_leake> stephen_leake> I couldn't find a 'quote_regexp' Lua function, nor did a quick search stephen_leake> find one in pcre/*. stephen_leake> stephen_leake> Anyway this seems simpler: stephen_leake> stephen_leake> check(cwd .. '\n' == readfile("stdout")) stephen_leake> stephen_leake> Is there a reason to prefer 'qgrep' over ' == readfile()'? None, I will fix as you suggest. Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel