Skip to content

Commit

Permalink
iftop: add passthru.tests to reference VM-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Apr 15, 2020
1 parent f57da8e commit e3553f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/networking/iftop/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, ncurses, libpcap, automake}:
{ stdenv, fetchurl, ncurses, libpcap, automake, nixosTests }:

stdenv.mkDerivation {
name = "iftop-1.0pre4";
Expand All @@ -18,6 +18,8 @@ stdenv.mkDerivation {

buildInputs = [ncurses libpcap];

passthru.tests = { inherit (nixosTests) iftop; };

meta = with stdenv.lib; {
description = "Display bandwidth usage on a network interface";
longDescription = ''
Expand Down

0 comments on commit e3553f1

Please sign in to comment.