freechat/server/tests/common.sh

23 lines
719 B
Bash

#!/bin/sh
# Details for our bs user when testing things
# raw from `-c same` flag
# {"id":5,"secret":"JYFKgDOgEAn2vJISwRSkRKn3kNE2EQD0dTFOG24UipQ9kQfBOura06PYf-hYGdFbCNeDJy2LxLu-9N13S8Auaw==","name":"adminsama","joindate":1596865071,"status":0,"permissions":18446744073709551615}
export id=5
export secret='JYFKgDOgEAn2vJISwRSkRKn3kNE2EQD0dTFOG24UipQ9kQfBOura06PYf-hYGdFbCNeDJy2LxLu-9N13S8Auaw=='
export name='adminsama'
export joindate='1596865071'
export status=0
export permissions='18446744073709551615'
export simple_key='{"secret":"'"$secret"'","id":'$id'}'
export url='localhost:8888'
export GET='-X GET'
export POST='-X POST'
export arrows='>>>>>'
export line='============='
export crl='curl --silent -i'