summaryrefslogtreecommitdiffstats
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 0000000..4761d32
--- /dev/null
+++ b/Tests/CTestUpdateGIT.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+if test "x$1" = "xpull"; then
+ "@GIT@" "$@" && sleep 1 && touch foo.txt
+else
+ exec "@GIT@" "$@"
+fi