File: test-env

package info (click to toggle)
pam-tmpdir 0.11
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: ansic: 445; sh: 171; makefile: 28
file content (8 lines) | stat: -rw-r--r-- 146 bytes parent folder | download
1
2
3
4
5
6
7
8
#! /bin/bash

T="$(su - root -c 'echo $TMP')"
if [ "$T" != "/tmp/user/0" ]; then
   echo "Unexpected value for TMP: '$T'" >&2
   exit 1
fi
exit 0