diff options
author | norly <ny-git@enpas.org> | 2013-06-27 01:41:31 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-06-27 02:03:50 +0100 |
commit | 093fbed81ea29ef23268d23f955bc87185e3c018 (patch) | |
tree | 7f0d7ebc15a44f4496e5536114031dfdafeef472 /tests | |
parent | 6bb90a2a327e7005a15c584ec00818b8f485121d (diff) |
Move test data256mb to end and add data64kb
Diffstat (limited to 'tests')
-rw-r--r-- | tests/06-data64kb.test | 10 | ||||
-rw-r--r-- | tests/99-data256mb.test (renamed from tests/06-data256mb.test) | 0 | ||||
-rw-r--r-- | tests/src/data64kb.c | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/06-data64kb.test b/tests/06-data64kb.test new file mode 100644 index 0000000..ebeeff2 --- /dev/null +++ b/tests/06-data64kb.test @@ -0,0 +1,10 @@ +#!/bin/sh +source ./boilerplate.sh + +elfucli --input $BUILDDIR/putsmain \ + --reladd $BUILDDIR/data64kb.o \ + --output $BUILDDIR/putsmain-with-data64kb +test_check_retval + +$BUILDDIR/putsmain-with-data64kb | grep -q "puts() #2 called in main()" +test_check_retval diff --git a/tests/06-data256mb.test b/tests/99-data256mb.test index 55cfcd2..55cfcd2 100644 --- a/tests/06-data256mb.test +++ b/tests/99-data256mb.test diff --git a/tests/src/data64kb.c b/tests/src/data64kb.c new file mode 100644 index 0000000..b5ebec1 --- /dev/null +++ b/tests/src/data64kb.c @@ -0,0 +1,2 @@ +/* 64 KB worth of data. */ +char data64kb[64*1024] = {1}; |