summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/package/copy-sample-script-to-target.sh
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/package/copy-sample-script-to-target.sh')
-rwxr-xr-xsupport/testing/tests/package/copy-sample-script-to-target.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/support/testing/tests/package/copy-sample-script-to-target.sh b/support/testing/tests/package/copy-sample-script-to-target.sh
new file mode 100755
index 0000000000..6448a80d6d
--- /dev/null
+++ b/support/testing/tests/package/copy-sample-script-to-target.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+shift
+for file in "$@"; do
+ cp -f "${file}" "${TARGET_DIR}/root/"
+done
OpenPOWER on IntegriCloud