diff options
Diffstat (limited to 'ctdb/tests/UNIT/eventscripts/stubs/date')
-rwxr-xr-x | ctdb/tests/UNIT/eventscripts/stubs/date | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/tests/UNIT/eventscripts/stubs/date b/ctdb/tests/UNIT/eventscripts/stubs/date new file mode 100755 index 0000000..2f470a8 --- /dev/null +++ b/ctdb/tests/UNIT/eventscripts/stubs/date @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "$FAKE_DATE_OUTPUT" ] ; then + echo "$FAKE_DATE_OUTPUT" +else + /bin/date "$@" +fi |