diff options
author | Luflosi <luflosi@luflosi.de> | 2023-01-31 14:17:35 +0100 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2023-01-31 17:35:05 +0100 |
commit | eaf43be84c13c2efef18f4ea7d2c9eba2e3cd137 (patch) | |
tree | fd6c83450df07e033ccf500ab548d414c9f4107c /nixos/tests/apfs.nix | |
parent | ab3f67309fbbc0d9244e12cc42ed6253a8d2ce2e (diff) |
linuxPackages.apfs: unstable-2022-10-20 -> 0.3.0
https://github.com/linux-apfs/linux-apfs-rw/releases/tag/v0.3.0 I also added a `longDescription` and modified the test to verify the checksum on all metadata nodes now that it works.
Diffstat (limited to 'nixos/tests/apfs.nix')
-rw-r--r-- | nixos/tests/apfs.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/apfs.nix b/nixos/tests/apfs.nix index a8841fe93046e..ac0459b57e9ce 100644 --- a/nixos/tests/apfs.nix +++ b/nixos/tests/apfs.nix @@ -21,9 +21,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { with subtest("Enable case sensitivity and normalization sensitivity"): machine.succeed( "mkapfs -s -z /dev/vdb", - # Triggers a bug, see https://github.com/linux-apfs/linux-apfs-rw/issues/15 - # "mount -o cknodes,readwrite /dev/vdb /tmp/mnt", - "mount -o readwrite /dev/vdb /tmp/mnt", + "mount -o cknodes,readwrite /dev/vdb /tmp/mnt", "echo 'Hello World 1' > /tmp/mnt/test.txt", "[ ! -f /tmp/mnt/TeSt.TxT ] || false", # Test case sensitivity "echo 'Hello World 1' | diff - /tmp/mnt/test.txt", @@ -36,13 +34,13 @@ import ./make-test-python.nix ({ pkgs, ... }: { with subtest("Disable case sensitivity and normalization sensitivity"): machine.succeed( "mkapfs /dev/vdb", - "mount -o readwrite /dev/vdb /tmp/mnt", + "mount -o cknodes,readwrite /dev/vdb /tmp/mnt", "echo 'bla bla bla' > /tmp/mnt/Test.txt", "echo -n 'Hello World' > /tmp/mnt/test.txt", "echo ' 1' >> /tmp/mnt/TEST.TXT", "umount /tmp/mnt", "apfsck /dev/vdb", - "mount -o readwrite /dev/vdb /tmp/mnt", + "mount -o cknodes,readwrite /dev/vdb /tmp/mnt", "echo 'Hello World 1' | diff - /tmp/mnt/TeSt.TxT", # Test case insensitivity "echo 'Hello World 2' > /tmp/mnt/\u0061\u0301.txt", "echo 'Hello World 2' | diff - /tmp/mnt/\u0061\u0301.txt", |