Commits

ZyX_I committed ebf9905

tests: Added more subversion rf-status tests

Comments (0)

Files changed (3)

 |aurum-cs.branch| always contains string "default".
 |aurum-cs.rev| and |aurum-cs.hex| have the same value, though second one is 
     a string.
-|aurum-cs.renames| and |aurum-cs.copies| are always empty.
 |aurum-cs.time| is always 0 if “date” programm from coreutils is missing.
 |aurum-cs.hex| contains the stringified value of |aurum-cs.rev| and thus is 
     not fixed-length.

test/drivers-subversion.in

 :Run! AuLog ./svntestrepo/ stat patch showfiles showrenames showcopies
 :bwipeout!
 :W{{{1 Status: current
+:R call writefile(['Unknown file contents'], 'unknown-file')
+:R call writefile(['New file contents'], 'new-file')
+:AuTrack ./svntestrepo/new-file
+:R call delete('file-under-svn-control')
+:AuJunk ./svntestrepo/def
+:AuJunk ignore ./svntestrepo/ghi
+:Run AuStatus
+:bwipeout!
+:R call writefile(['Zero line'], 'file-under-svn-control')
 :W{{{1 Status: relative to other (1)
+:Run AuStatus rev 3
+:bwipeout!
 :W{{{1 Status: relative to other (2)
+:Run AuStatus wdrev 3
+:bwipeout!
 :W{{{1 Status: between two revisions
+:R !svn revert -R .
 :Run! AuStatus ./svntestrepo/ rev HEAD wdrev 2
 :bwipeout!
 :W{{{1 Commit
 :write! ./svntestrepo/ignoredfile2.vim
 :W{{{2 Status before junk
 :Run! AuStatus ./svntestrepo/
+:bwipeout!
 :AuJunk ignore ./svntestrepo/subdir/file.vim
 :AuJunk ignoreglob ./svntestrepo/ignored*
 :W{{{2 Status after junk
 :Run! AuStatus ./svntestrepo/
+:bwipeout!

test/drivers-subversion.ok

    @ Added file-under-svn-control
    
 {{{1 Status: current
+A new-file
+! file-under-svn-control
+M .
+R def
+? unknown-file
 {{{1 Status: relative to other (1)
+A ghi
+A mno
+A subdir2/stu
+A subdir/pqr
+A new-file
+M file-under-svn-control
 {{{1 Status: relative to other (2)
+M file-under-svn-control
+R ghi
+R mno
+R subdir2/stu
+R subdir/pqr
+R new-file
 {{{1 Status: between two revisions
 M file-under-svn-control
 R ghi
 {{{2 Status before junk
 ? ignoredfile.vim
 ? ignoredfile2.vim
+? new-file
 ? file.vim
+? unknown-file
 ? subdir/file.vim
 {{{2 Status after junk
 M .
 M subdir
+? new-file
 ? file.vim
+? unknown-file
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.