From 9c3fc8ff63b5e448920819cffc6d6d4a6ebf2fa0 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 5 Jul 2005 21:31:00 +0000 Subject: [PATCH] Need to get values from netstat "unresolved" because the port numbers returned are used in numerical comparisons. --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a1447f7..9b2d862 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2471,7 +2471,7 @@ test_99f() { run_test 99f "cvs commit =======================================" test_100() { - netstat -ta | while read PROT SND RCV LOCAL REMOTE STAT; do + netstat -tan | while read PROT SND RCV LOCAL REMOTE STAT; do LPORT=`echo $LOCAL | cut -d: -f2` RPORT=`echo $REMOTE | cut -d: -f2` if [ "$PROT" = "tcp" ] && [ "$LPORT" != "*" ] && [ "$RPORT" != "*" ] && [ $RPORT -eq 988 ] && [ $LPORT -gt 1024 ]; then -- 1.8.3.1