test/bin-test/test-dav-sync.sh

changeset 671
5256d7eb69e7
parent 670
ef490647f5d1
child 672
4bfe452a2665
--- 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"

mercurial