tests/fate: fix fate on branches different from origin/master
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Oct 2013 20:53:59 +0000 (21:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Oct 2013 20:53:59 +0000 (21:53 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate.sh

index f7367a9..f371291 100755 (executable)
@@ -35,7 +35,7 @@ checkout(){
 update()(
     cd ${src} || return
     case "$repo" in
-        git:*) git fetch --force && git reset --hard origin/master ;;
+        git:*) git fetch --force && git reset --hard FETCH_HEAD ;;
     esac
 )