summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-selftest')
-rw-r--r--meta-selftest/recipes-test/selftest-chown/selftest-chown.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
index 87bf9438b8..440471fe80 100644
--- a/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
+++ b/meta-selftest/recipes-test/selftest-chown/selftest-chown.bb
@@ -3,6 +3,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6DEPENDS += "coreutils-native"
7
6S = "${WORKDIR}" 8S = "${WORKDIR}"
7 9
8inherit useradd allarch 10inherit useradd allarch
@@ -16,10 +18,13 @@ do_install() {
16 install -d ${TESTDIR}/dir 18 install -d ${TESTDIR}/dir
17 touch ${TESTDIR}/file 19 touch ${TESTDIR}/file
18 ln -s ./file ${TESTDIR}/symlink 20 ln -s ./file ${TESTDIR}/symlink
21 install -d ${TESTDIR}/fifotest
22 mkfifo ${TESTDIR}/fifotest/fifo
19 23
20 chown test:test ${TESTDIR}/file 24 chown test:test ${TESTDIR}/file
21 chown -R test:test ${TESTDIR}/dir 25 chown -R test:test ${TESTDIR}/dir
22 chown -h test:test ${TESTDIR}/symlink 26 chown -h test:test ${TESTDIR}/symlink
27 chown -R test:test ${TESTDIR}/fifotest
23} 28}
24 29
25FILES_${PN} = "${sysconfdir}/selftest-chown/*" 30FILES_${PN} = "${sysconfdir}/selftest-chown/*"