summaryrefslogtreecommitdiff
path: root/tests/02-noop64.test
blob: 26b13282b23e4edaaf8c80b4f6c2a016afa03666 (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-64 executable in the way expected
# by comparing it to a reference output.

source ./boilerplate.sh

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

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