summaryrefslogtreecommitdiff
path: root/tools/hi-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hi-test.c')
-rw-r--r--tools/hi-test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/hi-test.c b/tools/hi-test.c
index 3086535..d74b3c9 100644
--- a/tools/hi-test.c
+++ b/tools/hi-test.c
@@ -1,7 +1,11 @@
#include <iostream>
+#include <stdlib.h>
using namespace std;
int main(){
- cerr << "++++ hi-test pid: " << getpid() << " group: " << getpgid(0) << endl;
+ cerr << "++++ hi-test pid: " << getpid() << " group: " << getpgid(0);
+ char* foo = getenv("HI_Q_GROUP");
+ if (foo) cerr << " HI_Q_GROUP: " << foo;
+ cerr << endl;
}