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>
This commit is contained in:
parent
0cda64a234
commit
c054182890
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user