test(nix): expose collector ownership in the VM

This commit is contained in:
Kevin Yue committed 2026-10-07 19:49:21 +08:00
1 parent 94493dd1e3
commit d461aa6568
1 file changed
+3
+3
View File
@@ -77,6 +77,9 @@ pkgs.testers.runNixOSTest {
machine.wait_until_succeeds("! kill -0 $(cat /tmp/gp-gui-ready)", timeout=timedelta(seconds=30))
# The optional collector lives in the NixOS system profile, outside the package's tool closure.
print(machine.succeed("stat -c '%a:%u:%n' / /nix /nix/store /run/current-system/sw/bin"))
print(machine.succeed("stat -Lc '%a:%u:%n' /run/current-system/sw/bin/clamscan"))
print(machine.succeed("/run/current-system/sw/bin/clamscan --version"))
report = machine.succeed(package + "/bin/gpclient hip --client-version 6.3.3-619 "
"--client-os Linux --cookie fixture --md5 0123456789abcdef0123456789abcdef")
assert "ClamAV" in report, report