add new section for testing commands
This commit is contained in:
parent
5848793d6b
commit
c03e1c5648
5 changed files with 20 additions and 8 deletions
|
@ -22,7 +22,7 @@ import Test.QuickCheck
|
|||
import Control.Concurrent
|
||||
|
||||
def :: [Command]
|
||||
def = [ notBareRepo $ command "fuzztest" paramNothing seek SectionPlumbing
|
||||
def = [ notBareRepo $ command "fuzztest" paramNothing seek SectionTesting
|
||||
"generates fuzz test files"]
|
||||
|
||||
seek :: CommandSeek
|
||||
|
|
|
@ -13,7 +13,7 @@ import Messages
|
|||
|
||||
def :: [Command]
|
||||
def = [ noRepo startIO $ dontCheck repoExists $
|
||||
command "test" paramNothing seek SectionPlumbing
|
||||
command "test" paramNothing seek SectionTesting
|
||||
"run built-in test suite"]
|
||||
|
||||
seek :: CommandSeek
|
||||
|
|
|
@ -69,6 +69,7 @@ data CommandSection
|
|||
| SectionMetaData
|
||||
| SectionUtility
|
||||
| SectionPlumbing
|
||||
| SectionTesting
|
||||
deriving (Eq, Ord, Enum, Bounded)
|
||||
|
||||
descSection :: CommandSection -> String
|
||||
|
@ -79,3 +80,4 @@ descSection SectionQuery = "Query commands"
|
|||
descSection SectionMetaData = "Metadata commands"
|
||||
descSection SectionUtility = "Utility commands"
|
||||
descSection SectionPlumbing = "Plumbing commands"
|
||||
descSection SectionTesting = "Testing commands"
|
||||
|
|
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -15,6 +15,7 @@ git-annex (5.20140718) UNRELEASED; urgency=medium
|
|||
were incompletely repaired before.
|
||||
* Fix cost calculation for non-encrypted remotes.
|
||||
* WebDAV: Dropped support for DAV before 0.6.1.
|
||||
* testremote: New command.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 21 Jul 2014 14:41:26 -0400
|
||||
|
||||
|
|
|
@ -949,12 +949,6 @@ subdirectories).
|
|||
Merge conflicts between two files that are not annexed will not be
|
||||
automatically resolved.
|
||||
|
||||
* `test`
|
||||
|
||||
This runs git-annex's built-in test suite.
|
||||
|
||||
There are several parameters, provided by Haskell's tasty test framework.
|
||||
|
||||
* `remotedaemon`
|
||||
|
||||
Detects when network remotes have received git pushes and fetches from them.
|
||||
|
@ -963,6 +957,21 @@ subdirectories).
|
|||
|
||||
This command is used internally to perform git pulls over XMPP.
|
||||
|
||||
# TESTING COMMANDS
|
||||
|
||||
* `test`
|
||||
|
||||
This runs git-annex's built-in test suite.
|
||||
|
||||
There are several parameters, provided by Haskell's tasty test framework.
|
||||
Pass --help for details.
|
||||
|
||||
* `fuzztest`
|
||||
|
||||
Generates random changes to files in the current repository,
|
||||
for use in testing the assistant. This is dangerous, so it will not
|
||||
do anything unless --forced.
|
||||
|
||||
# OPTIONS
|
||||
|
||||
* `--force`
|
||||
|
|
Loading…
Add table
Reference in a new issue