[PATCH] Small fix to test-it.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Very minor issue but correct me if i'm wrong...

---
 test/test-it.sh |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/test/test-it.sh b/test/test-it.sh
index b3dfb22..b0a1e89 100755
--- a/test/test-it.sh
+++ b/test/test-it.sh
@@ -50,7 +50,7 @@ show_config()
     echo "BUILD=$BUILD"
     echo "BUILD_FROM_FRESH_CHECKOUT=$BUILD_FROM_FRESH_CHECKOUT"
     echo "INSTALL_VIA_RPMS=$INSTALL_VIA_RPMS"
-    echo "BACKUP_FUNC_PKL=$BACKUP_FUNC_PKI"
+    echo "BACKUP_FUNC_PKI=$BACKUP_FUNC_PKI"
     echo "RUN_UNITTESTS=$RUN_UNITTESTS"
 
 }
@@ -219,16 +219,15 @@ backup_the_secret_of_the_func()
 	# whatever, this should probably be some standard date format
 	# but I just wanted something sans spaces
 	DATE=`date  "+%F_%R"`
-	tar -c /etc/pki/func/*  /var/lib/func/* > func-pki-backup-$DATE.tar
-	
+	tar -c /etc/pki/func/* /var/lib/certmaster/* > func-pki-backup-$DATE.tar
 }
 
 #yes, I'm in a funny variable naming mood, I'll change them
 #later
 no_more_secrets()
 {
-	rm -rf /etc/pki/func/*
-	rm -rf /var/lib/func/certmaster/*
+    rm -rf /etc/pki/certmaster/*
+    rm -rf /var/lib/certmaster/*
 }
 
 find_certmaster_certs()
-- 
1.5.4.1

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux