Skip to content

Commit

Permalink
Make the test suite run on OmniOS
Browse files Browse the repository at this point in the history
Resolves #14
  • Loading branch information
strugee committed Nov 8, 2018
1 parent f3f2690 commit cc6967f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ SUCCESSES=0
FAILURES=0

GDATE=date
# OmniOS; probably other illumosen
test -x /usr/gnu/bin/date && GDATE=/usr/gnu/bin/date
type gdate >/dev/null 2>&1 && GDATE=gdate

if ! type faketime &>/dev/null && ! $(dirname $0)/../filter-other-days -h | grep -- '-d' >/dev/null; then
Expand Down

0 comments on commit cc6967f

Please sign in to comment.