Move test data256mb to end and add data64kb
[centaur.git] / tests / 06-data64kb.test
diff --git a/tests/06-data64kb.test b/tests/06-data64kb.test
new file mode 100644 (file)
index 0000000..ebeeff2
--- /dev/null
@@ -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