#!/bin/sh
#
-# Copyright (C) 2015 Jason Self <j@jxself.org>
+# Copyright (C) 2015 2019 Jason Self <j@jxself.org>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
t="$n.$(date +%Y-%m-%d-%H%M%S)"
test -s "$r" || { echo "WARNING: missing $r"; continue; }
sh "$f" > $t 2>&1
- diff -U0 "$r" "$t" && { rm "$t"; continue; }
+ diff -U0 "$r" "$t" && { rm "$t"; echo "$n completed successfully." ; continue; }
echo "ERROR: $n failed"
exit 1
done