diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 14:58:23 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 14:58:23 +0100 |
commit | ec883905c13920de0bc33e5bdd0a75c80535b55c (patch) | |
tree | 20d136261457dc65b3f219e7a8508e2d4e78bf19 /tests/diag.sh | |
parent | 7e1060295a63242bc22394b6873de6e6db2b4765 (diff) | |
download | rsyslog-ec883905c13920de0bc33e5bdd0a75c80535b55c.tar.gz rsyslog-ec883905c13920de0bc33e5bdd0a75c80535b55c.tar.xz rsyslog-ec883905c13920de0bc33e5bdd0a75c80535b55c.zip |
testbench improved to run on Solaris
Diffstat (limited to 'tests/diag.sh')
-rwxr-xr-x | tests/diag.sh | 7 |
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 |