Changeset ac6554 in git for Singular/LIB/tst.lib


Ignore:
Timestamp:
May 15, 1998, 6:18:19 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
ebecf83da487f4114cc92e8fb8979e46d7ee9f26
Parents:
779b9b7027631ab801b2b12ff6a451246abe4541
Message:
* corrected return statements (thanks, Christian)


git-svn-id: file:///usr/local/Singular/svn/trunk@1799 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/tst.lib

    r779b9b7 rac6554  
    1 // $Id: tst.lib,v 1.5 1998-05-14 18:45:19 Singular Exp $
     1// $Id: tst.lib,v 1.6 1998-05-15 16:18:19 obachman Exp $
    22//(obachman, last modified 2/13/98)
    33///////////////////////////////////////////////////////////////////////////////
    44
    5 version="$Id: tst.lib,v 1.5 1998-05-14 18:45:19 Singular Exp $";
     5version="$Id: tst.lib,v 1.6 1998-05-15 16:18:19 obachman Exp $";
    66info="
    77LIBRARY:  tst.lib      PROCEDURES FOR RUNNING AUTOMATIC TST TESTS
     
    1818proc tst_system(string s)
    1919"USAGE:    tst_system(s); s string
    20 RETURN:   string which is stdout \x and stderr of system(\"sh\", s)
    21 EXAMPLE:  example tst_system; shows examples
    22 "
     20RETURN:   string which is stdout and stderr of system(\"sh\", s)
     21EXAMPLE:  example tst_system; shows examples"
    2322{
    2423  string tmpfile = "/tmp/tst_" + string(system("pid"));
     
    6261    "Error tst_ignore: Wrong number of arguments";
    6362    "Usage: tst_ignore (any,[keyword], [link]);";
    64     return;
     63    return();
    6564  }
    6665
     
    8988    "Error tst_ignore: Keyword must be a string";
    9089    "Usage: tst_ignore (any,[keyword], [link]);";
    91     return;
     90    return();
    9291  }
    9392  if (keyword == "time" || keyword == "memory")
     
    112111    outlink;
    113112    "Usage: tst_ignore (any,[keyword], [link]);";
    114     return;
     113    return();
    115114  }
    116115
Note: See TracChangeset for help on using the changeset viewer.