summaryrefslogtreecommitdiffstats
path: root/test/tape-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tape-test.c')
-rw-r--r--test/tape-test.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tape-test.c b/test/tape-test.c
new file mode 100644
index 0000000..f1cca25
--- /dev/null
+++ b/test/tape-test.c
@@ -0,0 +1,10 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <tape.c>
+extern int main(int argc, char* argv[]) {
+ if(argc != 3) {
+ printf("usage: %s source-file file-with-commands-replaced-with-a's\n", argv[0]);
+ return 1;
+ }
+ return bvr_compose_page(argv[1], 0, argv[2]);
+}