When testing, check if '/proc/mounts' exists. (by Bojan Petrovic)
authorDerrik Pates <demon@now.ai>
Sat, 21 May 2011 18:53:41 +0000 (12:53 -0600)
committerDerrik Pates <demon@now.ai>
Sat, 21 May 2011 18:53:41 +0000 (12:53 -0600)
commit60ce409b699a53f80416f542480baecd61952726
tree55b89299b3d2c2f7ca9579388d4b70c7e2485edb
parent1c57dea39b0f545ed6151d3533b6be376c045fb7
When testing, check if '/proc/mounts' exists. (by Bojan Petrovic)

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