mirror of https://github.com/deajan/osync.git
Added unit tests that will fail to trigger travis errors
parent
394f1537db
commit
384b9b9582
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# WILL FAIL, travis test
|
||||||
|
|
||||||
|
|
||||||
# osync test suite 20161112004
|
# osync test suite 20161112004
|
||||||
|
|
||||||
# 4 tests:
|
# 4 tests:
|
||||||
|
@ -222,6 +224,16 @@ function oneTimeSetUp () {
|
||||||
OSYNC_IS_STABLE=$(GetConfFileValue "$OSYNC_DIR/$OSYNC_DEV_EXECUTABLE" "IS_STABLE")
|
OSYNC_IS_STABLE=$(GetConfFileValue "$OSYNC_DIR/$OSYNC_DEV_EXECUTABLE" "IS_STABLE")
|
||||||
|
|
||||||
echo "Running with $OSYNC_VERSION ($OSYNC_MIN_VERSION) STABLE=$OSYNC_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 () {
|
function oneTimeTearDown () {
|
||||||
|
|
Loading…
Reference in New Issue