Lines Matching +full:zstd +full:- +full:src
17 # sourced from run-debuginfod-*.sh tests (must be bash scripts)
20 set -o functrace
21 set -o errtrace
23 . $srcdir/test-subr.sh # includes set -e
29 bsdtar --version | grep -q zstd && zstd=true || zstd=false
30 echo "zstd=$zstd bsdtar=`bsdtar --version`"
35 trap - 0
37 if [ $PID1 -ne 0 ]; then kill $PID1 || : ; wait $PID1 || :; fi
38 if [ $PID2 -ne 0 ]; then kill $PID2 || : ; wait $PID2 || :; fi
39 rm -rf F R D L Z ${PWD}/foobar ${PWD}/mocktree ${PWD}/.client_cache* ${PWD}/tmp*
49 trap - ERR
55 curl -s http://127.0.0.1:$port/metrics || :
65 false # trigger set -e
74 # it with the same check/installcheck-sensitive LD_LIBRARY_PATH stuff
80 ldpath=`testrun sh -c 'echo $LD_LIBRARY_PATH'`
90 while [ $timeout -gt 0 ]; do
91 mvalue="$(curl -s http://127.0.0.1:$port/metrics \
93 if [ -z "$mvalue" ]; then mvalue=0; fi
95 if [ "$mvalue" -eq "$value" ]; then
99 ((timeout--));
102 if [ $timeout -eq 0 ]; then
113 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find executable $__BUILDID`
114 buildid=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
115 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
117 # check that timestamps are plausible - older than the near-present (tmpdir mtime)
118 test $filename -ot `pwd`
121 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find executable $__BUILDID`
122 buildid=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
123 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
125 test $filename -ot `pwd`
127 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $__BUILDID`
128 buildid=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
129 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
131 test $filename -ot `pwd`
134 … filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find source $__BUILDID $__SOURCEPATH`
137 test $filename -ot `pwd`
144 ss -atn | grep -F ":$PORT1" || break
149 ss -atn | grep -F ":$PORT2" || break
154 VERBOSE=-vvv
156 ldpath=`testrun sh -c 'echo $LD_LIBRARY_PATH'`
163 # run $1 as a sh -c command, invert result code
165 if sh -c "$1"; then