ref: 485586299c3f6bb71a58ab5348210ca40ee9e8d2
dir: /test/test.rc/
#!/bin/rc
rfork en
t=`{pwd}
t=$t/6.out
mk -a
ramfs
mkdir -p /tmp/repo
cd /tmp/repo
git/init .
echo testfile > beforetest
git/add beforetest
git/commit -m 'init' beforetest
cat <<EOF >.git/config
[user]
name = testuser
email = testmail
EOF
echo '========== run test ============'
$t
echo '========== end test ============'
rc -i