• Home
  • Raw
  • Download

Lines Matching +full:zstd +full:- +full:src

3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
24 # This variable is essential and ensures no time-race for claiming ports occurs
25 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
35 -F -R -d $DB -p $PORT1 -t0 -g0 -v R ${PWD}/F > vlog$PORT1 2>&1 &
44 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
45 ps -q $PID1 -e -L -o '%p %c %a' | grep scan
46 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
55 # Build a non-stripped binary
57 gcc -Wl,--build-id -g -o ${PWD}/F/prog ${PWD}/F/prog.c
58 BUILDID=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \
59 -a ${PWD}/F/prog | grep 'Build ID' | cut -d ' ' -f 7`
62 cp -rvp ${abs_srcdir}/debuginfod-rpms R
63 if [ "$zstd" = "false" ]; then # nuke the zstd fedora 31 ones
64 rm -vrf R/debuginfod-rpms/fedora31
67 kill -USR1 $PID1
73 cp -rvp ${abs_srcdir}/debuginfod-rpms R
74 if [ "$zstd" = "false" ]; then # nuke the zstd fedora 31 ones
75 rm -vrf R/debuginfod-rpms/fedora31
79 cp -rvp ${abs_srcdir}/debuginfod-tars Z
80 kill -USR1 $PID1
86 # All rpms need to be in the index, except the dummy permission-000 one
87 rpms=$(find R -name \*rpm | grep -v nothing | wc -l)
89 txz=$(find Z -name \*tar.xz | wc -l)
91 kill -USR1 $PID1 # two hits of SIGUSR1 may be needed to resolve .debug->dwz->srefs
103 newrpms=$(find ../R -name \*\.rpm | grep -v nothing)
108 ls -lah ../$i
109 rpm2cpio ../$i | cpio -ivd;
112 sourcefiles=$(find -name \*\\.debug \
114 ${abs_top_builddir}/src/readelf --debug-dump=decodedline \
115 | grep mtime: | wc --lines)
117 rm -rf extracted
126 if [ $zstd = true ]; then
127 # fedora31 uses zstd compression on rpms, older rpm2cpio/libarchive can't handle it
128 # and we're not using the fancy -Z '.rpm=(rpm2cpio|zstdcat)<' workaround in this testsuite
129 …archive_test 420e9e3308971f4b817cc5bf83928b41a6909d88 /usr/src/debug/hello3-1.0-2.x86_64/foobar///…
130 …archive_test 87c08d12c78174f1082b7c888b3238219b0eb265 /usr/src/debug/hello3-1.0-2.x86_64///foobar/…
133 archive_test c36708a78618d597dee15d0dc989f093ca5f9120 /usr/src/debug/hello2-1.0-2.x86_64/hello.c $S…
134 archive_test 41a236eb667c362a1c4196018cc4581e09722b1b /usr/src/debug/hello2-1.0-2.x86_64/hello.c $S…
136 archive_test bc1febfd03ca05e030f0d205f7659db29f8a4b30 /usr/src/debug/hello-1.0/hello.c $SHA
137 archive_test f0aa15b8aba4f3c28cac3c2a73801fefa644a9f2 /usr/src/debug/hello-1.0/hello.c $SHA
139 archive_test bbbf92ebee5228310e398609c23c2d7d53f6e2f9 /usr/src/debug/hello-1.0/hello.c $SHA
140 archive_test d44d42cbd7d915bc938c81333a21e355a6022fb7 /usr/src/debug/hello-1.0/hello.c $SHA
145 rm -r R/debuginfod-rpms/rhel6/*
147 kill -USR2 $PID1 # groom cycle
148 ## 1 groom cycle already took place at/soon-after startup, so -USR2 makes 2
155 rm -rf $DEBUGINFOD_CACHE_PATH # clean it from previous tests
157 # this is one of the buildids from the groom-deleted rpms
158 testrun ${abs_top_builddir}/debuginfod/debuginfod-find executable $RPM_BUILDID && false || true
161 testrun ${abs_top_builddir}/debuginfod/debuginfod-find executable $BUILDID || true