summaryrefslogtreecommitdiff
path: root/tests/mktest.sh
blob: f249a7fbb64daa41768a2fc3a9257d866f31ee25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"