From 384b9b9582bcde7f2a97828c03b1179edceeb406 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 21 Nov 2016 09:47:45 +0100 Subject: [PATCH] Added unit tests that will fail to trigger travis errors --- dev/tests/run_tests.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index f795e09..c2e9e9c 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -1,6 +1,8 @@ - #!/usr/bin/env bash +# WILL FAIL, travis test + + # osync test suite 20161112004 # 4 tests: @@ -222,6 +224,16 @@ function oneTimeSetUp () { OSYNC_IS_STABLE=$(GetConfFileValue "$OSYNC_DIR/$OSYNC_DEV_EXECUTABLE" "IS_STABLE") echo "Running with $OSYNC_VERSION ($OSYNC_MIN_VERSION) STABLE=$OSYNC_IS_STABLE" + + # This will make travis fail because of missing stuff + touch fic + chattr +i fic + mount -o remount,acl / + setfacl -m o::rwx fic + getfacl fic + mkdir test + ( sleep 20 && touch test/fic ) & + inotifywait test } function oneTimeTearDown () {