projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into rewrite-sheet
[pspp-builds.git]
/
tests
/
expressions
/
valuelabel.sh
diff --git
a/tests/expressions/valuelabel.sh
b/tests/expressions/valuelabel.sh
index ef21e041f5e0697398382ca660895631d4e696e8..cb0f5ba3a04161a27ca712c4b43df36c7e83e2a8 100755
(executable)
--- a/
tests/expressions/valuelabel.sh
+++ b/
tests/expressions/valuelabel.sh
@@
-19,6
+19,10
@@
export LANG
cleanup()
{
cleanup()
{
+ if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
+ echo "NOT cleaning $TEMPDIR"
+ return ;
+ fi
cd /
rm -rf $TEMPDIR
}
cd /
rm -rf $TEMPDIR
}
@@
-56,6
+60,7
@@
cat > $TEMPDIR/valuelabel.stat <<EOF
DATA LIST notable /n 1 s 2(a).
VALUE LABELS /n 0 'Very dissatisfied'
1 'Dissatisfied'
DATA LIST notable /n 1 s 2(a).
VALUE LABELS /n 0 'Very dissatisfied'
1 'Dissatisfied'
+ 1.5 'Slightly Peeved'
2 'Neutral'
3 'Satisfied'
4 'Very satisfied'.
2 'Neutral'
3 'Satisfied'
4 'Very satisfied'.
@@
-78,6
+83,7
@@
BEGIN DATA.
5f
6g
END DATA.
5f
6g
END DATA.
+
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi