Disabled ACL propagation test on travis, lack of ACL support

This commit is contained in:
deajan 2016-11-13 20:32:18 +01:00
parent 0ccb88ff19
commit 458f8e0ea2
1 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# osync test suite 2016111304 # osync test suite 2016111305
# 4 tests: # 4 tests:
# quicklocal # quicklocal
@ -278,9 +278,10 @@ function test_softdeletion_cleanup () {
touch "$file.new" touch "$file.new"
#TODO: CreateOldFile does not work under travis yet (debugfs does not work, drop caches neither)
if [ "$TRAVIS_RUN" != true ]; then if [ "$TRAVIS_RUN" != true ]; then
CreateOldFile "$file.old" CreateOldFile "$file.old"
else
echo "Skipping changing ctime on file because travis does not support debugfs"
fi fi
done done
@ -306,6 +307,12 @@ function test_softdeletion_cleanup () {
function test_FileAttributePropagation () { function test_FileAttributePropagation () {
if [ "$TRAVIS_RUN" != true ]; then
echo "Skipping FileAttributePropagation tests as travis does not support getfacl / setfacl"
return 0
fi
for i in "${osyncParameters[@]}"; do for i in "${osyncParameters[@]}"; do
cd "$OSYNC_DIR" cd "$OSYNC_DIR"
PrepareLocalDirs PrepareLocalDirs