From: Alan Jenkins Date: Wed, 5 Jul 2017 23:07:12 +0000 (+0100) Subject: fix test list1 X-Git-Tag: v1.7.1~123^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F801%2Fhead;p=thirdparty%2Frrdtool-1.x.git fix test list1 $ cd tests && ./list1 ... ERROR: rrdcached@unix:/home/alan/src/rrdtool-1.x/tests/list1-rrdcached.sock : Usage: LIST [RECURSIVE] /[] --- diff --git a/tests/list1 b/tests/list1 index 040d33d8..9cfd25e7 100755 --- a/tests/list1 +++ b/tests/list1 @@ -88,7 +88,7 @@ if is_cached; then # rrdcached-specific tests ( cd "$LIST_DIR"; ln -s /tmp ./; ) - list_count=`$RRDTOOL list "$CACHED_DIR" | grep -c '^tmp$'` + list_count=`$RRDTOOL list "/$CACHED_DIR" | grep -c '^tmp$'` test $list_count -eq 0 report "escape from cached basedir via symlink denied"