summaryrefslogtreecommitdiff
path: root/tests/01-noop32.test
blob: 0192240e226b1d13ce959aff42fbc05213814615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Test if elfu can clone a given x86-32 executable in the way expected
# by comparing it to a reference output.

source ./boilerplate.sh

elfucli --input reference/putsmain32 \
        --output $BUILDDIR/putsmain32-cloned
test_check_retval

cmp reference/putsmain32-cloned \
    $BUILDDIR/putsmain32-cloned
test_check_retval