diff -r ef490647f5d1 -r 5256d7eb69e7 test/bin-test/test-dav-sync.sh --- a/test/bin-test/test-dav-sync.sh Wed Oct 23 20:26:53 2019 +0200 +++ b/test/bin-test/test-dav-sync.sh Fri Oct 25 19:39:33 2019 +0200 @@ -64,9 +64,8 @@ mkdir tmp-sync/test2a mkdir tmp-sync/test2b - # check if config works -TEST1_DIR=`$DAV_SYNC_BIN list-dirs | grep test1a | tail -n 1` +TEST1_DIR=`$DAV_SYNC_BIN list-dirs | grep test1a | tail -1` if [ -z $TEST1_DIR ]; then echo "Config not working"