When testing, check if '/proc/mounts' exists.
authorBojan Petrovic <bojan_petrovic@fastmail.fm>
Sat, 21 May 2011 08:47:50 +0000 (10:47 +0200)
committerBojan Petrovic <bojan_petrovic@fastmail.fm>
Sat, 21 May 2011 08:57:15 +0000 (10:57 +0200)
commitea6e4fd27a10f60467acd1fc3d7c458a7748a8f9
tree95e8536e46f2d7648e5902f8d91f31c7dfa1799c
parent9497c2fcd8e0940552f724f218863318217136f6
When testing, check if '/proc/mounts' exists.

On FreeBSD, even if procfs is mounted under '/proc', there is no
'/proc/mounts' file.  Instead on relying on the existence of '/proc'
directory, we check if the '/proc/mounts' file exists. Otherwise, tests
cannot even start on FreeBSD.
test/s/mount.t