[unittests][Support] AIX: Skip sticky bit file tests
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 9 Jan 2019 16:00:39 +0000 (16:00 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 9 Jan 2019 16:00:39 +0000 (16:00 +0000)
commitea2ce500e9ab0e46cb520ab541bbf50593e8b190
treed62ec983a10da9cc3b8fce2bdcb0175790204cc3
parent7e6803e07b98d6189c6f07da0f7a2e0c813e98af
[unittests][Support] AIX: Skip sticky bit file tests

On AIX, attempting (without root) to set the sticky bit on a file with
the `chmod` utility will give:
```
chmod: not all requested changes were made to <file>
```

The same occurs when modifying other permission bits on a file with the
sticky bit already set.

It seems that the `chmod` function will report success despite failing
to set the sticky bit.

llvm-svn: 350735
llvm/unittests/Support/Path.cpp