monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: 00973167fdf1a4285319a75fc6


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 00973167fdf1a4285319a75fc68857f7cad378b2
Date: Sat, 5 Feb 2011 23:37:05 GMT

revision:            00973167fdf1a4285319a75fc68857f7cad378b2
date:                2011-02-05T23:27:38
author:              address@hidden
branch:              net.venge.monotone
changelog:
* test/func/select_partial_id/__driver__.lua: expand the test for issue 143

manifest:
format_version "1"

new_manifest [5e90903d2db3fd59a04b4fb57855194a2d9fe507]

old_revision [649eb10a3481b527990a261b6e6297020d9aed22]

patch "test/func/select_partial_id/__driver__.lua"
 from [33116ee71aca0e254b00f36c38ad6e420d48df23]
   to [15acaeb3ac1e08531f10adf3db640ae1d8579e86]
============================================================
--- test/func/select_partial_id/__driver__.lua	33116ee71aca0e254b00f36c38ad6e420d48df23
+++ test/func/select_partial_id/__driver__.lua	15acaeb3ac1e08531f10adf3db640ae1d8579e86
@@ -5,6 +5,10 @@ rev = base_revision()
 commit()
 rev = base_revision()
 
--- Check that automate select returns the correct id when given a partial one
+-- check that automate select returns the correct id when given a partial one
 check(mtn("automate", "select", string.sub(rev,1,8)), 0, true, false)
-check(grep(rev, "stdout"), 0, false, false)
+check(qgrep(rev, "stdout"))
+
+-- also check that invalid hex digits in partial ids lead to a proper error message
+check(mtn("automate", "select", "p:abTcd"), 1, false, true)
+check(qgrep("bad character 't' in id name 'abtcd'", "stderr"))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]