fix shell unit test
This commit is contained in:
parent
c721fa6d5d
commit
d526f1fab8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue