chiark / gitweb /
Test suite: Provide t-ref-same-exact
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Jul 2015 18:03:13 +0000 (19:03 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Jul 2015 19:43:43 +0000 (20:43 +0100)
tests/lib

index 699ec6c..77c15d4 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -327,6 +327,12 @@ t-git-get-ref () {
        '
 }
 
+t-ref-same-exact () {
+       local name="$1"
+       local val=`t-git-get-ref-exact $name`
+       t-ref-same-val "$name" $val
+}
+
 t-ref-same () {
        local name="$1"
        local val=`t-git-get-ref $name`