[sms] Remove hardcoded size and use the SIZE_OF trick..
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c
index fe1c346..63917a0 100644
--- a/tests/sms/sms_test.c
+++ b/tests/sms/sms_test.c
@@ -65,7 +65,7 @@
 	}
 };
 
-#define SMS_NUM 2
+#define SMS_NUM (sizeof(sms_data)/sizeof(sms_data[0]))
 
 int main(int argc, char** argv)
 {