@@ -181,7 +181,7 @@ mod e2e_rust_plugins {
181181 std:: env:: set_current_dir ( & project_root) . unwrap ( ) ;
182182 let mut session = spawn (
183183 & format ! (
184- "{} --dir tmp/filesystem --allow-read " ,
184+ "{} --dir tmp/filesystem --allow-all " ,
185185 & build_command(
186186 & [ "plugin_tee.wasm" , "plugin_echo.wasm" , "plugin_cat.wasm" ] ,
187187 "repl_logic_guest.wasm"
@@ -227,7 +227,7 @@ mod e2e_rust_plugins {
227227 std:: env:: set_current_dir ( & project_root) . unwrap ( ) ;
228228 let mut session = spawn (
229229 & format ! (
230- "{} --dir tmp/filesystem --allow-read " ,
230+ "{} --dir tmp/filesystem --allow-all " ,
231231 & build_command(
232232 & [ "plugin_tee.wasm" , "plugin_echo.wasm" , "plugin_cat.wasm" ] ,
233233 "repl_logic_guest.wasm"
@@ -273,7 +273,7 @@ mod e2e_rust_plugins {
273273 std:: env:: set_current_dir ( & project_root) . unwrap ( ) ;
274274 let mut session = spawn (
275275 & format ! (
276- "{} --dir tmp/filesystem --allow-read " ,
276+ "{} --dir tmp/filesystem --allow-all " ,
277277 & build_command(
278278 & [ "plugin_tee.wasm" , "plugin_echo.wasm" , "plugin_cat.wasm" ] ,
279279 "repl_logic_guest.wasm"
@@ -299,16 +299,16 @@ mod e2e_rust_plugins {
299299 . exp_string ( "hello\r \n repl(0)>" )
300300 . expect ( "Didn't get expected output from echo plugin" ) ;
301301 session
302- . send_line ( "tee -a data/sample.csv " )
302+ . send_line ( "tee -a documents/work/projects/alpha/.gitkeep " )
303303 . expect ( "Failed to send command" ) ;
304304 session
305305 . exp_string ( "hello\r \n repl(0)>" )
306306 . expect ( "Didn't get expected output from tee plugin" ) ;
307307 session
308- . send_line ( "cat data/sample.csv " )
308+ . send_line ( "cat documents/work/projects/alpha/.gitkeep " )
309309 . expect ( "Failed to send command" ) ;
310310 session
311- . exp_string ( "id,name,age,city,active \r \n 1,Alice,28,New York,true \r \n 2,Bob,32,San Francisco,true \r \n 3,Charlie,25,Chicago,false \r \n 4,Diana,29,Boston,true \r \n 5,Eve,35,Seattle,true \r \n hello\r \n repl(0)>" )
312- . expect ( "Didn't get expected contents of sample.csv " ) ;
311+ . exp_string ( "# This file ensures the alpha directory is tracked in git \r \n # Deep nested directory for testing \r \n \r \n hello\r \n repl(0)>" )
312+ . expect ( "Didn't get expected contents of .gitkeep " ) ;
313313 }
314314}
0 commit comments