Add sample test for the r2r overlay

This commit is contained in:
pancake 2017-03-19 23:06:48 +01:00
parent f5c67d8bdf
commit 22cda07b6c
2 changed files with 11 additions and 0 deletions

2
t/Makefile Normal file
View File

@ -0,0 +1,2 @@
all:
$(MAKE) -C ../radare2-regressions radare2

9
t/test_example Executable file
View File

@ -0,0 +1,9 @@
[ -f ../radare2-regressions/tests.sh ] && \
. ../radare2-regressions/tests.sh
NAME='test example'
FILE=-
CMDS='?e hello world'
EXPECT='hello world
'
run_test