# # # patch "tester.lua" # from [545636f81c2c6b65c5b79671aef4f9179ee28bde] # to [c8a5857dde20aefa3c26de1680bf0cb7679e0937] # # patch "tests/subdirectory_restrictions/__driver__.lua" # from [23e4a37c900482a77dcad2580595a1953ab6e320] # to [90273b74c39f59bba9b57ed2c1ab6115645f3b35] # # patch "win32/process.cc" # from [9a22bd0656f2a33b3f73091245f8e2cb54993d81] # to [63a33444f8c2ba5ece85d1e993c96aaeabc97a04] # ============================================================ --- tester.lua 545636f81c2c6b65c5b79671aef4f9179ee28bde +++ tester.lua c8a5857dde20aefa3c26de1680bf0cb7679e0937 @@ -578,13 +578,15 @@ end end else - for i,_ in pairs(torun) do - if list_only then - if i < 10 then P(" ") end - if i < 100 then P(" ") end - P(i .. " " .. tests[i] .. "\n") - else - runtest(i, tests[i]) + for i,t in pairs(tests) do + if torun[i] == i then + if list_only then + if i < 10 then P(" ") end + if i < 100 then P(" ") end + P(i .. " " .. t .. "\n") + else + runtest(i, t) + end end end end ============================================================ --- tests/subdirectory_restrictions/__driver__.lua 23e4a37c900482a77dcad2580595a1953ab6e320 +++ tests/subdirectory_restrictions/__driver__.lua 90273b74c39f59bba9b57ed2c1ab6115645f3b35 @@ -35,7 +35,6 @@ check(cmd(mtn("--norc", "status", ".")), 0, true) check(qgrep("foo/foo", "stdout")) -check(cmd("pwd"), 0, false) check(not qgrep("bar/bar", "stdout")) check(cmd(mtn("--norc", "status", "..")), 0, true) ============================================================ --- win32/process.cc 9a22bd0656f2a33b3f73091245f8e2cb54993d81 +++ win32/process.cc 63a33444f8c2ba5ece85d1e993c96aaeabc97a04 @@ -73,7 +73,10 @@ return result; } - return munge_inner_argument(arg); + if (*arg == 0) + return "\"\""; + else + return munge_inner_argument(arg); } std::string munge_argv_into_cmdline(const char* const argv[])