summaryrefslogtreecommitdiff
path: root/t/add-missing.tap
diff options
context:
space:
mode:
Diffstat (limited to 't/add-missing.tap')
-rw-r--r--t/add-missing.tap6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/add-missing.tap b/t/add-missing.tap
index 3352b8fd8..a128d2403 100644
--- a/t/add-missing.tap
+++ b/t/add-missing.tap
@@ -176,8 +176,8 @@ check_ ()
done
# No files should be automatically installed by automake if it
# is not told to.
- if ls "$build_aux" | grep .; then r='not ok'; else r=ok; fi
- result_ "$r" "$pfx no extra files installed"
+ command_ok_ "$pfx no extra files installed" \
+ eval '! ls "$build_aux" | grep -v "^am-ng$" | grep .'
AUTOMAKE_run -d "$pfx automake run successfully" -- $opts
ls -l . $build_aux
# The expected files should get installed correctly (e.g., no
@@ -197,7 +197,7 @@ check_ ()
# require 'missing' and 'install-sh', so account for them.
all_files="install-sh missing $files"
for f in $all_files; do echo $f; done | sort | uniq > files.exp
- (cd $build_aux && ls) | sort > files.got
+ (cd $build_aux && ls) | grep -v '^am-ng$' | sort > files.got
cat files.exp
cat files.got
command_ok_ \