#NEWLINE# def test_ntvfs( self ) : #NEWLINE# #INDENT# path = os . environ [ 'SELFTEST_PREFIX' ] #NEWLINE# tempf = os . path . join ( path , ( 'pytests' + str ( int ( ( 100000 * random . random ( ) ) ) ) ) ) #NEWLINE# open ( tempf , 'w' ) . write ( 'empty' ) #NEWLINE# ( result , out , err ) = self . runsubcmd ( 'ntacl' , 'set' , self . acl , tempf , '--use-ntvfs' ) #NEWLINE# self . assertCmdSuccess ( result ) #NEWLINE# self . assertEquals ( tempf , '' , "Shouldn't be any output messages" ) #NEWLINE# self . assertIn ( 'Please note that POSIX permissions have NOT been changed, only the stored NT ACL' , err )