File: test-logger

package info (click to toggle)
gitlab-shell 8.4.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,468 kB
  • sloc: ruby: 3,812; sh: 82; makefile: 60
file content (10 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby

# The purpose of this executable is to test that gitlab-shell logging
# works correctly in combination with Kernel.exec.

require_relative '../lib/gitlab_init'
require_relative '../lib/gitlab_logger'

$logger.info(ARGV.first)
Kernel.exec('true')