diff options
author | Bertrand Aygon <bertrand.aygon@intel.com> | 2011-03-04 10:53:36 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-03-08 13:21:52 -0600 |
commit | dfd3b44fabf797f9439a60526324af9e23151242 (patch) | |
tree | 08cc292cbaaa3efd61101396a7e6b3dd00c7c5c9 /test/test-call-settings | |
parent | 42ecf16c294838f77446ff9f52a5437f221c4ff8 (diff) | |
download | ofono-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-x | 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 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() |