3 export GIT_AUTHOR_NAME
=automation
4 export GIT_COMMITTER_NAME
=automation
5 export GIT_AUTHOR_EMAIL
=auto@mati.on
6 export GIT_COMMITTER_EMAIL
=auto@mati.on
9 export XDG_CACHE_HOME
=$cache_dir
13 repo_dir
="`mktemp -d`"
18 echo Contents
> test-file
20 git commit
-m 'Commit message'
26 git_repo = file://$repo
33 if [ "$repo_dir" ];then rm -rf "$repo_dir"; fi
34 if [ "$conf" ];then rm "$conf"; fi
35 if [ "$cache_dir" ];then rm -rf "$cache_dir"; fi
38 trap test_cleanup EXIT INT TERM