File: soak-test

package info (click to toggle)
patchutils 0.4.2-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,248 kB
  • sloc: ansic: 6,181; sh: 6,143; xml: 2,750; perl: 409; makefile: 248; python: 23
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