#!/bin/bash . ./functions.sh make SUBDIRS=subdir-forced default-config 2>&1 | tee make.log grep '^In .* directory$' make.log | tee order-current.txt diff -u order-current.txt order-correct-forced.txt || error "make SUBDIRS=... works incorrecly"