All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim.cromie@gmail.com (Jim Cromie)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] regression test script for sensors output
Date: Thu, 31 Aug 2006 18:33:17 +0000	[thread overview]
Message-ID: <44F72B6D.4050207@gmail.com> (raw)


attached script reads `sensors` output, compares to file content
(which should contain sensors output from baseline driver, before you hack)

#> perl sensorck.pl -h
Unknown option: h
usage: sensorck.pl [opts] <filename>
    -v  : verbose
    -d <5> : percentage difference (5% is default)
    -e  : verbose on difference errlm


#> perl sensorck.pl -d 1 sensor-out
[222399.418306] pc87360 9191-6620: Data update
check VPWR
val out of range 0.0178282009724474: 12.34 should be 12.12
check VCORE
check VCC
check Vbat
check Critical
check -12V
check Vsb
check Vdd
check +12V
check Temp
check AVdd
check avi0
check GND

I hope this simplifies your future hacking...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensorck.pl
Type: application/x-perl
Size: 2234 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060831/72a96224/attachment.bin 

             reply	other threads:[~2006-08-31 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-31 18:33 Jim Cromie [this message]
2006-09-07 12:07 ` [lm-sensors] regression test script for sensors output Mark M. Hoffman
2006-09-07 16:08 ` Jim Cromie
2006-09-12 12:22 ` Mark M. Hoffman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44F72B6D.4050207@gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.