This commit is contained in:
Brian Seymour 2021-01-23 15:20:14 -06:00
commit 8d89385f19
5 changed files with 17 additions and 0 deletions

4
lxc/executors/dash Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd /tmp/$2
xargs -a args.args -d '\n' timeout -s KILL 3 dash code.code < stdin.stdin

View File

@ -15,6 +15,8 @@ echo -n 'testing csharp = '
../../cli/execute csharp csharp.cs ../../cli/execute csharp csharp.cs
echo -n 'testing d = ' echo -n 'testing d = '
../../cli/execute d test.d ../../cli/execute d test.d
echo -n 'testing dash = '
../../cli/execute dash dash.sh
echo -n 'testing deno = ' echo -n 'testing deno = '
../../cli/execute deno deno.ts ../../cli/execute deno deno.ts
echo -n 'testing elixir = ' echo -n 'testing elixir = '

1
lxc/tests/dash.sh Normal file
View File

@ -0,0 +1 @@
echo 'good'

View File

@ -37,6 +37,10 @@ echo 'd'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "dmd --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "dmd --version"
echo '---' echo '---'
echo 'dash'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "dpkg -s dash"
echo '---'
echo 'deno' echo 'deno'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version" lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version"
echo '---' echo '---'

View File

@ -87,6 +87,12 @@
"denots" "denots"
] ]
}, },
{
"name": "dash",
"aliases": [
"dash"
]
},
{ {
"name": "ruby", "name": "ruby",
"aliases": [ "aliases": [