summaryrefslogtreecommitdiffstats
path: root/test/test-call-settings
diff options
context:
space:
mode:
authorBertrand Aygon <bertrand.aygon@intel.com>2011-03-04 10:53:36 +0100
committerDenis Kenzior <denkenz@gmail.com>2011-03-08 13:21:52 -0600
commitdfd3b44fabf797f9439a60526324af9e23151242 (patch)
tree08cc292cbaaa3efd61101396a7e6b3dd00c7c5c9 /test/test-call-settings
parent42ecf16c294838f77446ff9f52a5437f221c4ff8 (diff)
downloadofono-dfd3b44fabf797f9439a60526324af9e23151242.tar.bz2
test: Allow test/test-call-settings to exit
if new value is equal to actual value
Diffstat (limited to 'test/test-call-settings')
-rwxr-xr-xtest/test-call-settings4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-call-settings b/test/test-call-settings
index f49ad0bf..f31fd1ad 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()