clone tests to help debugging

This commit is contained in:
2025-12-12 14:07:00 +01:00
parent d3271963a8
commit f4064aff89
2 changed files with 78 additions and 0 deletions

View File

@@ -326,6 +326,19 @@ test "nolibc_pie_readlink" {
// try testReadlink("libc_pie_readlink");
// }
test "nolibc_nopie_clone_raw" {
try testHelper(
&.{ flicker_path, getTestExePath("nolibc_nopie_clone_raw") },
"Child: Hello\nParent: Goodbye\n",
);
}
test "nolibc_pie_clone_raw" {
try testHelper(
&.{ flicker_path, getTestExePath("nolibc_pie_clone_raw") },
"Child: Hello\nParent: Goodbye\n",
);
}
test "echo" {
try testHelper(&.{ "echo", "Hello", "There" }, "Hello There\n");
}