mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
Fix import_path circular dependency by splitting it out.
Use import thread_pool instead from, from is evil. Fix poweroff.out path for ./trace-boot.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Quick sanity check that userland target resolution works.
|
||||
# https://github.com/cirosantilli/linux-kernel-module-cheat#cli-script-tests
|
||||
|
||||
set -eux
|
||||
|
||||
@@ -44,13 +44,12 @@ for in_tree in '' --in-tree; do
|
||||
! ./build-userland $in_tree "${userland_build_dir}/c/hello.out"
|
||||
tmpfile="$(mktemp)"
|
||||
! ./build-userland $in_tree "$tmpfile"
|
||||
! ./build-userland --clean $in_tree "$tmpfile"
|
||||
rm "$tmpfile"
|
||||
! ./build-userland $in_tree ..
|
||||
! ./build-userland $in_tree kernel_modules
|
||||
! ./build-userland --clean $in_tree userland/does_not_exist
|
||||
./build-userland --clean $in_tree
|
||||
|
||||
# Clean is however more forgiving and accepts paths that don't exist.
|
||||
./build-userland --clean $in_tree userland/does_not_exist
|
||||
done
|
||||
|
||||
./build-userland-in-tree
|
||||
|
||||
Reference in New Issue
Block a user