From b723b796e83f5fb7db81307c6875195c9027a215 Mon Sep 17 00:00:00 2001 From: Vincent Landgraf Date: Wed, 10 Aug 2016 21:38:17 +0200 Subject: [PATCH] fixes wrong conditional in spec --- spec/vmstat/solaris_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/vmstat/solaris_spec.rb b/spec/vmstat/solaris_spec.rb index 299c53d..e3d39fb 100644 --- a/spec/vmstat/solaris_spec.rb +++ b/spec/vmstat/solaris_spec.rb @@ -191,7 +191,7 @@ def c.`(cmd) unix:0:system_pages:pp_kernel 438675 unix:0:system_pages:slowscan 100 unix:0:system_pages:snaptime 314313.3248461\n" - elsif cmd = "kstat -p link:::" + elsif cmd == "kstat -p link:::" "link:0:e1000g0:ierrors 0 link:0:e1000g0:oerrors 1 link:0:e1000g0:rbytes64 1000