Last active
November 28, 2017 13:42
-
-
Save ldrahnik/48b558291640c937487808db0ec5178f to your computer and use it in GitHub Desktop.
Anee (https://github.com/anee/anee) - create test users.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example of usage: | |
// bash create_test_users.sh 50 | |
#!/bin/bash | |
for i in `seq 1 $1`; | |
do | |
php www/index.php app:add-user TEST_$i unknown_$i unknown_$i TEST_$i@fake.test.email.cz foobar user 2>/dev/null | |
if (( $? != 0 )); then | |
echo 'damn, there was an error' | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment