diff mbox

[2/6] tests/docker/test-user: a simple linux-user test

Message ID 20161028163339.31096-3-alex.bennee@linaro.org
State New
Headers show

Commit Message

Alex Bennée Oct. 28, 2016, 4:33 p.m. UTC
This is useful for checking an appropriately updated cross-arch docker
actually starts without having to do a full build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/docker/test-user | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100755 tests/docker/test-user

-- 
2.10.1

Comments

Fam Zheng Oct. 31, 2016, 2:20 a.m. UTC | #1
On Fri, 10/28 17:33, Alex Bennée wrote:
> This is useful for checking an appropriately updated cross-arch docker

> actually starts without having to do a full build.


Can we call it "test-pass"?

Fam

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> ---

>  tests/docker/test-user | 18 ++++++++++++++++++

>  1 file changed, 18 insertions(+)

>  create mode 100755 tests/docker/test-user

> 

> diff --git a/tests/docker/test-user b/tests/docker/test-user

> new file mode 100755

> index 0000000..4871de7

> --- /dev/null

> +++ b/tests/docker/test-user

> @@ -0,0 +1,18 @@

> +#!/bin/bash -e

> +#

> +# A very simple test that checks qemu-linux-user binaries work

> +# correctly in a cross-arch docker container.

> +#

> +# Copyright (c) 2016 Linaro.

> +#

> +# Authors:

> +#  Alex Bennée <alex.bennee@linaro.org>

> +#

> +# This work is licensed under the terms of the GNU GPL, version 2

> +# or (at your option) any later version. See the COPYING file in

> +# the top-level directory.

> +

> +. common.rc

> +

> +uname -a

> +exit 0

> -- 

> 2.10.1

> 

>
diff mbox

Patch

diff --git a/tests/docker/test-user b/tests/docker/test-user
new file mode 100755
index 0000000..4871de7
--- /dev/null
+++ b/tests/docker/test-user
@@ -0,0 +1,18 @@ 
+#!/bin/bash -e
+#
+# A very simple test that checks qemu-linux-user binaries work
+# correctly in a cross-arch docker container.
+#
+# Copyright (c) 2016 Linaro.
+#
+# Authors:
+#  Alex Bennée <alex.bennee@linaro.org>
+#
+# This work is licensed under the terms of the GNU GPL, version 2
+# or (at your option) any later version. See the COPYING file in
+# the top-level directory.
+
+. common.rc
+
+uname -a
+exit 0