# # # add_file "tests/disapproving_of_bad_revision_range/__driver__.lua" # content [c53fc38d11e95939c2a98d0324137dff75c35577] # # add_file "tests/disapproving_of_bad_revision_range/rootfile" # content [aa28e376c2dfb3908bfc5fe1f502a7af4cb81d40] # ============================================================ --- tests/disapproving_of_bad_revision_range/__driver__.lua c53fc38d11e95939c2a98d0324137dff75c35577 +++ tests/disapproving_of_bad_revision_range/__driver__.lua c53fc38d11e95939c2a98d0324137dff75c35577 @@ -0,0 +1,10 @@ + +mtn_setup() + +check(get("rootfile", "testfile")) +check(mtn("add", "testfile"), 0, false, false) +commit() +root_r_sha = base_revision() +root_f_sha = sha1("testfile") + +check(mtn("disapprove", root_r_sha, "deadcafe"), 1, false, false) ============================================================ --- tests/disapproving_of_bad_revision_range/rootfile aa28e376c2dfb3908bfc5fe1f502a7af4cb81d40 +++ tests/disapproving_of_bad_revision_range/rootfile aa28e376c2dfb3908bfc5fe1f502a7af4cb81d40 @@ -0,0 +1,3 @@ +first line of the file +second line of the file +third line of the file