From ccefd37a5855d7ec50e4e1a35efb707dd3936e67 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 29 Mar 2012 11:17:06 +0000 Subject: make patch test: discard tbdiff output tbdiff can traverse the directory tree in an unsorted order, so two equivalent patches can make changes in any order This is a problem because tbdiff prints out the commands it ran, so the output is not always the same. For now, we can just discard this output, but ideally we want a --quiet option for tbdiff --- tests.as-root/make-patch.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests.as-root/make-patch.script') diff --git a/tests.as-root/make-patch.script b/tests.as-root/make-patch.script index f7c34fcd..f6793aae 100755 --- a/tests.as-root/make-patch.script +++ b/tests.as-root/make-patch.script @@ -82,5 +82,5 @@ tests.as-root/morph make-patch "$PATCH" morphs-repo master hello-system.morph \ UNPACKED="$DATADIR"/unpacked mkdir -p "$UNPACKED" tar -C "$UNPACKED" -xf "$DATADIR"/farrokh-stratum -(cd "$UNPACKED" && tbdiff-deploy "$PATCH") +(cd "$UNPACKED" && tbdiff-deploy "$PATCH") 2>/dev/null "$UNPACKED"/bin/hello -- cgit v1.2.1