Skip to content

Commit

Permalink
Kill tested hime in test-hime
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb- committed Dec 31, 2011
1 parent 2652e29 commit 73bc5f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distro/dev-tools/scripts/test-hime
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ fi

sh scripts/hime-user-setup $PWD/data $PWD/src
HIME_TABLE_DIR=data LD_LIBRARY_PATH=$PWD/src/im-client/:$PWD/src XMODIFIERS=@im=$XIM_NAME src/hime &
HIME_PID=$!

[ "$GTK_2_DEMO_APP" != "" ] && GTK_IM_MODULE_FILE=$GTK_2_TEMP_FILE $GTK_2_DEMO_APP
[ "$GTK_3_DEMO_APP" != "" ] && GTK_IM_MODULE_FILE=$GTK_3_TEMP_FILE $GTK_3_DEMO_APP

[ $(id -u $USER) != "0" ] && kill -HUP $HIME_PID

rm $GTK_2_TEMP_FILE $GTK_3_TEMP_FILE /tmp/hime-$USER/socket-*-$XIM_NAME

# Copyright (C) 2007-2011 Wen-Yen Chuang <caleb AT calno DOT com>
Expand Down

0 comments on commit 73bc5f9

Please sign in to comment.