From dfd3b44fabf797f9439a60526324af9e23151242 Mon Sep 17 00:00:00 2001 From: Bertrand Aygon Date: Fri, 4 Mar 2011 10:53:36 +0100 Subject: [PATCH] test: Allow test/test-call-settings to exit if new value is equal to actual value --- test/test-call-settings | 4 ++++ 1 file changed, 4 insertions(+) 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()