summaryrefslogtreecommitdiffstats
path: root/tests/diag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-xtests/diag.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/diag.sh b/tests/diag.sh
index 173219da..383cd818 100755
--- a/tests/diag.sh
+++ b/tests/diag.sh
@@ -128,5 +128,12 @@ case $1 in
exit 1
fi
;;
+ 'setzcat') # find out name of zcat tool
+ if [ `uname` == SunOS ]; then
+ ZCAT=gzcat
+ else
+ ZCAT=zcat
+ fi
+ ;;
*) echo "invalid argument" $1
esac