daily regression testing
authorjkratoch <>
Wed, 15 Sep 2010 18:25:44 +0000 (18:25 +0000)
committerjkratoch <>
Wed, 15 Sep 2010 18:25:44 +0000 (18:25 +0000)
bin/diffgdbday [new file with mode: 0755]
bin/diffgdbdaymail [new file with mode: 0755]

diff --git a/bin/diffgdbday b/bin/diffgdbday
new file mode 100755 (executable)
index 0000000..6ea7262
--- /dev/null
@@ -0,0 +1,15 @@
+#! /bin/sh
+if [[ $1 =~ ^- ]];then
+  WHEN=now
+else
+  WHEN="$1"
+  shift
+fi
+TODAY=`date -d "$WHEN" +%Y%m%d`
+YESTERDAY=`date -d "$TODAY - 1 day" +%Y%m%d`
+cd $HOME/hammock
+for THIS in ${TODAY}Build-gdbcvs*;do 
+  PREV=$YESTERDAY`echo $THIS|sed 's/^........//'`
+  diffgdbdir "$@" $PREV $THIS
+done
+echo diffgdbday done
diff --git a/bin/diffgdbdaymail b/bin/diffgdbdaymail
new file mode 100755 (executable)
index 0000000..79fa579
--- /dev/null
@@ -0,0 +1,7 @@
+#! /bin/sh
+(cat <<EOH;diffgdbday)|sendmail jan.kratochvil@redhat.com
+To: Jan Kratochvil <jan.kratochvil@redhat.com>
+From: diffgdbdaymail by Jan Kratochvil <jan.kratochvil@redhat.com>
+Subject: diffgdbdaymail $(date +%Y%m%d)
+
+EOH