Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42294ce1cc |
+9
-2
@@ -1018,8 +1018,15 @@ func TestSubdirJobOneFilesystem(t *testing.T) {
|
||||
t.Fatalf("unexpected events: %+v", evs)
|
||||
}
|
||||
|
||||
if ok && job.path != sub {
|
||||
t.Fatalf("job.path = %q, want %q", job.path, sub)
|
||||
// The accepted job must carry the operand's device down, or -x
|
||||
// stops checking below the first level.
|
||||
want := dirJob{
|
||||
path: sub,
|
||||
rootDev: tc.parent.rootDev,
|
||||
rootDevOK: tc.parent.rootDevOK,
|
||||
}
|
||||
if ok && job != want {
|
||||
t.Fatalf("job = %+v, want %+v", job, want)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user