diff --git a/beam/examples/beamsh/bug0.ds b/beam/examples/beamsh/bug0.ds new file mode 100755 index 0000000..89b7523 --- /dev/null +++ b/beam/examples/beamsh/bug0.ds @@ -0,0 +1,3 @@ +#!/usr/bin/env beamsh + +exec ls -l diff --git a/beam/examples/beamsh/bug1.ds b/beam/examples/beamsh/bug1.ds new file mode 100755 index 0000000..2d8a9e2 --- /dev/null +++ b/beam/examples/beamsh/bug1.ds @@ -0,0 +1,5 @@ +#!/usr/bin/env beamsh + +trace { + exec ls -l +} diff --git a/beam/examples/beamsh/bug2.ds b/beam/examples/beamsh/bug2.ds new file mode 100755 index 0000000..08f0431 --- /dev/null +++ b/beam/examples/beamsh/bug2.ds @@ -0,0 +1,7 @@ +#!/usr/bin/env beamsh + +trace { + stdio { + exec ls -l + } +} diff --git a/beam/examples/beamsh/bug3.ds b/beam/examples/beamsh/bug3.ds new file mode 100755 index 0000000..7bb8694 --- /dev/null +++ b/beam/examples/beamsh/bug3.ds @@ -0,0 +1,10 @@ +#!/usr/bin/env beamsh -x + +trace outer { + # stdio fails + stdio { + trace inner { + exec ls -l + } + } +} diff --git a/beam/examples/beamsh/bug4.ds b/beam/examples/beamsh/bug4.ds new file mode 100755 index 0000000..b7beedb --- /dev/null +++ b/beam/examples/beamsh/bug4.ds @@ -0,0 +1,9 @@ +#!/usr/bin/env beamsh + +stdio { + trace { + stdio { + exec ls -l + } + } +} diff --git a/beam/examples/beamsh/bug5.ds b/beam/examples/beamsh/bug5.ds new file mode 100755 index 0000000..9f9a855 --- /dev/null +++ b/beam/examples/beamsh/bug5.ds @@ -0,0 +1,6 @@ +#!/usr/bin/env beamsh + +stdio { + # exec fails + exec ls -l +} diff --git a/beam/examples/beamsh/bug6.ds b/beam/examples/beamsh/bug6.ds new file mode 100755 index 0000000..9028140 --- /dev/null +++ b/beam/examples/beamsh/bug6.ds @@ -0,0 +1,7 @@ +#!/usr/bin/env beamsh + +stdio { + trace { + echo hello + } +} diff --git a/beam/examples/beamsh/bug7.ds b/beam/examples/beamsh/bug7.ds new file mode 100755 index 0000000..b6e7bd9 --- /dev/null +++ b/beam/examples/beamsh/bug7.ds @@ -0,0 +1,6 @@ +#!/usr/bin/env beamsh + +stdio { + # exec fails + echo hello world +}