diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-06-28 14:58:58 +0000 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-07-01 10:50:04 +0200 |
| commit | 464ce72f8b4a1c6b556a0b01dada80cf12714f94 (patch) | |
| tree | 1d7ef7126fd2a1edea7267f69038cd122cb7ee2b /tests | |
| parent | 01e14e7c92ebbfe929cd35161c1fd7bf3632efcd (diff) | |
tests: guix-time-machine: Actually fail if test fails.
* tests/guix-time-machine.sh: Change "&& echo false" to "&& false"
Change-Id: Idd607149e1cfc4b77add05f6692ef4be6613c483
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #9599
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/guix-time-machine.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/guix-time-machine.sh b/tests/guix-time-machine.sh index 6a273fd3935..246241d0f01 100644 --- a/tests/guix-time-machine.sh +++ b/tests/guix-time-machine.sh | |||
| @@ -32,7 +32,7 @@ EOF | |||
| 32 | 32 | ||
| 33 | # This must fail: 'system' is not among the available bindings in the | 33 | # This must fail: 'system' is not among the available bindings in the |
| 34 | # evaluation sandbox. | 34 | # evaluation sandbox. |
| 35 | guix time-machine -C "$channels_file" && echo false | 35 | guix time-machine -C "$channels_file" && false |
| 36 | 36 | ||
| 37 | cat > "$channels_file" <<EOF | 37 | cat > "$channels_file" <<EOF |
| 38 | (use-modules (system foreign)) | 38 | (use-modules (system foreign)) |
| @@ -40,7 +40,7 @@ cat > "$channels_file" <<EOF | |||
| 40 | EOF | 40 | EOF |
| 41 | 41 | ||
| 42 | # Likewise, 'use-modules' is not available. | 42 | # Likewise, 'use-modules' is not available. |
| 43 | guix time-machine -C "$channels_file" && echo false | 43 | guix time-machine -C "$channels_file" && false |
| 44 | 44 | ||
| 45 | # Get 'time-machine' to download a channel file with an untrusted channel. | 45 | # Get 'time-machine' to download a channel file with an untrusted channel. |
| 46 | # Check that this fails with a "'guix' is not trusted" message. | 46 | # Check that this fails with a "'guix' is not trusted" message. |
