File: dirty-touch.mtest

package info (click to toggle)
atheist 0.20110402-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,348 kB
  • sloc: python: 4,764; xml: 626; makefile: 113; cpp: 54; ansic: 5; sh: 5
file content (12 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/python
# -*- mode:python; coding:utf-8 -*-

import os
from atheist.const import ATHEIST_TMP_BASE

fname_a = os.path.join(ATHEIST_TMP_BASE, '$testname-a')
fname_b = os.path.join(ATHEIST_TMP_BASE, '$testname-b')

t = Test('touch ' + fname_a, dirty=True)
t = Test('touch ' + fname_b, dirty=True)
t.gen += fname_b