diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-03 02:59:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-03 02:59:43 +0900 |
| commit | 1b5ecd9eaf3289d164d8ed1bce6013e0e4ef8e86 (patch) | |
| tree | 047fe5fabdfb37d5c0088f7f572cebc8b13853bb /container/executable_test.go | |
| parent | 82561d62b66f17c05604e87f18187bb3a91f00d2 (diff) | |
container: move out of toplevel
This allows slightly easier use of the vanity url. This also provides some disambiguation between low level containers and hakurei app containers.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/executable_test.go')
| -rw-r--r-- | container/executable_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/container/executable_test.go b/container/executable_test.go new file mode 100644 index 00000000..00e67b79 --- /dev/null +++ b/container/executable_test.go @@ -0,0 +1,17 @@ +package container_test + +import ( + "os" + "testing" + + "git.gensokyo.uk/security/hakurei/container" +) + +func TestExecutable(t *testing.T) { + for i := 0; i < 16; i++ { + if got := container.MustExecutable(); got != os.Args[0] { + t.Errorf("MustExecutable: %q, want %q", + got, os.Args[0]) + } + } +} |
