freebsd-5-update-20030213
[openafs.git] / src / pinstall / test / test_install
1 #!/bin/csh -fe
2 # Copyright 2000, International Business Machines Corporation and others.
3 # All Rights Reserved.
4
5 # This software has been released under the terms of the IBM Public
6 # License.  For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
8
9 alias pi ./pinstall
10 alias ex 'if ( ! (-f \!:*) ) exit ( { echo \!:* failed } )'
11 rm -rf testdir
12
13 pi Makefile testdir
14 ex testdir/Makefile
15 pi Makefile testdir
16 ex testdir/Makefile
17 rm -rf testdir
18
19 pi Makefile testdir/Makefile
20 ex testdir/Makefile
21 pi Makefile testdir/Makefile
22 ex testdir/Makefile
23 rm -rf testdir
24
25 pi -f Makefile testdir/install
26 ex testdir/install
27 rm -rf testdir
28
29 pi install.c testdir/foo.c
30 ex testdir/foo.c
31 pi install.c testdir/c
32 ex testdir/c/install.c
33 rm -rf testdir