guix/tests
Ludovic Courtès 46b8aadbd6 serialization: Check for EOF and incomplete input conditions.
Fixes <http://bugs.gnu.org/19756>.
Reported by <sleep_walker@suse.cz>.

* guix/serialization.scm (currently-restored-file): New variable.
  (get-bytevector-n*): New procedure.
  (read-int, read-long-long, read-string, read-latin1-string,
  read-contents): Use it instead of 'get-bytevector-n'.
  (restore-file): Parameterize 'currently-restored-file' and set it.
* tests/nar.scm ("restore-file with incomplete input"): New test.
2015-02-07 23:16:55 +01:00
..
base32.scm
base64.scm
build-utils.scm utils: Allow wrap-program to be called multiple times. 2014-09-13 21:53:21 -05:00
builders.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
cpan.scm import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
derivations.scm tests: Further factorize substitute mocks. 2015-02-02 12:46:35 +01:00
gexp.scm monads: Rewrite 'text-file*' using gexps. 2015-01-12 23:33:08 +01:00
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix: scripts: Add GUIX_BUILD_OPTIONS environment handling. 2014-11-30 18:54:07 +01:00
guix-daemon.sh
guix-download.sh
guix-gc.sh
guix-hash.sh
guix-lint.sh lint: Fix argument parsing when several packages are specified. 2015-01-28 14:00:58 +01:00
guix-package.sh guix package: Make custom profiles actual indirect roots. 2015-02-06 17:56:22 +01:00
guix-register.sh tests: Skip 'guix-register' when the socket name length is exceeded. 2015-02-02 12:46:36 +01:00
guix-system.sh
hash.scm
lint.scm tests: Properly synchronize threads in the 'home-page' lint tests. 2015-01-13 11:09:05 +01:00
monads.scm monads: Add the state monad. 2015-01-17 23:45:48 +01:00
nar.scm serialization: Check for EOF and incomplete input conditions. 2015-02-07 23:16:55 +01:00
packages.scm tests: Disable grafts when comparing derivations. 2015-02-06 18:04:19 +01:00
pk-crypto.scm
pki.scm
profiles.scm tests: Use 'test-assertm' for profiles. 2014-12-15 23:01:56 +01:00
pypi.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
records.scm records: Add support for delayed fields. 2015-01-19 23:30:42 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
signing-key.pub
signing-key.sec
snix.scm import: Add PyPI importer. 2014-09-29 19:30:28 -04:00
store.scm tests: Don't dump the list of dead items in the test log. 2015-02-02 12:46:36 +01:00
substitute-binary.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
syscalls.scm tests: Adjust syscall tests for 2.6ish Linux. 2015-01-19 15:44:12 +01:00
test.drv
ui.scm ui: Move 'show-manifest-transaction' from (guix profiles). 2014-10-10 00:06:35 +02:00
union.scm
utils.scm utils: Add 'strip-keyword-arguments'. 2014-10-05 21:57:19 +02:00