From a60c5bf5b594ed198aa8be35b7a2850c8f182219 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 9 Aug 2014 21:44:48 +0200 Subject: [PATCH] Add a sandbox test --- t/sandbox | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/t/sandbox b/t/sandbox index c460da11..693124db 100755 --- a/t/sandbox +++ b/t/sandbox @@ -3,9 +3,6 @@ [ -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 @@ -13,3 +10,12 @@ 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