[tracker/functional-tests-applications: 21/22] functional tests, applications: No need to flock() in the tests
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/functional-tests-applications: 21/22] functional tests, applications: No need to flock() in the tests
- Date: Fri, 28 Jan 2011 14:35:00 +0000 (UTC)
commit 3ed4518a59a32532e623d9474434c3b0f0dcd009
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri Jan 28 15:31:50 2011 +0100
functional tests, applications: No need to flock() in the tests
tests/functional-tests/600-applications-camera.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/tests/functional-tests/600-applications-camera.py b/tests/functional-tests/600-applications-camera.py
index a797d7a..bebd20b 100755
--- a/tests/functional-tests/600-applications-camera.py
+++ b/tests/functional-tests/600-applications-camera.py
@@ -142,9 +142,6 @@ class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
# FIRST, open the file for writing, and just write some garbage, to simulate that
# we already started recording the video...
fdest = open (dest_filepath, 'wb')
- # LOCK the file, as camera-ui seems to do it
- fcntl.flock(fdest, fcntl.LOCK_EX)
-
fdest.write ("some garbage written here")
fdest.write ("to simulate we're recording something...")
fdest.seek (0)
@@ -287,9 +284,6 @@ class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
# FIRST, open the file for writing, and just write some garbage, to simulate that
# we already started recording the video...
fdest = open (dest_filepath, 'wb')
- # LOCK the file, as camera-ui seems to do it
- fcntl.flock(fdest, fcntl.LOCK_EX)
-
fdest.write ("some garbage written here")
fdest.write ("to simulate we're recording something...")
fdest.seek (0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]