File: up_st_cmp

package info (click to toggle)
fsvs 1.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,964 kB
  • ctags: 1,464
  • sloc: ansic: 16,650; sh: 5,885; perl: 783; makefile: 338; python: 90
file content (23 lines) | stat: -rwxr-xr-x 323 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

set -e
$INCLUDE_FUNCS

echo "     ** up" 
cd $WC2 
$BINq up 
echo "     ** st" 
if [[ `$BINdflt st | wc -l` -eq 0 ]]
then
  # null statement
	true
else
  $ERROR_NB "expected _no_ output, but got one:"
	$BINdflt st
	exit 1
fi

echo "     ** compare"
$COMPARE_1_2

$SUCCESS "2nd working copy correctly updated."