tests/kern/t47
raw| 1 | #!/bin/bash -e |
| 2 | |
| 3 | # setfattr fails with ENOTSUP |
| 4 | |
| 5 | cd $PATH_MNTDIR |
| 6 | touch testfile |
| 7 | |
| 8 | setfattr -n security.foo -v fooval testfile |
| 9 | setfattr -n security.bar -v barval testfile |
| 10 | setfattr -n security.baz -v bazval testfile |
| 11 | |
| 12 | getfattr -m- -d testfile |
| 13 | |
| 14 | setfattr -x security.foo testfile |
| 15 | setfattr -x security.bar testfile |
| 16 | setfattr -x security.baz testfile |
| 17 | |
| 18 | getfattr -m- -d testfile |
| 19 | |
| 20 | exit 0 |