Make the test suite work on systems other than Linux. Still needs work.
[mmh] / test / common.sh.in
similarity index 95%
rename from test/common.sh
rename to test/common.sh.in
index 5d46c8c..c7d557a 100644 (file)
@@ -1,4 +1,10 @@
 # Common helper routines for test shell scripts -- intended to be sourced by them
+
+output_md5()
+{
+  @MD5SUM@ $* | @MD5FMT@
+}
+
 test_skip ()
 {
   WHY="$1"