cmdmain: set flagset output to cmdmain.Stderr

Default flag output only goes to cmdmain.Stderr when >= Go 1.2

Change-Id: Id2358b4c22b76901ceb834695d54e32f7c2d7013
camput: set os.Args from env.Run.args before test's cmdmain.Main runs

Not required now, but will be for future tests.

Change-Id: I50c469d4f4fa589494036f306c25fe60914fb902
camput: move debug flag registration to its own func, for use by tests later.

Also, don't call TransportForConfig on client when we're in blobdir mode.
Avoids a warning.

Change-Id: I5d618b7ab7d701b4c9d9086c8adedef7b447f62b
pkg/tests: Warn about deprecation of asserts.* functions in pkg description.

Change-Id: I39e158a92a6f4fa6f3f93551985d9d20ad40c98f
camput: don't show HTTP req stats when not using HTTP

Change-Id: I4d0c0dc44de84fe62f3ee2385bcd3875eb27be97
camput: configurable timeout on env

Change-Id: Iffd0b404e48e4fd5235c22bdd00ad22c564fb0a0
camput: add a var for uploadWorkers

Change-Id: I529336ece16a35e25c33960589f706ebf8b2c5ec
camput: start of a deadlock test

Currently disabled until it's working reliably. See comments in code.

Much of this is from Tamás Gulácsi in https://camlistore-review.googlesource.com/#/c/2128/

Change-Id: I2fe2abfdee98584c698a2ac52202f13dda9beef2
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
buildbot: add timeout for task run

Change-Id: I49594d7d9aaa20d94213033d41e055c64e3da30c
Merge "buildbot: add timeout for task run"
client: don't do discovery in non-HTTP mode

Change-Id: Idcef3b58827fffe1f3df091c3e675b91d0ed8960
client: actually submit code that compiles

Change-Id: I4e3b2f786d46a524a52ce1a86d7bd5b625818527
camput: predictably-failing disabled deadlock test

Change-Id: Ibf0877ac1b4e32ad32fe9592c487915130f9f488
Limit upload concurrency (number of goroutines) in camput for Android

Use separate workers for directory uploads.
Limit upload concurrency to 3+2+3 (normal+directories+stat) goroutines
on Android, and 10+5+10 otherwise.

Change-Id: Idac4c94b7d7ec4fc6c6a77fed111e0ece0843545