(script string)
| 31 | } |
| 32 | |
| 33 | func daggerShellNoMod(script string) dagger.WithContainerFunc { |
| 34 | return func(c *dagger.Container) *dagger.Container { |
| 35 | return c.WithExec([]string{"dagger", "shell", "-M"}, dagger.ContainerWithExecOpts{ |
| 36 | Stdin: script, |
| 37 | ExperimentalPrivilegedNesting: true, |
| 38 | }) |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | func (ShellSuite) TestScriptMode(ctx context.Context, t *testctx.T) { |
| 43 | t.Run("root script argument", func(ctx context.Context, t *testctx.T) { |
no test coverage detected