diff options
| author | cassiopc <cassiopc@gmail.com> | 2012-08-08 17:52:19 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2012-08-08 17:52:19 +0000 |
| commit | 5d4eca5257a60c5f1de043fdf3f67e0a9df011f4 (patch) | |
| tree | 6d4ec6ffe1b6490be4120c0f06ae6cdabca41dd8 /boca-1.5.0/doc/problemexamples/bits/tests | |
| parent | f8c7c32e3ea6417ccf04309ec521b39a0c20414d (diff) | |
| download | boca-5d4eca5257a60c5f1de043fdf3f67e0a9df011f4.tar.gz boca-5d4eca5257a60c5f1de043fdf3f67e0a9df011f4.zip | |
many small bug fixes
Diffstat (limited to 'boca-1.5.0/doc/problemexamples/bits/tests')
| l--------- | boca-1.5.0/doc/problemexamples/bits/tests | 1 | ||||
| -rwxr-xr-x | boca-1.5.0/doc/problemexamples/bits/tests/c | 24 |
2 files changed, 1 insertions, 24 deletions
diff --git a/boca-1.5.0/doc/problemexamples/bits/tests b/boca-1.5.0/doc/problemexamples/bits/tests new file mode 120000 index 0000000..7ef2d62 --- /dev/null +++ b/boca-1.5.0/doc/problemexamples/bits/tests @@ -0,0 +1 @@ +../problemtemplate/tests
\ No newline at end of file diff --git a/boca-1.5.0/doc/problemexamples/bits/tests/c b/boca-1.5.0/doc/problemexamples/bits/tests/c deleted file mode 100755 index 1a0ca95..0000000 --- a/boca-1.5.0/doc/problemexamples/bits/tests/c +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -cat > test.c <<EOF -int main() { - char s[100]; - scanf("%s", s); - printf("%s\n",s); - return 0; -} -EOF -cat > test.in <<EOF -inputdata -EOF - -TL=2 -REP=10 -../compile/c test.c test.exe TL -../run/c test.exe test.in TL REP -output=`cat stdout0` -if [ "$output" != "inputdata" ]; then - echo "ERROR" - exit 1 -fi -exit 0 |