patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob c34b582230f75ff3374446468d2461a78c0099a6 666 bytes (raw)
name: release/checks/integration/try.c 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
// SPDX-License-Identifier: EUPL-1.2+
// SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is>

#include "lib.h"

#include <stdlib.h>
#include <string.h>

void test(struct config c)
{
	struct vm *vm;

	// Spectrum's live image doesn't work right now.
	// Mark the test as skipped.
	exit(77);

	c.drives.img = getenv_or_die("COMBINED_PATH");

	vm = start_qemu(c);

	start_console_thread(vm, "GNU GRUB ");
	wait_for_prompt(vm);

	start_console_thread(vm, "~ # ");

	// Assume that Try Spectrum is the first menu entry.
	if (fputc('\n', vm_console_writer(vm)) == EOF) {
		fputs("error writing to console\n", stderr);
		exit(EXIT_FAILURE);
	}

	wait_for_prompt(vm);
}

debug log:

solving c34b582230f75ff3374446468d2461a78c0099a6 ...
found c34b582230f75ff3374446468d2461a78c0099a6 in https://inbox.spectrum-os.org/spectrum-devel/20251112-updates-v2-4-88d96bf81b79@gmail.com/
found 4b874c0a7e9b48324497450fb5488e04576fd43b in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 4b874c0a7e9b48324497450fb5488e04576fd43b	release/checks/integration/try.c

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251112-updates-v2-4-88d96bf81b79@gmail.com/
diff --git a/release/checks/integration/try.c b/release/checks/integration/try.c
index 4b874c0a7e9b48324497450fb5488e04576fd43b..c34b582230f75ff3374446468d2461a78c0099a6 100644

Checking patch release/checks/integration/try.c...
Applied patch release/checks/integration/try.c cleanly.

index at:
100644 c34b582230f75ff3374446468d2461a78c0099a6	release/checks/integration/try.c

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).