declare -a commands=() cmdline=() required_objects=() good=() bad=()
i=0
commands[$i]="help"
-cmdline[$i]="help"
-good[$i]='help ----'
+cmdline[$i]="help -l"
+good[$i]='help \{1,\}----'
let i++
commands[$i]="init"
let i++
commands[$i]="ls"
required_objects[$i]='ogg_afh'
-cmdline[$i]="ls -l=v -F ${oggs[@]}"
+cmdline[$i]="ls -l=v ${oggs[@]}"
good[$i]='^attributes_txt: 33'
let i++
missing_executables="$result"
if [[ -z "$missing_objects" && -z "$missing_executables" ]]; then
- ssh-keygen -q -t rsa -b 2048 -N "" -f $privkey
+ ssh-keygen -q -t rsa -b 2048 -N "" -m PEM -f $privkey
key_gen_result=$?
read &>/dev/null < /dev/tcp/localhost/$port