[27118] in Source-Commits
/svn/athena r25957 - trunk/athena/bin/hostinfo
daemon@ATHENA.MIT.EDU (Victor Vasiliev)
Sat Apr 27 16:03:59 2013
Date: Sat, 27 Apr 2013 16:03:52 -0400
From: Victor Vasiliev <vasilvv@MIT.EDU>
Message-Id: <201304272003.r3RK3qrA013801@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: vasilvv
Date: 2013-04-27 16:03:52 -0400 (Sat, 27 Apr 2013)
New Revision: 25957
Modified:
trunk/athena/bin/hostinfo/regress.sh
Log:
Fix the regression test script
Modified: trunk/athena/bin/hostinfo/regress.sh
===================================================================
--- trunk/athena/bin/hostinfo/regress.sh 2013-04-27 19:44:39 UTC (rev 25956)
+++ trunk/athena/bin/hostinfo/regress.sh 2013-04-27 20:03:52 UTC (rev 25957)
@@ -14,13 +14,13 @@
$1 | sort | tr '\012' ' ' | sed -e 's/ $//'
}
-check "bitsy's host address" 18.72.0.3 "`$SRCDIR/hostinfo.pl -a bitsy 2>&1`"
-check "18.71.0.151's name" STRAWB.MIT.EDU. "`$SRCDIR/hostinfo.pl -h 18.71.0.151 2>&1`"
-check "ls's hostinfo" "\"DEC/VAXSTATION-3100\"/\"UNIX\"" "`$SRCDIR/hostinfo.pl -i ls 2>&1`"
-check "alum's MX record" alum.mit.edu. "`$SRCDIR/hostinfo.pl -m alum.mit.edu 2>&1`"
+check "bitsy's host address" 18.72.0.3 "`$SRCDIR/hostinfo -a bitsy 2>&1`"
+check "18.71.0.151's name" STRAWB.MIT.EDU. "`$SRCDIR/hostinfo -h 18.71.0.151 2>&1`"
+check "ls's hostinfo" "\"DEC/VAXSTATION-3100\"/\"UNIX\"" "`$SRCDIR/hostinfo -i ls 2>&1`"
+check "alum's MX record" alum.mit.edu. "`$SRCDIR/hostinfo -m alum.mit.edu 2>&1`"
-athmx=`gather "$SRCDIR/hostinfo.pl -m athena"`
-outmx=`gather "$SRCDIR/hostinfo.pl -m outgoing"`
+athmx=`gather "$SRCDIR/hostinfo -m athena"`
+outmx=`gather "$SRCDIR/hostinfo -m outgoing"`
check "athena's MX records match outgoing's MX records" "$athmx" "$outmx"
echo "Regression tests passed."