summaryrefslogtreecommitdiff
path: root/test/appointment-001.sh
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-12-22 00:48:01 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-12-22 01:06:20 +0100
commitc054182890b5a2145d457d8ecade200d851e95fd (patch)
tree8db4e71e46c06cb04b462b6bfe2910c6590bfd5f /test/appointment-001.sh
parent0cda64a2347bce5f07167e1085792e067e495374 (diff)
downloadcalcurse-c054182890b5a2145d457d8ecade200d851e95fd.zip
test/: Do not error out if libfaketime is missing
If the faketime library is missing, show a warning and skip the test. However, do not error out to make sure the test suite is able to terminate successfully on systems without libfaketime. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/appointment-001.sh')
-rwxr-xr-xtest/appointment-001.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/appointment-001.sh b/test/appointment-001.sh
index 27813b3..ad811a3 100755
--- a/test/appointment-001.sh
+++ b/test/appointment-001.sh
@@ -2,7 +2,7 @@
if [ ! -x "$(command -v faketime)" ]; then
echo "libfaketime not found - skipping $0..."
- exit 1
+ exit 0
fi
if [ "$1" = 'actual' ]; then