projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: avoid a spurious failure on NetBSD
[platform/upstream/automake.git]
/
t
/
cond8.sh
diff --git
a/t/cond8.sh
b/t/cond8.sh
index
f21aacb
..
f19ede5
100755
(executable)
--- a/
t/cond8.sh
+++ b/
t/cond8.sh
@@
-17,7
+17,7
@@
# Test to make sure _PROGRAMS conditionals can be written in a useful
# way.
# Test to make sure _PROGRAMS conditionals can be written in a useful
# way.
-.
./defs || Exit 1
+.
test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC
cat >> configure.ac << 'END'
AC_PROG_CC
@@
-58,10
+58,10
@@
END
cp x.c y.c
cp x.c y.c
-instdir=
`pwd`
/_inst || fatal_ "cannot get current directory"
+instdir=
$(pwd)
/_inst || fatal_ "cannot get current directory"
# Skip the rest of the test in case of e.g. missing C compiler.
# Skip the rest of the test in case of e.g. missing C compiler.
-./configure --prefix="$instdir" x=yes ||
E
xit $?
+./configure --prefix="$instdir" x=yes ||
e
xit $?
$MAKE install
$MAKE get-built
$MAKE get-installed
$MAKE install
$MAKE get-built
$MAKE get-installed