summaryrefslogtreecommitdiff
path: root/Tests/CTestUpdateGIT.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestUpdateGIT.sh.in')
-rwxr-xr-xTests/CTestUpdateGIT.sh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestUpdateGIT.sh.in b/Tests/CTestUpdateGIT.sh.in
new file mode 100755
index 000000000..e7586d6bf
--- /dev/null
+++ b/Tests/CTestUpdateGIT.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+if test "x$1" = "xpull" -o "x$1" = "xreset"; then
+ "@GIT@" "$@" && sleep 1 && touch foo.txt
+else
+ exec "@GIT@" "$@"
+fi