phyver / GameShell

a game to learn (or teach) how to use standard commands in a Unix shell
GNU General Public License v3.0
2.12k stars 135 forks source link

Running tests xeyes still opened #103

Closed Mte90 closed 2 years ago

Mte90 commented 2 years ago

If I run:

    $ ./utils/archive.sh -a
    $ ./gameshell.sh -dc 'for _ in $(seq 42); do gsh auto --abort; done' 

I get the xeyes running also if the tests are finished or failed.

phyver commented 2 years ago

Right. The auto.sh script cannot kill it, as it is necessary to validate the mission. Since the order of missions is not fixed, I didn't want to kill it in the next mission.

I'll add something like ( sleep 1; kill xeyes )& just before the gsh check in the auto.sh script.

phyver commented 2 years ago

fixed by de07d4db