Re: [PATCH 1/1] st_courtesy.py: add more tests for Courteous Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 04, 2021 at 06:53:20PM -0400, Dai Ngo wrote:
> COUR3: Test OPEN file with OPEN4_SHARE_DENY_WRITE
> COUR4: Test Share Reservation. Test 2 clients with same deny mode
> COUR5: Test Share Reservation. Test Courtesy client's file access mode
>        conflicts with deny mode
> COUR6: Test Share Reservation. Test Courtesy client's deny mode conflicts
>        with file access mode

Thanks!

> @@ -73,6 +76,8 @@ def testLockSleepLock(t, env):
>  
>      c2 = env.c1.new_client(b"%s_2" % env.testname(t))
>      sess2 = c2.create_session()
> +    res = sess2.compound([op.reclaim_complete(FALSE)])
> +    check(res)

Nit: this is a separate bugfix, right?  I'd rather have that kind of
thing in a separate patch.

Also, you could just use new_client_session().

--b.



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux