First attempt at "make check".
[platform/upstream/rpm.git] / tests / hello-test / test0.exp
1 Executing: %prep
2 + umask 022
3 + cd /usr/src/redhat/BUILD
4 + cd /usr/src/redhat/BUILD
5 + rm -rf hello-1.0
6 + /bin/gzip -dc /usr/src/redhat/SOURCES/hello-1.0.tar.gz
7 + tar -xf -
8 + STATUS=0
9 + [ 0 -ne 0 ]
10 + cd hello-1.0
11 + chmod -R a+rX,g-w,o-w .
12 + exit 0
13 Executing: %build
14 + umask 022
15 + cd /usr/src/redhat/BUILD
16 + cd hello-1.0
17 + make
18 make[2]: Entering directory `/usr/src/redhat/BUILD/hello-1.0'
19 make[2]: Nothing to be done for `all'.
20 make[2]: Leaving directory `/usr/src/redhat/BUILD/hello-1.0'
21 + exit 0
22 Executing: %install
23 + umask 022
24 + cd /usr/src/redhat/BUILD
25 + cd hello-1.0
26 + rm -rf /var/tmp/hello-root
27 + mkdir -p /var/tmp/hello-root/usr/local/bin
28 + make DESTDIR=/var/tmp/hello-root install
29 make[2]: Entering directory `/usr/src/redhat/BUILD/hello-1.0'
30 install -m 0755 hello /var/tmp/hello-root/usr/local/bin
31 make[2]: Leaving directory `/usr/src/redhat/BUILD/hello-1.0'
32 + exit 0
33 Processing files: hello
34 Finding provides...
35 Finding requires...
36 Requires: ld-linux.so.2 libc.so.6
37 Wrote: /usr/src/redhat/SRPMS/hello-1.0-1.src.rpm
38 Wrote: /usr/src/redhat/RPMS/sparc/hello-1.0-1.sparc.rpm
39 Executing: %clean
40 + umask 022
41 + cd /usr/src/redhat/BUILD
42 + cd hello-1.0
43 + rm -rf /var/tmp/hello-root
44 + exit 0