chiark / gitweb /
tests: add test-execute
[elogind.git] / test / exec-personality-x86.service
diff --git a/test/exec-personality-x86.service b/test/exec-personality-x86.service
new file mode 100644 (file)
index 0000000..0b370a6
--- /dev/null
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for Personality=x86
+
+[Service]
+ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "i686")'
+Type=oneshot
+Personality=x86