diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2016-04-06 08:23:14 +0200 |
---|---|---|
committer | Roeland Douma <rullzer@users.noreply.github.com> | 2016-04-06 08:23:14 +0200 |
commit | d739af3d4a5ee44556ac33a0cc59a5024831b779 (patch) | |
tree | bcc46ec59717e520fd9db72445f80ffe48beea6f | |
parent | fb8c8ef38b0e8fb521f32b39f4cd1d848785d8c1 (diff) | |
parent | 4445ef82e02acd14b4a15a8c113c3a8409fda313 (diff) | |
download | nextcloud-server-d739af3d4a5ee44556ac33a0cc59a5024831b779.tar.gz nextcloud-server-d739af3d4a5ee44556ac33a0cc59a5024831b779.zip |
Merge pull request #23808 from owncloud/test-lock-with-strange-filename
Test locking with strange filename
-rw-r--r-- | tests/lib/lock/lockingprovider.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/lock/lockingprovider.php b/tests/lib/lock/lockingprovider.php index ca72c1bb7f3..49742baa561 100644 --- a/tests/lib/lock/lockingprovider.php +++ b/tests/lib/lock/lockingprovider.php @@ -112,12 +112,14 @@ abstract class LockingProvider extends TestCase { $this->instance->acquireLock('foo', ILockingProvider::LOCK_SHARED); $this->instance->acquireLock('bar', ILockingProvider::LOCK_SHARED); $this->instance->acquireLock('asd', ILockingProvider::LOCK_EXCLUSIVE); + $this->instance->acquireLock('fizz#A=23', ILockingProvider::LOCK_EXCLUSIVE); $this->instance->releaseAll(); $this->assertFalse($this->instance->isLocked('foo', ILockingProvider::LOCK_SHARED)); $this->assertFalse($this->instance->isLocked('bar', ILockingProvider::LOCK_SHARED)); $this->assertFalse($this->instance->isLocked('asd', ILockingProvider::LOCK_EXCLUSIVE)); + $this->assertFalse($this->instance->isLocked('fizz#A=23', ILockingProvider::LOCK_EXCLUSIVE)); } public function testReleaseAllAfterChange() { |