mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/529: Execute chown on an existing directory entry
chown command is being executed on $testfile which is actually deleted just before the execution of quota inode extent count overflow test. Hence the test was not getting exercised at all. This commit fixes the bug by using $fillerdir as the target of chown command. Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
70b22758a8
commit
f3172bbedc
+1
-1
@@ -150,7 +150,7 @@ nr_quotas=$((nr_quotas_per_block * nr_blks))
|
||||
|
||||
echo "Extend uquota file"
|
||||
for i in $(seq 0 $nr_quotas_per_block $nr_quotas); do
|
||||
chown $i $testfile >> $seqres.full 2>&1
|
||||
chown $i $fillerdir >> $seqres.full 2>&1
|
||||
[[ $? != 0 ]] && break
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user