# # # add_dir "tests/cert_no_branch" # # add_file "tests/cert_no_branch/__driver__.lua" # content [0b0d33c56cf0706bd6a4318c4a1fe305e9ad5e1f] # ============================================================ --- tests/cert_no_branch/__driver__.lua 0b0d33c56cf0706bd6a4318c4a1fe305e9ad5e1f +++ tests/cert_no_branch/__driver__.lua 0b0d33c56cf0706bd6a4318c4a1fe305e9ad5e1f @@ -0,0 +1,15 @@ +-- test that 'mtn cert' does not require a branch +-- bug# 7221 + +mtn_setup() + +addfile("base", "base") +commit() +rev = base_revision() + +-- ensure we don't find a branch +remove("_MTN") + +check(mtn("cert", rev, "branch", "anotherbranch"), 0, false, false) + +-- end of file