projects
/
psensor-pkg-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed distrib name
[psensor-pkg-debian.git]
/
tests
/
test_psensor_type_to_unit_str.c
diff --git
a/tests/test_psensor_type_to_unit_str.c
b/tests/test_psensor_type_to_unit_str.c
index
ddd2abe
..
3ce27f8
100644
(file)
--- a/
tests/test_psensor_type_to_unit_str.c
+++ b/
tests/test_psensor_type_to_unit_str.c
@@
-29,11
+29,11
@@
#include "../src/lib/psensor.h"
static int
#include "../src/lib/psensor.h"
static int
-test_fct(unsigned int type, int use_cel
c
ius, const char *ref)
+test_fct(unsigned int type, int use_cel
s
ius, const char *ref)
{
const char *u;
{
const char *u;
- u = psensor_type_to_unit_str(type, use_cel
c
ius);
+ u = psensor_type_to_unit_str(type, use_cel
s
ius);
if (strcmp(ref, u)) {
fprintf(stderr, "returns: %s expected: %s\n", u, ref);
return 0;
if (strcmp(ref, u)) {
fprintf(stderr, "returns: %s expected: %s\n", u, ref);
return 0;
@@
-59,7
+59,7
@@
static int test() {
if (!test_fct(SENSOR_TYPE_LMSENSOR | SENSOR_TYPE_TEMP, 0, "\302\260F"))
failures++;
if (!test_fct(SENSOR_TYPE_LMSENSOR | SENSOR_TYPE_TEMP, 0, "\302\260F"))
failures++;
- if (!test_fct(SENSOR_TYPE_
FAN
, 0, _("RPM")))
+ if (!test_fct(SENSOR_TYPE_
RPM
, 0, _("RPM")))
failures++;
return failures;
failures++;
return failures;