summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-19 18:11:30 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-09-27 16:58:34 (GMT)
commit13bf81ca0b8612dcbb6b1fc5f4fa770f1c1e5bb2 (patch)
tree28e93d2826d4ac53c503726d45ecccc4b0ffa552
parentcd855c9714684beb8f733f774453e76a2e25c1f9 (diff)
downloadmajor-13bf81ca0b8612dcbb6b1fc5f4fa770f1c1e5bb2.zip
major-13bf81ca0b8612dcbb6b1fc5f4fa770f1c1e5bb2.tar.gz
major-13bf81ca0b8612dcbb6b1fc5f4fa770f1c1e5bb2.tar.bz2
Do not add a newline to iserialrefs/changes/34/181834/1
Change-Id: Iad36eed63fe62ee515a033460b9e39890186dd8a
-rwxr-xr-xtct/prepare/prepare.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tct/prepare/prepare.sh b/tct/prepare/prepare.sh
index e4dd728..f005892 100755
--- a/tct/prepare/prepare.sh
+++ b/tct/prepare/prepare.sh
@@ -27,7 +27,7 @@ install_iserial() {
test -n "${ID}" || die "Missing argument: id!"
test -n "${IMAGE_MOUNTPOINT}" || die "Missing argument: image_mountpoint!"
- sudo sh -c "echo \"${ID}\" > \"${IMAGE_MOUNTPOINT}/etc/id\""
+ sudo sh -c "echo -n \"${ID}\" > \"${IMAGE_MOUNTPOINT}/etc/id\""
sudo cp "${TESTLAB_SCRIPTS}/prepare/iserial.service" \
"${IMAGE_MOUNTPOINT}/usr/lib/systemd/system/"
@@ -43,7 +43,7 @@ install_iserial_artik() {
test -n "${ID}" || die "Missing argument: id!"
test -n "${IMAGE_MOUNTPOINT}" || die "Missing argument: image_mountpoint!"
- sudo sh -c "echo \"${ID}\" > \"${IMAGE_MOUNTPOINT}/etc/id\""
+ sudo sh -c "echo -n \"${ID}\" > \"${IMAGE_MOUNTPOINT}/etc/id\""
sudo cp "${TESTLAB_SCRIPTS}/prepare/direct_set_debug.sh" "${IMAGE_MOUNTPOINT}/usr/bin/"
sudo cp "${TESTLAB_SCRIPTS}/prepare/sdb-prestart.timer" "${TESTLAB_SCRIPTS}/prepare/sdb-prestart.service" \