allow user in passwd state for test 280 to work (--ftp-alternative-to-user)
authorDaniel Stenberg <daniel@haxx.se>
Sun, 24 Sep 2006 10:30:02 +0000 (10:30 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 24 Sep 2006 10:30:02 +0000 (10:30 +0000)
tests/ftpserver.pl

index f9c1a9d..5abda5e 100644 (file)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -200,7 +200,7 @@ sub senddata {
 
 # USER is ok in fresh state
 my %commandok = (
-                 'USER' => 'fresh',
+                 'USER' => 'fresh|passwd',
                  'PASS' => 'passwd',
                  'PASV' => 'loggedin|twosock',
                  'EPSV' => 'loggedin|twosock',