diff --git a/t/utils/channel_test.c b/t/utils/channel_test.c
index 02ed172a42ace53f1090e2b18379246681fe6774..3827c0705f7f78efa3cc77da6fc2bb526f1b6e32 100644 (file)
--- a/t/utils/channel_test.c
+++ b/t/utils/channel_test.c
data = 0xffffffff;
check = sdb_channel_read(chan, &data);
+ fail_unless(check == 0,
+ "sdb_channel_read() = %d; expected: 0", check);
/* result depends on endianess */
fail_unless((data == 0xffffff00) || (data == 0x00ffffff),
"sdb_channel_read() returned data %x; "