generic: test that renaming into a directory fails with EDQUOT
authorDarrick J. Wong <djwong@kernel.org>
Mon, 11 Apr 2022 22:54:54 +0000 (15:54 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 17 Apr 2022 15:04:25 +0000 (23:04 +0800)
commitfbc6486be09c93a68d3863ebf7e3ed851fc4721c
treeef55b51e3442715b3e5b1e3699f0f24ed8f856e6
parent48029933892b96c183603d94a1f3acc179988d99
generic: test that renaming into a directory fails with EDQUOT

Add a regression test to make sure that unprivileged userspace renaming
within a directory fails with EDQUOT when the directory quota limits have
been exceeded.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/682 [new file with mode: 0755]
tests/generic/682.out [new file with mode: 0644]