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 current GPLv3 license text.
2016-08-27
Ben Fin
n
e
y
Add current GPLv3 li
c
ense tex
t
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
hea
d
er c
o
mments to Makefile
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
unit
t
es
t
s
for ‘dput
.
m
e
thod
s
.
rsync
.
upload’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add
u
n
i
t
tests for
‘dput
.
m
e
thods
.
scp
.
upload’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add common t
e
st
i
n
g
f
u
nctionality for
S
SH channel upload
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
nney
A
dd unit test s
c
enarios
f
or ‘dpu
t
.
m
e
t
hods
.
htt
p
s
.
upload’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
more un
i
t tes
t
s for
‘
dpu
t
.
metho
d
s
.
h
t
tp
.
upl
o
ad’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
Add initial unit tests for ‘dput
.
methods
.
http
.
u
pload’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inney
Add build requirement f
o
r HTTPret
t
y
testing librar
y
.
commit
|
commitdiff
|
tree
2016-08-27
B
en
Finney
Re
f
a
c
tor con
s
truction o
f
FileWit
h
Progre
s
s
attribute
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add more unit tests
for ‘dput
.
methods
.
f
t
p
.
upload’
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add unit tes
t
s for
‘
d
put
.
methods
.
ftp
.
upload
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
n
ey
A
dd
u
nit tes
t
s for ‘dput
.
dcut
.
d
cut’
.
commit
|
commitdiff
|
tree
2016-08-27
Be
n
F
inney
Add uni
t
t
e
sts fo
r
‘dput
.
dcut
.
u
p
loa
d
_stolen_fro
m
_
dput
_
mai
n
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit tests f
o
r ‘dput
.
dcu
t
.
write_
c
ommands’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
dd
unit tests
for ‘
d
put
.
dcut
.
create_comma
n
ds’
.
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finn
e
y
Add unit test
s
for ‘dput
.
dcut
.
parse_queuecommand
s
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit
t
e
s
ts fo
r
‘dput
.
dcut
.
get
o
ptions’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
A
dd h
e
lper function to patch ‘dput
.
pars
e
_chan
g
es’ f
u
ncti
o
n
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add unit tests for ‘
d
p
u
t
.
dp
u
t
.
main’
.
commit
|
commitdiff
|
tree
2016-08-27
B
en F
i
nne
y
Add
u
n
it t
e
sts for ‘dput
.
dput
.
check_upload_
l
og
f
ile
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
u
nit tests for ‘dput
.
dput
.
version_check’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
in
n
ey
Ad
d
u
n
i
t
tests for ‘dput
.
dput
.
exec
u
te_command’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add helpe
r
fu
n
cti
o
n
alit
y
for testing ‘os
.
s
y
stem’ beh
a
v
iour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add help
e
r functiona
l
ity for t
e
sting
‘os
.
waitpid’ behav
i
ou
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Finney
Add helper funct
i
on
a
lity fo
r
testin
g
‘os
.
path
.
exists
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nn
e
y
Add helper funct
i
onality
f
or testing
‘
os
.
unlink’ and
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add
h
elpe
r
fu
n
ction for te
s
ting ‘tempfile
.
mkdtemp’
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
Add unit
tests for ‘dput
.
d
p
u
t
.
dinstall_caller’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
Add unit tests for
‘
d
put
.
dput
.
gu
e
ss_upload_host’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
F
i
nney
A
dd unit tests for ‘dput
.
d
p
u
t
.
run_li
n
tian_
t
est
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add help
e
r function to patch ‘dp
u
t
.
helper
.
dputhelper
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
Add u
n
it tests for ‘
d
put
.
h
e
lper
.
dputhelper
.
getopt’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
n
e
y
Add unit t
e
st
s
for
‘dput
.
methods
.
local
.
u
p
load’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
e
y
Patch the ‘F
i
leWithPro
g
r
ess’ class fo
r
upload
m
ethod
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
All
o
w ov
e
rride of the
f
ake
file in ‘dp
u
t
.
m
e
thods
.
*
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en
F
inney
Add functionality to sup
p
ort
tests for ‘dput
.
methods
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Finney
A
d
d h
e
lper function to patch
‘
dp
u
t
.
helper
.
dpu
t
helper
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finn
e
y
A
dd unit tests for ‘
d
put
.
helper
.
dputhel
p
er
.
FileWithProgre
s
s’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
unit t
e
sts for ‘d
p
ut
.
helper
.
dputhelper
.
Timestamp
F
ile’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add
unit
t
est
s
for
‘
d
p
ut
.
help
e
r
.
d
p
uthelp
e
r
.
spawnv’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
F
i
nn
e
y
A
d
d hel
p
er function to patc
h
expec
t
ed
runtime config
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
uni
t
tests for ‘dput
.
dput
.
r
egister_upload_function’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add unit
tes
t
s for ‘dput
.
dput
.
imp
o
r
t_uploa
d
_functions
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add un
i
t tests for ‘dput
.
dp
u
t
.
print_confi
g
’
.
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
A
dd
u
nit tests for
‘dput
.
dput
.
create
_
upload_
f
il
e
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finn
e
y
A
d
d mor
e
u
n
it
te
s
t
s for ‘dput
.
dput
.
verify_files’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en
F
i
nne
y
Ad
d
ini
t
ial u
n
i
t
tests for ‘dput
.
dput
.
verify_file
s
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
d
d helper functions t
o
p
atch UID int
e
rfaces
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
Add helper fu
n
c
tion to pat
c
h
‘
signal
.
signal
’
function
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
h
e
lper function t
o
p
atc
h
‘os
.
g
etpid’ funct
i
on
.
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
Add helper
f
un
c
t
i
o
n
to patch ‘os
.
environ’ object
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
unit test
s
f
o
r ‘dput
.
dput
.
so
u
r
c
e_
c
he
c
k
’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add unit tests fo
r
‘dput
.
dput
.
v
e
rify_s
i
gnature’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add unit tests for ‘dpu
t
.
dput
.
ch
e
ck_
u
p
l
oad_varia
n
t’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add
u
nit tests f
o
r
‘
dput
.
dput
.
check_signature’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Ad
d
helper functionality to test ‘os
.
spawn
v
’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
h
e
lper functi
o
nality t
o
test ‘os
.
popen’
behavi
o
ur
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add a
‘P
o
penDouble’ ins
t
an
c
e and scenario
s
to each
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Finney
Add helper
function
a
lity to t
e
s
t
‘
s
ubprocess
.
Popen
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add helper fu
n
ctionality for data-dr
i
ven subp
r
oces
s
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Refine ‘patch_time_time’ to
a
c
c
ept
a
custom iterator
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fin
n
ey
Add helper function to patch ‘time
.
time’
.
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
‘
dput
.
dput
.
checksum_test’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Fin
n
ey
Import fak
e
file h
e
lper functionality to ‘t
e
st_dp
u
t’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en Fi
n
ney
A
dd more u
n
i
t tests for ‘dpu
t
.
dput
.
read
_
c
o
n
f
igs’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inney
A
d
d
i
n
i
tial uni
t
te
s
ts for ‘dput
.
dpu
t
.
read_configs’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en Finney
Add confi
g
file
s
cenario specifying “allo
w
_unsigned_up
l
o
ads
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add con
f
ig fi
l
e scena
r
io with three hosts defi
n
ed
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n
Finney
A
dd helper functions to set up co
n
fig file fixt
u
r
e
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Import ‘configparser’ modu
l
e for current
Pytho
n
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inney
Add
h
e
l
p
e
r f
u
nction
a
lity
f
or setting
u
pload fil
e
test
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Fin
n
ey
A
d
d helper function for
m
akin
g
a uni
q
u
e text
s
l
ug
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add
helper functionality to test ‘os
.
lstat’ behaviou
r
.
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add he
l
per funct
i
onality to test
‘os
.
st
a
t’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
n
ey
Add ‘os
.
s
t
at’ result
a
s a
F
ileDoubl
e
at
t
ribute
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
Finney
Add fu
n
ction scenario class for
‘
os
.
sta
t
’ behav
i
o
u
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add
u
nit tests
f
or ‘dput
.
d
p
ut
.
parse_cha
n
ges’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
en
F
inney
Ad
d
n
a
m
ed
c
onstants for exit status values
.
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
n
ey
Add help
e
r
functions to s
e
t up changes fil
e
scenarios
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inn
e
y
A
d
d
h
elpe
r
funct
i
ons for fake changes document
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add skelet
o
n modu
l
e for
t
esting Debi
a
n up
l
oad contro
l
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
B
en
F
inney
A
d
d fak
e
f
il
e
scenario gener
a
tio
n
and
s
etup
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
in
n
e
y
Add
cross-version compatible filesyste
m
-
relate
d
exce
p
t
i
on
.
.
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Ad
d
s
cenari
o
class for ‘
b
uiltins
.
open’ behaviou
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Add ‘os
.
path’
to tes
t
hel
p
e
r m
o
dule
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Fi
n
ney
Add helper function to patch ‘o
s
.
access’
behavio
u
r
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
Add
f
unction scenario class for ‘os
.
access’ behaviour
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
A
dd h
e
lp
e
r cl
a
ss for sc
e
n
arios for
f
ile functions
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
nney
A
d
d regis
t
r
y
class t
o
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 for tes
t
ing doubles for fi
l
es
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Be
n
F
i
nney
Allow test double clas
s
to
s
pecify
its
r
egist
r
y
cl
a
s
s
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
i
nne
y
Add a ‘TestDoubleWi
t
hRegistry’ a
b
stract ba
s
e class
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben F
i
n
n
ey
Patch stdout for te
s
t cases
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
R
efactor to a single f
u
nction for patching d
i
sruptive
.
.
.
commit
|
commitdiff
|
tree
2016-08-27
Ben Finney
Import ‘builtins’ names
p
ace in test helper module
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben
F
inne
y
R
e
factor
t
est
h
elper funct
i
on
a
lity into
s
epar
a
te module
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
Ben Finne
y
Add unit tes
t
s for ‘
d
p
ut
.
dput
.
h
e
x
ify_st
r
ing’
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
Add helper functionality for Dput tests
.
Signed-off-by:
Ben Finney
<ben+debian@benfinney.id.au>
commit
|
commitdiff
|
tree
2016-08-27
B
e
n Finney
A
dd skel
e
ton module for
te
s
ting ‘
d
put
.
dput’ module
.
commit
|
commitdiff
|
tree
next