scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#!/bin/sh
 2
 3trap 'rm -rf file*' EXIT
 4trap 'exit $?' HUP INT TERM
 5
 6rm -f test.log
 7
 8export TZ=${TZ:-UTC}
 9
10for i in *-*.sh
11do
12	printf "Test: %s\n\n" $i >> test.log
13	(./$i >> test.log 2>&1 && printf '[PASS]\t' || printf '[FAIL]\t'
14	echo "$i") | tee -a test.log
15done