From 309674f1b03c94dc25332d229694f42679764b10 Mon Sep 17 00:00:00 2001
From: Whitney Armstrong <warmstrong@anl.gov>
Date: Thu, 15 Aug 2019 18:06:54 -0500
Subject: [PATCH] 	modified:   tests/my_root_script.cxx

---
 tests/my_root_script.cxx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tests/my_root_script.cxx b/tests/my_root_script.cxx
index a333818..5b2e54d 100644
--- a/tests/my_root_script.cxx
+++ b/tests/my_root_script.cxx
@@ -3,5 +3,16 @@ void my_root_script() {
   std::cout << "Hello from my_root_script.cxx!\n";
 
   std::cout << "This should be run with singularity\n";
+  double pi = 3.14;
 
+  auto pi_equals_3 = (3 == pi);
+  std::cout <<  " pi_equals_3 = " << pi_equals_3 << "\n";
+
+  if( pi_equals_3) {
+    std::cout << "what the hell?\n";
+    std::exit( 0 );
+  }
+  /* else */
+  
+  std::exit( -1 );
 }
-- 
GitLab