From 8664a766406d6acf0d6a1688948153c407ea27f2 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Fri, 24 Apr 2015 14:25:26 +0530 Subject: Code Review: Code refactoring - Rename files - Create function for @classmethod call - Fix current, add new testcases - Fix views to fetch solution/ref_code_path fields in question post save - Fix errors --- testapp/exam/bash_files/sample.args | 2 ++ testapp/exam/bash_files/sample.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 testapp/exam/bash_files/sample.args create mode 100755 testapp/exam/bash_files/sample.sh (limited to 'testapp/exam/bash_files') diff --git a/testapp/exam/bash_files/sample.args b/testapp/exam/bash_files/sample.args new file mode 100644 index 0000000..4d9f00d --- /dev/null +++ b/testapp/exam/bash_files/sample.args @@ -0,0 +1,2 @@ +1 2 +2 1 diff --git a/testapp/exam/bash_files/sample.sh b/testapp/exam/bash_files/sample.sh new file mode 100755 index 0000000..e935cb3 --- /dev/null +++ b/testapp/exam/bash_files/sample.sh @@ -0,0 +1,2 @@ +#!/bin/bash +[[ $# -eq 2 ]] && echo $(( $1 + $2 )) && exit $(( $1 + $2 )) -- cgit