blob: 89217fae18886437dbe5889e8c4bd8abe6fcdeae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/bash
. "${0%/*}"/../lib.sh
#
# make sure list output matches
#
for sfx in py sh ; do
lddtree.${sfx} -l /bin/bash > "${builddir}"/lddtree.${sfx}.list &
done
wait
if diff -u "${builddir}"/lddtree.*.list ; then
pass "lddtree -l /bin/bash"
else
fail "lddtree -l /bin/bash"
fi
rm -f "${builddir}"/lddtree.*.list
#
# Same as above but with the -a flag
#
for sfx in py sh ; do
lddtree.${sfx} -l -a /bin/bash > "${builddir}"/lddtree.${sfx}.list-all &
done
wait
if diff -u "${builddir}"/lddtree.*.list-all ; then
pass "lddtree -l -a /bin/bash"
else
fail "lddtree -l -a /bin/bash"
fi
rm -f "${builddir}"/lddtree.*.list-all
exit ${ret}
|