diff options
author | Josh MacDonald <josh.macdonald@gmail.com> | 2016-03-14 22:57:24 -0700 |
---|---|---|
committer | Josh MacDonald <josh.macdonald@gmail.com> | 2016-03-14 22:57:24 -0700 |
commit | 0525275fe4b553a10f38e455d30c60dc6ed9b45d (patch) | |
tree | 5e5b2d0870273e392768ecb5f01b0042adcbf2b5 /xdelta3/testing/xdelta3-regtest.py | |
parent | d594fbe514e2a381541a510fe01041e546f56a67 (diff) |
Introduce APL LICENSE and notices, remove GNU COPYING and notices. Version 3.0.12. (Copyright owner)
Diffstat (limited to 'xdelta3/testing/xdelta3-regtest.py')
-rwxr-xr-x | xdelta3/testing/xdelta3-regtest.py | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/xdelta3/testing/xdelta3-regtest.py b/xdelta3/testing/xdelta3-regtest.py index cb07198..aa54c46 100755 --- a/xdelta3/testing/xdelta3-regtest.py +++ b/xdelta3/testing/xdelta3-regtest.py | |||
@@ -1,35 +1,26 @@ | |||
1 | #!/usr/bin/python2.6 | 1 | #!/usr/bin/python2.7 |
2 | # xdelta 3 - delta compression tools and library | 2 | # xdelta3 - delta compression tools and library -*- Mode: C++ -*- |
3 | # Copyright (C) 2003, 2006, 2007, 2008. Joshua P. MacDonald | 3 | # Copyright 2016 Joshua MacDonald |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
6 | # it under the terms of the GNU General Public License as published by | 6 | # you may not use this file except in compliance with the License. |
7 | # the Free Software Foundation; either version 2 of the License, or | 7 | # You may obtain a copy of the License at |
8 | # (at your option) any later version. | ||
9 | # | 8 | # |
10 | # This program is distributed in the hope that it will be useful, | 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | 10 | # |
15 | # You should have received a copy of the GNU General Public License | 11 | # Unless required by applicable law or agreed to in writing, software |
16 | # along with this program; if not, write to the Free Software | 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 | # See the License for the specific language governing permissions and | ||
15 | # limitations under the License. | ||
18 | 16 | ||
19 | # TODO: test 1.5 vs. greedy | 17 | # TODO This code is no longer maintained :( |
20 | 18 | ||
21 | import os, sys, math, re, time, types, array, random | 19 | import os, sys, math, re, time, types, array, random |
22 | import xdelta3 | 20 | import xdelta3 |
23 | 21 | ||
24 | #RCSDIR = '/mnt/polaroid/Polaroid/orbit_linux/home/jmacd/PRCS' | 22 | RCSDIR = '/tmp/rcs' |
25 | #RCSDIR = '/tmp/PRCS_read_copy' | 23 | SAMPLEDIR = "/tmp/diff" |
26 | #SAMPLEDIR = "/tmp/WESNOTH_tmp/diff" | ||
27 | |||
28 | #RCSDIR = 'G:/jmacd/PRCS_copy' | ||
29 | #SAMPLEDIR = "C:/sample_data/Wesnoth/tar" | ||
30 | |||
31 | RCSDIR = '/Users/jmacd/src/ftp.kernel.org' | ||
32 | SAMPLEDIR = '/Users/jmacd/src/xdelta3/linux' | ||
33 | 24 | ||
34 | # | 25 | # |
35 | MIN_SIZE = 0 | 26 | MIN_SIZE = 0 |