Skip to content

Commit

Permalink
add cmd_open test
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 8, 2012
1 parent ecf8ea3 commit a851ce3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 42 deletions.
26 changes: 0 additions & 26 deletions b/crash

This file was deleted.

16 changes: 0 additions & 16 deletions b/flagfail

This file was deleted.

17 changes: 17 additions & 0 deletions t/cmd_open
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

. ../tests.sh

NAME='o-'
FILE=malloc://1024
ARGS=
CMDS='o-`o~[1]`;o'
EXPECT=''
run_test

NAME='o -'
FILE=malloc://1024
ARGS=
CMDS='o -;o~?'
EXPECT='2'
run_test

0 comments on commit a851ce3

Please sign in to comment.