Skip to content

Commit

Permalink
Add a sandbox test
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin committed Aug 10, 2014
1 parent 9043195 commit a60c5bf
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions t/sandbox
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@
[ -e tests.sh ] && . ./tests.sh || . ../tests.sh

NAME='sandbox disable'
IGNORE_ERR=1
FILE=-
ARGS=
CMDS='e cfg.sandbox=true
e cfg.sandbox=false
e cfg.sandbox
'
EXPECT='true
'
run_test

NAME='sandbox open'
CMDS='e cfg.sandbox=true
o~[2]
oc /bin/ls
'
EXPECT='malloc://512
'
run_test

0 comments on commit a60c5bf

Please sign in to comment.