diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:15:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-29 02:15:48 +0900 |
| commit | 8d472ebf2b654e0b97b21b40a4333184fc2c0736 (patch) | |
| tree | da8917f72d6b19e4efdd8b4031f1ff19baf1c42d /container/errors_test.go | |
| parent | 4da6463135f63658365d837e8d7dd69f0ca1468e (diff) | |
container/inittmpfs: unwrap out of bounds error
This eliminates generic WrapErr from tmpfs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/errors_test.go')
| -rw-r--r-- | container/errors_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/container/errors_test.go b/container/errors_test.go index eae5ee7d..f99812b8 100644 --- a/container/errors_test.go +++ b/container/errors_test.go @@ -39,6 +39,9 @@ func TestMessageFromError(t *testing.T) { {"state", OpStateError("overlay"), "impossible overlay state reached", true}, + {"tmpfs", TmpfsSizeError(-1), + "tmpfs size -1 out of bounds", true}, + {"unsupported", errUnique, zeroString, false}, } for _, tc := range testCases { |
