File: soak-test

package info (click to toggle)
patchutils 0.2.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 800 kB
  • ctags: 182
  • sloc: ansic: 3,496; sh: 2,547; xml: 997; makefile: 193; perl: 101
file content (19 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -x
set -e

rm -rf linux
tar zxf ~/download/linux-2.5.0.tar.gz
( cd linux ; patch -sp1 < ../patch-2.5.1-pre3 )

for n in 3 4 # 5 6 7 8 9 10 11 12
do
	../interdiff -U0 patch-2.5.1-pre$n \
		patch-2.5.1-pre$((1+$n)) | (cd linux; patch -sp1)
	rm -rf staging
	mkdir staging
	(cd staging; tar zxf ~/download/linux-2.5.0.tar.gz)
	cat patch-2.5.1-pre$((1+$n)) | \
		(cd staging/linux; patch -sp1)
	diff -ur linux staging/linux
done