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

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Upstream-commit: 06df94d55b6a1ec10faf4672ebe7fcaf7fb62ab7
Component: engine
This commit is contained in:
Solomon Hykes
2014-04-22 15:50:22 -07:00
parent a7e559b7d2
commit 2b6efd6fe0
8 changed files with 53 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env beamsh
exec ls -l
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env beamsh
trace {
exec ls -l
}
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env beamsh
trace {
stdio {
exec ls -l
}
}
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env beamsh -x
trace outer {
# stdio fails
stdio {
trace inner {
exec ls -l
}
}
}
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env beamsh
stdio {
trace {
stdio {
exec ls -l
}
}
}
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env beamsh
stdio {
# exec fails
exec ls -l
}
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env beamsh
stdio {
trace {
echo hello
}
}
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env beamsh
stdio {
# exec fails
echo hello world
}