diff options
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/recipes-test/selftest-chown/selftest-chown.bb | 5 |
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 | ||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | 5 | ||
6 | DEPENDS += "coreutils-native" | ||
7 | |||
6 | S = "${WORKDIR}" | 8 | S = "${WORKDIR}" |
7 | 9 | ||
8 | inherit useradd allarch | 10 | inherit 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 | ||
25 | FILES_${PN} = "${sysconfdir}/selftest-chown/*" | 30 | FILES_${PN} = "${sysconfdir}/selftest-chown/*" |