chiark / gitweb /
Test suite: Make t-refs-same* not wrongly ignore some nonexistent refs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 14:39:14 +0000 (14:39 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 19:50:48 +0000 (19:50 +0000)
commitcd50f9c3ca13efec84cc82fc20798e883fa6ba97
tree54199796c482c3553af19c0e04ccad204c3dc369
parent4ef9b0ee8c0e7dd58fab89ad4ec7b660f2ab7e0f
Test suite: Make t-refs-same* not wrongly ignore some nonexistent refs

Previously, t_ref_val="" was meant to mean "no refs specified yet" but
could also arise from "ref was specified but did not exist".

Distinguish these two cases, by using t_ref_val="" to mean only the
latter.  "No refs specified yet" is represented as t_ref_val unset.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib