Thousands of Malawians were awaiting clearance in makeshift encampments in South Africa Friday as tension mounted before an unofficial June 30 ultimatum for undocumented migrants to leave the country.