summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/help.sh
blob: b4d5e28683368be4537a996caec7df13836cf165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cp $execs/hello 1

if dwz -? 1 2> dwz.err; status=$?; then
    true
fi

[ $status -eq 1 ]

grep -q "Usage:" dwz.err

cmp 1 $execs/hello

rm -f 1 dwz.err