Acknowledgement of the Academic Integrity Statement

The following test can be placed in a subfolder of in that has (language external) applied to it.

#!/usr/bin/env bash

if $testdir/check_acadinteg $student $submitdir/acadinteg.txt >&4;
then
         echo '100' >&3
else
        echo '0' >&3
fi

Note that as a side effect, check_acadinteg prints a status message to standard output. This is redirected to file descriptor 4 so students can see it. This utility should be placed in the test suite's root directory.

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext check_acadinteg r1 manage 4.3 K 2010-01-05 - 15:54 TerryVaskor  
Topic revision: r1 - 2010-01-05 - TerryVaskor
 
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