File: soak-test

package info (click to toggle)
patchutils 0.2.30-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,376 kB
  • ctags: 261
  • sloc: sh: 6,183; ansic: 5,748; xml: 1,971; perl: 398; makefile: 366
file content (19 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download | duplicates (10)
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