From 55a31d3e2a664464f12305a9d55f36b5f18a05de Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Thu, 15 Aug 2019 17:03:26 -0500
Subject: [PATCH] 	modified:   tests/elastic_test.sh 	new file:  
 tests/my_root_script.cxx

---
 tests/elastic_test.sh    | 1 +
 tests/my_root_script.cxx | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 tests/my_root_script.cxx

diff --git a/tests/elastic_test.sh b/tests/elastic_test.sh
index 8a903c3..53f272b 100644
--- a/tests/elastic_test.sh
+++ b/tests/elastic_test.sh
@@ -12,3 +12,4 @@ singularity help build/Singularity.hcana.simg
 
 singularity exec build/Singularity.hcana.simg which hcana
 
+singularity exec build/Singularity.hcana.simg hcana tests/my_root_script.cxx
diff --git a/tests/my_root_script.cxx b/tests/my_root_script.cxx
new file mode 100644
index 0000000..a333818
--- /dev/null
+++ b/tests/my_root_script.cxx
@@ -0,0 +1,7 @@
+void my_root_script() {
+
+  std::cout << "Hello from my_root_script.cxx!\n";
+
+  std::cout << "This should be run with singularity\n";
+
+}
-- 
GitLab