summaryrefslogtreecommitdiff
path: root/testapp/exam/docs/sample.sh
diff options
context:
space:
mode:
authorankitjavalkar2015-06-24 15:55:35 +0530
committerankitjavalkar2015-06-24 15:55:35 +0530
commit3f0bb01600535b105c265e9da63814af06c0ab9d (patch)
tree06e1598081ed64fcc2b034a0cac263f7fe46e354 /testapp/exam/docs/sample.sh
parent924b0d1e39ec0d4f0ffab25c46e239c146f4a247 (diff)
downloadonline_test-3f0bb01600535b105c265e9da63814af06c0ab9d.tar.gz
online_test-3f0bb01600535b105c265e9da63814af06c0ab9d.tar.bz2
online_test-3f0bb01600535b105c265e9da63814af06c0ab9d.zip
Move docs/ dir to exam/ dir, fix code_evaluators dict in exam/settings
Diffstat (limited to 'testapp/exam/docs/sample.sh')
-rwxr-xr-xtestapp/exam/docs/sample.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapp/exam/docs/sample.sh b/testapp/exam/docs/sample.sh
new file mode 100755
index 0000000..e935cb3
--- /dev/null
+++ b/testapp/exam/docs/sample.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+[[ $# -eq 2 ]] && echo $(( $1 + $2 )) && exit $(( $1 + $2 ))