This is just a quick workaround to prevent having too much noise
in the testsuite; more proper fixes have been committed into the
'testsuite-work' branch.
* tests/self-check-dir.test: Relax a test to avoid unimportant
failure on Solaris 10.
* tests/self-check-exit.test: Likewise.
+2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ testsuite: avoid spurious failure of self checks on Solaris
+ This is just a quick workaround to prevent having too much noise
+ in the testsuite; more proper fixes have been committed into the
+ 'testsuite-work' branch.
+ * tests/self-check-dir.test: Relax a test to avoid unimportant
+ failure on Solaris 10.
+ * tests/self-check-exit.test: Likewise.
+
2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
test defs: more environment cleanup
$SHELL -c "
. ./defs || Exit 1
: > $this.tmp
- case \`pwd\` in '`pwd`'/$this.dir);; *) Exit 1;; esac
+ case \`pwd\` in */$this.dir);; *) Exit 1;; esac
" $this.test || outcome=false
test -f $this.tmp && { rm -f $this.tmp; outcome=false; }
done
-echo "* Try: non-existent-program"
-$SHELL -c ". ./defs; non-existent-program; :"
-rc=$?
-echo "* rc=$rc"
-echo
-test $rc -eq 127 || exit 1
+# Disabled: some lesser shells such as Solaris /bin/sh might fail
+# on this.
+#echo "* Try: non-existent-program"
+#$SHELL -c ". ./defs; non-existent-program; :"
+#rc=$?
+#echo "* rc=$rc"
+#echo
+#test $rc -eq 127 || exit 1
for sig in 1 2 13 15; do