Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • testing
  • selftests
  • livepatch
  • functions.sh
Find file BlameHistoryPermalink
  • Shuah Khan's avatar
    selftests: livepatch: Fix it to do root uid check and skip · 05564c29
    Shuah Khan authored Dec 16, 2019
    
    
    livepatch test configures the system and debug environment to run
    tests. Some of these actions fail without root access and test
    dumps several permission denied messages before it exits.
    
    Fix test-state.sh to call setup_config instead of set_dynamic_debug
    as suggested by Petr Mladek <pmladek@suse.com>
    
    Fix it to check root uid and exit with skip code instead.
    
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    Acked-by: default avatarJoe Lawrence <joe.lawrence@redhat.com>
    Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
    Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    05564c29
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7