test_start.sh (278B)
1 . tests/test_list.sh 2 3 tn=$(mktemp -d) 4 5 >&2 echo "bootstrap on $tn" 6 7 cat $vl | bash ./gitstart.sh $tn 8 9 vn=$(mktemp) 10 bash ./gitlist.sh $td | sort > $vn 11 diff $vr $vn 12 13 fns=(a.git b.git c.git) 14 for f in ${fns[@]}; do 15 echo checking $tn/$f 16 if [ ! -d $tn/$f ]; then 17 exit 1; 18 fi 19 done