File: test.py

package info (click to toggle)
libaws 20.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,656 kB
  • sloc: ada: 95,505; python: 2,270; ansic: 1,017; makefile: 829; xml: 235; javascript: 202; java: 112; sh: 106
file content (20 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from test_support import *

#  Create the resources

f=open('filea.txt', 'w')
f.write('content of filea.txt\n')
f.close()

f=open('fileb.txt', 'w')
f.write('content of fileb.txt\n')
f.close()

f=open('filec.txt', 'w')
f.write('content of filec.txt\n')
f.close()

exec_cmd('gzip', ['-2', 'fileb.txt'])
exec_cmd('gzip', ['-9', 'filec.txt'])

build_and_run('zopen');