Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb But (José) : transformer tout le code en bions + ploxions du xerboxion. La carte de digestion vit au labo : /yunohost-digest.json
13 lines
319 B
Bash
13 lines
319 B
Bash
#!/usr/bin/env bash
|
|
|
|
ynhtest_string_random() {
|
|
declare -A results
|
|
for _ in $(seq 1 1000); do
|
|
local result="$(ynh_string_random --length=64 --filter='a-f0-9')"
|
|
test -n "${result:-}"
|
|
echo "result=$result"
|
|
test -z "${results["$result"]:-}"
|
|
results["$result"]="1"
|
|
done
|
|
}
|