contrib/testcmds.fish: use base64 instead of xxd

more widely available command
This commit is contained in:
violet 2023-06-14 21:36:20 -04:00
parent b525f09487
commit 38ab542695
Signed by: violet
GPG Key ID: BF9B12866FAB98C8

View File

@ -32,7 +32,7 @@ function sachet_upload -d "uploads a file"
set URL (http --session=$_flag_session post $BASENAME/files file_name=$FNAME | tee /dev/tty | jq -r .url)
http --session=$_flag_session -f post $BASENAME/$URL/content \
upload@$argv \
dzuuid=(cat /dev/urandom | xxd -ps | head -c 32) \
dzuuid=(cat /dev/urandom | base64 | head -c 32) \
dzchunkindex=0 \
dztotalchunks=1
end