File: shell_commands_with_empty_env.sh

package info (click to toggle)
bear 3.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,904 kB
  • sloc: cpp: 9,184; sh: 706; ansic: 497; python: 175; makefile: 29
file content (11 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

# REQUIRES: preload
# RUN: %{intercept} --verbose --output %t.json -- env - %{shell} %s %{true}
# RUN: assert_intercepted %t.json count -ge 5
# RUN: assert_intercepted %t.json contains -program %{true}
# RUN: assert_intercepted %t.json contains -program %{shell} -arguments %{shell} %s %{true}

$1;
$1;
$1;