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
|
cat
|
||||||
echo "quit"
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,8 +266,7 @@ do
|
||||||
*GENERATE*) ;;
|
*GENERATE*) ;;
|
||||||
*)
|
*)
|
||||||
|
|
||||||
ln -s ../bin/empire emp_client
|
echo "Running newcap_script through empire"
|
||||||
echo "Running newcap_script through emp_client"
|
|
||||||
runfeed POGO peter < newcap_script >/dev/null 2>&1 ||
|
runfeed POGO peter < newcap_script >/dev/null 2>&1 ||
|
||||||
{
|
{
|
||||||
warn "Could not run newcap_script"
|
warn "Could not run newcap_script"
|
||||||
|
@ -275,7 +274,7 @@ do
|
||||||
trykill $PID
|
trykill $PID
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
echo "Done (newcap_script / emp_client)."
|
echo "Done (newcap_script / empire)."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "TODO: Replace this with a real test script."
|
echo "TODO: Replace this with a real test script."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue