diff options
author | Attila Lendvai <attila@lendvai.name> | 2021-12-22 11:28:55 +0100 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-12-23 17:31:44 +0100 |
commit | 07145c8a8cef3860a6c522d81e387bd0485c83ce (patch) | |
tree | 85bbded964fae8f6e6d0d27f51aecb22e4581bb7 /guix.scm | |
parent | c0a693dfec3e0c3361dab40f354966730dde4ef3 (diff) | |
download | guix-07145c8a8cef3860a6c522d81e387bd0485c83ce.tar.gz guix-07145c8a8cef3860a6c522d81e387bd0485c83ce.zip |
tests: Smarten up git repository testing framework.
* guix/tests/git.scm (with-git-repository): New macro, exported. It can be used
repeatedly inside a WITH-TEMPORARY-GIT-REPOSITORY.
(populate-git-repository): Extend the DSL with (ADD "some-noise"), (RESET
"[commit hash]"), (CHECKOUT "branch" ORPHAN).
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions