File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1+ 2
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class LXC {
2525 } ;
2626 }
2727 this . _OS = os ;
28- this . LXC_ROOT_FS = `/home/simon /.local/share/lxc/${ container } /rootfs` ;
28+ this . LXC_ROOT_FS = `${ process . env . HOME } /.local/share/lxc/${ container } /rootfs` ;
2929 // Check if Container exists
3030 exec (
3131 `bash ${ __dirname } /../runners/lxc/lxc-check-container.bash ${ container } ` ,
Original file line number Diff line number Diff line change 11var cee = require ( "../lib/index" ) ;
22
3- // var executor = new cee.LXC("cee");
4- // executor.execute("echo 123", cee.languages.BASH);
5-
63describe ( "Testing Basic Languages" , ( ) => {
74 test ( "Bash" , ( ) => {
85 return cee . execute ( "echo 123" , cee . languages . BASH ) . then ( ( response ) => {
96 expect ( response ) . toBe ( "123" ) ;
107 } ) ;
118 } ) ;
129 // test("LXC", () => {
10+ // var executor = new cee.LXC("cee");
1311 // return executor.execute("whoami", cee.languages.BASH).then((response) => {
1412 // expect(response).toBe("123");
1513 // });
You can’t perform that action at this time.
0 commit comments