aboutsummaryrefslogtreecommitdiff
blob: 48f3dc8f0dbd0a5b76a278c69e8f236041d89785 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# basic functionality check

addwrite $PWD

touch f
unlinkat-0 0 AT_FDCWD f 0 || exit 1

mkdir d
unlinkat-0 0 AT_FDCWD d AT_REMOVEDIR || exit 2