Changeset 3276 for monitoring
- Timestamp:
- 08/06/13 14:47:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/integration_test.R
r3275 r3276 7 7 header = TRUE, 8 8 quote = "", 9 row.names = NULL); 10 11 command_line_arguments <- 12 base:::paste(test_info$Nagios.plugin, "-h", test_info$`-h`); 13 14 if (test_info$`-u` != "") { 15 command_line_arguments <- 16 base:::c(command_line_arguments, 17 test_info$`-u`); 18 } 9 row.names = NULL, 10 check.names = FALSE 11 asIs = TRUE); 19 12 20 13 ## test_results has a value equal to the exit status of the scripts with arguments command_line_arguments run. … … 32 25 base:::message(base:::paste("Running test", test_index)); 33 26 34 arg_set <- 35 command_line_arguments[test_index]; 27 command_line_arguments <- 28 base:::paste(test_info[test_index,]$command, "-h", test_info[test_index,]$`-h`); 29 30 if (test_info[test_index,]$`-u` != "") { 31 command_line_arguments <- 32 base:::c(command_line_arguments, 33 test_info[test_index,]$`-u`); 34 } 35 36 browser(); 36 37 37 38 test_output <- 38 39 system2(command = "python2", 39 args = arg_set,40 args = command_line_arguments, 40 41 stdout = TRUE, 41 42 stderr = TRUE);
Note: See TracChangeset
for help on using the changeset viewer.