From 675b54dbe79c8c78e21ff1486c55125041a0e95b Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Wed, 28 Oct 2015 10:48:50 +0000
Subject: [PATCH] Task #8571: The three python tests in LCS/Messaging need a
 login shell, otherwise the files in /etc/profile.d/ are not sourced and
 qpid-config cannot be found.

---
 LCS/Messaging/python/messaging/test/t_RPC.run        | 2 +-
 LCS/Messaging/python/messaging/test/t_messagebus.run | 2 +-
 LCS/Messaging/python/messaging/test/t_messages.run   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/LCS/Messaging/python/messaging/test/t_RPC.run b/LCS/Messaging/python/messaging/test/t_RPC.run
index 425d6e58047..ad5c9282acd 100755
--- a/LCS/Messaging/python/messaging/test/t_RPC.run
+++ b/LCS/Messaging/python/messaging/test/t_RPC.run
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -le
 
 #cleanup on normal exit and on SIGHUP, SIGINT, SIGQUIT, and SIGTERM
 trap 'qpid-config del exchange --force $queue' 0 1 2 3 15
diff --git a/LCS/Messaging/python/messaging/test/t_messagebus.run b/LCS/Messaging/python/messaging/test/t_messagebus.run
index a4f60936f26..9052e1a5742 100755
--- a/LCS/Messaging/python/messaging/test/t_messagebus.run
+++ b/LCS/Messaging/python/messaging/test/t_messagebus.run
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -le
 
 # Cleanup on normal exit and on SIGHUP, SIGINT, SIGQUIT, and SIGTERM
 trap 'qpid-config del queue --force $queue' 0 1 2 3 15
diff --git a/LCS/Messaging/python/messaging/test/t_messages.run b/LCS/Messaging/python/messaging/test/t_messages.run
index b38b2b90bbc..e290aa1dff2 100755
--- a/LCS/Messaging/python/messaging/test/t_messages.run
+++ b/LCS/Messaging/python/messaging/test/t_messages.run
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -le
 
 # Run the unit test
 # either with or without code coverage measurements,
-- 
GitLab