Name

pub_test_logger — Logs requests for public tests on the ISG account

Synopsis

pub_test_logger {csXXX} {assignment} [userid]

Usage

This should be called indirectly from pub_test_web or from pub_test_request. This command should NOT be run directly!

The first parameter is the course for which the test is being requested. The second parameter is the name of the assignment. The third parameter is the userid of the person requesting public tests. All parameters must be strictly alphanumeric, or pub_test_logger will abort.

Description

This program logs requests for public tests in the directory /u/isg/public_test_request_files/requests where they can be found by pub_test_runner processes. Appropriate messages will be reported back to the user in each of the following situations, in which case a public test request will not be recorded:

  • This user has a previously-made test request still in the queue.

  • A public test is currently being run on this user.

If all of this succeeds, an empty log file is created of the form csXXX .userid.assignment.request.

Topic revision: r1 - 2016-01-11 - YiLee
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback