summaryrefslogtreecommitdiff
path: root/tests.as-root
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-02 15:36:24 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-07-02 15:36:24 +0100
commit2de49700c93c02bb1d79b0c08fa11ca8c528bb60 (patch)
tree466d550e4f0bfce7087e118827f656ceebca22cb /tests.as-root
parent480b7262ecb18443cdcbf0c2d7a204f03f5b88c6 (diff)
downloadmorph-2de49700c93c02bb1d79b0c08fa11ca8c528bb60.tar.gz
Disable make-patch test on !x86
Diffstat (limited to 'tests.as-root')
-rwxr-xr-xtests.as-root/make-patch.script11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests.as-root/make-patch.script b/tests.as-root/make-patch.script
index b5385fc0..dcd1c7bf 100755
--- a/tests.as-root/make-patch.script
+++ b/tests.as-root/make-patch.script
@@ -19,6 +19,17 @@
set -eu
+# FIXME: This test currently only runs on x86 systems, because morph requires
+# extlinux.
+case "$(uname -m)" in
+ x86*)
+ ;;
+ *)
+ cat "$SRCDIR/tests.as-root/make-patch.stdout"
+ exit 0
+ ;;
+esac
+
# Make a stratum that include hello and kernel chunks.
cat <<EOF > "$DATADIR/morphs-repo/hello-stratum.morph"
{