Sha256: 7e01e4a8afe8c8971103c5aec837ca1fe06885110cc0e0523e2d9ddc997919e4

Contents?: true

Size: 1.69 KB

Versions: 13

Compression:

Stored size: 1.69 KB

Contents

Feature: EPRT

  As a programmer
  I want good error messages
  So that I can correct problems

  Background:
    Given the test server is bound to "::"
    Given the test server is started

  Scenario: Port 1024
    Given a successful login
    Then the client successfully sends "EPRT |1|1.2.3.4|1024|"

  Scenario: Port 1023; low ports disallowed
    Given the test server disallows low data ports
    And a successful login
    When the client sends "EPRT |1|2.3.4.3|255|"
    Then the server returns an unimplemented parameter error

  Scenario: Port out of range
    Given a successful login
    When the client sends "EPRT |1|2.3.4.5|65536|"
    Then the server returns an unimplemented parameter error

  Scenario: Port 1023; low ports allowed
    Given the test server allows low data ports
    And a successful login
    Then the client successfully sends "EPRT |1|2.3.4.3|255|"

  Scenario: Not logged in
    Given a successful connection
    When the client sends "EPRT |1|2.3.4.5|6|"
    Then the server returns a not logged in error

  Scenario: Too few parts
    Given a successful login
    When the client sends "EPRT |1|2.3.4|"
    Then the server returns a syntax error

  Scenario: Too many parts
    Given a successful login
    When the client sends "EPRT |1|2.3.4|5|6|"
    Then the server returns a syntax error

  Scenario: Unknown network protocol
    Given a successful login
    When the client sends "EPRT |3|2.3.4.5|6|"
    Then the server returns a network protocol not supported error

  Scenario: After "EPSV ALL"
    Given a successful login
    Given the client successfully sends "EPSV ALL"
    When the client sends "EPRT |1|2.3.4.5|6|"
    Then the server sends a not allowed after epsv all error

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
ftpd-1.1.1 features/ftp_server/eprt.feature
ftpd-1.1.0 features/ftp_server/eprt.feature
investtools-ftpd-1.0.1 features/ftp_server/eprt.feature
ftpd-1.0.1 features/ftp_server/eprt.feature
ftpd-1.0.0 features/ftp_server/eprt.feature
ftpd-0.17.0 features/ftp_server/eprt.feature
ftpd-0.16.0 features/ftp_server/eprt.feature
ftpd-0.15.0 features/ftp_server/eprt.feature
ftpd-0.14.0 features/ftp_server/eprt.feature
ftpd-0.13.0 features/ftp_server/eprt.feature
ftpd-0.12.0 features/ftp_server/eprt.feature
ftpd-0.11.0 features/ftp_server/eprt.feature
ftpd-0.10.0 features/ftp_server/eprt.feature