Remove the symbolic link to empire and use the empire executable
directly. Symbolic link fails for WIN32 empire because empire has exe extension.
This commit is contained in:
parent
84399281fe
commit
d4227f9ff8
2 changed files with 3 additions and 4 deletions
|
@ -30,6 +30,6 @@ runfeed() {
|
|||
{
|
||||
cat
|
||||
echo "quit"
|
||||
} | ./emp_client "$1" "$REP" || { warn "emp_client not ok ?" ; return 1 ; }
|
||||
} | ../bin/empire "$1" "$REP" || { warn "empire not ok ?" ; return 1 ; }
|
||||
return 0
|
||||
}
|
||||
|
|
|
@ -266,8 +266,7 @@ do
|
|||
*GENERATE*) ;;
|
||||
*)
|
||||
|
||||
ln -s ../bin/empire emp_client
|
||||
echo "Running newcap_script through emp_client"
|
||||
echo "Running newcap_script through empire"
|
||||
runfeed POGO peter < newcap_script >/dev/null 2>&1 ||
|
||||
{
|
||||
warn "Could not run newcap_script"
|
||||
|
@ -275,7 +274,7 @@ do
|
|||
trykill $PID
|
||||
break
|
||||
}
|
||||
echo "Done (newcap_script / emp_client)."
|
||||
echo "Done (newcap_script / empire)."
|
||||
echo ""
|
||||
|
||||
echo "TODO: Replace this with a real test script."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue