Lines Matching refs:info
116 let info = fname->swapinfo()
119 call assert_equal(ver, info.version)
121 call assert_match('\w', info.user)
123 call assert_equal(hostname()[:38], info.host)
124 call assert_match('Xswapinfo', info.fname)
125 call assert_match(0, info.dirty)
126 call assert_equal(getpid(), info.pid)
127 call assert_match('^\d*$', info.mtime)
128 if has_key(info, 'inode')
129 call assert_match('\d', info.inode)
135 let info = swapinfo('doesnotexist')
136 call assert_equal('Cannot open file', info.error)
139 let info = swapinfo('Xnotaswapfile')
140 call assert_equal('Cannot read file', info.error)
144 let info = swapinfo('Xnotaswapfile')
145 call assert_equal('Not a swap file', info.error)