projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tests to run on OpenBSD
[mmh]
/
test
/
common.sh
diff --git
a/test/common.sh
b/test/common.sh
index
805afea
..
1a67733
100644
(file)
--- a/
test/common.sh
+++ b/
test/common.sh
@@
-52,6
+52,12
@@
require_locale()
test_skip "no suitable locale available"
}
test_skip "no suitable locale available"
}
+# Do a best guess at FQDN
+mh_hostname()
+{
+ hostname -f 2>/dev/null || uname -n
+}
+
# Some stuff for doing silly progress indicators
progress_update()
{
# Some stuff for doing silly progress indicators
progress_update()
{