File tree Expand file tree Collapse file tree 3 files changed +10
-14
lines changed
Expand file tree Collapse file tree 3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,8 @@ if (BUILD_TESTING AND GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS)
2525 google_cloud_cpp_add_common_options(lustre_quickstart)
2626 add_test (
2727 NAME lustre_quickstart
28- COMMAND
29- cmake -P "${PROJECT_SOURCE_DIR} /cmake/quickstart-runner.cmake"
30- $<TARGET_FILE:lustre_quickstart> GOOGLE_CLOUD_PROJECT
31- GOOGLE_CLOUD_CPP_TEST_ZONE)
32- set_tests_properties (
33- lustre_quickstart
34- PROPERTIES LABELS "integration-test;quickstart" PASS_REGULAR_EXPRESSION
35- "last message of Read access to project" )
28+ COMMAND cmake -P "${PROJECT_SOURCE_DIR} /cmake/quickstart-runner.cmake"
29+ $<TARGET_FILE:lustre_quickstart> GOOGLE_CLOUD_PROJECT)
30+ set_tests_properties (lustre_quickstart
31+ PROPERTIES LABELS "integration-test;quickstart" )
3632endif ()
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ this library.
2323#include < iostream>
2424
2525int main (int argc, char* argv[ ] ) try {
26- if (argc != 3 ) {
27- std::cerr << "Usage: " << argv[ 0] << " project-id location-id \n";
26+ if (argc != 2 ) {
27+ std::cerr << "Usage: " << argv[ 0] << " project-id\n";
2828 return 1;
2929 }
3030
31- auto const location = google::cloud : :Location(argv[ 1] , argv [ 2 ] );
31+ auto const location = google::cloud : :Location(argv[ 1] , "-" );
3232
3333 namespace lustre = ::google::cloud : :lustre_v1;
3434 auto client = lustre::LustreClient(lustre::MakeLustreConnection());
Original file line number Diff line number Diff line change 1818#include < iostream>
1919
2020int main (int argc, char * argv[]) try {
21- if (argc != 3 ) {
22- std::cerr << " Usage: " << argv[0 ] << " project-id location-id \n " ;
21+ if (argc != 2 ) {
22+ std::cerr << " Usage: " << argv[0 ] << " project-id\n " ;
2323 return 1 ;
2424 }
2525
26- auto const location = google::cloud::Location (argv[1 ], argv[ 2 ] );
26+ auto const location = google::cloud::Location (argv[1 ], " - " );
2727
2828 namespace lustre = ::google::cloud::lustre_v1;
2929 auto client = lustre::LustreClient (lustre::MakeLustreConnection ());
You can’t perform that action at this time.
0 commit comments