File: test

package info (click to toggle)
ucf 3.0052
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,204 kB
  • sloc: sh: 1,384; perl: 397; makefile: 31
file content (9 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

# Test UCF_FORCE_CONFFOLD (no overwrite).

touch /tmp/input.conf
${UCF_TEST_BINDIR}ucf /tmp/input.conf /tmp/input.conf 2>&1
UCF_FORCE_CONFFOLD=1 ${UCF_TEST_BINDIR}ucf input.conf /tmp/input.conf 2>&1