# # # add_dir "tests/magic__MTN_in_restrictions" # # add_file "tests/magic__MTN_in_restrictions/__driver__.lua" # content [a7a65e8fc98dedb4cc4689cb5db0a317dc5d6f8d] # # patch "testsuite.lua" # from [76181ad2963afcf0b47c431e129a2dd7b7c1ed83] # to [cfc358224df23971ddfebf33b3170fef42f6e381] # ============================================================ --- tests/magic__MTN_in_restrictions/__driver__.lua a7a65e8fc98dedb4cc4689cb5db0a317dc5d6f8d +++ tests/magic__MTN_in_restrictions/__driver__.lua a7a65e8fc98dedb4cc4689cb5db0a317dc5d6f8d @@ -0,0 +1,7 @@ +mtn_setup() + +addfile("a", "some data") + +check(mtn("diff", "a", "_MTN"), 0, true, true) +check(not qgrep("_MTN", "stdout")) +check(qgrep("_MTN", "stderr")) ============================================================ --- testsuite.lua 76181ad2963afcf0b47c431e129a2dd7b7c1ed83 +++ testsuite.lua cfc358224df23971ddfebf33b3170fef42f6e381 @@ -702,4 +702,4 @@ table.insert(tests, "ls_unknown_in_subdi table.insert(tests, "checkout_clobbers_workspace") table.insert(tests, "update_clobbers_workspace") table.insert(tests, "ls_unknown_in_subdir") +table.insert(tests, "magic__MTN_in_restrictions") -