# # # patch "tests/non_workspace_keydir/__driver__.lua" # from [66e1457760560e51d1b86f5927c58e2e80b77d08] # to [d5e994e05a623a177c5a98f4f38ecc19752246df] # ============================================================ --- tests/non_workspace_keydir/__driver__.lua 66e1457760560e51d1b86f5927c58e2e80b77d08 +++ tests/non_workspace_keydir/__driver__.lua d5e994e05a623a177c5a98f4f38ecc19752246df @@ -29,14 +29,14 @@ sleep(2) srv = bg(pure_mtn("serve", "--confdir="..test.root, "--keydir="..test.root.."/keys"), expected_ret, false, true) sleep(2) -srv:finish() +xfail(srv:finish()) check(qgrep("beginning service", "stderr")) -- this should find a private key in the keys directory under the specified confdir srv = bg(pure_mtn("serve", "--confdir="..test.root), expected_ret, false, true) sleep(2) -srv:finish() +xfail(srv:finish()) check(qgrep("beginning service", "stderr")) -- this should fail to decrypt the private key found in ~/.monotone/keys @@ -48,6 +48,8 @@ mkdir(test.root.."/empty") -- The expected return value is the same on Unix and Windows mkdir(test.root.."/empty") +-- FIXME: this should probably be set globally in lua-testsuite.lua for +-- all tests. set_env("HOME", test.root.."/empty") srv = bg(pure_mtn("serve"), 1, false, true) sleep(2)