diff --git a/t/pt-stalk/pt-stalk.t b/t/pt-stalk/pt-stalk.t index 907daca9..7e44dea8 100644 --- a/t/pt-stalk/pt-stalk.t +++ b/t/pt-stalk/pt-stalk.t @@ -24,7 +24,7 @@ if ( !$dbh ) { plan skip_all => 'Cannot connect to sandbox master'; } else { - plan tests => 24; + plan tests => 25; } my $cnf = "/tmp/12345/my.sandbox.cnf"; @@ -263,6 +263,12 @@ is( "Not stalking, collect ran for --run-time" ); +is( + `cat $dest/nostalk-hostname`, + `hostname`, + "Not stalking, collect gathered data" +); + $output = `ps x | grep -v grep | grep 'pt-stalk --no-stalk'`; is( $output,