aboutsummaryrefslogtreecommitdiff
path: root/tests/libwallet_api_tests/scripts
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-07-10 17:17:23 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-07-18 23:02:47 +0300
commit9d2cb4f36ca7220bb05217547b72710b870f6e57 (patch)
treee0ced3eede4406ef4f4a020c0dbc09764c2cc62e /tests/libwallet_api_tests/scripts
parenthack to successfull linking for MSYS2 (diff)
downloadmonero-9d2cb4f36ca7220bb05217547b72710b870f6e57.tar.xz
WalletListener functionality
Diffstat (limited to 'tests/libwallet_api_tests/scripts')
-rwxr-xr-xtests/libwallet_api_tests/scripts/send_funds.sh24
1 files changed, 18 insertions, 6 deletions
diff --git a/tests/libwallet_api_tests/scripts/send_funds.sh b/tests/libwallet_api_tests/scripts/send_funds.sh
index 306b06a40..437e4f240 100755
--- a/tests/libwallet_api_tests/scripts/send_funds.sh
+++ b/tests/libwallet_api_tests/scripts/send_funds.sh
@@ -12,11 +12,23 @@ function send_funds {
}
-send_funds 100 wallet_01.bin
-send_funds 100 wallet_02.bin
-send_funds 100 wallet_03.bin
-send_funds 100 wallet_04.bin
-send_funds 100 wallet_05.bin
-send_funds 100 wallet_06.bin
+function seed_wallets {
+ local amount=$1
+ send_funds $amount wallet_01.bin
+ send_funds $amount wallet_02.bin
+ send_funds $amount wallet_03.bin
+ send_funds $amount wallet_04.bin
+ send_funds $amount wallet_05.bin
+ send_funds $amount wallet_06.bin
+}
+
+seed_wallets 1
+seed_wallets 2
+seed_wallets 5
+seed_wallets 10
+seed_wallets 20
+seed_wallets 50
+seed_wallets 100
+