test_commands.sh 452 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2
#!/bin/sh

Danil Mikhailov's avatar
Danil Mikhailov committed
3 4
LOG=~/epm_test_log

Vitaly Lipatov's avatar
Vitaly Lipatov committed
5 6 7
cepm()
{
	echo
Danil Mikhailov's avatar
Danil Mikhailov committed
8 9 10 11 12 13
	epm --verbose $@ >> $LOG
}

log()
{
echo "$@" >> $LOG
Vitaly Lipatov's avatar
Vitaly Lipatov committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
}

cepm changelog mc

cepm filelist mc

cepm info mc

cepm -q mc

cepm -qf mc

cepm requires mc

# query packages
#cepm -qp mc

Danil Mikhailov's avatar
Danil Mikhailov committed
31 32 33 34 35 36 37
cepm remove nmap && log "nmap removed"

! cepm remove nmap && log "nmap doesnt installed"

cepm install --auto nmap && log "nmap installed"

cepm remove --auto nmap && log "nmap removed"
Vitaly Lipatov's avatar
Vitaly Lipatov committed
38 39 40 41

#cepm packages mc

#cepm search mc