beam/examples/beamsh: add scripts to reproduce various bugs

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-03-31 12:47:09 -07:00
parent 69e180cae7
commit 0e093988bf
8 changed files with 53 additions and 0 deletions

3
beam/examples/beamsh/bug0.ds Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env beamsh
exec ls -l

5
beam/examples/beamsh/bug1.ds Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env beamsh
trace {
exec ls -l
}

7
beam/examples/beamsh/bug2.ds Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env beamsh
trace {
stdio {
exec ls -l
}
}

10
beam/examples/beamsh/bug3.ds Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env beamsh -x
trace outer {
# stdio fails
stdio {
trace inner {
exec ls -l
}
}
}

9
beam/examples/beamsh/bug4.ds Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
stdio {
trace {
stdio {
exec ls -l
}
}
}

6
beam/examples/beamsh/bug5.ds Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env beamsh
stdio {
# exec fails
exec ls -l
}

7
beam/examples/beamsh/bug6.ds Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env beamsh
stdio {
trace {
echo hello
}
}

6
beam/examples/beamsh/bug7.ds Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env beamsh
stdio {
# exec fails
echo hello world
}