aboutsummaryrefslogtreecommitdiff
path: root/tests/reverse/inomap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reverse/inomap_test.go')
-rw-r--r--tests/reverse/inomap_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reverse/inomap_test.go b/tests/reverse/inomap_test.go
index aadb782..ff78f4c 100644
--- a/tests/reverse/inomap_test.go
+++ b/tests/reverse/inomap_test.go
@@ -143,7 +143,7 @@ func TestVirtualFileIno(t *testing.T) {
if origInos.child == cipherInos.name {
t.Errorf("name ino collision: %d == %d", origInos.child, cipherInos.name)
}
- if origInos.child&mask != cipherInos.name&mask {
- t.Errorf("name ino mismatch: %#x vs %#x", origInos.child, cipherInos.name)
+ if cipherInos.name < 1<<63 {
+ t.Errorf("name ino should be in spill space, but is actually %#x", cipherInos.name)
}
}