summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-personality-loongarch64.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test-execute/exec-personality-loongarch64.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test-execute/exec-personality-loongarch64.service b/test/test-execute/exec-personality-loongarch64.service
new file mode 100644
index 0000000..0531ad1
--- /dev/null
+++ b/test/test-execute/exec-personality-loongarch64.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for Personality=loongarch64
+
+[Service]
+ExecStart=/bin/sh -c 'echo $(uname -m); exit $(test $(uname -m) = "loongarch64")'
+Type=oneshot
+Personality=loongarch64