Make a zttest of 20 seconds part of the autosupport script (issue #7752 reported by kshumard)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-08-18 19:22:33 +00:00
parent 749cd217c3
commit 590591c16e

View File

@@ -22,6 +22,7 @@ fi
echo echo
echo "This will gather information about your system such as:" echo "This will gather information about your system such as:"
echo "pci listing, dmesg, running processes, and kernel version" echo "pci listing, dmesg, running processes, and kernel version"
echo "This may take up to half a minute to run. Please be patient."
echo "To continue press 'y', to quit press any other key" echo "To continue press 'y', to quit press any other key"
read ans read ans
@@ -100,6 +101,13 @@ if [ "$ans" = "y" ]; then
echo >> $OUTPUT; echo >> $OUTPUT;
echo >> $OUTPUT; echo >> $OUTPUT;
echo "------------------" >> $OUTPUT;
echo "ZTTEST" >> $OUTPUT;
echo "------------------" >> $OUTPUT;
/usr/src/zaptel/zttest -c 20 >> $OUTPUT;
echo >> $OUTPUT;
echo >> $OUTPUT;
else else
echo "terminated"; echo "terminated";
exit exit