Sha256: 4615664e14723f7aeb33bd3a04515c96ca95f02671072b2d223eb840b7c7e1d2

Contents?: true

Size: 1.62 KB

Versions: 14

Compression:

Stored size: 1.62 KB

Contents

Feature: MDTM

  As a client
  I want to get a file's modification time
  So that I can detect when it changes

  Background:
    Given the test server is started

  Scenario: File in current directory
    Given a successful login
    And the server has file "ascii_unix"
    And the file "ascii_unix" has mtime "2014-01-02 13:14:15.123456"
    When the client successfully gets mtime of "ascii_unix"
    Then the reported mtime should be "20140102131415"

  Scenario: File in subdirectory
    Given a successful login
    And the server has file "foo/ascii_unix"
    Then the client successfully gets mtime of "foo/ascii_unix"

  Scenario: Non-root working directory
    Given a successful login
    And the server has file "foo/ascii_unix"
    And the client successfully cd's to "foo"
    Then the client successfully gets mtime of "ascii_unix"

  Scenario: Access denied
    Given a successful login
    When the client gets mtime of "forbidden"
    Then the server returns an access denied error

  Scenario: Missing file
    Given a successful login
    When the client gets mtime of "foo"
    Then the server returns a not found error

  Scenario: Not logged in
    Given a successful connection
    When the client gets mtime of "foo"
    Then the server returns a not logged in error

  Scenario: Missing path
    Given a successful login
    When the client gets mtime with no path
    Then the server returns a syntax error

  Scenario: List not enabled
    Given the test server lacks list
    And a successful login
    And the server has file "foo"
    When the client gets mtime of "foo"
    Then the server returns an unimplemented command error

Version data entries

14 entries across 14 versions & 2 rubygems

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