User Activity

  • Created ticket #1596 on SW Test Automation Framework

    Garbage collection not working for SEM REQUEST MUTEX

  • Created ticket #1595 on SW Test Automation Framework

    PROCESS service does not fork a shell when SHELL option is added and a simple command is executed

  • Posted a comment on discussion Help on SW Test Automation Framework

    Yes, I know the difference between internal and dynamically loaded services but I don't think that explains why a composite commands get a proper shell and simple ones do not. This does not seem correct to me. Adding the SHELL keyword to the PROCESS command should force an external shell to be fired up and that is not always happening. At least I see no evidence of this, as shown above. A single command (ps -ef) does not get run in a shell. If it did then its parent would be the shell but instead...

  • Posted a comment on discussion Help on SW Test Automation Framework

    I still don't understand why STAFProc is the parent of a single command but probably there is an optimization inside STAFProc I don't understand. In any event, when I add the "-l" flag to my default shell I get the behavior I want which is that I want bash to pick up its full environment. The issue is resolved. Thanks for your continued help over the years.

  • Posted a comment on discussion Help on SW Test Automation Framework

    It was my understanding that $SHELL is set by the currently running shell. If that is wrong, sorry. I do not see evidence that bash is indeed being run by STAF because its environment is wrong. When I run this command: staf 10.110.224.203 process start shell command "ps -ef" wait returnstdout returnstderr I get: <snip> root 1919 1 0 Apr18 ? 00:00:00 /usr/sbin/atd root 1934 1915 0 Apr18 ? 00:00:00 [startSTAFProc.s] <defunct> root 1935 1 0 Apr18 ? 00:00:07 /usr/local/staf/bin/STAFProc <snip> postfix...

  • Posted a comment on discussion Help on SW Test Automation Framework

    I wonder if this has an effect: [root@10 ~]# ls -al /bin/bash -rwxr-xr-x 1 root root 941720 Sep 22 2015 /bin/bash [root@10 ~]# ls -al /bin/sh lrwxrwxrwx. 1 root root 4 Apr 5 2016 /bin/sh -> bash [root@10 ~]# I would think that if you run /bin/bash the $SHELL variable would tell you so. In fact it does when I log in as myself. The STAF examples above are clearly not loading .bashrc either so the runtime environment for my shell is not correct. Strangely environment variables set in STAFEnv.sh don't...

  • Posted a comment on discussion Help on SW Test Automation Framework

    Hi, I'd like to run bash instead of /bin/sh for my processes. I added the following to my STAF.cfg: SET DEFAULTSHELL "/bin/bash -c %C" This does not seem to be effective: [pools1@pools1-dur-vm ~]$ staf 10.110.224.203 process start shell command :6:export wait returnstdout returnstderr Response { Return Code: 0 Key : <None> Files : [ { Return Code: 0 Data : declare -x CLASSPATH="/usr/local/staf/lib/JSTAF.jar:/usr/local/staf/samples/demo/STAFDemo.jar:" declare -x HOME="/root" declare -x LANG="en_US.UTF-8"...

  • Posted a comment on ticket #415 on SW Test Automation Framework

    I have a good workaround but I would also appreciate this being addressed. Thank...

View All

Personal Data

Username:
sander_pool
Joined:
2002-12-23 08:03:48

Projects

This is a list of open source software projects that Sander Pool is associated with:

  • EQMOD   Last Updated:

Personal Tools