summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 23:33:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-31 22:42:03 +0100
commit751fc7802f57a836a0be5fc6a8d5fdf8b1769c39 (patch)
tree55986800d69f121f76cac879c3782837e059d26c /meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
parent28eeada955762f38ccbd1d26c53768364dbd1a5e (diff)
downloadopenembedded-core-contrib-751fc7802f57a836a0be5fc6a8d5fdf8b1769c39.tar.gz
oeqa/selftest: Add package hardlink test
We keep breaking the preservation of hardlinks during the packaging process. Add a selftest which tests this to try and prevent this breaking again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c')
-rw-r--r--meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
new file mode 100644
index 0000000000..5c45dc60bd
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-hardlink/selftest-hardlink/hello.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+int main() {
+ printf("Hello World!\n");
+} \ No newline at end of file