Comment 3 for bug 55223

Revision history for this message
Jason McMullan (jason-mcmullan) wrote :

I do believe your test case is not testing what the patch solves.

The problem I was trying to solve was that after autofs mounted a location, hald would stat that mount
on a regular basis, preventing the autofs auto-unmount timeouts from expiring and unmounting the
mount.

A proper test would be:

$ df | grep '/net/some.nfs.server/foo'
(expected: nothing)
$ ls -l /net/some.nfs.server/foo
$ df | grep '/net/some.nfs.server/foo'
(expected: mount info for /net/some.nfs.server/foo)
$ sleep 120 (or whatever your autofs timeout is)
$ df | grep '/net/some.nfs.server/foo'
(expected: nothing)