Files
linux-kernel-module-cheat/test-build-userland
Ciro Santilli 六四事件 法轮功 bbdf6cdc06 userland: maybe it really works
2019-05-05 00:00:00 +00:00

53 lines
1.6 KiB
Bash
Executable File

#!/usr/bin/env bash
# Quick sanity check that userland target resoltion at least does not blow up.
set -eux
./build-userland
./build-userland --clean
./build-userland userland/c
./build-userland --clean userland/c
./build-userland userland/c/hello
./build-userland --clean userland/c/hello
./build-userland userland/c/hello.
./build-userland --clean userland/c/hello.
./build-userland userland/c/hello.c
./build-userland --clean userland/c/hello.c
./build-userland userland/c/hello.out
./build-userland --clean userland/c/hello.out
./build-userland "$(pwd)/userland/c/hello.out"
./build-userland --clean "$(pwd)/userland/c/hello.out"
./build-userland --in-tree
./build-userland --in-tree --clean
./build-userland --in-tree userland/c
./build-userland --in-tree --clean userland/c
./build-userland --in-tree userland/c/hello
./build-userland --in-tree --clean userland/c/hello
./build-userland --in-tree userland/c/hello.
./build-userland --in-tree --clean userland/c/hello.
./build-userland --in-tree userland/c/hello.c
./build-userland --in-tree --clean userland/c/hello.c
./build-userland --in-tree userland/c/hello.out
./build-userland --in-tree --clean userland/c/hello.out
./build-userland --in-tree "$(pwd)/userland/c/hello.out"
./build-userland --in-tree --clean "$(pwd)/userland/c/hello.out"
./build-userland --in-tree --clean
cd userland
./build
./build --clean
./build c
./build --clean c
./build c/hello
./build --clean c/hello
./build c/hello.
./build --clean c/hello.
./build c/hello.c
./build --clean c/hello.c
./build c/hello.out
./build --clean c/hello.out
./build "$(pwd)/c/hello.out"
./build --clean "$(pwd)/c/hello.out"