Files
yunohost/tests/test_helpers.v2.1.d/ynhtest_string.sh
machine-a-tsoins edb4c397df
Some checks failed
Check for new n releases / updater (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
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
2026-07-03 17:20:06 +00:00

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
}