diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-12 22:29:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 20c8be711f3ffbc9f7916c9e101db19bb0281efb (patch) | |
tree | 8b31c6483edefd9b935a2660cf73ba2e3e0be888 /meta-selftest/recipes-test/selftest-hardlink | |
parent | 5f8a1525138817ff71cfb3eee12d28a76bfa1af1 (diff) | |
download | poky-20c8be711f3ffbc9f7916c9e101db19bb0281efb.tar.gz |
selftest/package: Add test to ensure sparse files are preserved
Add a new element to the hardlink test to check we also preseve file
sparseness during the packing process. This should ensure we don't regress this
issue again.
(From OE-Core rev: 0a4e6974b49bf68c4a4098d339b5d655e202a3fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/selftest-hardlink')
-rw-r--r-- | meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb index 8a0e6336aa..ec330fa9ff 100644 --- a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb +++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink.bb | |||
@@ -16,4 +16,5 @@ do_install () { | |||
16 | ln ${D}${bindir}/hello ${D}${bindir}/hello2 | 16 | ln ${D}${bindir}/hello ${D}${bindir}/hello2 |
17 | ln ${D}${bindir}/hello ${D}${bindir}/hello3 | 17 | ln ${D}${bindir}/hello ${D}${bindir}/hello3 |
18 | ln ${D}${bindir}/hello ${D}${bindir}/hello4 | 18 | ln ${D}${bindir}/hello ${D}${bindir}/hello4 |
19 | dd if=/dev/zero of=${D}${bindir}/sparsetest bs=1 count=0 seek=1M | ||
19 | } | 20 | } |