From 6b5d5d85188ab874e5fc7cc6708b9d03c88b2c82 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Thu, 3 Nov 2011 16:16:21 -0400 Subject: [PATCH 1/4] Updated external link --- test/pdfs/cable.pdf.link | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/pdfs/cable.pdf.link b/test/pdfs/cable.pdf.link index 9cf92a5b8..ea9270592 100644 --- a/test/pdfs/cable.pdf.link +++ b/test/pdfs/cable.pdf.link @@ -1 +1,2 @@ -http://www.wrapon.com/docs/PIPEHEATCABLE.PDF +https://wrap-on.com/docs/PIPEHEATCABLE.PDF + From 7bb9f74fa290641c2eb134076f683b4d492fc909 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Thu, 3 Nov 2011 16:29:08 -0400 Subject: [PATCH 2/4] nit --- test/pdfs/cable.pdf.link | 1 - 1 file changed, 1 deletion(-) diff --git a/test/pdfs/cable.pdf.link b/test/pdfs/cable.pdf.link index ea9270592..671f06166 100644 --- a/test/pdfs/cable.pdf.link +++ b/test/pdfs/cable.pdf.link @@ -1,2 +1 @@ https://wrap-on.com/docs/PIPEHEATCABLE.PDF - From 2d51ee8fcd0e02f3d51044b36f167f34486f0942 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Thu, 3 Nov 2011 19:01:10 -0400 Subject: [PATCH 3/4] Fixing ref/ update --- test/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.py b/test/test.py index 66e1acd31..e3aefcfb5 100644 --- a/test/test.py +++ b/test/test.py @@ -506,9 +506,7 @@ def maybeUpdateRefImages(options, browser): print ' Yes! The references in tmp/ can be synced with ref/.' if options.reftest: startReftest(browser, options) - if options.noPrompts or not prompt('Would you like to update the master copy in ref/?'): - print ' OK, not updating.' - else: + if options.noPrompts or prompt('Would you like to update the master copy in ref/?'): sys.stdout.write(' Updating ref/ ... ') # XXX unclear what to do on errors here ... @@ -517,6 +515,8 @@ def maybeUpdateRefImages(options, browser): subprocess.check_call(( 'rsync', '-arv', 'tmp/', 'ref/' )) print 'done' + else: + print ' OK, not updating.' def startReftest(browser, options): url = "http://%s:%s" % (SERVER_HOST, options.port) From 989ad4952f7822c9853f6125a58021d5d73b3108 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Thu, 3 Nov 2011 19:50:28 -0400 Subject: [PATCH 4/4] Quiet rsync --- test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.py b/test/test.py index e3aefcfb5..7d16ea796 100644 --- a/test/test.py +++ b/test/test.py @@ -512,7 +512,7 @@ def maybeUpdateRefImages(options, browser): # XXX unclear what to do on errors here ... # NB: do *NOT* pass --delete to rsync. That breaks this # entire scheme. - subprocess.check_call(( 'rsync', '-arv', 'tmp/', 'ref/' )) + subprocess.check_call(( 'rsync', '-arvq', 'tmp/', 'ref/' )) print 'done' else: