diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-27 16:41:19 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-02-27 16:41:19 +0100 |
commit | 30b7895b99f2fe71697f53a91105b42bb93640ae (patch) | |
tree | 2edbc0399d867efa6042fe3e6c9ac4ed5b5855ad /libk8055/test | |
parent | 00d881fb3b891a84d3f412ee3370e629a8ce9bf8 (diff) | |
download | k8055-30b7895b99f2fe71697f53a91105b42bb93640ae.zip k8055-30b7895b99f2fe71697f53a91105b42bb93640ae.tar.gz |
update libk8055/test
Diffstat (limited to 'libk8055/test')
-rwxr-xr-x | libk8055/test | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libk8055/test b/libk8055/test index bb46807..355fd45 100755 --- a/libk8055/test +++ b/libk8055/test @@ -1,4 +1,12 @@ #! /bin/bash +if [ -x ./k8055 ]; then + K8055=./k8055 +elif [ -x ./build/libk8055/k8055 ]; then + K8055=./build/libk8055/k8055 +else + echo "unable to find k8055 binary" && exit 1 +fi cpt=0 -while [ $cpt -lt 256 ]; do ./build/libk8055/k8055 -d:$cpt -a1:$cpt -a2:$cpt; ((cpt=cpt+1)); done -./build/libk8055/k8055 -d:0 -a1:0 -a2:0 +$K8055 -debug +while [ $cpt -lt 256 ]; do $K8055 -d:$cpt -a1:$cpt -a2:$cpt >/dev/null; ((cpt=cpt+1)); echo -n "."; done +echo "" && $K8055 -debug -d:0 -a1:0 -a2:0 |