diff options
| author | Stephen D. Huston <shuston@apache.org> | 2010-03-05 00:09:25 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2010-03-05 00:09:25 +0000 |
| commit | 15e8a1cee6d649fbe207f46211d551944714fc28 (patch) | |
| tree | c836e6ef6680876c1bdc57128c58ae9a91abdbd9 /qpid/cpp/src/tests/quick_topictest.ps1 | |
| parent | 3b9d2adf47b03b9b7c1888fc99507f1743d0fe56 (diff) | |
| download | qpid-python-15e8a1cee6d649fbe207f46211d551944714fc28.tar.gz | |
Fix to run topictest correctly on Windows.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919240 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/quick_topictest.ps1')
| -rw-r--r-- | qpid/cpp/src/tests/quick_topictest.ps1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/quick_topictest.ps1 b/qpid/cpp/src/tests/quick_topictest.ps1 index b2efbdd684..8f5b2caff7 100644 --- a/qpid/cpp/src/tests/quick_topictest.ps1 +++ b/qpid/cpp/src/tests/quick_topictest.ps1 @@ -20,11 +20,11 @@ # Quick and quiet topic test for make check. [string]$me = $myInvocation.InvocationName $srcdir = Split-Path $me -& "$srcdir\topictest.ps1" -subscribers 2 -messages 2 -batches 1 > topictest.log 2>&1 +Invoke-Expression "$srcdir\topictest.ps1 -subscribers 2 -messages 2 -batches 1" > topictest.log 2>&1 if (!$?) { "$me FAILED:" cat topictest.log - exit $LastExitCode + exit 1 } Remove-Item topictest.log exit 0 |
