projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ecf16
)
test: Allow test/test-call-settings to exit
author
Bertrand Aygon
<bertrand.aygon@intel.com>
Fri, 4 Mar 2011 09:53:36 +0000
(10:53 +0100)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 8 Mar 2011 19:21:52 +0000
(13:21 -0600)
if new value is equal to actual value
test/test-call-settings
patch
|
blob
|
history
diff --git
a/test/test-call-settings
b/test/test-call-settings
index
f49ad0b
..
f31fd1a
100755
(executable)
--- 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()