/[pspp]/pspp/tests/command/file-label.sh
ViewVC logotype

Diff of /pspp/tests/command/file-label.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by jmd, Tue Jan 18 11:31:45 2005 UTC revision 1.5 by jmd, Wed Apr 13 10:09:59 2005 UTC
# Line 47  mkdir -p $TEMPDIR Line 47  mkdir -p $TEMPDIR
47  cd $TEMPDIR  cd $TEMPDIR
48    
49  activity="create program"  activity="create program"
50  cat > $TEMPDIR/file-lab.stat << EOF  cat > $TESTFILE << EOF
   
51    
52  /* Set up a dummy active file in memory.  /* Set up a dummy active file in memory.
53  data list /x 1 y 2.  data list /x 1 y 2.
# Line 75  display documents. Line 74  display documents.
74  display file label.     /* undocumented feature of PSPP  display file label.     /* undocumented feature of PSPP
75    
76  /* Save the active file then get it and display the documents again.  /* Save the active file then get it and display the documents again.
77  save 'foo.save'.  save /OUTFILE='foo.save'.
78  get 'foo.save'.  get /FILE='foo.save'.
79  display documents.  display documents.
80  display file label.     /* undocumented feature of PSPP  display file label.     /* undocumented feature of PSPP
81    
# Line 94  document There should be another documen Line 93  document There should be another documen
93  display documents.  display documents.
94    
95  /* Save and get.  /* Save and get.
96  save 'foo.save'.  save /OUTFILE='foo.save'.
97  get 'foo.save'.  get /FILE='foo.save'.
98  display documents.  display documents.
99  display file label.     /* undocumented feature of PSPP  display file label.     /* undocumented feature of PSPP
100    
# Line 105  EOF Line 104  EOF
104  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
105    
106  activity="run program"  activity="run program"
107  $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/file-lab.stat  $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TESTFILE
108  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
109    
110  # We need to filter out the dates/times  # We need to filter out the dates/times

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26