Debian Codegraph @

debian/tests/dtrace-reproducible

raw
1 #!/bin/bash
2
3 set -e
4
5 cd $AUTOPKGTEST_TMP
6
7 echo 'provider sdt_probes { probe test_0 (int type); }' > test.d
8
9 dtrace -C -G -s test.d -o test.o
10 readelf --wide --symbols test.o > sym1.txt
11
12 for i in `seq 1 10`; do
13 dtrace -C -G -s test.d -o test.o
14 readelf --wide --symbols test.o > sym2.txt
15
16 cmp sym1.txt sym2.txt
17 done