From a49d013174c722d3851d9f148f1cd7c42cb7d54d Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 26 May 2016 09:26:09 +0100 Subject: [PATCH] server/tests.at: Preserve output in `server communication' tests. Organization: Straylight/Edgeware From: Mark Wooding The test runs with multiple sets of party keys, and used to delete the party directories before each run, leaving only the output from the last. Instead, rename the party directories when we're done. (I'd just create the directories with the right names in advance, but the script uses the directory names as parts of shell variable names, and I don't want to make the directory names ugly to allow that.) --- server/tests.at | 1 + 1 file changed, 1 insertion(+) diff --git a/server/tests.at b/server/tests.at index f47aae48..4311a434 100644 --- a/server/tests.at +++ b/server/tests.at @@ -391,6 +391,7 @@ for k in alpha beta-new; do ESTABLISH([alice], [not-alice], [-key alice], [bob], [bob], []) ]) + for p in alice bob; do rm -rf $p.$k; mv $p $p.$k; done done AT_CLEANUP -- [mdw]