summaryrefslogtreecommitdiff
path: root/xdelta3/testing/xdelta3-regtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/testing/xdelta3-regtest.py')
-rwxr-xr-xxdelta3/testing/xdelta3-regtest.py39
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
21import os, sys, math, re, time, types, array, random 19import os, sys, math, re, time, types, array, random
22import xdelta3 20import xdelta3
23 21
24#RCSDIR = '/mnt/polaroid/Polaroid/orbit_linux/home/jmacd/PRCS' 22RCSDIR = '/tmp/rcs'
25#RCSDIR = '/tmp/PRCS_read_copy' 23SAMPLEDIR = "/tmp/diff"
26#SAMPLEDIR = "/tmp/WESNOTH_tmp/diff"
27
28#RCSDIR = 'G:/jmacd/PRCS_copy'
29#SAMPLEDIR = "C:/sample_data/Wesnoth/tar"
30
31RCSDIR = '/Users/jmacd/src/ftp.kernel.org'
32SAMPLEDIR = '/Users/jmacd/src/xdelta3/linux'
33 24
34# 25#
35MIN_SIZE = 0 26MIN_SIZE = 0