summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ubuntu/gator-data-streaming-ubuntu.yaml2
-rwxr-xr-xubuntu/scripts/gator-data-streaming-ubuntu.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/ubuntu/gator-data-streaming-ubuntu.yaml b/ubuntu/gator-data-streaming-ubuntu.yaml
index 57432ce..05534a0 100644
--- a/ubuntu/gator-data-streaming-ubuntu.yaml
+++ b/ubuntu/gator-data-streaming-ubuntu.yaml
@@ -7,8 +7,10 @@ metadata:
depending upon output of this command."
maintainer:
- botao.sun@linaro.org
+ - mahanth.gouda@linaro.org
os:
- ubuntu
+ - openembedded
scope:
- functional
devices:
diff --git a/ubuntu/scripts/gator-data-streaming-ubuntu.sh b/ubuntu/scripts/gator-data-streaming-ubuntu.sh
index 913a727..542b925 100755
--- a/ubuntu/scripts/gator-data-streaming-ubuntu.sh
+++ b/ubuntu/scripts/gator-data-streaming-ubuntu.sh
@@ -22,9 +22,12 @@
. include/sh-test-lib
+# Creating a new directory called gator_files under tmp so that it can be uniformly used for both Ubuntu and OE instead of using root for session.xml file
+mkdir -p /tmp/gator_files
+
# Location of XML template and data streaming result folder
-xml_template="/root/session.xml"
-data_streaming_result="/root/linaro-ubuntu-gator-data-streaming.apc"
+xml_template="/tmp/gator_files/session.xml"
+data_streaming_result="/tmp/gator_files/linaro-ubuntu-gator-data-streaming.apc"
# Create sample XML file as a template
echo "<?xml version=\"1.0\" encoding=\"US-ASCII\" ?> " > $xml_template