diff tests/test-mq-qqueue.out @ 11271:d1aca0863a9d

mq: prevent the creation of a queue whose name is already taken Each check is moved under the code handling the relevant option, and a new one is added for --create. This fixes duplicated entries being added to the queues list.
author Cédric Duval <cedricduval@free.fr>
date Thu, 03 Jun 2010 20:40:23 +0200
parents 457813cb3024
children e8a66a40474d
line wrap: on
line diff
--- a/tests/test-mq-qqueue.out	Wed Jun 02 19:39:45 2010 +0200
+++ b/tests/test-mq-qqueue.out	Thu Jun 03 20:40:23 2010 +0200
@@ -12,6 +12,10 @@
 %% switch queue
 foo (active)
 patches
+%% fail creating queue with already existing name
+abort: queue "foo" already exists
+foo (active)
+patches
 %% unapplied patches
 %% fail switching back
 abort: patches applied - cannot set new queue active