<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 9: Redefine msg_1 to prevent fail</title><link href="https://sourceforge.net/p/audit-test/patches/9/" rel="alternate"/><link href="https://sourceforge.net/p/audit-test/patches/9/feed.atom" rel="self"/><id>https://sourceforge.net/p/audit-test/patches/9/</id><updated>2009-05-27T04:14:29Z</updated><subtitle>Recent changes to 9: Redefine msg_1 to prevent fail</subtitle><entry><title>Redefine msg_1 to prevent fail</title><link href="https://sourceforge.net/p/audit-test/patches/9/" rel="alternate"/><published>2009-05-27T04:14:29Z</published><updated>2009-05-27T04:14:29Z</updated><author><name>sunss</name><uri>https://sourceforge.net/u/sunss/</uri></author><id>https://sourceforge.neta4188a6a04342892892b2af57faffe1e331d21e0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In test_vsftpd.bash, the msg_1 is defined as follow:&lt;/p&gt;
&lt;p&gt;msg_1="acct=\"*$TEST_USER\"* : exe=./usr/sbin/vsftp.*hostname=localhost.*, addr=127.0.0.1, terminal=ftp res=success.*"&lt;br /&gt;
Which will cause test failure if the hostname is not “localhost”.&lt;/p&gt;
&lt;p&gt;For we are already searching on the IP address itself so searching on the hostname is almost certainly redundant, &lt;br /&gt;
I suggest changing "msg1" to something like this:&lt;br /&gt;
"acct=\"*$TEST_USER\"* : exe=./usr/sbin/vsftp.*, addr=127.0.0.1, terminal=ftp res=success.*"&lt;br /&gt;
And then verifying that everything still works as expected.&lt;/p&gt;
&lt;p&gt;There is the same problem in test_vsftpd_fail.bash.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>