summaryrefslogtreecommitdiff
path: root/tests/completions/project/files
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-05 00:25:01 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-05 01:59:34 -0400
commitbbba6052808e5a729ba8cc0c63c3e232e1b204ef (patch)
tree614cd866f1e7e5cbf975b3e4de07d8bffb5c504c /tests/completions/project/files
parent5d6370169c145f3e21d823abd997145137ff6ae3 (diff)
downloadbuildstream-bbba6052808e5a729ba8cc0c63c3e232e1b204ef.tar.gz
tests/completions/completions.py: Adding new test for bash completions
Diffstat (limited to 'tests/completions/project/files')
-rwxr-xr-xtests/completions/project/files/bin-files/usr/bin/hello3
-rw-r--r--tests/completions/project/files/dev-files/usr/include/pony.h12
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/completions/project/files/bin-files/usr/bin/hello b/tests/completions/project/files/bin-files/usr/bin/hello
new file mode 100755
index 000000000..f534a4083
--- /dev/null
+++ b/tests/completions/project/files/bin-files/usr/bin/hello
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+echo "Hello !"
diff --git a/tests/completions/project/files/dev-files/usr/include/pony.h b/tests/completions/project/files/dev-files/usr/include/pony.h
new file mode 100644
index 000000000..40bd0c2e7
--- /dev/null
+++ b/tests/completions/project/files/dev-files/usr/include/pony.h
@@ -0,0 +1,12 @@
+#ifndef __PONY_H__
+#define __PONY_H__
+
+#define PONY_BEGIN "Once upon a time, there was a pony."
+#define PONY_END "And they lived happily ever after, the end."
+
+#define MAKE_PONY(story) \
+ PONY_BEGIN \
+ story \
+ PONY_END
+
+#endif /* __PONY_H__ */