lttng: Fix test when in the presence of long workspace path
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Sat, 22 Oct 2016 05:08:13 +0000 (01:08 -0400)
committerMarc-André Laperle <marc-andre.laperle@ericsson.com>
Thu, 3 Nov 2016 18:48:55 +0000 (14:48 -0400)
LTTngServiceMiTest validated against the old MI XSD which doesn't
allow sessions paths longer than 255 characters. When the workspace
of the test is too long, this fails. The test doesn't really need
a variable and can be hard-coded to any path. So this patch removes
the use of the workspace variable for this case.

See also bug 490557.

Change-Id: I382da2449c485e828c62d4ef73e3baf75e438374
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/83737
Reviewed-by: Hudson CI
Reviewed-by: Jonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg

index 972a5b5e383c2857dfddbec60edb6a5f940acd80..19a812708cbcbf4a83a3d20b43009b03725279fb 100644 (file)
@@ -2424,7 +2424,7 @@ lttng --mi xml list mysession
     <sessions>
       <session>
         <name>mysession</name>
-        <path>${workspace}/lttng-traces/mysession-20160801-150625</path>
+        <path>/home/user/lttng-traces/mysession-20160801-150625</path>
         <enabled>false</enabled>
         <snapshot_mode>0</snapshot_mode>
         <live_timer_interval>0</live_timer_interval>
@@ -2613,7 +2613,7 @@ lttng --mi xml list mysession
     <sessions>
       <session>
         <name>mysession</name>
-        <path>${workspace}/lttng-traces/mysession-20160808-130831</path>
+        <path>/home/user/lttng-traces/mysession-20160808-130831</path>
         <enabled>false</enabled>
         <snapshot_mode>0</snapshot_mode>
         <live_timer_interval>0</live_timer_interval>
@@ -2818,7 +2818,7 @@ lttng --mi xml list mysession
     <sessions>
       <session>
         <name>mysession</name>
-        <path>${workspace}/lttng-traces/mysession-20160811-113341</path>
+        <path>/home/user/lttng-traces/mysession-20160811-113341</path>
         <enabled>false</enabled>
         <snapshot_mode>0</snapshot_mode>
         <live_timer_interval>0</live_timer_interval>
@@ -2942,7 +2942,7 @@ lttng --mi xml list mysession2
         <sessions>
             <session>
                 <name>mysession2</name>
-                <path>${workspace}/lttng-traces/mysession2-20160621-125643</path>
+                <path>/home/user/lttng-traces/mysession2-20160621-125643</path>
                 <enabled>false</enabled>
                 <snapshot_mode>0</snapshot_mode>
                 <live_timer_interval>0</live_timer_interval>
@@ -3025,7 +3025,7 @@ lttng --mi xml list mysession2
         <sessions>
             <session>
                 <name>mysession2</name>
-                <path>${workspace}/lttng-traces/mysession2-20160621-125933</path>
+                <path>/home/user/lttng-traces/mysession2-20160621-125933</path>
                 <enabled>false</enabled>
                 <snapshot_mode>0</snapshot_mode>
                 <live_timer_interval>0</live_timer_interval>
@@ -3108,7 +3108,7 @@ lttng --mi xml list mysession2
         <sessions>
             <session>
                 <name>mysession2</name>
-                <path>${workspace}/lttng-traces/mysession2-20160630-171241</path>
+                <path>/home/user/lttng-traces/mysession2-20160630-171241</path>
                 <enabled>false</enabled>
                 <snapshot_mode>0</snapshot_mode>
                 <live_timer_interval>0</live_timer_interval>
This page took 0.026894 seconds and 5 git commands to generate.