From b248f1317244d4e52104045b4864d884625d67ab Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Sat, 2 Mar 2019 16:55:47 +0100 Subject: [PATCH] Add check for installed libfaketime --- test/timemachine | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/timemachine b/test/timemachine index 5e6c0ad9..33bc2a83 100755 --- a/test/timemachine +++ b/test/timemachine @@ -1,5 +1,10 @@ #!/bin/bash +if ! command -v faketime >/dev/null 2>&1 ; then + echo "timemachine requires libfaketime to be installed!" + exit 1 +fi + # parse options/arguments until [[ -z "${1}" ]] ; do case "${1}" in