From 9aaabb2cf73f20cc4d4c68588e7bf4592837626f Mon Sep 17 00:00:00 2001 From: Marcel Braun Date: Mon, 4 May 2026 23:25:16 +0200 Subject: Add simple symlink tests --- arch/x86_64/support/modules/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arch/x86_64/support/modules/README.md') diff --git a/arch/x86_64/support/modules/README.md b/arch/x86_64/support/modules/README.md index a04b9af..fac5daf 100644 --- a/arch/x86_64/support/modules/README.md +++ b/arch/x86_64/support/modules/README.md @@ -8,10 +8,13 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./archiv ./archiv/2024.img ./archiv/2025.img +./closed.txt ./information ./information/info_1.txt ./information/info_2.txt -./closed.txt +./symlinks +./symlinks/info_1_absolute -> /information/info_1.txt +./symlinks/info_1_relative -> ../information/info_1.txt ### 2024.img (ext2 filesystem with 2KB Block size) -- cgit v1.2.3 From 491d7cb23f48b995e954b7cbb836ab3efb47ea88 Mon Sep 17 00:00:00 2001 From: Marcel Braun Date: Tue, 5 May 2026 17:22:27 +0200 Subject: Update readme for images, add symlink to readme into test_assets folder --- arch/x86_64/support/modules/README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'arch/x86_64/support/modules/README.md') diff --git a/arch/x86_64/support/modules/README.md b/arch/x86_64/support/modules/README.md index fac5daf..67b1217 100644 --- a/arch/x86_64/support/modules/README.md +++ b/arch/x86_64/support/modules/README.md @@ -8,13 +8,21 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./archiv ./archiv/2024.img ./archiv/2025.img +./archiv/mnt ./closed.txt ./information ./information/info_1.txt ./information/info_2.txt -./symlinks -./symlinks/info_1_absolute -> /information/info_1.txt -./symlinks/info_1_relative -> ../information/info_1.txt +./symlinks +./symlinks/info_1_absolute -> /information/info_1.txt +./symlinks/info_1_relative -> ../information/info_1.txt +./symlinks/information_directory_absolute -> /information +./symlinks/information_directory_relative -> ../information +./symlinks/invalid_absolute -> ../invalid/non_existant.txt +./symlinks/invalid_relative -> ../invalid/non_existant.txt +./symlinks/symloop_a -> ./symloop_b +./symlinks/symloop_b -> /symlinks/symloop_a +./symlinks/traverse_back_5_times -> ../../../../../ ### 2024.img (ext2 filesystem with 2KB Block size) @@ -25,6 +33,8 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./stable/pig_1.txt ./stable/pig_2.txt ./stable/pig_3.txt +./symlinks +./symlinks/traverse_back_twice -> ../../ ### 2025.img (ext2 filesystem 4KB Block size) @@ -52,6 +62,7 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./monkey_house/caretaker ./monkey_house/caretaker/isabelle.txt ./monkey_house/caretaker/peter.txt +./symlinks/leave_and_reenter_mount -> ../../archiv/../information/monkey_house ## ext2_4KB_fs . @@ -109,3 +120,4 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./enclosures/aquarium/spawn_fish.sh ./enclosures/info.txt ./info.txt +./symlinks/very_long_symlink -> ../enclosures/aquarium/tank_2/this_is_a_very_very_long_fish_filename_that_keeps_going_and_going_until_it_almost_breaks_linux_filesystem_limits_for_testing_purposes_and_we_add_more_characters_to_make_it_even_longer_30.txt -- cgit v1.2.3 From c7e3528e9d40f62e6acf72b206a31105f252b529 Mon Sep 17 00:00:00 2001 From: Lukas Oesch Date: Tue, 5 May 2026 19:40:55 +0200 Subject: fix readme --- arch/x86_64/support/modules/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86_64/support/modules/README.md') diff --git a/arch/x86_64/support/modules/README.md b/arch/x86_64/support/modules/README.md index 67b1217..6893176 100644 --- a/arch/x86_64/support/modules/README.md +++ b/arch/x86_64/support/modules/README.md @@ -18,7 +18,7 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./symlinks/info_1_relative -> ../information/info_1.txt ./symlinks/information_directory_absolute -> /information ./symlinks/information_directory_relative -> ../information -./symlinks/invalid_absolute -> ../invalid/non_existant.txt +./symlinks/invalid_absolute -> /invalid/non_existant.txt ./symlinks/invalid_relative -> ../invalid/non_existant.txt ./symlinks/symloop_a -> ./symloop_b ./symlinks/symloop_b -> /symlinks/symloop_a -- cgit v1.2.3 From 8739d65ea50f13dbbb5bd1a27f461c367deb5b99 Mon Sep 17 00:00:00 2001 From: Lukas Oesch Date: Tue, 5 May 2026 20:59:52 +0200 Subject: add symlink chain to image --- arch/x86_64/support/modules/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'arch/x86_64/support/modules/README.md') diff --git a/arch/x86_64/support/modules/README.md b/arch/x86_64/support/modules/README.md index 6893176..1a29ce5 100644 --- a/arch/x86_64/support/modules/README.md +++ b/arch/x86_64/support/modules/README.md @@ -78,9 +78,12 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./enclosures/lion_house/cage_b ./enclosures/lion_house/cage_b/animals.txt ./enclosures/lion_house/cage_b/history.txt +./enclosures/lion_house/symlink_chain_2 -> /entrance/../enclosures/aquarium/symlink_chain_3 ./enclosures/elephant_house ./enclosures/elephant_house/elephant_1.txt ./enclosures/aquarium +./enclosures/aquarium/spawn_fish.sh +./enclosures/aquarium/symlink_chain_3 -> ../../entrance ./enclosures/aquarium/tank_1 ./enclosures/aquarium/tank_1/fish_1.txt ./enclosures/aquarium/tank_1/fish_2.txt @@ -117,7 +120,8 @@ The ext2_4KB_fs image is intentionally fragmented, as some files were created an ./enclosures/aquarium/tank_2/this_is_a_very_very_long_fish_filename_that_keeps_going_and_going_until_it_almost_breaks_linux_filesystem_limits_for_testing_purposes_and_we_add_more_characters_to_make_it_even_longer_28.txt ./enclosures/aquarium/tank_2/this_is_a_very_very_long_fish_filename_that_keeps_going_and_going_until_it_almost_breaks_linux_filesystem_limits_for_testing_purposes_and_we_add_more_characters_to_make_it_even_longer_29.txt ./enclosures/aquarium/tank_2/this_is_a_very_very_long_fish_filename_that_keeps_going_and_going_until_it_almost_breaks_linux_filesystem_limits_for_testing_purposes_and_we_add_more_characters_to_make_it_even_longer_30.txt -./enclosures/aquarium/spawn_fish.sh ./enclosures/info.txt ./info.txt +./symlinks +./symlinks/symlink_chain_1 -> ../enclosures/lion_house/symlink_chain_2 ./symlinks/very_long_symlink -> ../enclosures/aquarium/tank_2/this_is_a_very_very_long_fish_filename_that_keeps_going_and_going_until_it_almost_breaks_linux_filesystem_limits_for_testing_purposes_and_we_add_more_characters_to_make_it_even_longer_30.txt -- cgit v1.2.3