diff options
author | Jakob Unterwurzacher | 2017-02-16 19:13:03 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-02-16 19:13:03 +0100 |
commit | b66d663ff82db03c06be1149be3fd0ce15f8c19d (patch) | |
tree | 4cd5fa698cc7155f24b4c8f40ee8ebd7d77905ef | |
parent | e5bee6a6aaa1e5be2a45b16526f65d4ed6b0d8fe (diff) |
tests: OSX compat: use "mount" command instead of /proc/mounts
Mac OS X does not have /proc.
Reported at https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-279130217
-rwxr-xr-x | test.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ fi # Clean up dangling filesystems source tests/fuse-unmount.bash -for i in $(cat /proc/mounts | grep $TESTDIR | cut -f2 -d" "); do +for i in $(mount | grep $TESTDIR | cut -f3 -d" "); do echo "Warning: unmounting leftover filesystem: $i" fuse-unmount $i done |