changeset 47:36d158a50c8a

fixes script for creating test accounts
author souliane <souliane@mailoo.org>
date Sun, 07 Jun 2015 13:52:08 +0200
parents 2b82a4eb40a6
children 358a4fc0e091
files scripts/test_accounts/create_accounts.sh scripts/test_accounts/data/tazar%2eint/accounts/pierre.dat
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/test_accounts/create_accounts.sh	Thu May 28 01:41:42 2015 +0200
+++ b/scripts/test_accounts/create_accounts.sh	Sun Jun 07 13:52:08 2015 +0200
@@ -18,9 +18,9 @@
         echo -n Creating account for $JID...
         if [[ $LIST =~ $USER ]]; then
             echo -n removing existing account first...
-            #jp profile delete $USER
+            jp profile delete $USER
         fi
-        echo jp profile create $USER $JID $PASSWD
+        jp profile create $USER -j $JID -p $PASSWD
         echo OK
     done
 done
--- a/scripts/test_accounts/data/tazar%2eint/accounts/pierre.dat	Thu May 28 01:41:42 2015 +0200
+++ b/scripts/test_accounts/data/tazar%2eint/accounts/pierre.dat	Sun Jun 07 13:52:08 2015 +0200
@@ -1,3 +1,3 @@
 return {
-	["password"] = "x";
+	["password"] = "xxxxxx";
 };