You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:22:12 UTC
svn commit: r1132001 - in
/incubator/mesos/trunk/src/tests/external/SampleFrameworks: CFramework.sh
CFrameworkCmdlineParsing.sh CFrameworkInvalidCmdline.sh
CFrameworkInvalidEnv.sh CppFramework.sh
Author: benh
Date: Sun Jun 5 08:22:11 2011
New Revision: 1132001
URL: http://svn.apache.org/viewvc?rev=1132001&view=rev
Log:
Fixed the C and C++ external tests
Modified:
incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFramework.sh
incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkCmdlineParsing.sh
incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidCmdline.sh
incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidEnv.sh
incubator/mesos/trunk/src/tests/external/SampleFrameworks/CppFramework.sh
Modified: incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFramework.sh
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFramework.sh?rev=1132001&r1=1132000&r2=1132001&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFramework.sh (original)
+++ incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFramework.sh Sun Jun 5 08:22:11 2011
@@ -4,4 +4,4 @@
export MESOS_SLAVES=3
# Check that the C test framework executes without crashing (returns 0).
-exec $MESOS_HOME/test-framework local
+exec $MESOS_HOME/bin/examples/test-framework local
Modified: incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkCmdlineParsing.sh
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkCmdlineParsing.sh?rev=1132001&r1=1132000&r2=1132001&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkCmdlineParsing.sh (original)
+++ incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkCmdlineParsing.sh Sun Jun 5 08:22:11 2011
@@ -1,4 +1,4 @@
#!/bin/sh
# Check that the C test framework executes without crashing (returns 0).
-exec $MESOS_HOME/test-framework --url=local --slaves=3
+exec $MESOS_HOME/bin/examples/test-framework --url=local --slaves=3
Modified: incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidCmdline.sh
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidCmdline.sh?rev=1132001&r1=1132000&r2=1132001&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidCmdline.sh (original)
+++ incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidCmdline.sh Sun Jun 5 08:22:11 2011
@@ -2,7 +2,7 @@
# Run the C framework with an invalid slaves parameter (not an integer)
# and check that it reports the error.
-$MESOS_HOME/test-framework --url=local --slaves=blah > framework.out 2>&1
+$MESOS_HOME/bin/examples/test-framework --url=local --slaves=blah > framework.out 2>&1
if grep -e "Configuration error" framework.out; then
exit 0
else
Modified: incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidEnv.sh
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidEnv.sh?rev=1132001&r1=1132000&r2=1132001&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidEnv.sh (original)
+++ incubator/mesos/trunk/src/tests/external/SampleFrameworks/CFrameworkInvalidEnv.sh Sun Jun 5 08:22:11 2011
@@ -2,7 +2,7 @@
# Run the C framework with an invalid slaves parameter (not an integer)
# set through the environment, and check that it reports the error.
-MESOS_SLAVES=blah $MESOS_HOME/test-framework local > framework.out 2>&1
+MESOS_SLAVES=blah $MESOS_HOME/bin/examples/test-framework local > framework.out 2>&1
if grep -e "Configuration error" framework.out; then
exit 0
else
Modified: incubator/mesos/trunk/src/tests/external/SampleFrameworks/CppFramework.sh
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/tests/external/SampleFrameworks/CppFramework.sh?rev=1132001&r1=1132000&r2=1132001&view=diff
==============================================================================
--- incubator/mesos/trunk/src/tests/external/SampleFrameworks/CppFramework.sh (original)
+++ incubator/mesos/trunk/src/tests/external/SampleFrameworks/CppFramework.sh Sun Jun 5 08:22:11 2011
@@ -4,4 +4,4 @@
export MESOS_SLAVES=3
# Check that the C++ test framework executes without crashing (returns 0).
-exec $MESOS_HOME/cpp-test-framework local
+exec $MESOS_HOME/bin/examples/cpp-test-framework local