repo.or.cz
/
dput.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add more unit tests for ‘dput.methods.http.upload’.
2016-08-27
Ben Finney
Ad
d
m
ore uni
t
tests for ‘d
p
ut
.
methods
.
http
.
u
p
load’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add initial unit tests f
o
r ‘dput
.
me
t
hods
.
http
.
upl
o
ad’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
A
d
d build req
u
ir
e
me
n
t for HTTPre
t
ty testing library
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
F
inney
Refactor construction of FileW
i
thProgress attribu
t
e
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add more unit tests f
o
r
‘dpu
t
.
met
h
od
s
.
f
t
p
.
upload’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit
t
e
sts
f
or ‘dp
u
t
.
methods
.
ftp
.
upload
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit
tests f
o
r ‘dput
.
dcut
.
dcut’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
Add unit tests for
‘
dput
.
dcut
.
up
l
oad_s
t
olen_from_dput_main’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
n
e
y
Add unit te
s
ts fo
r
‘d
p
ut
.
dc
u
t
.
write_commands’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit tests for
‘
dput
.
dcut
.
create_
c
ommands’
.
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
Add unit tests for ‘dput
.
d
cut
.
parse_queuecomma
n
ds
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
un
i
t tests for ‘dput
.
dcut
.
getoptions’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inney
A
dd helper function to patch ‘dpu
t
.
parse_ch
a
nges’ f
u
nction
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit tests for ‘dput
.
dput
.
main’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit tests for ‘dput
.
dput
.
check_uplo
a
d
_
logfile’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
Add unit tes
t
s
for ‘dp
u
t
.
dput
.
versio
n
_check’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finn
e
y
Add
u
nit t
e
sts f
o
r ‘
d
put
.
dput
.
execut
e
_command’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Fin
n
ey
Add
h
elpe
r
functionality for t
e
sting ‘os
.
system’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inney
A
d
d helper functionality f
o
r testing ‘
o
s
.
waitpid’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add helper functiona
l
ity for testing ‘os
.
pa
t
h
.
exists
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inne
y
Add helper functiona
l
ity fo
r
testing ‘os
.
u
n
li
n
k’ and
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en F
i
nney
Add helper functi
o
n f
o
r
testin
g
‘t
e
mpfil
e
.
mkdtemp
’
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
u
n
i
t te
s
t
s for ‘dput
.
dput
.
dinstall_caller
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d
u
ni
t
tests f
o
r ‘d
p
u
t
.
dput
.
gu
e
ss_upload_host’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
nney
Add unit
te
s
ts for ‘dput
.
d
p
u
t
.
ru
n
_lintian
_
test’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finne
y
A
dd helper fu
n
ction t
o
pat
c
h ‘dput
.
helper
.
dputhelper
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
dd unit tests for
‘
dput
.
h
e
lp
e
r
.
d
p
uthelper
.
getopt’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
e
y
Add unit tests for ‘dput
.
m
e
thods
.
loc
a
l
.
upload’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
Fin
n
e
y
Patch
t
he ‘FileWithP
r
ogress’ class for
uplo
a
d m
e
thod
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
n
ney
A
ll
o
w over
r
ide of the
f
ak
e
fi
l
e in
‘dpu
t
.
methods
.
*
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
F
in
n
e
y
Add func
t
ion
a
lity
to s
u
pport t
e
sts for ‘dput
.
methods
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add helper function to patch
‘dput
.
h
elper
.
dputhelper
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
A
d
d
unit tests for ‘dp
u
t
.
hel
p
er
.
dputhelper
.
FileWith
P
rogr
e
ss’
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Fin
n
e
y
A
dd u
n
it tes
t
s for
‘
d
p
ut
.
hel
p
er
.
dputhelp
e
r
.
Time
s
tampFile’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add unit test
s
for
‘
dp
u
t
.
help
e
r
.
dputhelper
.
s
pawn
v
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
helper function to patch expected r
u
nt
i
me c
o
nfig
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben
Finney
Add unit
t
ests f
o
r
‘
dp
u
t
.
dput
.
r
egister
_
uploa
d
_functio
n
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit tests for
‘
dput
.
dput
.
import
_
u
p
l
o
a
d
_functions’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n F
i
n
n
ey
Add unit
t
ests
f
or ‘d
p
ut
.
dput
.
print_config’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add uni
t
tests
for ‘dput
.
dput
.
create_upload_file
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
F
inney
Add m
o
re u
n
it tests
for ‘dput
.
dput
.
v
erify_files
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
Finney
Add init
i
al
u
nit te
s
ts
f
o
r
‘dput
.
dput
.
ver
i
fy_
f
iles’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
Fin
n
ey
Add
h
elper functions to patch UID interf
a
ce
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d helper
functio
n
t
o pat
c
h ‘
s
ign
a
l
.
si
g
nal’ function
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
Finne
y
Add helper fun
c
tion
to patch ‘os
.
g
etpid’
f
unction
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
helper fu
n
ction to patch ‘
o
s
.
environ’ ob
j
e
c
t
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finn
e
y
Add
u
n
it test
s
for
‘
d
put
.
dput
.
source_check’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
A
d
d unit
t
e
sts for ‘dput
.
d
put
.
verify_signatu
r
e’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit te
s
t
s
for
‘d
p
u
t
.
d
put
.
check_up
l
oad_var
i
ant’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
u
nit
t
e
sts
for ‘dput
.
dput
.
c
heck_si
g
nature’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nn
e
y
Add he
l
p
er funct
i
onality
to test
‘os
.
spa
w
nv’
b
ehaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
ney
A
dd helper func
t
ionality to test
‘
o
s
.
popen’ behavio
u
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add a
‘
PopenDouble’
i
nsta
n
ce a
n
d scenarios t
o
each
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add hel
p
er functionality to test ‘s
u
bproces
s
.
Pop
e
n
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
helper func
t
ionality for data-driven s
u
b
process
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Refine
‘patch_time_time
’
to accept
a cus
t
om ite
r
at
o
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
Add help
e
r function to patch ‘time
.
time’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit test
s
fo
r
‘dput
.
dpu
t
.
ch
e
c
k
s
um_test’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Imp
o
rt fake f
i
l
e
h
elp
e
r fun
c
tionali
t
y to ‘test_dput’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
Add more unit tests for ‘dput
.
dput
.
r
ead_configs’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
Add init
i
a
l
u
nit tes
t
s
for ‘dput
.
d
p
ut
.
read_conf
i
gs’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
F
inney
A
d
d
config file scenario
s
pecifying
“
a
l
low
_
unsi
g
ned_uploads
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add config
fil
e
scenario with
t
hree h
o
sts defined
.
commit
|
commitdiff
|
tree
2016-08-27
Be
n
F
inne
y
Add
helpe
r
functi
o
ns
t
o set up c
o
nfig file fix
t
ures
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Import ‘configparser’ module for
cur
r
en
t
Python
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add hel
p
er f
u
nction
a
lity for setting u
p
load file test
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add
helper function for m
a
king a uniqu
e
t
e
xt slug
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
A
d
d he
l
per f
u
nctionality to te
s
t
‘o
s
.
l
s
tat
’
behavio
u
r
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d he
l
per functio
n
ality
t
o test ‘os
.
s
ta
t
’
behaviou
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
n
ney
A
d
d ‘os
.
stat’ resu
l
t
as a F
i
le
D
ou
b
le attribute
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n F
i
nney
Add function scenario cl
a
ss for ‘os
.
stat’ behaviou
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
u
nit te
s
ts for ‘
d
put
.
dp
u
t
.
parse_c
h
anges’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
nney
A
d
d
n
a
m
ed constants
fo
r
exit stat
u
s
v
al
u
es
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add helper functions to set up c
h
anges file sc
e
nar
i
os
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add helper fu
n
cti
o
ns for fake changes doc
u
m
e
nt
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add skeleton module
for tes
t
ing Debian upload control
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add fake f
i
le scenari
o
generati
o
n
and setup
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add cross
-
v
e
rsion compat
i
ble filesystem-related ex
c
eption
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add sc
e
nario cla
s
s
for ‘b
u
i
lt
i
ns
.
open’ b
e
haviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
Ad
d
‘
o
s
.
path’ to
te
s
t
helper modul
e
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d helpe
r
function t
o
p
a
tch ‘os
.
ac
c
ess’ b
e
h
a
viour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add f
u
nction scenario class f
o
r ‘os
.
access’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
Add
h
elper cla
s
s for scenarios for
file f
u
n
c
t
ions
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n F
i
nn
e
y
Add registry class to FileD
o
uble
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
Finney
Defin
e
a class
f
o
r test
i
ng
d
ouble
s
f
or file
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Allow test double cl
a
s
s to sp
e
cify its re
g
ist
r
y class
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Ad
d
a ‘Te
s
tDoubleWithRegi
s
tr
y
’
abstract bas
e
clas
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Pa
t
ch stdout fo
r
test ca
s
es
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Re
f
actor to a single function for patching di
s
ruptive
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Import ‘builtins’ n
a
mespace in
t
e
st
h
elper
m
odule
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Refactor test helper fu
n
ctiona
l
i
ty into sep
a
rat
e
module
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d
un
i
t t
e
s
ts fo
r
‘dpu
t
.
dpu
t
.
hex
i
f
y_string
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
ney
Add
helper
functionality
f
o
r D
p
ut test
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
A
d
d
skeleton mod
u
le fo
r
t
esting ‘dput
.
d
put’ module
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Create Python pac
k
a
ge for test suite
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add M
a
k
e
file rules for test suite and co
v
erage
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
A
d
d
a Makefile
r
ule for cleaning the t
r
ee
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add a Makefile
r
u
le for
reb
u
ilding program tags
.
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
A
d
d
b
u
i
ld dependenci
e
s for
test suite
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Note t
h
e
a
ddition of a test suite
.
commit
|
commitdiff
|
tree
next