summaryrefslogtreecommitdiff
path: root/tests/mktest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mktest.sh')
-rwxr-xr-xtests/mktest.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/mktest.sh b/tests/mktest.sh
new file mode 100755
index 0000000..f249a7f
--- /dev/null
+++ b/tests/mktest.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+mkdir "$1"
+touch "$1/test.tpl"
+touch "$1/want"
+
+echo '<?php
+
+function test_func($ste) {
+
+}' > "$1/code.php"
+
+echo 'have
+*.ast
+*.transc.php' > "$1/.gitignore"