summaryrefslogtreecommitdiff
path: root/ubuntu/scripts
diff options
context:
space:
mode:
authormahanthgouda <mahanth.gouda@linaro.org>2015-03-09 17:53:07 +0000
committermahanthgouda <mahanth.gouda@linaro.org>2015-03-09 17:58:53 +0000
commit1e716d49c7c898f46273bfa83f0ae0281a568fe0 (patch)
tree10db07d652ab077de538885a499f07e53461004c /ubuntu/scripts
parentad2dac846b9d9372b03817538f4da71cfbf94c2d (diff)
gator-streaming-test: Added support for Open embedded
Change-Id: Ib9cf6141664dcff9ff7e03214d345e200ecc1fe2 Signed-off-by: mahanthgouda <mahanth.gouda@linaro.org>
Diffstat (limited to 'ubuntu/scripts')
-rwxr-xr-xubuntu/scripts/gator-data-streaming-ubuntu.sh7
1 files changed, 5 insertions, 2 deletions
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