pseudo: fix renaming to self

Pseudo tests for an item being renamed to itself only after
information about it has been deleted.  Move the test to before
we change the database.

Note that pseudo does not support renameat2(), but neither does
glibc.

(From OE-Core rev: 6b3d109f42385ad1cf1f297a6c06ea7eb6509f26)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater
2020-08-26 11:58:57 -07:00
committed by Richard Purdie
parent d3e8f2e335
commit 8fa41af2ca

View File

@@ -6,7 +6,7 @@ SRC_URI = "git://git.yoctoproject.org/pseudo;branch=oe-core \
file://fallback-group \
"
SRCREV = "8efb082863ff0ceec7b7e46f9a44750e12f48039"
SRCREV = "d6b1b13c268d7246f0288d32d6b5eccc658cff4e"
S = "${WORKDIR}/git"
PV = "1.9.0+git${SRCPV}"