diff --git a/src/user.zig b/src/user.zig index e66f98c..1d30d63 100644 --- a/src/user.zig +++ b/src/user.zig @@ -297,7 +297,7 @@ fn testShellIndex(allocator: Allocator) StringHashMap(u6) { } const test_shell_reader = shellImport.ShellReader{ - .section_blob = "/bin/bash000/bin/zsh", + .section_blob = "/bin/bash.../bin/zsh", .section_index = &[_]shellImport.ShellIndex{ shellImport.ShellIndex{ .offset = 0, .len = 9 - 1 }, shellImport.ShellIndex{ .offset = 12 >> 2, .len = 8 - 1 }, @@ -335,7 +335,7 @@ test "construct PackedUser section" { .name = "svc-bar", .gecos = "", .home = "/", - .shell = "/", + .shell = "/bin/zsh", } }; var shellIndex = testShellIndex(testing.allocator); const additional_gids = math.maxInt(u64);