Add a filesystem config for testing

This commit is contained in:
Ribbon 2025-09-30 05:21:53 -03:00
parent 4e1db89e42
commit 3bbbcf412f
5 changed files with 134 additions and 0 deletions

14
config/aarch64/tests.toml Normal file
View File

@ -0,0 +1,14 @@
# Configuration for testing
include = ["../tests.toml"]
# Override the default settings here
# General settings
[general]
# Filesystem size in MiB
# filesystem_size = 10000
# Package settings
[packages]
# example = {}

14
config/i686/tests.toml Normal file
View File

@ -0,0 +1,14 @@
# Configuration for testing
include = ["../tests.toml"]
# Override the default settings here
# General settings
[general]
# Filesystem size in MiB
# filesystem_size = 10000
# Package settings
[packages]
# example = {}

View File

@ -0,0 +1,14 @@
# Configuration for testing
include = ["../tests.toml"]
# Override the default settings here
# General settings
[general]
# Filesystem size in MiB
# filesystem_size = 10000
# Package settings
[packages]
# example = {}

78
config/tests.toml Normal file
View File

@ -0,0 +1,78 @@
# Configuration for testing
include = ["server.toml"]
# General settings
[general]
# Filesystem size in MiB
filesystem_size = 10000
# Do not prompt if settings are not defined
prompt = false
# Package settings
[packages]
acid = {}
resist = {}
relibc-tests = {}
os-test = {}
openposixtestsuite = {}
redox-posix-tests = {}
vttest = {}
benchmarks = {}
[[files]]
path = "/home/user/test.rs"
data = """
fn main() {
println!("Hello, Redox!");
}
"""
[[files]]
path = "/home/user/test.c"
data = """
#include <stdio.h>
int main(void) {
printf("Hello, Redox!\\n");
}
"""
[[files]]
path = "/home/user/test.cpp"
data = """
#include <iostream>
int main()
{
std::cout << "Hello, Redox!" << std::endl;
}
"""
[[files]]
path = "/home/user/test.py"
data = """
print("Hello, Redox!")
"""
[[files]]
path = "/home/user/test.lua"
data = """
print("Hello, Redox!")
"""
[[files]]
path = "/home/user/test.js"
data = """
console.log("Hello Redox");
"""
[[files]]
path = "/home/user/test.java"
data = """
public class Java {
public static void main(String[] args) {
System.out.println("Hello Redox");
}
}
"""

14
config/x86_64/tests.toml Normal file
View File

@ -0,0 +1,14 @@
# Configuration for testing
include = ["../tests.toml"]
# Override the default settings here
# General settings
[general]
# Filesystem size in MiB
# filesystem_size = 10000
# Package settings
[packages]
# example = {}