From 25eae48a09672cff0b9362900708aaeca0d3ae1c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 4 Mar 2026 15:53:30 +0100 Subject: [PATCH] tests: fix eicar test string escape This fixes a warning issued by the Lix evaluator: > warning: \P is an ill-defined escape. You can drop the \ and simply > write P instead. Use --extra-deprecated-features broken-string-escape > to silence this warning. --- tests/clamav.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/clamav.nix b/tests/clamav.nix index 159e542..e0cfb43 100644 --- a/tests/clamav.nix +++ b/tests/clamav.nix @@ -91,7 +91,7 @@ }; environment.etc = { - "root/eicar.com.txt".text = "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*"; + "root/eicar.com.txt".text = "X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*"; }; }; client =