summaryrefslogtreecommitdiffstats
path: root/regressions/test-cancellation-download-librarycancels.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: Split regressions -> various subdirectories of tests/Richard W.M. Jones2011-12-221-53/+0
|
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* protocol: Fix case where download can fail for small files.Richard W.M. Jones2011-08-181-6/+20
| | | | | | | | | | | | | There is another case where downloads of small files could fail if the library side (writer) fails. In this case the library would send back a cancellation, but it would be received after the daemon had finished sending the whole file (because the file is small enough). The daemon would reenter the main loop and immediately get an unexpected cancel message, causing the daemon to die. This commit also makes test-cancellation-download-librarycancels.sh more robust. We use Monte-Carlo testing with a range of file sizes. Small file sizes should trigger the error case.
* regressions: Don't print misleading 'Expect error ...' lines.Richard Jones2010-07-221-1/+0
| | | | | | | | | | | | | Some tests in the regressions directory deliberately print error messages. As long as they still PASS, this is OK. However these tests also printed some misleading messages about what error to expect. Since error messages were slightly different across distros, these messages were not accurate. Therefore remove these messages, and replace with a general message before all tests telling users not to worry about errors from the tests as long as the tests don't fail.
* Debian: Use /bin/bash as the shell for regression test scripts.Richard Jones2009-11-041-1/+1
| | | | | | | | | | /bin/sh on Debian is a minimal shell called 'dash' which doesn't support some features we need such as the particular 'function' syntax used by regressions/test-stringlist.sh, and therefore this script was failing on Debian. Change all of these scripts to use #!/bin/bash explicitly to avoid these sorts of problems.
* tests: Found three more references to the squashfs, replaced with ISO.Richard W.M. Jones2009-08-191-2/+2
|
* build: remove trailing blanks, enable syntax-checkJim Meyering2009-08-041-1/+1
| | | | | | | * regressions/test-cancellation-download-librarycancels.sh: * src/generator.ml: * cfg.mk (disable_temporarily): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file.
* RHEL 5: Mount squashfs with explicit type.Richard Jones2009-07-071-1/+1
|
* Test two (of four) cancellation paths.Richard Jones2009-07-061-0/+40