File: basic.tst

package info (click to toggle)
cvs-fast-export 1.55-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,628 kB
  • sloc: ansic: 5,743; python: 1,390; sh: 511; lex: 352; yacc: 271; makefile: 256; perl: 63
file content (18 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python
## basic test for CVS master parsing

import sys, testlifter

testlifter.verbose += sys.argv[1:].count("-v")
repo = testlifter.CVSRepository("basic.repo")
repo.init()
repo.module("module")
co = repo.checkout("module", "basic.checkout")

co.write("README", "The quick brown fox jumped over the lazy dog.\n")
co.add("README")
co.commit("This is a sample commit")

repo.cleanup()

# end