File: up_st_cmp

package info (click to toggle)
fsvs 1.2.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,452 kB
  • sloc: ansic: 16,683; sh: 5,914; perl: 757; makefile: 320; python: 90
file content (23 lines) | stat: -rwxr-xr-x 323 bytes parent folder | download | duplicates (9)
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."