* [PATCH] Allow test/test-call-settings to exit if new value is equal to actual value
@ 2011-03-04 9:53 Bertrand Aygon
2011-03-08 19:22 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Bertrand Aygon @ 2011-03-04 9:53 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]
---
test/test-call-settings | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/test-call-settings b/test/test-call-settings
index f49ad0b..f31fd1a 100755
--- a/test/test-call-settings
+++ b/test/test-call-settings
@@ -62,6 +62,10 @@ if __name__ == "__main__":
print "Setting successful"
+ if (properties[property] == newvalue):
+ print "Setting was already set to this value"
+ sys.exit(1);
+
canexit = True
mainloop = gobject.MainLoop()
--
1.7.1
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-08 19:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 9:53 [PATCH] Allow test/test-call-settings to exit if new value is equal to actual value Bertrand Aygon
2011-03-08 19:22 ` Denis Kenzior
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.