West Germany was a 1-0 victor over Austria in a controversial match and Northern Ireland slipped by Spain by the same score yesterday to complete the lineup for the second round of the World Cup soccer tournament in Spain.

In a third game, England, which had previously qualified for the 12-team second round, defeated Kuwait, also by 1-0.

The victory by West Germany in Gijon allowed both the Germans and Austrians to advance at the expense of Algeria, which only needed a drawn match to beat out the Germans for a second-round berth.

After Horst Hrubesch headed a goal off a crossing path from Pierre Littbarski in the 11th minute, both sides appeared content to maneuver the ball at midfield.

The 40,000 spectators, including hundreds of Algerian fans, quickly grew impatient, angrily waving white handkerchiefs while chanting, "Algeria, Algeria" and, "Stop the game."

Some fans burned West German flags on stadium terraces, thousands left the stadium and others tried to storm the field but were beaten back by police.

Benali Sekkal, president of the Algerian Soccer Federation, called the game "scandalous and immoral" and demanded that the Federation of International Football Associations (FIFA) disqualify both teams.

The Austrian and West German coaches denied their players gave it anything but their best.

With its triumph over Spain, Northern Ireland became the surprise winner of Group Five in gaining the second round for the first time since 1958. It is the only unseeded survivor from the first round. Spain also advanced.

The Irish played with only 10 men for the last half an hour after Mal Donaghy was ejected for shoving Antonio Camacho. Gerry Armstrong scored the Northern Ireland goal in the 47th minute.

In the third game of the day, Trevor Francis scored for the English in the 24th minute. The Kuwaitis, who needed to win by four goals to qualify for the next round, showed a strong defense but little offense.