diff options
author | Serval <servalcat@pm.me> | 2020-06-12 16:12:51 +0800 |
---|---|---|
committer | Serval <servalcat@pm.me> | 2020-09-02 22:18:52 +0800 |
commit | 4ac99e76bc032c0fa85491165a078f541c283b05 (patch) | |
tree | 91174f322b201deefefc577b0d1c4a610b972927 /pkgs/tools/networking/v2ray | |
parent | 9a5a8949aa415bd49312e42610d0c3e07f5d581e (diff) |
nixos/tests/v2ray: init
Diffstat (limited to 'pkgs/tools/networking/v2ray')
-rw-r--r-- | pkgs/tools/networking/v2ray/generic.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/v2ray/generic.nix b/pkgs/tools/networking/v2ray/generic.nix index 4499e91425f98..04ac482e8985e 100644 --- a/pkgs/tools/networking/v2ray/generic.nix +++ b/pkgs/tools/networking/v2ray/generic.nix @@ -1,4 +1,4 @@ -{ lib, linkFarm, buildGoModule, runCommand, makeWrapper +{ lib, linkFarm, buildGoModule, runCommand, makeWrapper, nixosTests # Version specific args , version, src, assets, vendorSha256 @@ -44,6 +44,10 @@ in runCommand "v2ray-${version}" { maintainers = with lib.maintainers; [ servalcatty ]; }; + passthru.tests = { + simple-vmess-proxy-test = nixosTests.v2ray; + }; + } '' for file in ${core}/bin/*; do makeWrapper "$file" "$out/bin/$(basename "$file")" \ |