ref: 254e6855efd805fda2826f324169009c8b0a4105
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