From 30fea6800937fcf22cd9f24f85b51c8f35c7151e Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 18 Mar 2014 01:51:00 +0000 Subject: [PATCH] Archive tempest.conf safely as tempest_conf.txt * functions.sh(cleanup_host): Instead of renaming tempest.conf to tempest.conf.txt and then immediately deleting it because it matches the *.*.txt glob, use tempest_conf.txt instead. Change-Id: I255a7472ce07b1fedfd15a50fa8d80a24a79f368 --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 8653a906..0528baec 100644 --- a/functions.sh +++ b/functions.sh @@ -404,7 +404,7 @@ function cleanup_host { sudo cp $BASE/old/screen-logs/* $BASE/logs/old/ sudo cp $BASE/old/devstacklog.txt $BASE/logs/old/ sudo cp $BASE/old/devstack/localrc $BASE/logs/old/localrc.txt - sudo cp $BASE/old/tempest/etc/tempest.conf $BASE/logs/old/tempest.conf.txt + sudo cp $BASE/old/tempest/etc/tempest.conf $BASE/logs/old/tempest_conf.txt sudo cp $BASE/new/grenade/localrc $BASE/logs/grenade/localrc.txt NEWLOGTARGET=$BASE/logs/new else @@ -415,7 +415,7 @@ function cleanup_host { sudo cp $BASE/new/devstack/localrc $NEWLOGTARGET/localrc.txt # Copy tempest config file - sudo cp $BASE/new/tempest/etc/tempest.conf $NEWLOGTARGET/tempest.conf.txt + sudo cp $BASE/new/tempest/etc/tempest.conf $NEWLOGTARGET/tempest_conf.txt sudo iptables-save > $WORKSPACE/iptables.txt df -h > $WORKSPACE/df.txt