This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Make sure that we verify archives of local archives
$ . ./helpers.sh
$ make_lockdir
$ touch foo.tar.gz
$ make_lockpkg foo <<EOF
> (version 0.0.1)
> (source
> (fetch
> (checksum md5=069aa55d40e548280f92af693f6c625a)
> (url $PWD/foo.tar.gz)))
> EOF
$ build_pkg foo
File "dune.lock/foo.pkg", line 4, characters 12-48:
4 | (checksum md5=069aa55d40e548280f92af693f6c625a)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Invalid checksum, got
md5=d41d8cd98f00b204e9800998ecf8427e
[1]