summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/update-gits-chunk.script2
-rwxr-xr-xtests/update-gits-stratum.script2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/update-gits-chunk.script b/tests/update-gits-chunk.script
index b07aef17..54a8d9ed 100755
--- a/tests/update-gits-chunk.script
+++ b/tests/update-gits-chunk.script
@@ -30,4 +30,4 @@ NEWREF="$(git show-ref --hash farrokh)"
# check the top commit of the cached repo's farrokh branch
cd "$DATADIR/cache/gits/"*chunk?repo*
-test "$(git show-ref --hash refs/remotes/origin/farrokh)" = "$NEWREF"
+test "$(git show-ref --hash refs/heads/farrokh)" = "$NEWREF"
diff --git a/tests/update-gits-stratum.script b/tests/update-gits-stratum.script
index 24b6f199..718f2547 100755
--- a/tests/update-gits-stratum.script
+++ b/tests/update-gits-stratum.script
@@ -30,4 +30,4 @@ NEWREF="$(git show-ref --hash farrokh)"
# check the top commit of the cached repo's farrokh branch
cd "$DATADIR/cache/gits/"*chunk?repo*
-test "$(git show-ref --hash refs/remotes/origin/farrokh)" = "$NEWREF"
+test "$(git show-ref --hash refs/heads/farrokh)" = "$NEWREF"