monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone: 153c44655412f551812aba53cea


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 153c44655412f551812aba53ceae178df3ef0161
Date: Fri, 15 Mar 2013 20:35:58 +0100 (CET)

revision:            153c44655412f551812aba53ceae178df3ef0161
date:                2013-03-13T22:49:16
author:              address@hidden
branch:              net.venge.monotone
changelog:
test/func/netsync_hook_errcodes/__driver__.lua: relax regex to match
a single 0, move down the L() debug line, so it doesn't ever get a
nil value to write out.

manifest:
format_version "1"

new_manifest [7b0deaf89fb42250ec310643df55699069adb64d]

old_revision [64e690fd0e14f6a0ad816d8fd55044f36d8559d5]

patch "test/func/netsync_hook_errcodes/__driver__.lua"
 from [ec71c8c29e3fa49ae6bb99053318c2cadf770aed]
   to [bb45536419fd9a4445f22e02140dbc88826a9c80]
============================================================
--- test/func/netsync_hook_errcodes/__driver__.lua	ec71c8c29e3fa49ae6bb99053318c2cadf770aed
+++ test/func/netsync_hook_errcodes/__driver__.lua	bb45536419fd9a4445f22e02140dbc88826a9c80
@@ -12,9 +12,9 @@ function get_errcode(who)
 function get_errcode(who)
    canonicalize("testnotes-" .. who .. ".log")
    local dat = readfile("testnotes-" .. who .. ".log")
-   local _, _, errcode = string.find(dat, "\n%d+ end: status = (%d%d%d)\n")
+   local _, _, errcode = string.find(dat, "\n%d+ end: status = (%d+)\n")
+   if errcode == nil then errcode = "<missing>" end
    L("Error code for ", who, " is ", errcode)
-   if errcode == nil then errcode = "<missing>" end
    return errcode
 end
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]