testsuite: Check file permissions
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 12 May 2010 11:00:16 +0000 (13:00 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 12 May 2010 11:00:16 +0000 (13:00 +0200)
commita7effbab11fb5a5d81b810a1cb3b29864bfde575
tree459feee7a5a7074b791ab4ceb20d2da9ee92b4be
parentc2a516ed29ad604e4472ce824e9d70ec3ea3e891
testsuite: Check file permissions

Add a check to the filesystem test cases for sane permissions of data files and
executables. In particular, this ensures that the executable bit is set where
it makes sense (directories and programs), but not on mere data files.

We currently ignore known-broken file systems like vfat and ntfs.

This is the groundwork to fix this behaviour at least on vfat. Its current
behaviour is quite unnerving, since trying to open a file on them in e. g.
GNOME will always ask for "do you want to open or run this file".
tests/run